mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 23:50:30 +00:00
6f98cc6460
Remove direct usage of CSS variables in Minerva, and replace them with codex design tokens again. Document this decision in the original ADR Note: there are still a small number of CSS variables in use, including most notably the --color-link-red fix, which broke when I removed it, but this change takes care of all the ones that could be easily replaced Bug: T363743 Change-Id: I7d3a9dceb908167078987de1733774c8bd4bea2f
39 lines
577 B
Plaintext
39 lines
577 B
Plaintext
.minerva__tab-container {
|
|
white-space: nowrap;
|
|
overflow-x: auto;
|
|
|
|
.minerva__tab {
|
|
font-size: @font-size-tag-line;
|
|
margin: 0 10px 0 0;
|
|
font-weight: bold;
|
|
padding-bottom: 6px;
|
|
display: inline-block;
|
|
|
|
a {
|
|
color: @color-subtle;
|
|
}
|
|
|
|
a:visited,
|
|
a:hover,
|
|
a:active {
|
|
text-decoration: none;
|
|
}
|
|
|
|
&.new a,
|
|
&.new a:visited,
|
|
&.new a:hover,
|
|
&.new a:active {
|
|
color: @color-link-new;
|
|
}
|
|
|
|
&:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
// note core doesn't use BEM.
|
|
&.selected {
|
|
border-bottom: @border-width-thick @border-style-base #54595d;
|
|
}
|
|
}
|
|
}
|