mediawiki-skins-Citizen/resources/skins.citizen.styles.theme/skins.citizen.styles.theme.less
alistair3149 6de95d4fec
feat(core): redesign site header (#521)
Change header into vertical header for large screen and bottom header for small screen.
2022-09-29 19:12:56 -04:00

31 lines
548 B
Plaintext

@import '../variables.less';
.mw-theme-toggle {
width: var( --width-button-base );
height: var( --header-size );
padding: 0;
border: 0;
background-color: transparent;
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
font-size: 0;
opacity: var( --opacity-icon-base );
outline: 0;
transition: @transition-opacity;
&:hover {
opacity: var( --opacity-icon-base--hover );
}
&:active {
opacity: var( --opacity-icon-base--active );
}
}
.skin-citizen-dark {
.mw-theme-toggle {
filter: invert( 1 );
}
}