mediawiki-skins-Citizen/skinStyles/ext.popups.main.less

32 lines
659 B
Plaintext
Raw Normal View History

2019-08-15 17:40:13 +00:00
/*
* Citizen - Popups Styles
* https://starcitizen.tools
*/
@import '../resources/variables.less';
@import '../resources/mixins.less';
.mwe-popups {
2019-12-03 02:39:36 +00:00
border: 0;
border-radius: 0;
.boxshadow(4);
2019-08-15 17:40:13 +00:00
}
2019-12-03 02:39:36 +00:00
@media (prefers-color-scheme: dark) {
.mwe-popups {
background: @dark-bg-50;
2019-12-03 02:49:44 +00:00
&.mwe-popups-image-tri:after {
border-color: @dark-bg-50;
}
2019-12-03 02:39:36 +00:00
.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%);
}
}
}