WIP date input darkmode

This commit is contained in:
Hannes 2019-12-27 14:54:59 +01:00
parent d3a0ce33c8
commit 831ae99772
No known key found for this signature in database
GPG key ID: 371029119C5F0D51

View file

@ -0,0 +1,24 @@
/*
* Citizen - Widget Datetime
* https://starcitizen.tools
*/
@import '../resources/variables.less';
@media ( prefers-color-scheme: dark ) {
.mw-widget-dateInputWidget {
&-handle {
background-color: @dark-bg-0;
color: @dark-text-100;
border-color: @dark-bg-50;
}
&.oo-ui-widget-enabled {
.mw-widget-dateInputWidget-handle {
&:hover {
border-color: @dark-bg-60;
}
}
}
}
}