mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-12 14:35:28 +00:00
085764ddd6
Since I7f6fd7ee9 it is now possible for the options bar to be completely empty if the user is logged out. In this case hide it and only show it again when the character limit needs to be show. Ideally we wouldn't have the height change, but it is quite rare that a user gets to 400 chars and is logged out. Bug: T228165 Change-Id: Ifbdf352afcbf4e549889e04fdb70fd30ce233aad
110 lines
1.9 KiB
CSS
110 lines
1.9 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWSaveDialog styles.
|
|
*
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwSaveDialog-summaryLabel {
|
|
padding: 0.25em 0;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-summary {
|
|
width: 100%;
|
|
max-width: none;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-summary textarea {
|
|
height: 4em;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-foot {
|
|
margin: 0.5em 0;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-options {
|
|
position: relative;
|
|
background-color: #f8f9fa;
|
|
border: 1px solid #c8ccd1;
|
|
border-top: 0;
|
|
min-height: 3em;
|
|
display: none;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-withOptions .ve-ui-mwSaveDialog-options {
|
|
display: block;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-checkboxes {
|
|
margin-right: 3.25em; /* Hack to prevent overlap on edit summary count */
|
|
padding: 0.7em 0.7em 0 0.7em;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-checkboxes .oo-ui-fieldLayout {
|
|
display: inline-block;
|
|
margin: 0 1.5em 0 0;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-checkboxes .oo-ui-fieldLayout:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-editSummary-count {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
border-left: 1px solid #eaecf0;
|
|
line-height: 3em;
|
|
padding: 0 1em;
|
|
color: #54595d;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-editSummary-count:empty {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-license {
|
|
font-size: 0.9em;
|
|
line-height: 1.4em;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: #54595d;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-messages {
|
|
/* Make a border that spans the whole width of the dialog */
|
|
margin: 1em -1.14285714em;
|
|
padding: 0.5em 1.14285714em;
|
|
border: 1px solid rgba( 0, 0, 0, 0.2 );
|
|
border-width: 1px 0;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-messages:empty {
|
|
display: none;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-reviewMode {
|
|
float: right;
|
|
margin: 0 0 0 1em;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-viewer {
|
|
margin-top: 1em;
|
|
clear: both;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-no-changes {
|
|
color: #72777d;
|
|
font-style: italic;
|
|
}
|
|
|
|
.ve-ui-saveDialog-captchaInput {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.ve-ui-mwSaveDialog-visualDiffFeedback {
|
|
float: right;
|
|
}
|