mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-02 19:56:17 +00:00
e0d3db89cd
Use background-color-base instead of background-color-neutral. Bug: T363776 Change-Id: Id954acdc07a33ae7bb1a0f57367b87b1d867bb0c
138 lines
2.4 KiB
Plaintext
138 lines
2.4 KiB
Plaintext
@import 'mediawiki.skin.variables.less';
|
|
@import '../mmv.variables.less';
|
|
@import '../mmv.mixins.less';
|
|
|
|
.mw-mmv-options-dialog {
|
|
@offset-top: ( @buttons-offset-right + ( 2 * @buttons-offset-each-top ) + 6px );
|
|
top: @offset-top;
|
|
height: auto;
|
|
z-index: 1004;
|
|
padding: 15px;
|
|
|
|
&.mw-mmv-enable-confirmation-shown {
|
|
background-color: #00af89;
|
|
box-shadow: 0 2px 0 #00634e;
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
|
background-color: #00af89;
|
|
}
|
|
}
|
|
|
|
&.mw-mmv-disable-confirmation-shown,
|
|
&.mw-mmv-disable-confirmation-shown .mw-mmv-dialog-down-arrow,
|
|
&.mw-mmv-enable-div-shown .mw-mmv-dialog-down-arrow {
|
|
background-color: @background-color-base;
|
|
}
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
|
@arrow-size: 20px;
|
|
top: ( @offset-top + ( @arrow-size / 2 ) );
|
|
}
|
|
|
|
.mw-mmv-enable-confirmation,
|
|
.mw-mmv-disable-confirmation,
|
|
.mw-mmv-options-enable,
|
|
.mw-mmv-options-disable {
|
|
position: relative;
|
|
display: none;
|
|
|
|
&.mw-mmv-shown {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-confirmation-close {
|
|
display: inline-block;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
.cdx-mixin-css-icon( @cdx-icon-close, @param-fill-color: @color-base );
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mw-mmv-disable-confirmation {
|
|
.mw-mmv-options-dialog-header {
|
|
color: @color-base;
|
|
padding: 0;
|
|
}
|
|
|
|
.mw-mmv-options-text-header {
|
|
color: @color-base;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-enable-confirmation {
|
|
.mw-mmv-options-dialog-header {
|
|
color: #fff;
|
|
padding: 0;
|
|
}
|
|
|
|
.mw-mmv-options-text-header {
|
|
color: #fff;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-disable-confirmation,
|
|
.mw-mmv-enable-confirmation {
|
|
padding: 0;
|
|
|
|
.mw-mmv-options-text {
|
|
left: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.mw-mmv-options-submit {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.mw-mmv-options-text {
|
|
left: 68px;
|
|
right: 0;
|
|
line-height: 1.4;
|
|
|
|
.mw-mmv-options-enable & {
|
|
top: 70px;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-options-subcontainer .mw-mmv-options-text {
|
|
margin-left: 68px;
|
|
}
|
|
|
|
.mw-mmv-options-cancel-button,
|
|
.mw-mmv-options-submit-button {
|
|
float: right;
|
|
}
|
|
|
|
.mw-mmv-options-dialog-header {
|
|
padding-top: 0;
|
|
font-weight: normal;
|
|
font-size: 1.25em;
|
|
color: @color-base;
|
|
|
|
.mw-mmv-options-enable & {
|
|
top: 35px;
|
|
}
|
|
}
|
|
|
|
.mw-mmv-options-text-header,
|
|
.mw-mmv-options-text-body {
|
|
margin: 0;
|
|
font-size: 1em;
|
|
color: @color-subtle;
|
|
}
|
|
|
|
.mw-mmv-options-enable-alert {
|
|
background-color: @background-color-base;
|
|
color: @color-base;
|
|
position: absolute;
|
|
left: -15px;
|
|
right: -15px;
|
|
top: -15px;
|
|
border-top-right-radius: @border-radius-base;
|
|
border-top-left-radius: @border-radius-base;
|
|
padding: 10px 15px;
|
|
font-weight: 500;
|
|
}
|