-
Notifications
You must be signed in to change notification settings - Fork 5
/
about-preferences.css
346 lines (250 loc) · 9.21 KB
/
about-preferences.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
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
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
@-moz-document url-prefix("about:preferences") {
/* This changes mostly text colors but changes some background colors */
:root {
--in-content-border-active-shadow: none !important;
--in-content-border-active: none !important;
--in-content-box-background-active: #1a1a1a !important; /* Background color in General application thing on selection */
--in-content-box-background-hover: #1a1a1a !important; /* Background color in General application thing */
--in-content-box-background: #1a1a1a !important; /*This HAS to be kept. */
--in-content-box-border-color: #b24747 !important; /*This HAS to be kept. It changes a lot of the borders */
--in-content-box-info-background: #1a1a1a !important; /* Changes the "You are currently syncing these items" box background color */
--in-content-link-color-active: #b24747 !important; /* Link color */
--in-content-link-color-hover: #b24747 !important; /* Link color when you hover over them */
--in-content-link-color-visited: #b24747 !important; /* Link color when you have visited a site */
--in-content-link-color: #b24747 !important;
--in-content-page-background: #1a1a1a !important; /* Changes the background color */
--in-content-page-color: #b24747 !important; /* Changes lot's of the body text color. HAS to be kept */
--in-content-text-color: #b24747 !important; /* This HAS to be kept as well. Too many things break otherwise. */
--in-content-selected-text: #1a1a1a !important; /* Changes the color of selected text in the little pop menu. HAS to be kept */
--in-content-item-selected: #b24747 !important; /* Changes the select color in the little pop menu. HAS to be kept */
--in-content-item-hover: #261010 !important; /* Changes the select color on hover in the little pop menu. HAS to be kept */
--in-content-deemphasized-text: #b24747 !important; /* Helps to make all text red */
}
/* Changes part of the background color in pop menu */
.dialogTitleBar {
background-color: transparent !important;
border-bottom: none !important;
}
window,
dialog {
-moz-appearance: none !important;
background-color: #1a1a1a !important;
color: #b24747 !important;
}
/* Changes the border color of the sync box */
.sync-group {
background-color: transparent !important;
border: 1px solid #b24747 !important;
}
/* This block changes the border on hover around the account icon */
.fxaProfileImage.actionable:hover {
border-color: #b24747 !important;
}
.fxaProfileImage.actionable:hover:active {
border-color: #b24747 !important;
}
/* This block changes the colors of the categories in the side bar */
#categories > .category:hover {
color: #1a1a1a !important;
background-color: #b24747 !important;
border-radius: 2px !important;
}
#categories > .category:hover:active {
color: #1a1a1a !important;
background-color: #b24747 !important;
border-radius: 2px !important;
}
#categories > .category[selected],
#categories > .category.selected {
color: #1a1a1a !important;
background-color: #b24747 !important;
border-radius: 2px !important;
}
#categories > .category[selected]:hover,
#categories > .category.selected:hover {
color: #1a1a1a !important;
background-color: #b24747 !important;
}
#categories > .category[selected]:hover:active,
#categories > .category.selected:hover:active {
color: #1a1a1a !important !important;
background-color: #b24747 !important;
}
/* ENDBLOCK */
/*Changes the background color, boder of some boxes, and some text color */
select[size][multiple],
listheader,
richlistbox {
-moz-appearance: none;
margin-inline: 0;
background-color: transparent!important;
border: 1px solid transparent !important;
border-radius: 2px;
color: #b24747 !important;
}
/* Search bar examples in Search Preferences */
.searchBarImage {
-moz-context-properties: fill, stroke;
fill: transparent !important;
stroke: #b24747 !important;
}
.searchBarShownImage {
list-style-image: url("svg/search-bar.svg") !important;
}
.searchBarHiddenImage {
list-style-image: url("svg/no-search-bar.svg") !important;
}
/* Changes the color of the "One-Click Search Engines" box and border*/
tree {
border: 1px solid #b24747 !important;
background-color: #1a1a1a !important;
}
treecol:not([hideheader="true"]):not(:first-child),
treecolpicker {
border-image: linear-gradient(transparent 0%, transparent 20%, #b24747 20%, #b24747 80%, transparent 80%, transparent 100%) 1 1;
}
/* "Find in Preferences" search box */
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="password"],
input[type="url"],
input[type="number"],
textarea,
search-textbox {
-moz-appearance: none;
border: 1px solid #b24747 !important;
border-radius: 2px;
color: #b24747 !important;
background-color: transparent !important;
}
/* Changes the color of a line in general preferences*/
listheader {
/* border-bottom: none !important;
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
padding-bottom: 1px !important; */
box-shadow: inset 0 -1px #b24747 !important;
}
/* Removes the lines between categorys on a given page */
.subcategory:not([hidden]) ~ .subcategory {
border-top: 1px solid transparent !important;
}
/* Changes the color of a line in search preferences */
treecols {
border-bottom: 1px solid #b24747 !important;
}
/* This changes color of unselected text in the General application thing */
treecol:not([hideheader="true"]),
treecolpicker {
-moz-appearance: none !important;
background-color: #1a1a1a !important;
color: #b24747 !important;
}
/* Changes the little x icon in the search box to a custom SVG */
/* This was a pain to get working */
.textbox-search-clear {
list-style-image: url("svg/x_icon.svg") !important;
}
/* Changes header color */
h1 {
color: #b24747 !important;
font-weight: bold !important;
}
/* This block changes the colors of the check marks and radio (the circle checks) */
checkbox[checked] > .checkbox-check {
/*list-style-image: url("chrome://global/skin/icons/check.svg"); with a custom path will
*allow you to change the check or radio */
fill: #b24747 !important;
}
input[type="checkbox"]:checked {
fill: #b24747 !important;
}
.radio-check[selected] {;
-moz-context-properties: fill;
fill: #b24747 !important;
}
/* ENDBLOCK */
/* Changes the background color of the check boxes and radio circles when not touched */
.checkbox-check,
input[type="checkbox"] {
-moz-appearance: none !important;
border: 1px solid #b24747 !important;
background-color: transparent !important;
}
.radio-check {
border: 1px solid #b24747 !important;
background-color: transparent !important;
}
/* Changes the color of the checkboxes and radio on hover */
checkbox:not([disabled="true"]):hover > .checkbox-check,
input[type="checkbox"]:not(:disabled):hover {
border-color: #b24747 !important;
}
radio:not([disabled="true"]):hover > .radio-check {
border-color: #b24747 !important;
}
/* Changes the radio focus color */
checkbox:-moz-focusring > .checkbox-check,
input[type="checkbox"]:-moz-focusring + label:before,
radio[focused="true"] > .radio-check,
tab:-moz-focusring > .tab-middle > .tab-text {
outline: 2px solid #b24747 !important;
}
/* This changes background color of one of the "Settings..." buttons when not hovered */
button,
select,
input[type="color"],
menulist {
color: #1a1a1a !important;
background-color: #b24747 !important;
}
/* Not entirely sure what this does compared to the one above */
button:enabled:hover:active,
select:not([size]):not([multiple]):enabled:hover:active,
input[type="color"]:enabled:hover:active,
button:not([disabled="true"]):hover:active,
button[open],
button[open]:hover,
menulist[open="true"]:not([disabled="true"]) {
background-color: #b24747 !important;
}
/* "Find in Preferences" hover border color */
/* If these break, make input html|input */
input[type="email"]:enabled:not(:focus):hover,
input[type="tel"]:enabled:not(:focus):hover,
input[type="text"]:enabled:not(:focus):hover,
input[type="password"]:enabled:not(:focus):hover,
input[type="url"]:enabled:not(:focus):hover,
input[type="number"]:enabled:not(:focus):hover,
textarea:enabled:not(:focus):hover,
search-textbox:not([disabled="true"]):not([focused]):hover {
border-color: #b24747;
}
/* This block changes the highlighted color of the boxes in the Privacy category */
.content-blocking-category {
border: 1px solid #b24747 !important;
background-color: transparent !important;
}
/* Removes the background for the selected blocking category */
.content-blocking-category.selected {
border: 1px solid #b24747 !important;
background-color: transparent !important;
}
.content-blocking-warning {
background-color: transparent !important;
}
/* Changes the non-hover color of the reload tabs button */
.reload-tabs-button {
background-color: #b24747 !important;
}
/* Changes the non-hover color of the reload tabs button when selected */
.reload-tabs-button:not([disabled="true"]):hover {
background-color: #b24747 !important;
}
/* Changes the non-hover color of the reload tabs button when selected and clicked? */
.reload-tabs-button:not([disabled="true"]):hover:active {
background-color: #b24747 !important;
}
/* ENDBLOCK */
}