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

33 lines
584 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';
2019-08-15 17:40:13 +00:00
.mwe-popups {
2019-12-26 10:21:50 +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
2019-12-26 10:21:50 +00:00
@media ( prefers-color-scheme: dark ) {
.mwe-popups {
background: @dark-bg-50;
2019-12-03 02:39:36 +00:00
2019-12-26 10:21:50 +00:00
&.mwe-popups-image-tri:after {
border-color: @dark-bg-50;
}
2019-12-03 02:49:44 +00:00
2019-12-26 10:21:50 +00:00
.mwe-popups-container,
.mwe-popups-extract {
color: @dark-text-90;
}
2019-12-03 02:39:36 +00:00
2019-12-26 10:21:50 +00:00
.mwe-popups-extract[ dir='ltr' ]:after {
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ), @dark-bg-50 50% );
}
}
}