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
|
|
|
|
2024-04-25 00:48:43 +00:00
|
|
|
.skin-theme-clientpref-night {
|
2019-12-27 13:54:59 +00:00
|
|
|
.mw-widget-dateInputWidget {
|
|
|
|
&-handle {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-emphasized );
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: var( --color-surface-0 );
|
|
|
|
border-color: @dark-bg-50;
|
2019-12-27 13:54:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-widget-enabled {
|
|
|
|
.mw-widget-dateInputWidget-handle {
|
|
|
|
&:hover {
|
|
|
|
border-color: @dark-bg-60;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-27 14:42:08 +00:00
|
|
|
|
|
|
|
&-calendar {
|
2022-11-16 23:25:02 +00:00
|
|
|
background-color: var( --color-surface-0 ) !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.oo-ui-widget-disabled {
|
|
|
|
.mw-widget-dateInputWidget-handle {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle ) !important;
|
2022-11-16 23:25:02 +00:00
|
|
|
text-shadow: 0 1px 1px var( --color-surface-0 ) !important;
|
2023-07-28 01:19:27 +00:00
|
|
|
background-color: @dark-bg-20 !important;
|
|
|
|
border-color: @dark-bg-30 !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
Calendar
|
|
|
|
TODO move into separate file?
|
|
|
|
*/
|
|
|
|
.mw-widgets-datetime-calendarWidget {
|
2022-11-16 23:25:02 +00:00
|
|
|
background-color: var( --color-surface-0 ) !important;
|
2023-07-28 01:19:27 +00:00
|
|
|
border-color: @dark-bg-50 !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 {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle ) !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
mw.widgets.CalendarWidget.less
|
|
|
|
TODO move into separate file?
|
|
|
|
*/
|
|
|
|
.mw-widget-calendarWidget {
|
2024-07-15 06:07:25 +00:00
|
|
|
border: var( --border-width-base ) solid @dark-bg-50 !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
|
|
|
|
&-day {
|
2022-11-16 23:25:02 +00:00
|
|
|
color: var( --color-base ) !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-day-heading {
|
2022-11-16 23:25:02 +00:00
|
|
|
color: var( --color-base ) !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-day-additional {
|
2024-06-30 05:04:30 +00:00
|
|
|
color: var( --color-subtle ) !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
|
|
|
|
&:hover {
|
2022-11-16 23:25:02 +00:00
|
|
|
color: var( --color-base ) !important;
|
2019-12-27 14:42:08 +00:00
|
|
|
}
|
|
|
|
}
|
2019-12-27 13:54:59 +00:00
|
|
|
}
|
|
|
|
}
|