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

68 lines
1.3 KiB
Plaintext
Raw Normal View History

2019-12-29 18:45:17 +00:00
/*
* Citizen
*
* SkinStyles for Extension:UniversalLanguageSelector
* Module: ext.uls.common
* Version: MLEB 2021.12
*
* Date: 2022-05-17
2019-12-29 18:45:17 +00:00
*/
@import '../../../resources/variables.less';
@import 'ext.uls.mixins.less';
2019-12-29 18:45:17 +00:00
.uls-menu {
// Prevent ULS scrolling the page to the bottom
top: var( --space-md ) !important;
border-radius: var( --border-radius--medium );
}
.uls-search,
.uls-language-settings-close-block {
border-top-left-radius: var( --border-radius--medium );
border-top-right-radius: var( --border-radius--medium );
}
.uls-language-list {
border-bottom-left-radius: var( --border-radius--medium );
border-bottom-right-radius: var( --border-radius--medium );
}
.uls-menu.callout {
.caret();
}
2019-12-29 18:45:17 +00:00
.uls-icon-back {
border-right: 0; // filter invert does not like it
filter: var( --filter-invert );
opacity: var( --opacity-icon-base );
&:hover {
opacity: var( --opacity-icon-base--hover );
}
&:active {
opacity: var( --opacity-icon-base--active );
}
}
.uls-menu .uls-no-results-view {
.uls-no-found-more {
background-color: var( --color-surface-1 );
2021-03-12 02:27:56 +00:00
}
h3 {
color: var( --color-base--subtle );
2021-03-12 02:27:56 +00:00
}
2019-12-29 18:45:17 +00:00
}
// Responsive
@media ( max-width: @width-breakpoint-tablet ) {
.uls-menu {
right: var( --padding-page ) !important;
left: var( --padding-page ) !important;
overflow: auto;
max-height: 60vh;
}
}