mediawiki-skins-Citizen/skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less

33 lines
631 B
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen - ULS toggle Styles
* https://starcitizen.tools
*/
@import '../../../resources/variables.less';
// Styles for ULS icon
2020-06-04 20:43:29 +00:00
#pt-uls a.uls-trigger,
#pt-uls a.uls-trigger:before {
padding: 0 !important;
2019-12-29 18:45:17 +00:00
display: block;
width: @icon-box-size + @icon-padding;
height: @header-height;
color: transparent; // Hide text
opacity: 0.6; // Replicate color of other icons
background-size: @icon-box-size;
background-position: center;
transition: @transition-opacity-quick;
2019-12-29 18:45:17 +00:00
&:hover,
&:focus,
&:active {
opacity: 0.8;
}
}
@media ( prefers-color-scheme: dark ) {
#pt-uls a.uls-trigger {
filter: invert( 1 );
}
}