-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathoptions.css
113 lines (92 loc) · 1.42 KB
/
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
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
/* apply a natural box layout model to all elements, but allowing components to change */
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
body {
font-family: sans-serif;
font-size: .8em;
min-width: 14.5em;
margin: .1em .75em;
}
input {
font: inherit;
}
h1 {
font-size: 1.1em;
}
[type="text"],
[type="number"] {
display: block;
width: 100%;
margin-bottom: .5em;
padding: .25em 0.125em 0.1em;
}
#options {
margin-bottom: .5em;
}
#options label {
margin-bottom: .75em;
}
#options label:after {
content: "";
display: block;
margin-bottom: .75em;
}
.isDependedOnByNextOption:not(:checked) + label + input,
.isDependedOnByNextOption:not(:checked) + label + input + label {
opacity: .4;
}
#info {
position: fixed;
top: -2em;
}
#info + label,
.container {
background: #eee;
border-radius: .4em;
padding: .4em;
}
.container {
display: none;
border-top-left-radius: 0;
}
#info:checked ~ .container {
display: inline-block;
}
#info:checked + label {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
dl {
margin: 0;
}
dt {
color: gray;
}
dd {
margin-left: 1.5em;
}
#status {
color: gray;
transition: opacity .1s ease 0s;
}
#status.notice {
color: green;
}
#status.invisible {
opacity: 0;
transition-delay: 1.75s;
}
.message {
display: inline-block;
border-radius: 4px;
background: #DFFCE4;
border: solid 1px #3FBE6BFF;
padding: .5em;
}
.hidden { display: none; }