2019-03-29 21:43:19 +00:00
|
|
|
@import 'minerva.variables.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
2018-07-05 22:25:35 +00:00
|
|
|
.editor-textarea() {
|
2022-05-16 16:55:54 +00:00
|
|
|
box-sizing: border-box;
|
2018-07-05 22:25:35 +00:00
|
|
|
width: 100%;
|
|
|
|
// Note if a textarea has a .mw-ui-input class, this may be overridden
|
|
|
|
padding: 10px @contentPadding 10px @contentPadding;
|
2022-05-07 00:57:25 +00:00
|
|
|
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
2018-07-05 22:25:35 +00:00
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
|
2019-04-18 18:08:15 +00:00
|
|
|
.clearfix() {
|
|
|
|
display: block;
|
|
|
|
content: '';
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2019-03-29 21:43:19 +00:00
|
|
|
// Mixins for history, contributions, watchlist and recent changes' changes list
|
2019-04-25 08:47:47 +00:00
|
|
|
.changeslist-minor-edit() {
|
2019-03-29 21:43:19 +00:00
|
|
|
background-color: @colorGray14;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 10px;
|
|
|
|
left: 85px;
|
2020-06-12 04:30:50 +00:00
|
|
|
border-radius: @border-radius-base;
|
2019-03-29 21:43:19 +00:00
|
|
|
padding: 0 6px 1px;
|
2019-07-31 17:59:52 +00:00
|
|
|
font-size: @font-size-minerva-small;
|
2019-03-29 21:43:19 +00:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2019-04-25 08:47:47 +00:00
|
|
|
.changeslist-meta() {
|
2019-03-29 21:43:19 +00:00
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2019-07-31 17:59:52 +00:00
|
|
|
font-size: @font-size-minerva-small;
|
2019-03-29 21:43:19 +00:00
|
|
|
}
|
|
|
|
|
2019-04-25 08:47:47 +00:00
|
|
|
.changeslist-row() {
|
2019-07-29 09:50:05 +00:00
|
|
|
font-size: 0.85em;
|
2019-03-29 21:43:19 +00:00
|
|
|
list-style: none;
|
|
|
|
position: relative;
|
2019-07-29 09:50:05 +00:00
|
|
|
min-height: 80px;
|
2019-08-02 21:27:41 +00:00
|
|
|
width: 100%;
|
2019-03-29 21:43:19 +00:00
|
|
|
/* !important to override the too-specific rule .content ol li, .content ul li */
|
|
|
|
margin: 0 !important;
|
2019-07-29 09:50:05 +00:00
|
|
|
padding: 12px 0;
|
2019-03-29 21:43:19 +00:00
|
|
|
border-bottom: 1px solid @colorGray14;
|
2019-08-02 21:27:41 +00:00
|
|
|
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
.clearfix();
|
|
|
|
}
|
2019-03-29 21:43:19 +00:00
|
|
|
}
|
|
|
|
|
2019-04-25 08:47:47 +00:00
|
|
|
.changeslist-row-item() {
|
2019-03-29 21:43:19 +00:00
|
|
|
color: @colorGray7;
|
|
|
|
margin: 0.5em 0;
|
|
|
|
padding-left: 85px;
|
2019-07-31 17:59:52 +00:00
|
|
|
font-size: @font-size-minerva-small;
|
2019-03-29 21:43:19 +00:00
|
|
|
}
|
|
|
|
|
2019-04-25 08:47:47 +00:00
|
|
|
.changeslist-header() {
|
2019-03-29 21:43:19 +00:00
|
|
|
background-color: @colorGray14;
|
2022-06-15 20:07:21 +00:00
|
|
|
color: @colorGray5;
|
2019-03-29 21:43:19 +00:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.5em 16px 0.4em;
|
|
|
|
font-size: 0.85em;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
// Generic mixin for applying styles to text that accompanies/adds context to workflows
|
|
|
|
.secondary-text() {
|
2019-07-31 17:59:52 +00:00
|
|
|
font-size: @font-size-minerva-small;
|
2017-07-12 15:12:40 +00:00
|
|
|
color: @grayMedium;
|
|
|
|
margin-top: 0.5em;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|