2014-03-18 20:52:39 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
|
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2014-03-18 20:52:39 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2024-05-02 17:49:49 +00:00
|
|
|
&-portrait .ve-ui-mwMediaDialog-panel-imageinfo {
|
2024-03-16 00:45:14 +00:00
|
|
|
&-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: #54595d;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-separator {
|
|
|
|
margin: 0 0.5em;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2018-09-17 16:50:28 +00:00
|
|
|
}
|
2014-09-18 19:49:22 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-altText {
|
|
|
|
width: auto;
|
|
|
|
}
|
2014-06-19 15:44:05 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
/* HACK: Override ooui specific 2em top margin */
|
|
|
|
&-caption-fieldset.oo-ui-labelElement.oo-ui-fieldsetLayout {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-01-08 23:40:12 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-description-link {
|
|
|
|
font-size: 75%;
|
|
|
|
}
|
2024-05-02 17:49:49 +00:00
|
|
|
}
|
2015-12-03 02:28:14 +00:00
|
|
|
|
2024-05-02 17:49:49 +00:00
|
|
|
.mw-widget-mediaSearchWidget .oo-ui-searchWidget-results {
|
|
|
|
padding-right: 0;
|
2016-05-16 14:38:57 +00:00
|
|
|
}
|