2014-09-18 19:49:22 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWMediaInfoFieldWidget styles.
|
|
|
|
*
|
2019-01-01 13:24:23 +00:00
|
|
|
* @copyright 2011-2019 VisualEditor Team and others; see AUTHORS.txt
|
2014-09-18 19:49:22 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2018-03-22 22:15:52 +00:00
|
|
|
.ve-ui-mwMediaInfoFieldWidget {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2014-09-18 19:49:22 +00:00
|
|
|
.ve-ui-mwMediaInfoFieldWidget.oo-ui-iconElement .ve-ui-mwMediaInfoFieldWidget-icon {
|
|
|
|
margin: 0.05em;
|
|
|
|
position: absolute;
|
2017-10-17 17:54:46 +00:00
|
|
|
top: auto;
|
2014-09-18 19:49:22 +00:00
|
|
|
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
|
|
|
-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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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% );
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|