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
|
2024-01-31 15:06:56 +00:00
|
|
|
padding: 10px @padding-content 10px @padding-content;
|
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() {
|
2024-02-01 17:33:08 +00:00
|
|
|
background-color: var( --background-color-interactive );
|
2019-03-29 21:43:19 +00:00
|
|
|
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;
|
2024-02-16 18:30:44 +00:00
|
|
|
border-bottom: @border-width-base @border-style-base var( --border-color-muted );
|
2019-08-02 21:27:41 +00:00
|
|
|
|
2023-03-31 19:50:36 +00:00
|
|
|
&::before,
|
|
|
|
&::after {
|
2019-08-02 21:27:41 +00:00
|
|
|
.clearfix();
|
|
|
|
}
|
2019-03-29 21:43:19 +00:00
|
|
|
}
|
|
|
|
|
2019-04-25 08:47:47 +00:00
|
|
|
.changeslist-row-item() {
|
2023-04-09 13:49:29 +00:00
|
|
|
color: #72777d;
|
2019-03-29 21:43:19 +00:00
|
|
|
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() {
|
2024-02-01 17:33:08 +00:00
|
|
|
background-color: var( --background-color-interactive );
|
|
|
|
color: var( --color-subtle );
|
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;
|
2023-04-09 13:49:29 +00:00
|
|
|
color: #72777d;
|
2017-07-12 15:12:40 +00:00
|
|
|
margin-top: 0.5em;
|
|
|
|
line-height: 1.4;
|
|
|
|
}
|
2024-02-20 22:40:56 +00:00
|
|
|
|
|
|
|
.night-mode-invert() {
|
|
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
|
|
|
}
|