-
Notifications
You must be signed in to change notification settings - Fork 3
/
timepicker.css
76 lines (61 loc) · 1.04 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
@import url('https://rsms.me/inter/inter-ui.css');
:root {
font-size: 16px;
}
* {
box-sizing: border-box;
font-family: 'Inter UI', sans-serif;
}
body {
margin: 2em;
}
*:focus {
outline: none;
}
input[type="time"] {
font-size: 1.5rem;
border: none;
background-color: #eee;
padding: 0.1em 0.4em;
border-radius: 10px;
margin-left: 1rem;
}
input[type="checkbox"] {
margin-right: 0.7em;
}
h1 {
font-size: 1.5em;
}
body.dark {
color: white;
}
body:not(.dark) {
background-color: rgba(255,255,255,0.5);
}
body.dark input[type="time"] {
background-color: rgba(0, 0, 0, 0.37);
color: white;
}
body.dark button:not([type="submit"]) {
opacity: .5;
}
form > * {
display: block;
margin-bottom: 1em;
}
button {
border-radius: 10px;
border: none;
font-size: 1.1em;
padding: 0.2em 0.8em;
cursor: pointer;
background: #eee;
margin-right: 0.3em;
}
button[type="submit"] {
background: rgb(44, 226, 138);
}
label {
display: flex;
align-items: center;
}