mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 21:04:11 +00:00
92c0ba8d99
The OOUI inline menu widget does not use ul/li anymore; user class name to target CSS instead. Change-Id: Ia23f6c130145b411cb0c76a8448d725e51d5e700 Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/838
84 lines
1.9 KiB
Plaintext
84 lines
1.9 KiB
Plaintext
@import "../mmv.mixins";
|
|
|
|
.mw-mmv-reuse-dialog {
|
|
@background-color: rgb(255, 255, 255);
|
|
@shadow-color: #aaaaaa;
|
|
@border-radius: 3px;
|
|
@divider-border-height: 1px;
|
|
@dialog-width: 450px;
|
|
@dialog-height: 350px;
|
|
|
|
// positioned relative to the metadata panel
|
|
position: absolute;
|
|
right: 5px;
|
|
top: -1 * (@dialog-height + 5px);
|
|
width: @dialog-width;
|
|
height: @dialog-height;
|
|
background-color: @background-color;
|
|
box-shadow: 0 2px 0 @shadow-color;
|
|
.box-round(@border-radius);
|
|
|
|
.mw-mmv-reuse-tabs {
|
|
@divider-color: rgb(204, 204, 204);
|
|
|
|
position: static;
|
|
box-shadow: none;
|
|
border-bottom: @divider-border-height solid @divider-color;
|
|
.box-round(@border-radius @border-radius 0 0);
|
|
|
|
.oo-ui-iconedElement-icon.oo-ui-icon-check, .oo-ui-iconElement-icon.oo-ui-icon-check {
|
|
display: none;
|
|
}
|
|
|
|
.oo-ui-optionWidget {
|
|
@tab-border-height: 3px;
|
|
@highlighted-tab-color: rgb(225, 243, 255);
|
|
@selected-tab-color: rgb(0, 113, 188);
|
|
|
|
display: inline-block;
|
|
padding: 10px 25px;
|
|
|
|
font-size: 1.2em;
|
|
|
|
&.oo-ui-optionWidget-highlighted {
|
|
border-bottom: (@tab-border-height - @divider-border-height) solid @highlighted-tab-color;
|
|
}
|
|
|
|
&.oo-ui-optionWidget-selected,
|
|
&.oo-ui-optionWidget-highlighted.oo-ui-optionWidget-selected {
|
|
border-bottom: @tab-border-height solid @selected-tab-color;
|
|
}
|
|
|
|
&:first-child {
|
|
.box-round(@border-radius 0 0 0);
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-mmv-reuse-pane {
|
|
display: none;
|
|
padding: 10px 20px;
|
|
|
|
&.active {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-reuse-down-arrow {
|
|
@arrow-size: 20px;
|
|
@arrow-border-color: #aaaaaa;
|
|
@arrow-border-size: 2px;
|
|
|
|
background-color: @background-color;
|
|
width: @arrow-size;
|
|
height: @arrow-size;
|
|
/* @noflip */
|
|
border-right: @arrow-border-size solid @arrow-border-color;
|
|
border-bottom: @arrow-border-size solid @arrow-border-color;
|
|
.rotate(45deg);
|
|
position: absolute;
|
|
// horizontal positioning will be done in JS
|
|
bottom: -1 * ( @arrow-size / 2 ) - @arrow-border-size;
|
|
}
|
|
}
|