-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtimePicker.css
105 lines (94 loc) · 2.03 KB
/
timePicker.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
@-moz-document url-prefix() {
.time-picker .time-input {
letter-spacing: -0.9px;
}
}
.time-picker {
.time-input::-webkit-calendar-picker-indicator {
background: none;
display: none;
}
.modal-content {
padding: 4.563rem;
}
.time-picker-container {
display: flex;
gap: 16px;
align-items: center;
}
.time-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.125rem;
}
.time-separator {
align-self: center;
font-size: 1.5rem;
}
.second-container,
.minute-container {
position: relative;
height: 14.188rem;
align-content: center;
}
.second-buttons,
.minute-buttons {
display: flex;
position: absolute;
bottom: 0;
right: 0;
padding: 0.625rem;
gap: 0.75rem;
}
.second-button,
.minute-button {
cursor: pointer;
display: block;
border-radius: 0.313rem;
border: 0.5px solid rgba(121, 118, 113, 1);
box-shadow:
0px 1.5px 1px rgba(255, 255, 255, 0.46) inset,
0px -1.5px 1px rgba(148, 145, 142, 1) inset,
0px 1px 2px rgba(0, 0, 0, 0.25);
opacity: 1;
background-image: linear-gradient(
180deg,
rgba(226, 226, 222, 1) 0%,
rgba(211, 209, 207, 1) 100%
);
width: 3.313rem;
height: 1.5rem;
line-height: 0;
text-align: center;
font-size: 0.875rem;
}
.hour,
.minute,
.second {
font-size: 1.125rem;
font-weight: 600;
text-align: center;
vertical-align: center;
line-height: 1.9rem;
cursor: pointer;
width: 2.875rem;
height: 1.875rem;
border-radius: 0.125rem;
color: #312e2b;
background-color: #f5f5f5;
}
.hour:hover,
.minute:hover {
background-color: #e0e0e0;
}
.selected {
color: #fff !important;
background-color: #180f47 !important;
box-shadow:
0px 15px 12px -7px rgba(0, 0, 0, 0.04),
0px 2px 6px -3px rgba(0, 0, 0, 0.26),
0px 1px 1px rgba(0, 0, 0, 0.12),
0px 4px 10px -4px rgba(60, 138, 255, 0.5),
0px 8px 16px -6px rgba(114, 168, 247, 0.29);
}
}