6767 }
6868 @media (prefers-color-scheme : dark) {
6969
70- button : not(.ghost -button): not (.enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
70+ button : not(.ghost -button): not (.wallpapers-reset ) : not (. arrow-button ) : not (. enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
7171 menulist {
7272 border : 1px solid # 44434f !important ;
7373 background-color : light-dark (# EDEDED, # 35343e ) !important ;
7474 }
7575
76- button : hover:not(.ghost -button): not (.enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
76+ button : hover:not(.ghost -button): not (.wallpapers-reset ) : not (. arrow-button ) : not (. enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
7777 menulist {
7878 border : 1px solid # 4c4b57 !important ;
7979 background-color : light-dark (# EDEDED, # 393842 ) !important ;
8080 }
8181
82- button : hover:active:not(.ghost -button): not (.enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
82+ button : hover:active:not(.ghost -button): not (.wallpapers-reset ) : not (. arrow-button ) : not (. enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
8383 menulist {
8484 border : 1px solid # 4c4b57 !important ;
8585 background-color : light-dark (# EDEDED, # 403f49 ) !important ;
8686 }
8787
88- button : active:not(.ghost -button): not (.enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
88+ button : active:not(.ghost -button): not (.wallpapers-reset ) : not (. arrow-button ) : not (. enable-custom-image-input ): not (.external-link ): not (.context-menu-button .icon ): not (.toggle-button ): not (.category ): not ([role = "menuitem" ]): not (butto n[class *= 'devtools' ]): not (butto n[id *= 'toolbox' ]),
8989 menulist {
9090 border : 1px solid # 44434f !important ;
9191 background-color : light-dark (# EDEDED, # 2d2c35 ) !important ;
9898}
9999
100100
101-
102101/* preferences */
103102@-moz-document url-prefix("about:preferences" ), url-prefix ("about:preferences#" ), url-prefix ("about:addons" ), url-prefix ("about:config" ) {
104103 table # prefs {
170169
171170@-moz-document url(about: newtab), url(about: home){
172171
173- /* Changes the logo on the about:home screen */
174- .search-wrapper .logo-and-wordmark .logo {
175- background : url ('../icons/firefox-logo.svg' ) !important ;
176- }
172+ /* Changes the logo on the about:home screen */
173+ .search-wrapper .logo-and-wordmark .logo {
174+ background : url ('../icons/firefox-logo.svg' ) !important ;
175+ }
177176
178- .search-wrapper .logo-and-wordmark ::after {
179- content : "plus" ;
180- font-size : 16px ;
181- margin-top : -8px ;
182- margin-left : 4px ;
183- opacity : 0.8 ;
184- }
177+ .search-wrapper .logo-and-wordmark ::after {
178+ content : "plus" ;
179+ font-size : 16px ;
180+ margin-top : -8px ;
181+ margin-left : 4px ;
182+ opacity : 0.8 ;
183+ }
185184
186185}
187186
188187
189188
190- @-moz-document url("about:home" ),
191- url ("about:newtab" ) {
192-
193- # root .outer-wrapper .top-sites-list .top-site-outer {
189+ @-moz-document url("about:home" ), url ("about:newtab" ) {
190+ body .activity-stream .outer-wrapper .top-sites-list .top-site-outer {
194191 padding : 20px 20px 4px !important ;
195192 position : relative;
193+ margin-block-end : 0 !important
196194 }
197- @media ( -moz-bool-pref : "browser.newtabpage.activity-stream.newtabWallpapers.enabled" ) {
198- # root .outer-wrapper .top-sites-list .top-site-outer : after {
195+ body . darkWallpaper . outer-wrapper . top-sites-list . top-site-outer : after ,
196+ body . lightWallpaper .outer-wrapper .top-sites-list .top-site-outer : after {
199197 content : "" ;
200- background : rgba (255 , 255 , 255 , 0.1 );
198+ background : rgba (255 , 255 , 255 , 0.15 );
201199 left : 0 ;
202200 top : 0 ;
203201 right : 0 ;
@@ -206,18 +204,20 @@ url("about:newtab") {
206204 z-index : -1 ;
207205 margin : 10px ;
208206 border-radius : 8px ;
209- backdrop-filter : blur (4px );
210- box-shadow : 0 2px 6px rgba (0 , 0 , 0 , 0.2 );
207+ backdrop-filter : blur (6px );
208+ box-shadow : 0 3px 6px rgba (0 , 0 , 0 , 0.3 );
209+
211210 }
212- # root .outer-wrapper .top-sites-list : not (.dnd-active ) .top-site-outer : is (.active , : focus , : hover ): after {
211+ body . activity-stream .outer-wrapper .top-sites-list : not (.dnd-active ) .top-site-outer : is (.active , : focus , : hover ): after {
213212 background : rgba (255 , 255 , 255 , 0 )!important ;
214213 box-shadow : none!important ;
214+ backdrop-filter : blur (6px );
215+ margin : auto;
215216 }
216- # root .outer-wrapper .top-sites-list : not (.dnd-active ) .top-site-outer : is (.active , : focus , : hover ){
217+ body . activity-stream .outer-wrapper .top-sites-list : not (.dnd-active ) .top-site-outer : is (.active , : focus , : hover ){
217218 background : rgba (255 , 255 , 255 , 0.1 ) !important ;
218219 }
219- }
220-
220+
221221 /* Firefox 124.0+ fix for homepage top-sites-list */
222222 # root .top-site-outer .top-site-inner > a {
223223 padding : 0 !important ;
@@ -257,5 +257,22 @@ url("about:newtab") {
257257 font-size : 48px !important ;
258258 top : -3px !important ;
259259 }
260+ /* Wallpapers selector */
261+ .wallpaper-list {
262+ margin : 0 !important ;
263+ }
264+ .wallpaper-list .category {
265+ background-color : rgba (66 , 65 , 77 , 0.43 ) !important ;
266+ height : 100% ;
267+ inset-inline-start : 25px ;
268+ position : absolute;
269+ top : 0 ;
270+ inset-inline-start : 0 !important ;
271+ left : 0 ;
272+ bottom : 0 ;
273+ right : 0 ;
274+ width : 100% !important ;
275+ backdrop-filter : blur (12px );
276+ }
260277
261- }
278+ }
0 commit comments