-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserContent.css
More file actions
62 lines (57 loc) · 1.63 KB
/
Copy pathuserContent.css
File metadata and controls
62 lines (57 loc) · 1.63 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
/*
* userContent.css
*
* Gnome3 "dark" themes do not translate well in Firefox.
*
* Copyright (C) 2018 Steven Bakker
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUUT ANY WARRANTY; without even the implied warranty of
* MERCHANTAILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
:root {
--default-fg-color: #efefef;
--default-bg-color: #333333;
}
/*
* HTTP and FILE documents
*/
@-moz-document url-prefix("http"),
url-prefix("file"),
url-prefix("moz-extension") {
body {
color: var(--default-bg-color);
background: var(--default-fg-color);
background-color: var(--default-fg-color);
}
/*
* Make sure form elements are readable.
* They probably won't be pretty, but hey.
*/
input, select, textarea {
color: var(--default-fg-color) ! important;
/* Yes, override both "background" AND "background-color" */
background-color: var(--default-bg-color) ! important;
background: var(--default-bg-color) ! important;
}
}
/*
* "Internal" FF pages
*/
@-moz-document url-prefix("about:") {
/* Make sure we can read the search box */
#newtab-search-text, #searchSubmit {
color: var(--default-bg-color) ! important;
background-color: var(--default-fg-color) ! important;
}
}
/*
* EOF
*/