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
|
|
|
|
*/
|
2024-06-07 18:18:01 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2023-11-16 11:05:47 +00:00
|
|
|
|
|
|
|
.ve-ui-mwSaveDialog {
|
|
|
|
&-summaryLabel {
|
|
|
|
padding: 0.25em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-summary {
|
|
|
|
width: 100%;
|
|
|
|
max-width: none;
|
2024-06-07 18:18:01 +00:00
|
|
|
background-color: @background-color-base;
|
2023-11-16 11:05:47 +00:00
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 4em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-foot {
|
|
|
|
margin: 0.5em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-options {
|
|
|
|
position: relative;
|
2024-06-07 18:18:01 +00:00
|
|
|
background-color: @background-color-neutral-subtle;
|
|
|
|
border: 1px solid @border-color-subtle;
|
2023-11-16 11:05:47 +00:00
|
|
|
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;
|
2024-06-07 18:18:01 +00:00
|
|
|
border-left: 1px solid @border-color-muted;
|
2023-11-16 11:05:47 +00:00
|
|
|
line-height: 3em;
|
|
|
|
padding: 0 1em;
|
2024-06-07 18:18:01 +00:00
|
|
|
color: @color-subtle;
|
2023-11-16 11:05:47 +00:00
|
|
|
|
|
|
|
&:empty {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-license {
|
|
|
|
font-size: 0.9em;
|
|
|
|
line-height: 1.4em;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2024-06-07 18:18:01 +00:00
|
|
|
color: @color-subtle;
|
2023-11-16 11:05:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-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 {
|
2024-06-07 18:18:01 +00:00
|
|
|
color: @color-disabled;
|
2023-11-16 11:05:47 +00:00
|
|
|
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
|
|
|
}
|
|
|
|
}
|