mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.permission.less

63 lines
886 B
Plaintext
Raw Normal View History

@import "mediawiki.mixins";
.mw-mlb-permission-box {
position: relative;
width: 90%;
margin: 10px 5% 0;
&.empty {
display: none;
}
h3 {
margin: 10px;
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 {
@text-font-size: 1em;
@text-line-height: 1.2;
@lines-shown: 3;
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;
}
.mw-mlb-permission-html {
display: none;
}
&.full-size {
.mw-mlb-permission-close {
display: block;
}
.mw-mlb-permission-text {
display: none;
}
.mw-mlb-permission-html {
display: block;
}
}
}