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

26 lines
478 B
Plaintext
Raw Normal View History

2021-01-11 18:40:25 +00:00
@import '../variables.less';
2021-01-11 17:13:59 +00:00
.mw-theme-toggle {
2021-01-11 18:40:25 +00:00
width: @icon-box-size + @margin-side;
height: @header-height;
2021-01-11 17:16:57 +00:00
border: 0;
background-color: transparent;
2021-01-11 17:13:59 +00:00
background-position: center;
background-repeat: no-repeat;
cursor: pointer;
2021-01-11 17:13:59 +00:00
font-size: 0;
2021-01-11 18:40:25 +00:00
opacity: @opacity-icon;
outline: 0;
transition: @transition-transform-quick, @transition-opacity-quick;
&:hover {
opacity: @opacity-icon-active;
}
2021-01-11 17:13:59 +00:00
}
.skin-citizen-dark {
.mw-theme-toggle {
filter: invert( 1 );
2021-01-11 17:13:59 +00:00
}
}