mediawiki-skins-MinervaNeue/resources/skins.minerva.amc.styles/tabs.less
Jon Robson ba64c4168d Complete transition to Codex color palettes
* Update mediawiki.skin.variables to point non-Codex tokens to
Codex token equivalents
* Replace box-shadow-color-drawer with @box-shadow-color-base
* Leave FIXME comments for migrating the last two CSS variables
* Replace direct access to CSS variable with @color-link-new
design token instead since the former may no longer exist.

Bug: T360845
Change-Id: Ie531044d320cde50689064f10ff00db5adcaf859
2024-04-29 14:16:36 -07:00

39 lines
585 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: var( --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;
}
}
}