2014-03-18 20:52:39 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
|
|
|
|
*
|
2015-01-08 23:54:03 +00:00
|
|
|
* @copyright 2011-2015 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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 {
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaSearchWidget .oo-ui-searchWidget-results {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-01-08 23:40:12 +00:00
|
|
|
|
|
|
|
/* HACK: Override ooui specific 2em top margin */
|
|
|
|
.ve-ui-mwMediaDialog-caption-fielset.oo-ui-labelElement.oo-ui-fieldsetLayout {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|