2014-09-18 19:49:22 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor MediaWiki UserInterface MWMediaInfoFieldWidget styles.
|
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2014-09-18 19:49:22 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
2024-06-07 18:18:01 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2014-09-18 19:49:22 +00:00
|
|
|
|
2018-03-22 22:15:52 +00:00
|
|
|
.ve-ui-mwMediaInfoFieldWidget {
|
|
|
|
position: relative;
|
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&.oo-ui-iconElement &-icon {
|
|
|
|
margin: 0.05em;
|
|
|
|
position: absolute;
|
|
|
|
top: auto;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2014-09-18 19:49:22 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-text {
|
|
|
|
word-break: break-word;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-wrap: break-word;
|
|
|
|
overflow: hidden;
|
|
|
|
transition: max-height 0.5s ease-in;
|
|
|
|
}
|
2014-09-18 19:49:22 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-readmore {
|
|
|
|
height: 2em;
|
|
|
|
width: 100%;
|
|
|
|
padding-top: 1em;
|
|
|
|
margin-top: -2em;
|
2024-06-07 18:18:01 +00:00
|
|
|
background: linear-gradient( to bottom, transparent 0, @background-color-base 50% );
|
2024-03-16 00:45:14 +00:00
|
|
|
}
|
2014-09-18 19:49:22 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&.oo-ui-iconElement .oo-ui-labelElement-label {
|
|
|
|
display: block;
|
|
|
|
padding: 0.3em 0 0.1em 2.2em;
|
|
|
|
line-height: 1.25em;
|
|
|
|
}
|
2014-09-18 19:49:22 +00:00
|
|
|
|
2024-03-16 00:45:14 +00:00
|
|
|
&-description {
|
|
|
|
display: block;
|
|
|
|
line-height: 1.25em;
|
|
|
|
overflow-y: hidden;
|
|
|
|
}
|
2014-09-18 19:49:22 +00:00
|
|
|
}
|