mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-28 00:01:05 +00:00
WIP date input darkmode
This commit is contained in:
parent
d3a0ce33c8
commit
831ae99772
24
skinStyles/mediawiki.widgets.DateInputWidget.styles.less
Normal file
24
skinStyles/mediawiki.widgets.DateInputWidget.styles.less
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue