-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMonthPicker.module.scss
More file actions
84 lines (70 loc) · 1.44 KB
/
MonthPicker.module.scss
File metadata and controls
84 lines (70 loc) · 1.44 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
@import "../../../sass/colors";
.container {
width: 170px;
background-color: $white;
box-shadow: 0 4px 22px $shadow;
.year {
height: 32px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px;
border-bottom: 1px solid $light-gray;
.navBtnPrev, .navBtnNext {
position: relative;
width: 24px;
height: 24px;
border-radius: 4px;
transition: .3s;
cursor: pointer;
&[aria-disabled="true"] {
pointer-events: none;
}
&:before {
position: absolute;
content: "";
width: 24px;
height: 24px;
background: {
repeat: no-repeat;
position: center;
};
}
&:hover {
background-color: $outlined-hover;
}
}
.selectedYear {
font-weight: bold;
font-size: 13px;
line-height: 16px;
color: #000000;
}
}
.months {
display: flex;
flex-wrap: wrap;
.month {
width: 50%;
text-align: center;
font-size: 13px;
line-height: 16px;
padding: 8px;
cursor: pointer;
transition: .3s;
border-bottom: 1px solid $light-gray;
&.selected {
color: $primary;
&:hover {
color: $dark-gray;
}
}
&:nth-child(even) {
border-left: 1px solid $light-gray;
}
&:hover {
background-color: $light-blue;
}
}
}
}