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 );
68 .oo-ui-transition( ~'background-color @{transition-base}, color @{transition-base}, border-color @{transition-base}' );
71 &.mw-widgets-datetime-calendarWidget-extra .oo-ui-buttonElement-button {
72 .oo-ui-labelElement-label {
73 color: @color-base--subtle;
76 &:hover .oo-ui-labelElement-label {
77 color: @color-base--inverted;
81 &.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button {
82 background-color: #2a4b8d;
84 .oo-ui-labelElement-label {
85 color: @color-base--inverted;
89 &.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
90 background-color: @color-progressive;
91 color: @color-base--inverted;
92 border-color: @color-progressive;
97 &:focus &-grid &-cell&-focused .oo-ui-buttonElement-button {
98 border-color: rgba( 0, 0, 0, 0.3 );