2014-03-18 20:52:39 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
|
|
|
|
*
|
2018-01-03 00:54:47 +00:00
|
|
|
* @copyright 2011-2018 VisualEditor Team and others; see AUTHORS.txt
|
2014-03-18 20:52:39 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2015-01-15 18:50:30 +00:00
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo {
|
|
|
|
padding-top: 2em;
|
|
|
|
padding-left: 2em;
|
|
|
|
padding-right: 2em;
|
|
|
|
}
|
|
|
|
|
2014-09-18 19:49:22 +00:00
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-thumb {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2015-01-15 18:50:30 +00:00
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-loadingthumb img {
|
|
|
|
opacity: 0.8;
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
|
|
padding: 1em 2em;
|
|
|
|
}
|
|
|
|
|
2018-09-17 16:50:28 +00:00
|
|
|
@media ( max-width: 400px ) {
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
|
|
padding: 1em 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-09-18 19:49:22 +00:00
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-main {
|
2015-01-16 13:34:25 +00:00
|
|
|
margin-bottom: 1em;
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-thumb img {
|
2015-01-16 13:34:25 +00:00
|
|
|
margin-bottom: 1em;
|
2014-09-18 19:49:22 +00:00
|
|
|
max-height: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-thumb,
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-info {
|
2015-01-15 18:50:30 +00:00
|
|
|
padding-left: 2em;
|
2014-09-18 19:49:22 +00:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2014-03-18 20:52:39 +00:00
|
|
|
}
|
2014-06-19 15:44:05 +00:00
|
|
|
|
2014-09-18 19:49:22 +00:00
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-title {
|
|
|
|
font-size: 1.5em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
margin-top: -0.2em;
|
2015-01-23 20:19:51 +00:00
|
|
|
margin-bottom: 0.5em;
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-details {
|
2017-08-16 20:42:24 +00:00
|
|
|
color: #54595d;
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-separator {
|
|
|
|
margin: 0 0.5em;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-altText {
|
|
|
|
width: auto;
|
2014-06-19 15:44:05 +00:00
|
|
|
}
|
|
|
|
|
2016-11-16 18:21:22 +00:00
|
|
|
.mw-widget-mediaSearchWidget .oo-ui-searchWidget-results {
|
2014-06-19 15:44:05 +00:00
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-01-08 23:40:12 +00:00
|
|
|
|
|
|
|
/* HACK: Override ooui specific 2em top margin */
|
2015-12-09 16:47:13 +00:00
|
|
|
.ve-ui-mwMediaDialog-caption-fieldset.oo-ui-labelElement.oo-ui-fieldsetLayout {
|
2015-01-08 23:40:12 +00:00
|
|
|
margin-top: 0;
|
|
|
|
}
|
2015-12-03 02:28:14 +00:00
|
|
|
|
|
|
|
.ve-ui-mwMediaDialog-borderCheckbox {
|
|
|
|
margin-top: 0.4em;
|
|
|
|
}
|
2016-02-21 02:56:25 +00:00
|
|
|
|
|
|
|
.visualeditor-dialog-media-content-description-link {
|
|
|
|
font-size: 75%;
|
2016-05-16 14:38:57 +00:00
|
|
|
}
|