mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-29 00:20:51 +00:00
64134bd8a6
Use local imports instead given all relevant files are within the same repository, and don't vary by configuraion. Bug: T140807 Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201 Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
60 lines
1,022 B
Plaintext
60 lines
1,022 B
Plaintext
@import '../../minerva.less/minerva.variables';
|
|
|
|
// FIXME: All this code can be removed when T117781/T171238 is resolved.
|
|
#preftoc {
|
|
text-align: left;
|
|
// Horizontal scrolling
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
white-space: nowrap;
|
|
padding: 0;
|
|
|
|
li {
|
|
display: inline-block;
|
|
color: @colorGray2;
|
|
border: 1px solid @colorFieldBorder;
|
|
border-radius: 0;
|
|
|
|
&:first-child {
|
|
border-top-left-radius: 2px;
|
|
border-bottom-left-radius: 2px;
|
|
}
|
|
|
|
&:last-child {
|
|
border-top-right-radius: 2px;
|
|
border-bottom-right-radius: 2px;
|
|
}
|
|
|
|
&:not( :first-child ) {
|
|
border-left: 0;
|
|
}
|
|
|
|
&.selected {
|
|
background-color: @colorProgressiveActive;
|
|
border-color: @colorProgressiveActive;
|
|
color: #fff;
|
|
box-shadow: none;
|
|
}
|
|
|
|
a {
|
|
padding: 0.5em 1em;
|
|
color: inherit;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
// redudant on mobile - tab labels provide context
|
|
.mainLegend {
|
|
display: none;
|
|
}
|
|
|
|
.mw-htmlform-submit-buttons,
|
|
.mw-input {
|
|
select,
|
|
input {
|
|
border: solid 1px @colorFieldBorder;
|
|
padding: 8px;
|
|
}
|
|
}
|