mediawiki-extensions-Multim.../resources/mmv/ui/mmv.ui.permission.less
Pau Giner a3d0a654f7 Adjustments of colours and layout
changes include:
* Aligning license and usage boxes with content above.
* Limit the maximum size for the licensing box when open.
* Adjust font sizes and colours to adjust the alance in the prominence of each part.

Change-Id: I0e4465baaf7a9f7830b95a8d731256d6b4974e17
2014-02-28 14:14:34 +01:00

89 lines
1.4 KiB
Plaintext

@import "mediawiki.mixins";
@import "mmv.mixins";
.mw-mlb-permission-box {
position: relative;
width: 90%;
margin: 10px 20px 0;
&.empty {
display: none;
}
h3 {
margin: 10px;
padding: 0;
color: #565656;
font-size: 0.95em;
}
.mw-mlb-permission-close {
display: none;
position: absolute;
top: 12px;
right: 8px;
width: 16px;
height: 16px;
.background-image('img/x_gray.svg');
cursor: pointer;
}
.mw-mlb-permission-text {
@text-font-size: 0.9em;
@text-line-height: 1.4;
@lines-shown: 3;
position: relative;
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;
color: #555555;
.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: 1em;
}
}
}
.mw-mlb-permission-html {
padding: 0 15px 15px;
display: none;
max-height: 400px;
overflow: auto;
}
&.full-size {
.mw-mlb-permission-close {
display: block;
}
.mw-mlb-permission-text {
display: none;
}
.mw-mlb-permission-html {
display: block;
border-top: 1px solid #f0f0f0;
}
}
}