2019-12-27 13:54:59 +00:00
|
|
|
/*
|
|
|
|
* Citizen - Widget Datetime
|
|
|
|
* https://starcitizen.tools
|
|
|
|
*/
|
|
|
|
|
2019-12-29 09:47:56 +00:00
|
|
|
@import '../../resources/variables.less';
|
2019-12-27 13:54:59 +00:00
|
|
|
|
2021-01-09 21:57:28 +00:00
|
|
|
.skin-citizen-dark {
|
2019-12-27 13:54:59 +00:00
|
|
|
.mw-widget-dateInputWidget {
|
|
|
|
&-handle {
|
2021-01-11 16:45:52 +00:00
|
|
|
border-color: @dark-bg-50;
|
2019-12-27 13:54:59 +00:00
|
|
|
background-color: @dark-bg-0;
|
|
|
|
color: @dark-text-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-widget-enabled {
|
|
|
|
.mw-widget-dateInputWidget-handle {
|
|
|
|
&:hover {
|
|
|
|
border-color: @dark-bg-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-27 14:42:08 +00:00
|
|
|
|
|
|
|
&-calendar {
|
|
|
|
background-color: @dark-bg-0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-widget-disabled {
|
|
|
|
.mw-widget-dateInputWidget-handle {
|
2021-01-11 16:45:52 +00:00
|
|
|
border-color: @dark-bg-30 !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
background-color: @dark-bg-20 !important;
|
|
|
|
color: @dark-text-70 !important;
|
|
|
|
text-shadow: 0 1px 1px @dark-bg-0 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
Calendar
|
|
|
|
TODO move into separate file?
|
|
|
|
*/
|
|
|
|
.mw-widgets-datetime-calendarWidget {
|
|
|
|
border-color: @dark-bg-50 !important;
|
2021-01-11 16:45:52 +00:00
|
|
|
background-color: @dark-bg-0 !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
|
|
|
|
&-grid {
|
|
|
|
.mw-widgets-datetime-calendarWidget-cell {
|
|
|
|
&.mw-widgets-datetime-calendarWidget-extra .oo-ui-buttonElement-button {
|
|
|
|
.oo-ui-labelElement-label {
|
|
|
|
color: @dark-text-70 !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
mw.widgets.CalendarWidget.less
|
|
|
|
TODO move into separate file?
|
|
|
|
*/
|
|
|
|
.mw-widget-calendarWidget {
|
|
|
|
border: 1px solid @dark-bg-50 !important;
|
|
|
|
|
|
|
|
&-day {
|
|
|
|
color: @dark-text-90 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-day-heading {
|
|
|
|
color: @dark-text-80 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-day-additional {
|
|
|
|
color: @dark-text-60 !important;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: @dark-text-90 !important;
|
|
|
|
}
|
|
|
|
}
|
2019-12-27 13:54:59 +00:00
|
|
|
}
|
|
|
|
}
|