mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-18 03:41:45 +00:00
99d3320573
For now just use the rules file in lib/ve, but eventually this will be a preset. Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
83 lines
1.8 KiB
CSS
83 lines
1.8 KiB
CSS
/*!
|
|
* VisualEditor MediaWiki UserInterface MWMediaDialog styles.
|
|
*
|
|
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo {
|
|
padding-top: 2em;
|
|
padding-left: 2em;
|
|
padding-right: 2em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-thumb {
|
|
text-align: center;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-loadingthumb img {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-info {
|
|
padding: 1em 2em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-main {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-portrait .ve-ui-mwMediaDialog-panel-imageinfo-thumb img {
|
|
margin-bottom: 1em;
|
|
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 {
|
|
padding-left: 2em;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-panel-imageinfo-title {
|
|
font-size: 1.5em;
|
|
line-height: 1.5em;
|
|
margin-top: -0.2em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.ve-ui-mwMediaSearchWidget .oo-ui-searchWidget-results {
|
|
padding-right: 0;
|
|
}
|
|
|
|
/* HACK: Override ooui specific 2em top margin */
|
|
.ve-ui-mwMediaDialog-caption-fieldset.oo-ui-labelElement.oo-ui-fieldsetLayout {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.ve-ui-mwMediaDialog-borderCheckbox {
|
|
margin-top: 0.4em;
|
|
}
|
|
|
|
.visualeditor-dialog-media-content-description-link {
|
|
font-size: 75%;
|
|
}
|