mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/dialogs/ve.ui.MWSaveDialog.css
Bartosz Dziewoński e8d99c5536 ve.ui.MWSaveDialog: Prettify the 'messages' shown
This is currently used to display a warning about missing edit summary
and to display a CAPTCHA field. They now appear in a separated area at
the bottom of the dialog, which slides into view when a message is
added.

Change-Id: I7541284a92d5fd2fa8f469d479e059098c59c0ac
2017-01-31 17:37:00 +00:00

77 lines
1.4 KiB
CSS

/*!
* VisualEditor MediaWiki UserInterface MWSaveDialog styles.
*
* @copyright 2011-2017 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: solid 1px #c8ccd1;
border-top: 0;
min-height: 3em;
}
.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-editSummary-count {
position: absolute;
right: 0;
top: 0;
bottom: 0;
border-left: solid 1px #eaecf0;
line-height: 3em;
padding: 0 1em;
color: #54595d;
}
.ve-ui-mwSaveDialog-license {
font-size: 0.9em;
line-height: 1.4em;
padding: 0;
margin: 0;
color: #54595d;
}
.ve-ui-mwSaveDialog-messages {
/* Make a top border that spans the whole width of the dialog */
margin: 0 -1.25em;
padding: 0 1.25em;
border-top: solid 1px rgba( 0, 0, 0, 0.2 );
/* Ew */
margin-top: 1em;
padding-top: 0.5em;
margin-bottom: -0.5em;
}
.ve-ui-mwSaveDialog-messages:empty {
display: none;
};