mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-25 06:47:16 +00:00
6de95d4fec
Change header into vertical header for large screen and bottom header for small screen.
70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
/*
|
|
* Citizen
|
|
*
|
|
* SkinStyles for Extension:UniversalLanguageSelector
|
|
* Module: ext.uls.common
|
|
* Version: MLEB 2021.12
|
|
*
|
|
* Date: 2022-05-17
|
|
*/
|
|
|
|
@import '../../../resources/variables.less';
|
|
@import 'ext.uls.mixins.less';
|
|
|
|
.uls-menu {
|
|
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();
|
|
}
|
|
|
|
.uls-icon-back {
|
|
border-right: 0; // filter invert does not like it
|
|
opacity: var( --opacity-icon-base );
|
|
|
|
&:hover {
|
|
opacity: var( --opacity-icon-base--hover );
|
|
}
|
|
|
|
&:active {
|
|
opacity: var( --opacity-icon-base--active );
|
|
}
|
|
}
|
|
|
|
.skin-citizen-dark .uls-icon-back {
|
|
filter: invert( 1 ) hue-rotate( 180deg );
|
|
}
|
|
|
|
.uls-menu .uls-no-results-view {
|
|
.uls-no-found-more {
|
|
background-color: var( --color-surface-1 );
|
|
}
|
|
|
|
h3 {
|
|
color: var( --color-base--subtle );
|
|
}
|
|
}
|
|
|
|
// Responsive
|
|
@media ( max-width: @width-breakpoint-tablet ) {
|
|
.uls-menu {
|
|
top: var( --header-size ) !important;
|
|
right: var( --padding-page ) !important;
|
|
left: var( --padding-page ) !important;
|
|
overflow: auto;
|
|
max-height: 60vh;
|
|
}
|
|
}
|