mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
1f83fd0d68
Bug: T362683 Change-Id: I8a3b3554991eb8229b0d734fd577c48868480fdc
100 lines
2.3 KiB
Plaintext
100 lines
2.3 KiB
Plaintext
@import 'minerva.variables.less';
|
|
|
|
.editor-textarea() {
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
// Note if a textarea has a .mw-ui-input class, this may be overridden
|
|
padding: 10px @padding-content 10px @padding-content;
|
|
// stylelint-disable-next-line plugin/no-unsupported-browser-features
|
|
resize: none;
|
|
}
|
|
|
|
.clearfix() {
|
|
display: block;
|
|
content: '';
|
|
clear: both;
|
|
}
|
|
|
|
// Mixins for history, contributions, watchlist and recent changes' changes list
|
|
.changeslist-minor-edit() {
|
|
background-color: var( --background-color-interactive );
|
|
position: absolute;
|
|
bottom: 10px;
|
|
left: 85px;
|
|
border-radius: @border-radius-base;
|
|
padding: 0 6px 1px;
|
|
font-size: @font-size-minerva-small;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.changeslist-make-row-linkable() {
|
|
position: absolute;
|
|
right: 0;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
color: transparent;
|
|
z-index: @z-index-above-content;
|
|
}
|
|
|
|
.changeslist-meta() {
|
|
position: absolute;
|
|
left: 0;
|
|
font-size: @font-size-minerva-small;
|
|
}
|
|
|
|
.changeslist-row() {
|
|
font-size: 0.85em;
|
|
list-style: none;
|
|
position: relative;
|
|
min-height: 80px;
|
|
width: 100%;
|
|
/* !important to override the too-specific rule .content ol li, .content ul li */
|
|
margin: 0 !important;
|
|
padding: 12px 0;
|
|
border-bottom: @border-width-base @border-style-base var( --border-color-muted );
|
|
|
|
&::before,
|
|
&::after {
|
|
.clearfix();
|
|
}
|
|
}
|
|
|
|
.changeslist-row-item() {
|
|
color: #72777d;
|
|
margin: 0.5em 0;
|
|
padding-left: 85px;
|
|
font-size: @font-size-minerva-small;
|
|
}
|
|
|
|
.changeslist-header() {
|
|
background-color: var( --background-color-interactive );
|
|
color: var( --color-subtle );
|
|
display: block;
|
|
width: 100%;
|
|
padding: 0.5em 16px 0.4em;
|
|
font-size: 0.85em;
|
|
font-weight: bold;
|
|
}
|
|
|
|
// Generic mixin for applying styles to text that accompanies/adds context to workflows
|
|
.secondary-text() {
|
|
font-size: @font-size-minerva-small;
|
|
color: #72777d;
|
|
margin-top: 0.5em;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.night-mode-invert-image() {
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
|
}
|
|
|
|
/** This mixin should only be used where it's safe to do so. It should not be applied
|
|
to content which may have important information. */
|
|
.night-mode-strip-all-colors-when-safe() {
|
|
background: inherit !important;
|
|
color: inherit !important;
|
|
/* If a border is defined retain it but make it black. If no border this won't do anything. */
|
|
border-color: var( --border-color-subtle ) !important;
|
|
}
|