mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
8c7ed92288
New changes: c54a48a build: Fix watch list (csslint -> stylelint) 58ba3d9 Add stylelint rules for @-rules 3f8c75a Stylelint: Add rule for unsupported browser features 3b96ff3 Fix minimum Opera version (15 -> 12) 9a1110b Stylelint: No ID selectors 9800bb8 build: Remove remaining references to csslint b6ab14a stylelint: Re-enable features by names 6cc1f3c Move stylelint to npm 1d15fa0 build: Bump stylelint version to v0.2.0 ccc1724 stylelint: Use the preset rather than extending Change-Id: I22fa8098592338a5e912aba9ad21131b21d9c0ea
48 lines
1.3 KiB
CSS
48 lines
1.3 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;
|
|
/* stylelint-disable no-unsupported-browser-features */
|
|
-webkit-transition: max-height 0.5s ease-in;
|
|
-moz-transition: max-height 0.5s ease-in;
|
|
transition: max-height 0.5s ease-in;
|
|
/* stylelint-enable no-unsupported-browser-features */
|
|
}
|
|
|
|
.ve-ui-mwMediaInfoFieldWidget-readmore {
|
|
height: 2em;
|
|
width: 100%;
|
|
padding-top: 1em;
|
|
margin-top: -2em;
|
|
/* stylelint-disable no-unsupported-browser-features */
|
|
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% );
|
|
/* stylelint-enable no-unsupported-browser-features */
|
|
}
|
|
|
|
.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;
|
|
}
|