2020-04-18 04:13:01 +00:00
|
|
|
@import '../mmv.variables.less';
|
|
|
|
@import '../mmv.mixins.less';
|
2014-07-23 23:00:37 +00:00
|
|
|
|
|
|
|
.mw-mmv-options-dialog {
|
2016-07-18 14:24:02 +00:00
|
|
|
@offset-top: ( @buttons-offset-right + ( 2 * @buttons-offset-each-top ) + 6px );
|
2014-07-23 23:00:37 +00:00
|
|
|
top: @offset-top;
|
|
|
|
height: auto;
|
|
|
|
z-index: 1004;
|
2014-10-23 11:17:32 +00:00
|
|
|
padding: 15px;
|
2014-07-23 23:00:37 +00:00
|
|
|
|
|
|
|
&.mw-mmv-enable-confirmation-shown {
|
2016-07-18 14:24:02 +00:00
|
|
|
background-color: #00af89;
|
|
|
|
box-shadow: 0 2px 0 #00634e;
|
2014-07-23 23:00:37 +00:00
|
|
|
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
2016-07-18 14:24:02 +00:00
|
|
|
background-color: #00af89;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-02 23:45:42 +00:00
|
|
|
&.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 {
|
2016-11-02 08:27:04 +00:00
|
|
|
background-color: #eaecf0;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-dialog-down-arrow {
|
|
|
|
@arrow-size: 20px;
|
2016-07-18 14:24:02 +00:00
|
|
|
top: ( @offset-top + ( @arrow-size / 2 ) );
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2014-10-23 11:17:32 +00:00
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
2014-07-23 23:00:37 +00:00
|
|
|
cursor: pointer;
|
|
|
|
opacity: 0.75;
|
|
|
|
/* @embed */
|
2017-11-06 19:10:03 +00:00
|
|
|
background-image: url( img/x_white.svg );
|
|
|
|
background-size: 15px 15px;
|
2014-07-23 23:00:37 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-disable-confirmation {
|
|
|
|
.mw-mmv-options-dialog-header {
|
2020-04-18 04:22:52 +00:00
|
|
|
color: @color-base;
|
2014-07-23 23:00:37 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-text-header {
|
2020-04-18 04:22:52 +00:00
|
|
|
color: @color-base;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-enable-confirmation {
|
|
|
|
.mw-mmv-options-dialog-header {
|
2016-07-18 14:24:02 +00:00
|
|
|
color: #fff;
|
2014-07-23 23:00:37 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-text-header {
|
2016-07-18 14:24:02 +00:00
|
|
|
color: #fff;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-disable-confirmation,
|
|
|
|
.mw-mmv-enable-confirmation {
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
.mw-mmv-options-text {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-text,
|
|
|
|
.mw-mmv-options-icon {
|
|
|
|
.mw-mmv-options-enable & {
|
|
|
|
top: 70px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-submit {
|
2014-11-06 17:30:07 +00:00
|
|
|
margin-top: 10px;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-text {
|
|
|
|
left: 68px;
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
|
2014-11-06 17:30:07 +00:00
|
|
|
.mw-mmv-options-subcontainer .mw-mmv-options-text {
|
|
|
|
margin-left: 68px;
|
|
|
|
}
|
|
|
|
|
2014-07-23 23:00:37 +00:00
|
|
|
.mw-mmv-options-icon {
|
2016-11-02 08:27:04 +00:00
|
|
|
/* @embed */
|
|
|
|
background-image: url( img/icon_mmv.svg );
|
2014-11-06 17:30:07 +00:00
|
|
|
float: left;
|
2014-07-23 23:00:37 +00:00
|
|
|
width: 58px;
|
|
|
|
height: 52px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2020-04-18 04:22:52 +00:00
|
|
|
color: @color-base;
|
2014-07-23 23:00:37 +00:00
|
|
|
|
|
|
|
.mw-mmv-options-enable & {
|
|
|
|
top: 35px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-text-header {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1em;
|
2017-03-02 23:45:42 +00:00
|
|
|
color: #54595d;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-text-body {
|
2016-07-18 14:24:02 +00:00
|
|
|
font-size: 0.9em;
|
2016-11-02 08:27:04 +00:00
|
|
|
color: #72777d;
|
2014-07-23 23:00:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mmv-options-enable-alert {
|
2016-11-02 08:27:04 +00:00
|
|
|
background-color: #eaecf0;
|
2020-04-18 04:22:52 +00:00
|
|
|
color: @color-base;
|
2014-07-23 23:00:37 +00:00
|
|
|
position: absolute;
|
2014-10-23 11:17:32 +00:00
|
|
|
left: -15px;
|
|
|
|
right: -15px;
|
|
|
|
top: -15px;
|
2017-03-02 23:45:42 +00:00
|
|
|
border-top-right-radius: @border-radius;
|
|
|
|
border-top-left-radius: @border-radius;
|
2014-10-23 11:17:32 +00:00
|
|
|
padding: 10px 15px;
|
2014-07-23 23:00:37 +00:00
|
|
|
font-weight: 500;
|
|
|
|
}
|