-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.css
47 lines (40 loc) · 859 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
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Copyright (C) 2017 Max Nikulin */
body {
max-width: 65ex;
}
button {
position: relative;
}
/* https://developer.mozilla.org/en/docs/Web/CSS/::before#To-do_list */
button[disabled]::before {
content: '';
position: absolute;
border-color: #009933;
border-style: solid;
border-width: 0 0.3em 0.25em 0;
height: 1em;
top: 1.3em;
left: 0.6em;
margin-top: -1em;
transform: rotate(45deg);
width: 0.5em;
}
label span {
display: inline-block;
text-align: right;
width: 25ex;
max-width: 90%;
}
input[type=text], button {
width: 35ex;
box-sizing: border-box;
}
form div {
margin-top: 0.5ex;
}
form div.new-section {
margin-top: 2ex;
}