1
1
/* colours */
2
+ : root {
3
+ --in-content-primary-button-text-color : rgb (255 , 255 , 255 ) !important ;
4
+ --in-content-primary-button-background : # 0055D7 !important ;
5
+ --in-content-primary-button-background-hover : # 0960e4 !important ;
6
+ --in-content-primary-button-background-active : # 0751be !important ;
7
+ }
8
+
2
9
@-moz-document url-prefix(about: ) {
3
10
: root {
4
11
--in-content-page-color : light-dark (var (--newtab-background-color ), # fff ) !important ;
8
15
--in-content-box-background-odd : light-dark (rgb (0 0 0 / .05 ), rgb (255 255 255 / .05 )) !important ;
9
16
--in-content-box-info-background : light-dark (# f7f7f7, rgb (255 255 255 / 0.15 )) !important ;
10
17
--in-content-icon-color : light-dark (# 666, # fff ) !important ;
11
- --in-content-accent-color : light-dark (# 006CBE, # 75B6E8 ) !important ;
18
+ --in-content-accent-color : light-dark (# 006CBE, # 3c90ff ) !important ;
12
19
--in-content-accent-color-active : light-dark (# 1683D8, # 4C98D1 ) !important ;
13
20
--in-content-border-hover : light-dark (rgb (0 0 0 / .5 ), rgb (255 255 255 / .3 )) !important ;
14
21
--in-content-border-invalid : var (--red-50 ) !important ;
15
22
--in-content-border-color : light-dark (# bebebe, rgb (255 255 255 / .2 )) !important ;
16
23
--in-content-error-text-color : light-dark (# FF848A, # FF9AA2 ) !important ;
17
- --in-content-link-color : light-dark (# 0078D4, # 75B6E8 ) !important ;
18
- --in-content-link-color-hover : light-dark (# 006CBE, # 63ADE5 ) !important ;
24
+ --in-content-link-color : light-dark (# 0078D4, # 3c90ff ) !important ;
25
+ /* --in-content-link-color-hover: light-dark(#006CBE, #63ADE5) !important; */
26
+ --in-content-link-color-hover : light-dark (# 006CBE, # 0078d4 ) !important ;
19
27
--in-content-link-color-active : light-dark (# 0749AC, # 4C98D1 ) !important ;
20
- --in-content-link-color-visited : light-dark (# 0078D4, # 75B6E8 ) !important ;
28
+ --in-content-link-color-visited : light-dark (# 0078D4, # 3c90ff ) !important ;
21
29
--link-color : var (--in-content-link-color ) !important ;
22
30
--link-color-hover : var (--in-content-link-color-hover ) !important ;
23
31
--link-color-active : var (--in-content-link-color-active ) !important ;
35
43
--in-content-danger-button-background : light-dark (# DF4951, # E12424 ) !important ;
36
44
--in-content-danger-button-background-hover : light-dark (# EA656C, # F94343 ) !important ;
37
45
--in-content-danger-button-background-active : light-dark (# BB353C, # AA1E1E ) !important ;
38
- --in-content-focus-outline-color : light-dark (rgb (0 85 215 / .5 ), # 63ADE5 ) !important ;
46
+ /* --in-content-focus-outline-color: light-dark(rgb(0 85 215 / .5), #63ADE5) !important; */
47
+ --in-content-focus-outline-color : light-dark (rgb (0 85 215 / .5 ), # 0078d4 ) !important ;
39
48
--focus-outline-color : var (--in-content-focus-outline-color ) !important ;
40
- --in-content-table-background : light-dark (# f7f7f7, var (--newtab-background-color )) !important ;
49
+ --in-content-table-background : light-dark (# f7f7f7, var (--newtab-background-color )) !important ;
41
50
--in-content-text-color : var (--in-content-page-color ) !important ;
42
- scrollbar-color :
43
- light-dark (rgb (37 37 37 / .4 ), rgb (255 255 255 / .4 ))
44
- light-dark (# f7f7f7, var (--newtab-background-color )) !important ;
51
+ scrollbar-color : light-dark (rgb (37 37 37 / .4 ), rgb (255 255 255 / .4 )) light-dark (# f7f7f7, var (--newtab-background-color )) !important ;
52
+
53
+ --in-content-primary-button-text-color : rgb (255 , 255 , 255 ) !important ;
54
+ --in-content-primary-button-background : # 0055D7 !important ;
55
+ --in-content-primary-button-background-hover : # 0960e4 !important ;
56
+ --in-content-primary-button-background-active : # 0751be !important ;
57
+
58
+
59
+ }
60
+
61
+ # translations-manage-install-list ,
62
+ # handlersView ,
63
+ # handlersViewHeader ,
64
+ # engineList ,
65
+ .web-appearance-choice-image-container ,
66
+ treecol : not ([hideheader = "true" ]),
67
+ input : where ([type = "email" ], [type = "tel" ], [type = "text" ], [type = "password" ], [type = "url" ], [type = "number" ]),
68
+ textarea ,
69
+ search-textbox {
70
+ background-color : transparent !important ;
71
+ }
72
+
73
+ @media (prefers-color-scheme : dark) {
74
+
75
+ button : not(.ghost -button): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (button[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
76
+ menulist {
77
+ border : 1px solid # 44434f !important ;
78
+ background-color : light-dark (# EDEDED, # 35343e ) !important ;
79
+ }
80
+
81
+ button : hover:not(.ghost -button): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
82
+ menulist {
83
+ border : 1px solid # 4c4b57 !important ;
84
+ background-color : light-dark (# EDEDED, # 393842 ) !important ;
85
+ }
86
+
87
+ button : hover:active:not(.ghost -button): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
88
+ menulist {
89
+ border : 1px solid # 4c4b57 !important ;
90
+ background-color : light-dark (# EDEDED, # 403f49 ) !important ;
91
+ }
92
+
93
+ button : active:not(.ghost -button): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
94
+ menulist {
95
+ border : 1px solid # 44434f !important ;
96
+ background-color : light-dark (# EDEDED, # 2d2c35 ) !important ;
97
+ }
98
+ }
99
+ }
100
+
101
+
102
+ @-moz-document url("about:newtab" ), url ("about:blank" ), url ("about:home" ) {
103
+ body {
104
+ background-color : light-dark (# f7f7f7, rgb (43 42 51 )) !important ;
45
105
}
46
106
}
47
- @-moz-document url("about:newtab" ), url ("about:blank" ), url ("about:home" ) {
48
- body {background-color : light-dark (# f7f7f7, rgb (43 42 51 )) !important ; }
49
- };
107
+
50
108
/* preferences */
51
- @-moz-document url-prefix(about: preferences),
52
- url-prefix(about: addons) {
109
+ @-moz-document url-prefix("about:preferences" ), url-prefix ("about:preferences#" ), url-prefix ("about:addons" ), url-prefix ("about:config" ) {
110
+ table # prefs {
111
+ background : transparent !important ;
112
+ }
113
+
114
+ .card {
115
+ background : light-dark (# fff, # 33333e ) !important ;
116
+ }
117
+
118
+ @media (prefers-color-scheme : dark) {
119
+
120
+ .sticky-container ,
121
+ .table-shown # toolbar {
122
+ background : # 1c1b22 !important ;
123
+ }
124
+ }
125
+
126
+ @media (prefers-color-scheme : light) {
127
+
128
+ .sticky-container ,
129
+ .table-shown # toolbar {
130
+ background : # ffffff!important ;
131
+ }
132
+ }
133
+
134
+
135
+
53
136
.category [selected ] {
54
137
position : relative !important ;
55
138
border-radius : 4px !important ;
@@ -80,61 +163,69 @@ url-prefix(about:addons) {
80
163
button .tab-button [selected ]: hover {
81
164
border-block-color : transparent currentColor !important ;
82
165
}
166
+
83
167
}
84
168
85
169
/* fix page flashes when loading some websites */
86
- @-moz-document url("about:newtab" ), url ("about:blank" ), url ("about:home" ){
170
+ @-moz-document url("about:newtab" ), url ("about:blank" ), url ("about:home" ) {
87
171
body {
88
172
background : var (--in-content-page-background );
89
173
color : var (--in-content-page-color );
90
174
}
91
175
}
92
- @-moz-document url(about: newtab), url(about: home) {
93
- /* Changes the logo on the about:home screen */
94
- .search-wrapper .logo-and-wordmark .logo {
95
- background : url ('../icons/firefox-logo.svg' ) !important ;
96
- }
97
- .search-wrapper .logo-and-wordmark ::after {
98
- content : "plus" ;
176
+
177
+ @-moz-document url(about: newtab), url(about: home){
178
+
179
+ /* Changes the logo on the about:home screen */
180
+ .search-wrapper .logo-and-wordmark .logo {
181
+ background : url ('../icons/firefox-logo.svg' ) !important ;
182
+ }
183
+
184
+ .search-wrapper .logo-and-wordmark ::after {
185
+ content : "plus" ;
99
186
font-size : 16px ;
100
187
margin-top : -8px ;
101
188
margin-left : 4px ;
102
189
opacity : 0.8 ;
103
- }
104
-
190
+ }
191
+
192
+ }
193
+
194
+
195
+
196
+ @-moz-document url("about:home" ),
197
+ url ("about:newtab" ) {
198
+
199
+ # root .outer-wrapper .top-sites-list .top-site-outer {
200
+ padding : 20px 20px 4px !important ;
105
201
}
106
202
203
+ # root .top-site-outer .tile .icon-wrapper ,
204
+ # root .outer-wrapper .top-site-outer .top-site-inner ,
205
+ # root .outer-wrapper .top-site-outer .top-site-inner .tile {
206
+ border-radius : 50% !important ;
107
207
208
+ }
209
+
210
+ .outer-wrapper .body-wrapper .top-site-outer .top-site-inner .tile {
211
+ border-bottom : 1px solid # ffffff12 !important ;
212
+ box-shadow : 0 2px 3px rgba (0 , 0 , 0 , 0.35 ) !important ;
213
+ }
214
+
215
+ # root .outer-wrapper .top-site-outer .default-icon {
216
+ background-size : 48px !important ;
217
+ height : 72px !important ;
218
+ width : 72px !important ;
219
+ }
220
+
221
+ # root .top-site-outer .tile .icon-wrapper {
222
+ width : 72px !important ;
223
+ height : 72px !important ;
224
+ }
225
+
226
+ .top-site-outer .tile .icon-wrapper .letter-fallback ::before {
227
+ font-size : 48px !important ;
228
+ top : -3px !important ;
229
+ }
108
230
109
- @-moz-document url("about:home" ),
110
- url ("about:newtab" ) {
111
-
112
- # root .outer-wrapper .top-sites-list .top-site-outer {
113
- padding : 20px 20px 4px !important ;
114
- }
115
-
116
- # root .top-site-outer .tile .icon-wrapper ,
117
- # root .outer-wrapper .top-site-outer .top-site-inner ,
118
- # root .outer-wrapper .top-site-outer .top-site-inner .tile {
119
- border-radius : 50% !important ;
120
-
121
- }
122
- .outer-wrapper .body-wrapper .top-site-outer .top-site-inner .tile {
123
- border-bottom : 1px solid # ffffff12 !important ;
124
- box-shadow : 0 2px 3px rgba (0 , 0 , 0 , 0.35 ) !important ;
125
- }
126
- # root .outer-wrapper .top-site-outer .default-icon {
127
- background-size : 48px !important ;
128
- height : 72px !important ;
129
- width : 72px !important ;
130
- }
131
- # root .top-site-outer .tile .icon-wrapper {
132
- width : 72px !important ;
133
- height : 72px !important ;
134
- }
135
- .top-site-outer .tile .icon-wrapper .letter-fallback ::before {
136
- font-size : 48px !important ;
137
- top : -3px !important ;
138
- }
139
-
140
231
}
0 commit comments