mediawiki-skins-Citizen/skinStyles/mediawiki/mediawiki.widgets.DateInputWidget.styles.less

81 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-12-27 13:54:59 +00:00
/*
* Citizen - Widget Datetime
* https://starcitizen.tools
*/
@import '../../resources/variables.less';
2019-12-27 13:54:59 +00:00
.skin-citizen-dark {
2019-12-27 13:54:59 +00:00
.mw-widget-dateInputWidget {
&-handle {
border-color: @dark-bg-50;
background-color: var( --color-surface-0 );
color: var( --color-base--emphasized );
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 {
background-color: var( --color-surface-0 ) !important;
2019-12-27 14:42:08 +00:00
}
&.oo-ui-widget-disabled {
.mw-widget-dateInputWidget-handle {
border-color: @dark-bg-30 !important;
2019-12-27 14:42:08 +00:00
background-color: @dark-bg-20 !important;
color: var( --color-base--subtle ) !important;
text-shadow: 0 1px 1px var( --color-surface-0 ) !important;
2019-12-27 14:42:08 +00:00
}
}
}
/**
Calendar
TODO move into separate file?
*/
.mw-widgets-datetime-calendarWidget {
border-color: @dark-bg-50 !important;
background-color: var( --color-surface-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: var( --color-base--subtle ) !important;
2019-12-27 14:42:08 +00:00
}
}
}
}
}
/**
mw.widgets.CalendarWidget.less
TODO move into separate file?
*/
.mw-widget-calendarWidget {
border: 1px solid @dark-bg-50 !important;
&-day {
color: var( --color-base ) !important;
2019-12-27 14:42:08 +00:00
}
&-day-heading {
color: var( --color-base ) !important;
2019-12-27 14:42:08 +00:00
}
&-day-additional {
color: var( --color-base--subtle ) !important;
2019-12-27 14:42:08 +00:00
&:hover {
color: var( --color-base ) !important;
2019-12-27 14:42:08 +00:00
}
}
2019-12-27 13:54:59 +00:00
}
}