mediawiki-skins-Citizen/resources/skins.citizen.styles.theme/skins.citizen.styles.theme.less

31 lines
550 B
Plaintext

@import '../variables.less';
.mw-theme-toggle {
width: var( --width-button-base );
height: var( --height-header );
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 );
}
}