mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 08:10:45 +00:00
89 lines
1.4 KiB
Plaintext
89 lines
1.4 KiB
Plaintext
/*
|
|
* Citizen - Popups Styles
|
|
* https://starcitizen.tools
|
|
*/
|
|
|
|
@import '../../../resources/variables.less';
|
|
@import '../../../resources/mixins.less';
|
|
|
|
.mwe-popups {
|
|
border: 0;
|
|
border-radius: 0;
|
|
.boxshadow(4);
|
|
}
|
|
|
|
@media ( prefers-color-scheme: dark ) {
|
|
.mwe-popups {
|
|
background: @dark-bg-50;
|
|
|
|
&.mwe-popups-image-tri:after {
|
|
border-color: @dark-bg-50;
|
|
}
|
|
|
|
.mwe-popups-container,
|
|
.mwe-popups-extract {
|
|
color: @dark-text-90;
|
|
}
|
|
|
|
.mwe-popups-extract[ dir='ltr' ]:after {
|
|
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ), @dark-bg-50 50% );
|
|
}
|
|
|
|
&.mwe-popups-no-image-tri {
|
|
&:before {
|
|
border-bottom-color: @dark-bg-50;
|
|
}
|
|
|
|
&:after {
|
|
border-bottom-color: @dark-bg-50;
|
|
}
|
|
|
|
&.flipped_x {
|
|
&:before {
|
|
border-bottom-color: @dark-bg-50;
|
|
}
|
|
|
|
&:after {
|
|
border-bottom-color: @dark-bg-50;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.flipped_x.mwe-popups-is-tall {
|
|
&:before {
|
|
border-bottom-color: @dark-bg-50;
|
|
}
|
|
}
|
|
|
|
&.flipped_x_y {
|
|
&:before {
|
|
border-top-color: @dark-bg-50;
|
|
}
|
|
|
|
&:after {
|
|
border-top-color: @dark-bg-50;
|
|
}
|
|
|
|
&.mwe-popups-is-tall {
|
|
&:before {
|
|
border-top-color: @dark-bg-50;
|
|
}
|
|
|
|
&:after {
|
|
border-top-color: @dark-bg-50;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.flipped_y {
|
|
&:before {
|
|
border-top-color: @dark-bg-50;
|
|
}
|
|
|
|
&:after {
|
|
border-top-color: @dark-bg-50;
|
|
}
|
|
}
|
|
}
|
|
}
|