2023-04-03 20:44:15 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2020-04-18 04:13:01 +00:00
|
|
|
@import '../mmv.variables.less';
|
|
|
|
@import '../mmv.mixins.less';
|
2014-03-17 08:07:53 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-reuse-dialog {
|
2014-12-07 08:09:04 +00:00
|
|
|
// resetting height (to overwrite .mw-mmv-dialog's bigger height), since the
|
|
|
|
// height may have to change for warnings being added
|
2022-05-19 22:58:01 +00:00
|
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
2014-12-07 08:09:04 +00:00
|
|
|
height: initial;
|
|
|
|
// set a standard min-height that should be larger than both panels in
|
|
|
|
// normal circumstances (without warnings) so that the height of the dialog
|
|
|
|
// doesn't change when switching tabs
|
|
|
|
min-height: 300px;
|
2014-09-12 18:05:13 +00:00
|
|
|
// positioned relative to the reuse button
|
2014-09-18 20:37:02 +00:00
|
|
|
bottom: @metadatabar-above-fold-height + @progress-bar-height - 5px;
|
2014-03-17 08:07:53 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-reuse-tabs {
|
2018-03-14 22:29:11 +00:00
|
|
|
@divider-color: #c8ccd1;
|
2014-03-17 08:07:53 +00:00
|
|
|
position: static;
|
|
|
|
box-shadow: none;
|
2015-02-15 06:01:43 +00:00
|
|
|
padding-bottom: 0; // OOUI override
|
2016-07-18 14:24:02 +00:00
|
|
|
border: 0; // OOUI override
|
2023-04-03 20:44:15 +00:00
|
|
|
border-bottom: @border-width-base @border-style-base @divider-color;
|
|
|
|
border-radius: @border-radius-base @border-radius-base 0 0;
|
2014-03-17 08:07:53 +00:00
|
|
|
|
2016-07-18 14:24:02 +00:00
|
|
|
.oo-ui-iconedElement-icon.oo-ui-icon-check,
|
|
|
|
.oo-ui-iconElement-icon.oo-ui-icon-check {
|
2014-03-17 08:07:53 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-11-22 00:01:29 +00:00
|
|
|
.oo-ui-optionWidget {
|
2014-03-17 08:07:53 +00:00
|
|
|
@tab-border-height: 3px;
|
2017-10-31 17:49:29 +00:00
|
|
|
@highlighted-tab-color: #e1f3ff;
|
2017-03-02 23:45:42 +00:00
|
|
|
@selected-tab-color: #2a4b8d;
|
2014-03-17 08:07:53 +00:00
|
|
|
display: inline-block;
|
|
|
|
padding: 10px 25px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
|
|
|
|
&.oo-ui-optionWidget-highlighted {
|
2023-04-03 20:44:15 +00:00
|
|
|
border-bottom: ( @tab-border-height - @border-width-base ) @border-style-base @highlighted-tab-color;
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-optionWidget-selected,
|
|
|
|
&.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
|
2023-04-03 20:44:15 +00:00
|
|
|
border-bottom: @tab-border-height @border-style-base @selected-tab-color;
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
2023-04-03 20:44:15 +00:00
|
|
|
border-radius: @border-radius-base 0 0 0;
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-reuse-pane {
|
2014-03-17 08:07:53 +00:00
|
|
|
display: none;
|
2014-09-12 18:05:13 +00:00
|
|
|
padding: 20px;
|
2014-03-17 08:07:53 +00:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-16 20:33:05 +00:00
|
|
|
.mw-mmv-dialog-down-arrow {
|
2014-09-18 20:37:02 +00:00
|
|
|
bottom: @metadatabar-above-fold-height + @progress-bar-height + 5px;
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|
2014-12-07 08:09:04 +00:00
|
|
|
|
|
|
|
.mw-mmv-dialog-warning {
|
|
|
|
padding: 15px 30px;
|
|
|
|
}
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|