2014-09-18 19:49:22 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWMediaInfoFieldWidget styles.
|
|
|
|
*
|
2017-01-03 16:58:33 +00:00
|
|
|
* @copyright 2011-2017 VisualEditor Team and others; see AUTHORS.txt
|
2014-09-18 19:49:22 +00:00
|
|
|
* @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 {
|
2017-03-15 17:45:30 +00:00
|
|
|
word-break: break-word;
|
2014-09-18 19:49:22 +00:00
|
|
|
word-wrap: break-word;
|
2017-03-15 17:45:30 +00:00
|
|
|
overflow-wrap: break-word;
|
2014-09-18 19:49:22 +00:00
|
|
|
overflow: hidden;
|
2016-05-17 12:11:08 +00:00
|
|
|
/* stylelint-disable no-unsupported-browser-features */
|
|
|
|
-webkit-transition: max-height 0.5s ease-in;
|
|
|
|
-moz-transition: max-height 0.5s ease-in;
|
2014-09-18 19:49:22 +00:00
|
|
|
transition: max-height 0.5s ease-in;
|
2016-05-17 17:32:58 +00:00
|
|
|
/* stylelint-enable no-unsupported-browser-features */
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ve-ui-mwMediaInfoFieldWidget-readmore {
|
|
|
|
height: 2em;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 1em;
|
|
|
|
margin-top: -2em;
|
2016-05-17 12:11:08 +00:00
|
|
|
/* stylelint-disable no-unsupported-browser-features */
|
2014-09-18 19:49:22 +00:00
|
|
|
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% );
|
2016-05-17 17:32:58 +00:00
|
|
|
/* stylelint-enable no-unsupported-browser-features */
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|
|
|
|
|
2016-05-16 14:38:57 +00:00
|
|
|
.ve-ui-mwMediaInfoFieldWidget.oo-ui-iconElement .oo-ui-labelElement-label {
|
2014-09-18 19:49:22 +00:00
|
|
|
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;
|
|
|
|
}
|