mediawiki-skins-Citizen/resources/skins.citizen.styles.theme/skins.citizen.styles.theme.less
alistair3149 f65bf157bd
feat: move personal menu to header (#231)
* fix: fix header background bleeding in VE

* feat: move personal menu out of drawer to header

* feat: update personal menu styles in smaller breakpoints

* fix: fix typo in qqq documentation

* ci: lint code to MediaWiki standards

Check commit and GitHub actions for more details

* feat: add title text to personal menu button

Co-authored-by: github-actions <github-actions@users.noreply.github.com>
2021-01-19 15:56:42 -05:00

31 lines
556 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-quick;
&:hover {
opacity: var( --opacity-icon-base--hover );
}
&:active {
opacity: var( --opacity-icon-base--active );
}
}
.skin-citizen-dark {
.mw-theme-toggle {
filter: invert( 1 );
}
}