1 @import 'mediawiki.skin.variables.less';
2 @import 'mediawiki.widgets.datetime.definitions';
4 /* stylelint-disable no-duplicate-selectors */
5 .mw-widgets-datetime-calendarWidget {
6 background-color: @background-color-base;
10 border-radius: @border-radius-base;
12 box-shadow: @box-shadow-drop-medium;
13 vertical-align: middle;
16 border-color: @border-color-progressive--focus;
17 outline: @outline-base--focus;
18 box-shadow: @box-shadow-inset-small @box-shadow-color-progressive--focus, @box-shadow-drop-medium;
21 &.mw-widgets-datetime-calendarWidget-dependent {
30 .mw-widgets-datetime-calendarWidget-cell {
36 &.mw-widgets-datetime-calendarWidget-dependent {
43 vertical-align: middle;
46 .mw-widgets-datetime-calendarWidget-previous {
49 // Overwrite OOUI's `.oo-ui-buttonElement-frameless.oo-ui-iconElement:first-child`
55 .mw-widgets-datetime-calendarWidget-next {
63 .mw-widgets-datetime-calendarWidget-cell {
66 .oo-ui-buttonElement-button {
68 border: 1px solid rgba( 255, 255, 255, 0 );
69 transition-property: @transition-property-base;
70 transition-duration: @transition-duration-base;
73 &.mw-widgets-datetime-calendarWidget-extra .oo-ui-buttonElement-button {
74 .oo-ui-labelElement-label {
78 &:hover .oo-ui-labelElement-label {
79 color: @color-inverted;
83 &.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button {
84 background-color: @background-color-progressive--active;
86 .oo-ui-labelElement-label {
87 color: @color-inverted;
91 &.oo-ui-widget-enabled .oo-ui-buttonElement-button:hover {
92 background-color: #36c;
93 color: @color-inverted;
99 &:focus &-grid &-cell&-focused .oo-ui-buttonElement-button {
100 border-color: rgba( 0, 0, 0, 0.3 );