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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122 button,
.button,
.selector label,
.arrowButton,
input {
cursor: pointer;
border: none;
border-radius: 0;
}
input[type="number"] {
outline: none;
border: .1em solid gray;
border-radius: 5px;
}
button:focus,
.button:focus,
.selector label:focus,
.arrowButton:focus,
input:not([type="checkbox"]):focus {
outline: .2em solid #43a047;
}
button,
.button,
.arrowButton,
.selector label {
user-select: none;
}
button,
.button,
.selector label,
input {
background-color: white;
}
input[type="datetime-local"],
input[type="date"],
input[type="time"],
input[type="text"] {
box-sizing: border-box;
padding: .26em;
font-size: 1.5em;
color: black;
}
button,
.button,
.selector label {
display: flex;
justify-content: center;
align-items: center;
width: max-content;
color: black;
padding: .5em 1em;
transition: background-color 300ms;
}
button:hover,
.button:hover {
background-color: #d3d3d3;
}
button.color,
.button.color {
background-color: #43a047;
color: white;
}
button.color:hover,
.button.color:hover {
background-color: #388e3c;
}
.arrowButton {
height: 4.5em;
width: 4.5em;
margin: 0 auto;
transition: transform 150ms;
/* to make icon white */
filter: invert();
}
.selector {
display: flex;
input {
display: none;
}
input + label {
background: #d3d3d3;
}
input:checked + label {
background: white;
}
label:after {
font-size: .9rem;
color: black;
text-align: center;
line-height: .9rem;
margin-top: 2px;
}
div:not(:last-child),
label:not(:last-child) {
border-right: 1px solid #bbb;
}
}
.selector.rectangular label {
height: 2em;
width: 2em;
padding: 3px;
font-weight: bold;
overflow: hidden;
}