2017-07-12 15:12:40 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
2017-08-16 19:30:33 +00:00
|
|
|
@import 'minerva.variables.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
@import 'mediawiki.mixins.animation.less';
|
|
|
|
|
2018-07-05 22:25:35 +00:00
|
|
|
.editor-textarea() {
|
|
|
|
// stylelint-disable-next-line no-descending-specificity
|
|
|
|
.box-sizing( border-box );
|
|
|
|
width: 100%;
|
|
|
|
// Note if a textarea has a .mw-ui-input class, this may be overridden
|
|
|
|
padding: 10px @contentPadding 10px @contentPadding;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
// Generic mixin for applying styles to text that accompanies/adds context to workflows
|
|
|
|
.secondary-text() {
|
|
|
|
font-size: 0.9em;
|
|
|
|
color: @grayMedium;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2018-07-05 22:51:27 +00:00
|
|
|
|
|
|
|
.truncated-text() {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-text-overflow: ellipsis;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|