2016-07-18 14:24:02 +00:00
|
|
|
@import '../mmv.mixins';
|
|
|
|
@import '../mmv.globals';
|
2014-03-17 08:07:53 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-reuse-dialog {
|
2014-03-17 08:07:53 +00:00
|
|
|
@divider-border-height: 1px;
|
|
|
|
|
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
|
|
|
|
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
|
2014-03-17 08:07:53 +00:00
|
|
|
border-bottom: @divider-border-height solid @divider-color;
|
2017-03-02 23:45:42 +00:00
|
|
|
border-radius: @border-radius @border-radius 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 {
|
2016-07-18 14:24:02 +00:00
|
|
|
border-bottom: ( @tab-border-height - @divider-border-height ) solid @highlighted-tab-color;
|
2014-03-17 08:07:53 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-optionWidget-selected,
|
|
|
|
&.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
|
|
|
|
border-bottom: @tab-border-height solid @selected-tab-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
2017-03-02 23:45:42 +00:00
|
|
|
border-radius: @border-radius 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
|
|
|
}
|