Special case opus mime detction
[mediawiki.git] / resources / src / mediawiki.widgets.datetime / CalendarWidget.less
blob77f87f7d8089d34b09ddde1c60d74928f65fdd32
1 @import "mediawiki.widgets.datetime.definitions";
3 .mw-widgets-datetime-calendarWidget {
4         display: inline-block;
5         position: relative;
6         vertical-align: middle;
7         padding: .5em;
9         &.mw-widgets-datetime-calendarWidget-dependent {
10                 display: block;
11                 position: absolute;
12                 z-index: 4;
13         }
15         &-grid {
16                 table-layout: fixed;
18                 .mw-widgets-datetime-calendarWidget-cell {
19                         display: table-cell;
20                         white-space: nowrap;
21                 }
22         }
24         background-color: #fff;
25         border: 1px solid #ccc;
27         &.mw-widgets-datetime-calendarWidget-dependent {
28                 margin-top: -1px;
29                 border-top: 1px solid #fff;
30         }
32         &-heading {
33                 text-align: center;
34                 vertical-align: middle;
35                 font-weight: bold;
36                 white-space: nowrap;
38                 .mw-widgets-datetime-calendarWidget-previous {
39                         float: left;
40                 }
41                 .mw-widgets-datetime-calendarWidget-next {
42                         float: right;
43                 }
44         }
46         &-grid {
47                 margin: 0 auto;
49                 .mw-widgets-datetime-calendarWidget-cell {
50                         text-align: center;
52                         .oo-ui-buttonElement-button {
53                                 width: 100%;
54                                 border: 1px dotted rgba( 255, 255, 255, 0.0 );
55                                 .oo-ui-box-sizing( border-box );
56                         }
58                         &.mw-widgets-datetime-calendarWidget-extra .oo-ui-buttonElement-button .oo-ui-labelElement-label {
59                                 color: #bbb;
60                         }
62                         &.mw-widgets-datetime-calendarWidget-selected .oo-ui-buttonElement-button {
63                                 background-color: #def;
64                                 .oo-ui-labelElement-label {
65                                         color: #38f;
66                                 }
67                         }
68                 }
69         }
71         &:focus &-grid &-cell&-focused .oo-ui-buttonElement-button {
72                 border-color: rgba( 0, 0, 0, 0.3 );
73         }