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

90 lines
1.4 KiB
Plaintext
Raw Normal View History

/*
* Citizen
*
* SkinStyles for Extension:TabberNeue
* Module: ext.tabberNeue
* Version: 1.0.1 (0dc1b34)
*
* Date: 2021-06-21
*/
2021-06-22 00:50:25 +00:00
.tabber {
margin-top: 0.2rem;
&__tabs {
box-shadow: inset 0 -1px 0 0 var( --border-color-base--darker );
}
&__tab {
color: var( --color-base--subtle );
font-weight: 500;
&:visited {
color: var( --color-base--subtle );
}
&--active,
&--active:visited {
box-shadow: inset 0 -2px 0 0 var( --color-primary );
color: var( --color-primary );
}
}
2021-06-22 01:00:42 +00:00
&__header {
&__prev,
&__next {
&:after {
opacity: var( --opacity-icon-base );
}
}
}
2021-06-22 00:50:25 +00:00
}
@media ( hover: hover ) {
.tabber {
&__tab {
&:hover {
box-shadow: inset 0 -2px 0 0 var( --color-primary--hover );
color: var( --color-primary--hover );
}
&:active {
box-shadow: inset 0 -2px 0 0 var( --color-primary--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 {
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 {
opacity: var( --opacity-icon-base--active );
}
2021-06-22 00:50:25 +00:00
}
}
}
}
}
.skin-citizen-dark {
.tabber__header {
&__prev,
&__next {
&:after {
filter: invert( 1 );
}
}
}
}