-
Notifications
You must be signed in to change notification settings - Fork 8
/
options.css
56 lines (48 loc) · 881 Bytes
/
options.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
:root {
--info-border-color: #0a84ff;
--info-bg-color: #cee6ff;
}
@media (prefers-color-scheme: dark) {
:root {
--info-border-color: #00ddff;
--info-bg-color: #16424e;
}
}
input:disabled+label,
input:disabled+label+label {
color: GrayText;
}
.input_flexbox {
display: flex;
flex-direction: row;
}
.input_flexbox > label {
display: flex;
align-items: center;
}
input[type="text"], input[type="number"] {
margin: 0.2em;
}
input:invalid {
border-color: red;
}
/*
* Info button and message
*/
img.info_button {
height: 1.2em;
width: 1.2em;
vertical-align: text-bottom;
}
span.info_popup {
position: absolute;
border-radius: 4px;
border: 1px solid var(--info-border-color);
background-color: var(--info-bg-color);
padding: 0.5em;
margin-top: 0.2em;
display: none;
}
img.info_button:hover+span.info_popup {
display: block;
}