1 /* stylelint-disable no-duplicate-selectors */
2 @import 'mediawiki.widgets.datetime.definitions';
4 .mw-widgets-datetime-calendarWidget {
5 background-color: @background-color-base;
9 border-radius: @border-radius-base;
11 box-shadow: @box-shadow-dialog;
12 vertical-align: middle;
15 border-color: @color-progressive;
17 box-shadow: @box-shadow-base--focus, @box-shadow-dialog;
20 &.mw-widgets-datetime-calendarWidget-dependent {
29 .mw-widgets-datetime-calendarWidget-cell {
35 &.mw-widgets-datetime-calendarWidget-dependent {
42 vertical-align: middle;
45 .mw-widgets-datetime-calendarWidget-previous {
48 // Overwrite OOUI's `.oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child`
54 .mw-widgets-datetime-calendarWidget-next {
62 .mw-widgets-datetime-calendarWidget-cell {
65 .oo-ui-buttonElement-button {
67 border: 1px solid rgba( 255, 255, 255, 0 );
69 background-color @transition-base,
70 color @transition-base,
71 border-color @transition-base
75 &.mw-widgets-datetime-calendarWidget-extra .oo-ui-buttonElement-button {
76 .oo-ui-labelElement-label {
77 color: @color-base--subtle;
80 &:hover .oo-ui-labelElement-label {
81 color: @color-base--inverted;
85 &.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button {
86 background-color: #2a4b8d;
88 .oo-ui-labelElement-label {
89 color: @color-base--inverted;
93 &.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
94 background-color: @color-progressive;
95 color: @color-base--inverted;
96 border-color: @color-progressive;
101 &:focus &-grid &-cell&-focused .oo-ui-buttonElement-button {
102 border-color: rgba( 0, 0, 0, 0.3 );