mediawiki-extensions-Visual.../modules/ve-mw/ui/styles/widgets/ve.ui.MWMediaInfoFieldWidget.css
Ed Sanders 99d3320573 build: Replace csslint with stylelint
For now just use the rules file in lib/ve, but eventually
this will be a preset.

Change-Id: I7fd79d3e1dce37aef066d416cd969e5fff1e962f
Depends-On: I17e0d23ddfedf64985495ab35d113ea08c03b1df
2016-05-16 22:30:49 +01:00

42 lines
1 KiB
CSS

/*!
* VisualEditor MediaWiki UserInterface MWMediaInfoFieldWidget styles.
*
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
.ve-ui-mwMediaInfoFieldWidget.oo-ui-iconElement .ve-ui-mwMediaInfoFieldWidget-icon {
width: 1.9em;
margin: 0.05em;
height: 1.9em;
position: absolute;
opacity: 0.5;
}
.ve-ui-mwMediaInfoFieldWidget-text {
word-wrap: break-word;
overflow: hidden;
transition: max-height 0.5s ease-in;
}
.ve-ui-mwMediaInfoFieldWidget-readmore {
height: 2em;
width: 100%;
padding-top: 1em;
margin-top: -2em;
background: -webkit-linear-gradient( top, rgba( 255, 255, 255, 0 ) 0, #fff 50% );
background: linear-gradient( to bottom, rgba( 255, 255, 255, 0 ) 0, #fff 50% );
}
.ve-ui-mwMediaInfoFieldWidget.oo-ui-iconElement .oo-ui-labelElement-label {
display: block;
padding: 0.3em 0 0.1em 2.2em;
line-height: 1.25em;
}
.ve-ui-mwMediaInfoFieldWidget-description {
display: block;
line-height: 1.25em;
overflow-y: hidden;
}