2020-04-18 04:13:01 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
@import '../mmv.mixins.less';
|
2014-02-14 00:36:10 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-box {
|
2014-02-14 00:36:10 +00:00
|
|
|
position: relative;
|
|
|
|
width: 90%;
|
2014-02-28 13:14:34 +00:00
|
|
|
margin: 10px 20px 0;
|
2014-02-14 00:36:10 +00:00
|
|
|
|
|
|
|
&.empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2014-02-26 00:41:12 +00:00
|
|
|
margin: 10px;
|
2014-02-14 00:36:10 +00:00
|
|
|
padding: 0;
|
2016-11-02 08:27:04 +00:00
|
|
|
color: #54595d;
|
2014-02-28 13:14:34 +00:00
|
|
|
font-size: 0.95em;
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-close {
|
2014-02-14 00:36:10 +00:00
|
|
|
display: none;
|
|
|
|
position: absolute;
|
2014-02-28 13:14:34 +00:00
|
|
|
top: 12px;
|
|
|
|
right: 8px;
|
2014-02-14 00:36:10 +00:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2016-07-18 14:24:02 +00:00
|
|
|
.background-image( 'img/x_gray.svg' );
|
2014-02-14 00:36:10 +00:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-text {
|
2014-02-27 17:48:54 +00:00
|
|
|
@text-font-size: 0.9em;
|
|
|
|
@text-line-height: 1.4;
|
2014-02-26 00:41:12 +00:00
|
|
|
@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;
|
2017-03-02 23:45:42 +00:00
|
|
|
color: #54595d;
|
2014-02-26 02:47:24 +00:00
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-text-fader {
|
2014-02-26 02:47:24 +00:00
|
|
|
position: absolute;
|
2016-07-18 14:24:02 +00:00
|
|
|
top: ( @lines-shown - 1 ) * @text-line-height * @text-font-size;
|
2014-02-26 02:47:24 +00:00
|
|
|
width: 100%;
|
|
|
|
height: @text-line-height * @text-font-size;
|
2014-10-29 19:50:53 +00:00
|
|
|
.fade-out-vertical();
|
2014-02-26 02:47:24 +00:00
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
a {
|
|
|
|
padding: 3px 0 0 1em;
|
2016-07-18 14:24:02 +00:00
|
|
|
background-color: #fff;
|
2014-02-27 17:48:54 +00:00
|
|
|
font-size: 1em;
|
2014-02-26 02:47:24 +00:00
|
|
|
}
|
|
|
|
}
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-html {
|
2014-02-28 13:14:34 +00:00
|
|
|
padding: 0 15px 15px;
|
2014-02-14 00:36:10 +00:00
|
|
|
display: none;
|
2014-02-28 13:14:34 +00:00
|
|
|
max-height: 400px;
|
|
|
|
overflow: auto;
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.full-size {
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-close {
|
2014-02-14 00:36:10 +00:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-text {
|
2014-02-14 00:36:10 +00:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2014-03-31 21:33:12 +00:00
|
|
|
.mw-mmv-permission-html {
|
2014-02-14 00:36:10 +00:00
|
|
|
display: block;
|
2017-03-02 23:45:42 +00:00
|
|
|
border-top: 1px solid #f8f9fa;
|
2014-02-14 00:36:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|