/
datepicker.scss
62 lines (51 loc) · 970 Bytes
/
datepicker.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
59
60
61
62
ngb-datepicker {
border: 1px solid #dfdfdf;
border-radius: .25rem;
display: inline-block;
&-month-view {
pointer-events: auto;
}
&.dropdown-menu {
padding: 0;
}
}
.ngb-dp {
&-body {
z-index: 1050;
}
&-header {
border-bottom: 0;
border-radius: .25rem .25rem 0 0;
padding-top: .25rem;
background-color: #f8f9fa;
background-color: var(--light);
}
&-months {
display: flex;
}
&-month {
pointer-events: none;
&-name {
font-size: larger;
height: 2rem;
line-height: 2rem;
text-align: center;
background-color: #f8f9fa;
background-color: var(--light);
}
& + & {
.ngb-dp-month-name, .ngb-dp-week {
padding-left: 1rem;
}
}
&:last-child .ngb-dp-week {
padding-right: .25rem;
}
&:first-child .ngb-dp-week {
padding-left: .25rem;
}
.ngb-dp-week:last-child {
padding-bottom: .25rem;
}
}
}