1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
|
@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: #eaecf0;
}
.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;
width: 15px;
height: 15px;
cursor: pointer;
opacity: 0.75;
/* @embed */
background-image: url( img/x_white.svg );
background-size: 15px 15px;
&:hover {
opacity: 1;
}
}
.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-text,
.mw-mmv-options-icon {
.mw-mmv-options-enable & {
top: 70px;
}
}
.mw-mmv-options-submit {
margin-top: 10px;
}
.mw-mmv-options-text {
left: 68px;
right: 0;
}
.mw-mmv-options-subcontainer .mw-mmv-options-text {
margin-left: 68px;
}
.mw-mmv-options-icon {
/* @embed */
background-image: url( img/icon_mmv.svg );
float: left;
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;
color: @color-base;
.mw-mmv-options-enable & {
top: 35px;
}
}
.mw-mmv-options-text-header {
margin: 0;
font-size: 1em;
color: #54595d;
}
.mw-mmv-options-text-body {
font-size: 0.9em;
color: #72777d;
}
.mw-mmv-options-enable-alert {
background-color: #eaecf0;
color: @color-base;
position: absolute;
left: -15px;
right: -15px;
top: -15px;
border-top-right-radius: @border-radius;
border-top-left-radius: @border-radius;
padding: 10px 15px;
font-weight: 500;
}
|