-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserContent.css
More file actions
157 lines (135 loc) · 4.44 KB
/
Copy pathuserContent.css
File metadata and controls
157 lines (135 loc) · 4.44 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
@import "_variables.css";
/*
Private Browsing
(this /has/ to be above common browsing for some dumb reason)
*/
@-moz-document url(about:privatebrowsing) {
/* 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(--horizon-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: var(--horizon-background) !important;
}
}
/*
Common Browsing
*/
@-moz-document url(about:newtab), url(about:home), url(about:preferences), 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(--horizon-accent-color) !important;
/* border-radius: 48px !important; */
border-color: var(--horizon-accent-color) !important;
box-shadow: none !important;
background-color: none !important;
color: none !important;
font-family: var(--horizon-font) !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(--horizon-accent-color) !important;
box-shadow: 0 0 7px #993d3d !important;
}
/* Changes the background color inside of the search bar */
#newtab-search-text {
background-color: var(--horizon-background) !important;
color: var(--horizon-accent-color) !important;
}
/* Changes the gear color and removes the hover */
.prefs-button button {
fill: var(--horizon-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(--horizon-background) !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("https://raw.githubusercontent.com/seirin-blu/Firefox-Halo/master/firefox_halo_with_paw.png") !important;
}
/* Changes the color of the wordmark */
.wordmark {
fill: #b24747 !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(--horizon-accent-color) !important;
/* border-radius: 48px !important; */
border-color: var(--horizon-accent-color) !important;
box-shadow: none !important;
background-color: none !important;
color: none !important;
font-family: var(--horizon-font) !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(--horizon-accent-color) !important;
box-shadow: 0 0 7px #993d3d !important;
}
/* Changes the background color inside of the search bar */
#newtab-search-text {
background-color: var(--horizon-background) !important;
color: var(--horizon-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;
}