2016-12-16 11:11:54 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2017-02-01 19:49:31 +00:00
|
|
|
@import 'mediawiki.ui/variables';
|
2014-08-29 04:22:55 +00:00
|
|
|
|
2014-06-17 11:08:05 +00:00
|
|
|
#mwe-popups-settings {
|
|
|
|
position: fixed;
|
|
|
|
z-index: 1000;
|
|
|
|
background: #fff;
|
2017-10-19 17:17:24 +00:00
|
|
|
width: 420px;
|
|
|
|
border: 1px solid #a2a9b1;
|
|
|
|
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25 );
|
|
|
|
border-radius: @borderRadius;
|
2014-06-17 11:08:05 +00:00
|
|
|
|
|
|
|
header {
|
2017-09-21 22:32:09 +00:00
|
|
|
.box-sizing( border-box );
|
2016-06-24 16:25:20 +00:00
|
|
|
border-bottom: 1px solid #c8ccd1;
|
|
|
|
position: relative;
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
padding: 5px 7px 5px 0;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: table-cell;
|
2017-02-01 19:49:31 +00:00
|
|
|
width: @iconSize + ( 2 * @iconGutterWidth );
|
2016-06-24 16:25:20 +00:00
|
|
|
vertical-align: middle;
|
2014-06-17 11:08:05 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2016-06-24 16:25:20 +00:00
|
|
|
border: 0;
|
|
|
|
width: 100%;
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 18px;
|
2017-10-19 17:17:24 +00:00
|
|
|
font-weight: bold;
|
2016-06-24 16:25:20 +00:00
|
|
|
text-align: center;
|
2014-06-17 11:08:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-10-19 20:14:38 +00:00
|
|
|
.mwe-ui-icon-popups-close {
|
|
|
|
opacity: 0.87; // = `#222` on `background-color: #fff`
|
|
|
|
.transition( opacity 100ms );
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 0.73; // = `#454545` on `background-color: #fff`, closest to `#444`
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-17 11:08:05 +00:00
|
|
|
main {
|
2016-08-11 15:39:05 +00:00
|
|
|
display: block;
|
2016-06-24 16:25:20 +00:00
|
|
|
width: 350px;
|
2017-10-19 17:17:24 +00:00
|
|
|
padding: 32px 0 24px;
|
2016-06-24 16:25:20 +00:00
|
|
|
margin: 0 auto;
|
2014-06-17 11:08:05 +00:00
|
|
|
|
|
|
|
p {
|
2017-10-19 17:17:24 +00:00
|
|
|
color: #54595d;
|
2014-06-17 11:08:05 +00:00
|
|
|
font-size: 17px;
|
2017-10-19 17:17:24 +00:00
|
|
|
margin: 16px 0 0;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2014-06-17 11:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
form {
|
2016-06-24 16:25:20 +00:00
|
|
|
img,
|
|
|
|
input,
|
|
|
|
label {
|
2016-05-25 20:20:39 +00:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2014-06-17 11:08:05 +00:00
|
|
|
img {
|
|
|
|
margin-right: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
2016-05-25 20:20:39 +00:00
|
|
|
display: inline-block;
|
2016-06-24 16:25:20 +00:00
|
|
|
margin: 0 10px 0 0;
|
|
|
|
padding: 0;
|
2014-06-17 11:08:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
2016-06-24 16:25:20 +00:00
|
|
|
font-size: 13px;
|
2016-05-25 20:20:39 +00:00
|
|
|
display: inline-block;
|
2016-06-24 16:25:20 +00:00
|
|
|
line-height: 16px;
|
|
|
|
width: 300px;
|
2014-06-17 11:08:05 +00:00
|
|
|
|
|
|
|
> span {
|
|
|
|
color: #000;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
2016-06-24 16:25:20 +00:00
|
|
|
margin-bottom: 5px;
|
|
|
|
line-height: 18px;
|
2014-06-17 11:08:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-01 19:49:31 +00:00
|
|
|
.mwe-popups-settings-help {
|
2017-04-21 19:37:52 +00:00
|
|
|
@imageWidth: 180px;
|
|
|
|
@imageHeight: 140px;
|
|
|
|
|
|
|
|
.background-image-svg( '../images/footer-ltr.svg', '../images/footer-ltr.png' );
|
|
|
|
background-position: top left;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: @imageWidth @imageHeight;
|
|
|
|
font-size: 13px;
|
2014-08-29 04:22:55 +00:00
|
|
|
font-weight: 800;
|
2017-04-21 19:37:52 +00:00
|
|
|
height: @imageHeight;
|
|
|
|
margin: 40px;
|
|
|
|
position: relative;
|
2014-08-29 04:22:55 +00:00
|
|
|
|
|
|
|
p {
|
2017-04-21 19:37:52 +00:00
|
|
|
left: @imageWidth;
|
|
|
|
bottom: 20px;
|
|
|
|
position: absolute;
|
2014-08-29 04:22:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-17 11:08:05 +00:00
|
|
|
.mwe-popups-overlay {
|
2016-06-24 16:25:20 +00:00
|
|
|
background-color: rgba( 255, 255, 255, 0.9 );
|
2014-06-17 11:08:05 +00:00
|
|
|
z-index: 999;
|
|
|
|
position: fixed;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
2018-02-14 16:54:38 +00:00
|
|
|
// flexbox to vertically/horizontally center children
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2016-05-25 20:20:39 +00:00
|
|
|
}
|