-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.css
More file actions
183 lines (168 loc) · 3.98 KB
/
options.css
File metadata and controls
183 lines (168 loc) · 3.98 KB
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
* {margin: 0 !important; padding: 0 !important;}
body {
font-family: "trebuchet MS", Arial;
background: #222;
color: #EEE;
}
input[type="checkbox"] {visibility: hidden}
.row {
position: relative;
width: 100%; height: 30px;
background: #fcfff4;
background: linear-gradient(hsl(210,5%,90%), hsl(210,5%,80%) 40%, hsl(210,5%,60%));
box-shadow:
inset 0 1px 1px #FFF,
0 1px 3px rgba(0,0,0,.5);
}
.row.setting h2 {
position: relative;
top: -6px; left: 32px;
width: calc(100% - 32px);
font-size: 15px;
font-weight: bold;
color: #333;
text-shadow:
-1px -1px 1px rgba(0,0,0,.1),
1px 1px 1px rgba(255,255,255,.52);
}
.row label {
cursor: pointer;
position: absolute;
width: 20px; height: 20px;
top: 5px; left: 5px;
background: #222;
background: linear-gradient(#222, hsl(210,10%,30%));
box-shadow:
inset 0 1px 1px rgba(0,0,0,.5),
0 1px 0 rgba(255,255,255,1);
}
.row label:after {
content: '\2713';
padding-left: 3px;
position: absolute;
top: 1px; left: 1px;
width: 15px; height: 18px;
opacity: 0;
font-size: 14px;
font-weight: bold;
text-shadow:
-1px -1px 1px rgba(0,0,0,.2),
1px 1px .5px rgba(255,255,255,1);
background: #00bf00;
background: linear-gradient(hsl(90, 60%, 60%), hsl(90, 60%, 40%));
box-shadow:
inset 0 1px 0 #FFF,
0 1px 3px rgba(0,0,0,.5);
transition: opacity .25s ease;
}
.row label:hover::after {opacity: .3}
.row input[type="checkbox"]:checked + label:after {opacity: 1}
.row input[type="text"] {
display: inline-block;
position: absolute;
top: 5px; left: 31px;
min-height: 20px;
width: calc(100% - 65px);
padding: 0 5px !important;
margin-right: 0 !important;
border: none;
border-radius: 0;
color: #EEE;
background: #222;
background: linear-gradient(#222, hsl(210,10%,30%));
box-shadow:
inset 1px 1px 3px rgba(0,0,0,.5),
0 1px 0 #FFF;
transition: box-shadow .3s;
}
.row input[type="text"]:focus,
.row input[type="text"].focus {
box-shadow:
inset 0 0 20px hsl(210, 50%, 40%),
0px 1px 0px #FFF;
}
.row button {
position: absolute;
top: 0; right: 0px;
min-width: 30px; min-height: 30px;
width: 30px; height: 30px;
border: none;
border-radius: 0;
background: linear-gradient(hsl(0,30%,30%), hsl(0,30%,40%));
box-shadow: inset 1px 1px 3px rgba(0,0,0,.5);
}
.row button:hover {
background: linear-gradient(hsl(0, 70%, 40%), hsl(0, 70%, 30%)) !important;
box-shadow: inset 0 0 1px hsla(0,0%,100%,.8) !important;
}
.row button:active {
background: linear-gradient(hsl(0, 70%, 40%), hsl(0, 70%, 45%)) !important;
box-shadow: inset 1px 1px 3px rgba(0,0,0,.5) !important;
}
.row button::after {
content: '';
display: block;
width: 30px; height: 30px;
background: no-repeat 3.5px 2px / 25px url(trash.png);
cursor: pointer;
}
.row button:hover::after {
background: no-repeat 4px 2px / 25px url(trash-hover.png);
}
.row button#add {
background: linear-gradient(hsl(90,30%,30%), hsl(90,30%,40%));
}
.row button#add:hover {
background: linear-gradient(hsl(90,60%,50%), hsl(90,60%,30%)) !important;
}
.row button#add::after {
position: absolute;
top: -6px; left: 0;
content: '+';
font-size: 35px;
font-weight: 900;
color: #000;
opacity: .5;
background-image: none;
text-shadow: 0 0 2px #000;
}
textarea {
width: 100%;
min-height: 20px; height: 150px;
resize: vertical;
border: 0;
border-radius: 0;
padding: 5px !important;
color: #EEE;
background: #333;
}
button#save {
display: block;
width: 100%;
margin-top: -3px !important;
border: none;
border-radius: 0;
color: #CCC;
font-size: 15px;
font-weight: bold;
text-shadow: 0 0 1px #000;
background: linear-gradient(hsl(210,50%,50%), hsl(210,50%,40%));
box-shadow: none;
cursor: pointer;
}
button#save:hover {
background: linear-gradient(hsl(210,80%,50%), hsl(210,80%,40%));
}
button#save.saved {
background: linear-gradient(hsl(90,60%,45%), hsl(90,50%,40%));
color: #EEE;
}
button#save.saved:hover {
background: linear-gradient(hsl(100,70%,50%), hsl(100,70%,40%));
}
button#save:hover,
button#add:hover::after {
color: #EEE;
text-shadow:
-1px -1px 1px rgba(0,0,0,.6);
}