mediawiki-skins-MinervaNeue/resources/skins.minerva.amc.styles/tabs.less
Steph Toyofuku 9c8896ae5c Remove old styles for unnested tabs
Once the cache has cleared out and all tab links are nested in li
elements (983960), follow up on the fixmes introduced and update the
stylesheet to reflect the single way we will be styling `minerva__tab`s
going forward.  This should not be merged until after the break to
ensure the cache has had time to clear

No visual changes on this one as it _should_ effectively be a noop

Bug: T340728
Change-Id: I36be5ab3cacfb5e0c0f056264055509d2ee22271
2024-01-09 22:55:42 +00:00

39 lines
574 B
Plaintext

.minerva__tab-container {
white-space: nowrap;
overflow-x: auto;
.minerva__tab {
font-size: @taglineFontSize;
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;
}
}
}