-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.css
197 lines (169 loc) · 3.41 KB
/
popup.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
body {
font-family: Arial, sans-serif;
padding-left: 65px;
padding-right: 65px;
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
}
button {
background-color: #70BDF2;
color: white;
border: none;
padding: 10px 20px;
cursor: pointer;
margin: 5px;
border-radius: 5em;
}
input.switch {
display: none;
}
section{
position: relative;
}
label.switch {
background: #34383625;
border-radius: 50%;
cursor: pointer;
display: inline-block;
height: 80px;
position: relative;
width: 80px;
}
label.switch i {
color: #fff;
display: block;
font-size: 2em;
left: 0;
margin: auto;
position: absolute;
right: 0;
text-align: center;
top: 50%;
transform: translateY(-50%);
transition: all .3s ease;
}
input:checked + label {
background: #70BDF2;
}
.settings {
display: none;
margin-top: 20px;
}
.active {
display: block;
}
label {
background: none;
border-radius: 0;
display: block;
margin-top: 10px;
margin-bottom: 5px;
color: #333;
font-weight: bold;
}
.back-button {
display: none;
cursor: pointer;
font-size: 24px;
}
.back-button.active {
display: inline-block;
}
#hydrationMessage{
font-family: 'Montserrat';
font-size: 20px;
}
@font-face {
font-family: 'MyCustomFont';
src: url('static/fonts/RADIOLAND.TTF');
font-weight: normal;
font-style: normal;
}
#reminderMessage{
font-family: 'Times New Roman', Times, serif;
font-size: 15px;
}
#reminderTime{
font-family: 'MyCustomFont';
font-size: 17px;
display: inline;
}
/* Loading Styles (Wave) */
@keyframes wave {
0% {
margin-left: 0;
}
100% {
margin-left: -1920px;
}
}
@keyframes rise {
0% {
height: 0;
}
100% {
height: 70%;
}
}
.wave {
background: url("https://raw.githubusercontent.com/scottgriv/River-Charts/main/static/assets/wave.svg") repeat-x;
position: absolute;
bottom: 0;
width: 3840px;
height: 198px;
opacity: 1;
animation: wave 4s linear infinite, rise 5s infinite alternate;
transform: translate3d(0, 0, 0);
}
.wave::before {
content: "";
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 0;
background-color: #add8e6;
z-index: -1;
animation: rise 5s infinite alternate;
}
input[type=number] {
background: none;
/* border: none; */
color: #2a2c2d;
font-size: 19px;
font-weight: 100rem;
font-family: helvetica;
width: 180px;
border-radius: 5rem;
}
input[type=time] {
background: none;
border: none;
color: #2a2c2d;
font-size: 14px;
font-weight: 100rem;
font-family: helvetica;
width: 180px;
}
/* Wrapper around the hour, minute, second, and am/pm fields as well as */
input[type=time]::-webkit-datetime-edit-fields-wrapper {
display: flex;
}
/* The space between the fields - between hour and minute, the minute and
second, second and am/pm */
input[type=time]::-webkit-datetime-edit-text {
padding: 19px 4px;
}
/* Hour */
input[type=time]::-webkit-datetime-edit-hour-field {
padding: 19px 13px;
}
/* Minute */
input[type=time]::-webkit-datetime-edit-minute-field {
padding: 19px 13px;
}
/* AM/PM */
input[type=time]::-webkit-datetime-edit-ampm-field {
padding: 19px 13px;
}