mediawiki-skins-Citizen/skinStyles/extensions/TabberNeue/ext.tabberNeue.less

90 lines
1.3 KiB
Plaintext
Raw Normal View History

/*
* Citizen
*
* SkinStyles for Extension:TabberNeue
* Module: ext.tabberNeue
* Version: 2.0.0
*
* Date: 2024-05-25
*/
2021-06-22 00:50:25 +00:00
.tabber {
&__tab {
font-weight: var( --font-weight-medium );
color: var( --color-base );
2021-06-22 00:50:25 +00:00
&:visited {
color: var( --color-base );
2021-06-22 00:50:25 +00:00
}
&[ aria-selected='true' ],
&[ aria-selected='true' ]:visited {
2021-06-22 00:50:25 +00:00
color: var( --color-primary );
}
}
2021-06-22 01:00:42 +00:00
&__indicator {
background: var( --color-primary );
}
2021-06-22 01:00:42 +00:00
&__header {
box-shadow: inset 0 -1px 0 0 var( --border-color-interactive );
2021-06-22 01:00:42 +00:00
&__prev,
&__next {
&::after {
2021-06-22 01:00:42 +00:00
opacity: var( --opacity-icon-base );
}
}
}
&__transclusion {
&--loading {
.tabber__loading-indicator,
&::before,
&::after {
background-color: var( --color-primary );
}
}
}
2021-06-22 00:50:25 +00:00
}
@media ( hover: hover ) {
.tabber {
&__tab {
&:hover {
color: var( --color-primary--hover );
}
&:active {
color: var( --color-primary--active );
}
}
&__header {
&__prev,
&__next {
&:hover {
background-color: var( --background-color-quiet--hover );
2021-06-22 01:00:42 +00:00
&::after {
2021-06-22 01:00:42 +00:00
opacity: var( --opacity-icon-base--hover );
}
2021-06-22 00:50:25 +00:00
}
&:active {
background-color: var( --background-color-quiet--active );
2021-06-22 01:00:42 +00:00
&::after {
2021-06-22 01:00:42 +00:00
opacity: var( --opacity-icon-base--active );
}
2021-06-22 00:50:25 +00:00
}
&::after {
filter: var( --filter-invert );
}
2021-06-22 00:50:25 +00:00
}
}
}
}