-
Notifications
You must be signed in to change notification settings - Fork 1
/
inputs.css
94 lines (91 loc) · 1.39 KB
/
inputs.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
.hint, .hint * {
color: #ccc;
font-size: 10px;
}
input[type="range"] {
-webkit-appearance: none;
background-color: #aaa;
height: 5px;
border: inset 2px #aaa;
opacity: 0.5;
margin-top: 5px;
width: 100%;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
background-color: #ccc;
opacity: 0.8;
width: 5px;
height: 10px;
}
input[type="checkbox"] {
margin: 0;
padding: 0;
}
.opt-1-8 {
width: 12.5%;
flex-grow: 0.5;
height: 20px;
}
.opt-1-4, .opt-2-8 {
width: 25%;
flex-grow: 1;
height: 20px;
}
.opt-3-8 {
width: 37.5%;
flex-grow: 1.5;
height: 20px;
}
.opt-1-2, .opt-2-4, .opt-4-8 {
width: 50%;
flex-grow: 2;
height: 20px;
}
.opt-5-8 {
width: 67.5%;
flex-grow: 2.5;
height: 20px;
}
.opt-3-4, .opt-6-8 {
width: 75%;
flex-grow: 3;
height: 20px;
}
.opt-7-8 {
width: 87.5%;
flex-grow: 3.5;
height: 20px;
}
.opt-8-8, .opt-4-4, .opt-2-2, .opt-1-1 {
width: 100%;
flex-grow: 4;
height: 20px;
}
.opt-input {
background-color: #333;
color: #fff;
outline: none;
border-radius: 2px;
border: 2px outset #999;
height: 20px;
}
button {
border: 2px outset #999;
padding: 0;
}
.cb-container {
box-sizing: border-box;
padding-left: 1em;
padding-right: 4px;
padding-top: 1px; /*hack for text align*/
display: flex;
justify-content: space-between;
}
.cb-container input[type="checkbox"] {
margin-top: -2px;
flex-grow: 0;
outline: none;
height: 20px;
width: 20px;
}