2014-02-14 00:36:10 +00:00
|
|
|
@import "mediawiki.mixins";
|
2014-02-26 02:47:24 +00:00
|
|
|
@import "mmv.mixins";
|
2014-02-14 00:36:10 +00:00
|
|
|
|
|
|
|
.mw-mlb-permission-box {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
width: 90%;
|
|
|
|
margin: 10px 5% 0;
|
|
|
|
|
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2014-02-26 00:41:12 +00:00
|
|
|
margin: 10px;
|
2014-02-14 00:36:10 +00:00
|
|
|
padding: 0;
|
|
|
|
color: #565656;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-permission-close {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 5px;
|
|
|
|
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
.background-image('img/x_gray.svg');
|
|
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-permission-text {
|
2014-02-26 00:41:12 +00:00
|
|
|
@text-font-size: 1em;
|
|
|
|
@text-line-height: 1.2;
|
|
|
|
@lines-shown: 3;
|
|
|
|
|
2014-02-26 02:47:24 +00:00
|
|
|
position: relative;
|
|
|
|
|
2014-02-26 00:41:12 +00:00
|
|
|
max-height: @lines-shown * @text-line-height * @text-font-size;
|
|
|
|
overflow: hidden;
|
|
|
|
margin: 0 10px 10px;
|
|
|
|
font-size: @text-font-size;
|
|
|
|
line-height: @text-line-height;
|
2014-02-26 02:47:24 +00:00
|
|
|
|
|
|
|
.mw-mlb-permission-text-fader {
|
|
|
|
position: absolute;
|
|
|
|
top: (@lines-shown - 1) * @text-line-height * @text-font-size;
|
|
|
|
width: 100%;
|
|
|
|
height: @text-line-height * @text-font-size;
|
|
|
|
|
|
|
|
.fade-out();
|
|
|
|
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 3px 0 0 1em;
|
|
|
|
background-color: white;
|
|
|
|
font-size: small;
|
|
|
|
}
|
|
|
|
}
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-permission-html {
|
2014-02-26 02:47:24 +00:00
|
|
|
margin: 0 10px 10px;
|
2014-02-14 00:36:10 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.full-size {
|
|
|
|
.mw-mlb-permission-close {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-permission-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-mlb-permission-html {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|