mediawiki-skins-Citizen/skinStyles/extensions/UniversalLanguageSelector/ext.uls.pt.less
github-actions a70503b2ec ci: lint code to MediaWiki standards
Check commit and GitHub actions for more details
2022-06-02 16:41:44 +00:00

37 lines
736 B
Plaintext

/*
* Citizen
*
* SkinStyles for Extension:UniversalLanguageSelector
* Module: ext.uls.pt
* Version: MLEB 2021.12
*
* Date: 2022-05-17
*/
// Needed to override specificity from original style
.skin-citizen #pt-uls .uls-trigger {
display: flex;
flex-direction: row-reverse; // So that icon is after the text
padding: 0.625rem 1.25rem !important;
// Sync with .resource-loader-list-icon() mixin
&:before {
width: @icon-size;
height: @icon-size;
flex-shrink: 0;
padding: 0;
background-position: center;
background-size: contain;
opacity: var( --opacity-icon-base );
}
// Hide default icon
&:after {
content: none;
}
}
.skin-citizen-dark .uls-trigger:before {
filter: invert( 1 ) hue-rotate( 180deg );
}