mediawiki-skins-Citizen/skinStyles/extensions/TabberNeue/ext.tabberNeue.less
2024-05-26 22:32:26 -04:00

59 lines
1.1 KiB
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:TabberNeue
* Module: ext.tabberNeue
* Version: 2.1.1
*
* Date: 2024-05-26
*/
.tabber {
--tabber-color-progressive: var( --color-primary );
--tabber-color-progressive--hover: var( --color-primary--hover );
--tabber-color-progressive--active: var( --color-primary--active );
--tabber-color-base: var( --color-base );
--tabber-color-subtle: var( --color-base--subtle );
--tabber-background-color-button-quiet--hover: var( --background-color-quiet--hover );
--tabber-background-color-button-quiet--active: var( --background-color-quiet--active );
--tabber-border-color-base: var( --border-color-base );
&__tab {
font-weight: var( --font-weight-medium );
}
&__header {
&__prev,
&__next {
&::after {
opacity: var( --opacity-icon-base );
}
}
}
}
@media ( hover: hover ) {
.tabber {
&__header {
&__prev,
&__next {
&:hover {
&::after {
opacity: var( --opacity-icon-base--hover );
}
}
&:active {
&::after {
opacity: var( --opacity-icon-base--active );
}
}
&::after {
filter: var( --filter-invert );
}
}
}
}
}