2023-11-16 11:05:47 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWSaveDialog styles.
|
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2023-11-16 11:05:47 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
.ve-ui-mwSaveDialog {
|
|
|
|
&-summaryLabel {
|
|
|
|
padding: 0.25em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-summary {
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-foot {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-options {
|
|
|
|
position: relative;
|
|
|
|
background-color: #f8f9fa;
|
|
|
|
border: 1px solid #c8ccd1;
|
|
|
|
border-top: 0;
|
|
|
|
display: none;
|
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
.ve-ui-mwSaveDialog-withOptions & {
|
|
|
|
display: block;
|
|
|
|
}
|
2023-11-16 11:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-checkboxes {
|
|
|
|
margin-right: 3.25em; /* Hack to prevent overlap on edit summary count */
|
|
|
|
padding: 0.7857em 0.7857em 0 0.7857em;
|
|
|
|
|
|
|
|
> .oo-ui-fieldLayout {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0 1.5em 0.5em 0;
|
|
|
|
vertical-align: middle;
|
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2023-11-16 11:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-withExpiry > .ve-ui-mwSaveDialog-field-wpMinoredit {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-editSummary-count {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
border-left: 1px solid #eaecf0;
|
|
|
|
line-height: 3em;
|
|
|
|
padding: 0 1em;
|
|
|
|
color: #54595d;
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-license {
|
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
color: #54595d;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-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;
|
|
|
|
|
|
|
|
> .oo-ui-messageWidget {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-reviewMode {
|
|
|
|
float: right;
|
|
|
|
margin: 0 0 0 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-viewer {
|
|
|
|
margin-top: 1em;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-no-changes {
|
|
|
|
color: #72777d;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-preview .mw-body {
|
|
|
|
/* We use mw-body for realistic padding, but we don't need border/margin */
|
|
|
|
border: 0;
|
|
|
|
/* Override specificity in Monobook */
|
|
|
|
/* stylelint-disable-next-line declaration-no-important */
|
|
|
|
margin: 0 !important;
|
2023-11-16 11:08:09 +00:00
|
|
|
/* Override grid layout in Vector-2022 */
|
|
|
|
display: block;
|
2023-11-16 11:05:47 +00:00
|
|
|
}
|
|
|
|
}
|