-
Notifications
You must be signed in to change notification settings - Fork 0
/
userContent2.css
235 lines (138 loc) · 4.94 KB
/
userContent2.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
/*::::Firefox Halo::::*/
/* Imports the css for other Firefox pages */
@import "about-about.css";
@import "about-config.css";
@import "about-downloads.css";
@import "about-logins.css";
@import "about-preferences.css";
@import "about-protections.css";
@import "about-robots.css";
@import "about-welcome.css";
/* Importants the css for non-Firefox pages */
@import "google.css";
/* This theoretically should make it so that you can just change the colors from here */
body {
--main-color: #1a1a1a;
--private-main-color: #261010; /* This one does not work for some reason*/
--main-accent-color: #b24747;
--glow-color: #993d3d;
}
/*
Private Browsing
(this /has/ to be above common browsing for some dumb reason)
*/
@-moz-document url(about:privatebrowsing) {
/* Removes the VPN ad */
#private-browsing-vpn-text {
display: none !important;
}
#private-browsing-vpn-link {
display: none !important;
}
/* Gets rid of search bar in private browsing mode */
html.private div.showPrivate div.search-inner-wrapper, html.private div.showPrivate div.info {
display: none !important;
}
/* Hides the "You're in private browsing mode" dialog */
.info {
display: none !important;
}
/* Changes the logo on the private browsing home screen */
html.private .logo {
background-image: url("firefox_halo_with_paw_private.png") !important;
}
/* Changes the color of the wordmark */
.wordmark {
fill: var(--main-accent-color) !important;
}
/* Centers logo and wordmark */
.logo-and-wordmark {
align-items: center !important;
display: flex !important;
justify-content: center !important;
margin-bottom: 49px !important;
}
/* Changes the home screen color */
html.private {
--in-content-page-background: #261010 !important;}
}
/*
Common Browsing
*/
@-moz-document url(about:newtab), url(about:home), url(about:blank) {
/* Makes the search bar on the home screen round with red text and a red border when not clicked */
#newtab-search-text,
#searchSubmit{
fill: var(--main-accent-color) !important;
border-radius: 48px !important;
border-color: var(--main-accent-color) !important;
box-shadow: none !important;
background-color: none !important;
color: none !important;
font-family: helvetica !important
}
/* Changes the color of the glow when you click the search bar on the home screen */
.search-wrapper .search-inner-wrapper:active input, .search-wrapper input:focus {
border: 3px solid var(--main-accent-color) !important;
box-shadow: 0 0 7px var(--glow-color) !important;
}
/* Changes the background color inside of the search bar */
#newtab-search-text{
background-color: var(--main-color) !important;
color: var(--main-accent-color) !important;
}
/* Changes the gear color and removes the hover */
.prefs-button button {fill: var(--main-accent-color) !important;}
.prefs-button button:hover, .prefs-button button:focus {
background-color: transparent !important; }
/* Turns of search suggestions on the home screen */
.contentSearchSuggestionTable {display: none !important;}
/* Changes the home screen color */
body{ background-color: var(--main-color) !important }
/* Centers logo and wordmark */
.search-wrapper .logo-and-wordmark {
align-items: center;
display: flex;
justify-content: center;
margin-bottom: 49px; }
/* Makes it so that no border appears around the search arrow */
.search-wrapper .search-button:focus, .search-wrapper .search-button:hover {
background-color: transparent !important;
cursor: pointer !important; }
.search-wrapper .search-button:active {
background-color: transparent !important; }
/* Changes the logo on the home screen*/
.logo {background-image: url("firefox_halo_with_paw_red.png") !important;}
/* Changes the color of the wordmark */
.wordmark { fill: var(--main-accent-color) !important;}
}
/* Makes the search bar on the home screen round with red text and a red border when not clicked */
#newtab-search-text,
#searchSubmit{
fill: var(--main-accent-color) !important;
border-radius: 48px !important;
border-color: var(--main-accent-color) !important;
box-shadow: none !important;
background-color: none !important;
color: none !important;
font-family: helvetica !important
}
/* Changes the color of the glow when you click the search bar on the home screen */
.search-wrapper .search-inner-wrapper:active input, .search-wrapper input:focus {
border: 3px solid var(--main-accent-color) !important;
box-shadow: 0 0 7px var(--glow-color) !important;
}
/* Changes the background color inside of the search bar */
#newtab-search-text{
background-color: var(--main-color) !important;
color: var(--main-accent-color) !important;
}
/* Turns of search suggestions on the home screen */
.contentSearchSuggestionTable {display: none !important;}
/* Centers logo and wordmark */
.search-wrapper .logo-and-wordmark {
align-items: center;
display: flex;
justify-content: center;
margin-bottom: 49px; }
}