forked from BidTheatre/react-dates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCalendarMonth.scss
58 lines (49 loc) · 1.04 KB
/
CalendarMonth.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@import "variables";
.CalendarMonth {
text-align: center;
padding: 0 13px;
vertical-align: top;
table {
border-collapse: collapse;
border-spacing: 0;
caption: {
caption-side: initial;
}
}
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
user-select: none;
}
.CalendarMonth--horizontal,
.CalendarMonth--vertical {
&:first-of-type {
position: absolute;
z-index: $react-dates-z-index - 1;
opacity: 0;
pointer-events: none;
}
}
.CalendarMonth--horizontal {
display: inline-block;
min-height: 100%;
}
.CalendarMonth--vertical {
display: block;
}
.CalendarMonth__caption {
color: $react-dates-color-gray-dark;
margin-top: 7px;
font-size: 18px;
text-align: center;
// necessary to not hide borders in FF
margin-bottom: 2px;
caption-side: initial;
}
.CalendarMonth--horizontal .CalendarMonth__caption,
.CalendarMonth--vertical .CalendarMonth__caption {
padding: 15px 0 35px;
}
.CalendarMonth--vertical-scrollable .CalendarMonth__caption {
padding: 5px 0;
}