mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-17 12:53:24 +00:00
d66681c949
Some styling adjustments to: * Make description fonts not to be de-emphasized in comparison to license terms. * Avoid metadata on the right to wrap when there is enough space. Change-Id: I49514060dec200d93489d2b853a1dfdc1bfa5f46
86 lines
1.3 KiB
Plaintext
86 lines
1.3 KiB
Plaintext
@import "mediawiki.mixins";
|
|
@import "mmv.mixins";
|
|
|
|
.mw-mlb-permission-box {
|
|
position: relative;
|
|
|
|
width: 90%;
|
|
margin: 10px 5% 0;
|
|
|
|
&.empty {
|
|
display: none;
|
|
}
|
|
|
|
h3 {
|
|
margin: 10px;
|
|
padding: 0;
|
|
color: #565656;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.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: 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 {
|
|
margin: 0 10px 10px;
|
|
display: none;
|
|
}
|
|
|
|
&.full-size {
|
|
.mw-mlb-permission-close {
|
|
display: block;
|
|
}
|
|
|
|
.mw-mlb-permission-text {
|
|
display: none;
|
|
}
|
|
|
|
.mw-mlb-permission-html {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|