-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
105 lines (88 loc) · 1.59 KB
/
main.css
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #FFCE00;
font-family: 'Saira', Arial, Helvetica, sans-serif;
}
h1 {
margin: 30px 0px;
color: #313131;
font-size: 42px;
font-weight: 900;
text-align: center;
}
h1 span {
font-weight: 300;
}
.date-picker {
position: relative;
width: 100%;
max-width: 320px;
height: 60px;
background-color: #FFF;
margin: 30px auto;
box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
cursor: pointer;
user-select: none;
}
.date-picker:hover {
background-color: #F3F3F3;
}
.date-picker .selected-date {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
color: #313131;
font-size: 28px;
}
.date-picker .dates {
display: none;
position: absolute;
top: 100%;
left: 0;
right: 0;
background-color: #FFF;
}
.date-picker .dates.active {
display: block;
}
.date-picker .dates .month {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2px solid #EEE;
}
.date-picker .dates .month .arrows {
width: 35px;
height: 35px;
display: flex;
justify-content: center;
align-items: center;
color: #313131;
font-size: 20px;
}
.date-picker .dates .month .arrows:hover {
background-color: #F3F3F3;
}
.date-picker .dates .month .arrows:active {
background-color: #00CA85;
}
.date-picker .dates .days {
display: grid;
grid-template-columns: repeat(7, 1fr);
height: 200px;
}
.date-picker .dates .days .day {
display: flex;
justify-content: center;
align-items: center;
color: #313131;
}
.date-picker .dates .days .day.selected {
background-color: #00CA85;
}