-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
103 lines (89 loc) · 1.54 KB
/
Copy pathstyles.css
File metadata and controls
103 lines (89 loc) · 1.54 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: system-ui, sans-serif;
color: black;
background-color: white;
padding: 50px;
}
.date-picker-wrapper {
position: relative;
width: 250px;
}
input[type='text'] {
width: 100%;
padding: 10px;
font-size: 16px;
cursor: pointer;
}
.calendar {
position: absolute;
top: 100%;
left: 0;
background: white;
border: 1px solid #ccc;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
z-index: 10;
display: none;
padding: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
}
.calendar header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
gap: 5px;
}
.calendar select {
padding: 3px;
font-size: 14px;
}
.calendar select:first-child {
margin-right: 5px;
}
.calendar-days {
display: grid;
background: #f0f0f0;
padding: 0 20px;
grid-template-columns: repeat(7, 1fr);
gap: 5px;
position: relative;
}
.calendar-days div {
text-align: center;
padding: 8px 0;
cursor: pointer;
}
.calendar-days::after {
content: '';
position: absolute;
height: 35px;
width: 100%;
background-color: darkgray;
}
.calendar-days .today {
background: #007bff;
color: white;
border-radius: 4px;
}
.calendar-days .selected {
background: #28a745;
color: white;
border-radius: 4px;
}
.calendar-days .day-names {
font-weight: bold;
z-index: 1;
/* background: #f0f0f0; */
}
.calendar button {
background: none;
border: none;
font-size: 18px;
cursor: pointer;
padding: 0 5px;
}