1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
/*!
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
*
* @copyright See AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
@import 'mediawiki.skin.variables.less';
.ve-ui-mwMediaDialog {
&-panel-imageinfo {
padding-top: 2em;
padding-left: 2em;
padding-right: 2em;
&-thumb {
text-align: center;
}
&-loadingthumb img {
opacity: 0.8;
}
&-info {
padding: 1em 2em;
@media ( max-width: 400px ) {
padding: 1em 0;
}
}
&-main {
margin-bottom: 1em;
}
&-portrait .ve-ui-mwMediaDialog-panel-imageinfo {
&-thumb img {
margin-bottom: 1em;
max-height: none;
}
&-thumb,
&-info {
float: left;
}
&-info {
padding-left: 2em;
box-sizing: border-box;
}
}
&-title {
font-size: 1.5em;
line-height: 1.5em;
margin-top: -0.2em;
margin-bottom: 0.5em;
}
&-details {
color: @color-subtle;
}
&-separator {
margin: 0 0.5em;
display: inline-block;
}
}
&-altText {
width: auto;
}
/* HACK: Override ooui specific 2em top margin */
&-caption-fieldset.oo-ui-labelElement.oo-ui-fieldsetLayout {
margin-top: 0;
}
&-description-link {
font-size: 75%;
}
}
.mw-widget-mediaSearchWidget .oo-ui-searchWidget-results {
padding-right: 0;
}
|