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

59 lines
1.1 KiB
Plaintext
Raw Normal View History

/*
* Citizen
*
* SkinStyles for Extension:TabberNeue
* Module: ext.tabberNeue
* Version: 2.1.1
*
* Date: 2024-05-26
*/
2021-06-22 00:50:25 +00:00
.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 );
2021-06-22 00:50:25 +00:00
&__tab {
font-weight: var( --font-weight-medium );
}
2021-06-22 01:00:42 +00:00
&__header {
&__prev,
&__next {
&::after {
2021-06-22 01:00:42 +00:00
opacity: var( --opacity-icon-base );
}
}
}
2021-06-22 00:50:25 +00:00
}
@media ( hover: hover ) {
.tabber {
&__header {
&__prev,
&__next {
&:hover {
&::after {
2021-06-22 01:00:42 +00:00
opacity: var( --opacity-icon-base--hover );
}
2021-06-22 00:50:25 +00:00
}
&:active {
&::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
}
}
}
}