365365 /* 'Customize' button */
366366
367367 .personalize-button {
368- img {content : url ("../icons/edit.svg" ) !important ; }
368+ img {content : url ("../icons/edit.svg" ) !important ; }
369369
370370 & : hover {
371371 background-color : var (--newtab-element-secondary-hover-color ) !important ;
372- }
373- & : active {
374- background-color : var (--newtab-element-secondary-active-color ) !important ;
372+ backdrop-filter : var (--personal-blur ) !important ;
375373 }
376374 }
377375
842840 }
843841 }
844842
845- /* ______________________________________ Font color when using a light/dark wallpaper _______________________________________
846- ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ */
843+ /* ________________________ Font color when using a light wallpaper ________________________ */
847844
848845 .lightWallpaper .top-site-outer {
849846 --contrast-color : white !important ;
853850 --contrast-color : black !important ;
854851 }
855852
856- /* Font text shadow */
857- .weatherTemperature , .weatherCity , /* Weather */
858- .search-inner-wrapper > input , /* Searchbox */
859- .top-site-outer .title , /* Pinned sites */
860- .ds-highlights .section .section-list .card-outer .card-host-name , /* Recent Activity line 1*/
861- .card-outer : not (.placeholder ) .card-title , /* Recent activity line 2*/
862- .source .clamp , .ds-card-link : not (: hover ) .title .clamp { /* News */
863- text-shadow : 0px 0px 4px Field !important ;
853+ /* Recent Activity text shadow */
854+ .ds-highlights .section .section-list .card-outer .card-host-name ,
855+ .card-outer : not (.placeholder ) .card-title {
856+ text-shadow : 0px 0px 4px var (--contrast-color ) !important ;
864857 }
865858
866859 .lightWallpaper : is (
867- .card-host-name , .card-outer : not (.placeholder ) .card-title , .card-outer .icon , /* 'Pinned' label */
868- .top-site-outer : is (: hover, : active, .active ) .title span, /* 'Activity' label */
869- .ds-card .meta .clamp ) { /* 'News' */
860+ .card-host-name , .card-outer : not (.placeholder ) .card-title , .card-outer .icon , /* 'Pinned' label */
861+ .top-site-outer : is (: hover, : active, .active ) .title span, /* 'Activity' label */
862+ .ds-card .meta .clamp ) { /* 'News' */
870863 color : black !important ;
871864 --contrast-color : white !important ;
872865 }
873866
874867 .darkWallpaper : is (
875- .card-host-name , .card-outer : not (.placeholder ) .card-title , .card-outer .icon , /* 'Pinned' label */
876- .top-site-outer : is (: hover, : active, .active ) .title span, /* 'Activity' label */
877- .ds-card .meta .clamp ) { /* 'News' */
868+ .card-host-name , .card-outer : not (.placeholder ) .card-title , .card-outer .icon , /* 'Pinned' label */
869+ .top-site-outer : is (: hover, : active, .active ) .title span, /* 'Activity' label */
870+ .ds-card .meta .clamp ) { /* 'News' */
878871 color : white !important ;
879872 --contrast-color : black !important ;
880873 }
881874
882875 /* Scheme light */
883876 .lightWallpaper : is (
884- .context-menu , /* 3 dot contextual menu */
885877 .weatherCard , .personalize-button , /* weather - personalize-button */
886878 .search-inner-wrapper input , .search-wrapper input , # newtab-search-text [Keepfocus = "true" ] ) { /* Search-box */
887879 color-scheme : light !important ;
888880 --contrast-color : white !important ;
889- --arrowpanel-background : # f9f9f9 !important ;
890881 }
891882
892883 /* scheme dark */
893884 .darkWallpaper : is (
894- .context-menu , /* 3 dot contextual menu */
895885 .weatherCard , .personalize-button , /* weather - personalize-button */
896886 .search-inner-wrapper input , .search-wrapper input , # newtab-search-text [Keepfocus = "true" ] ) { /* Search-box */
897887 color-scheme : dark !important ;
898888 --contrast-color : black !important ;
899- --arrowpanel-background : # 1c1726 ;
900889 }
901890
902891 /* ___________________________________________________ Newtab Fonts color ____________________________________________________
10671056 ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ */
10681057
10691058@-moz-document regexp("^about:firefoxview.*" ) {
1070-
1059+
10711060 : root {
10721061 --fxview-primary-action-background : transparent !important ; /* background color of the selected category */
10731062 --fxview-element-background-hover : var (--button-hover-bgcolor ) !important ; /* Context menu: color on 'hover' over items */
10741063 --fxview-element-background-active : var (--button-active-bgcolor ) !important ; /* Context menu: color on 'clic' over items */
10751064 --fxview-border : var (--fxview-primary-action-background ) !important ;
10761065 --fxview-background-color : transparent !important ;
1077- --fxview-text-primary-color : var (--in-content-page-color ) !important ; /* Font color */
10781066 --opaque : color-mix (in srgb, var (--in-content-page-background ) 50% , transparent) !important ;
10791067 }
1080-
1068+
10811069 @media (prefers-color-scheme : dark) {
10821070 : host , : root {
10831071 --border-contrast-color : black;
10901078 --in-content-primary-button-background-active : var (--button-active-bgcolor ) !important ;
10911079 }
10921080 }
1093-
1081+
10941082 @media (prefers-color-scheme : light){
10951083 : root {
10961084 --border-contrast-color : white;
11021090 --in-content-primary-button-background-active : var (--button-active-bgcolor ) !important ;
11031091 }
11041092 }
1105-
1106- body , .sticky-container {
1107- --bg : var (--lwt-main-image );
1108- background-image : linear-gradient (var (--opaque ), var (--opaque )),
1109- linear-gradient (var (--opaque ), var (--opaque )),
1110- var (--bg ) !important ;
1111- background-repeat : repeat !important ;
1112- background-size : cover !important ;
1113- background-attachment : fixed !important ;
1114- background-position-y : var (--background-align-y ) !important ;
1115- backdrop-filter : var (--brightness-wallpaper ) !important ;
1116- }
1117-
1093+
11181094 .sticky-container {
11191095 margin-block-end : 10px !important ;
1120- box-shadow : 0 4px 10 px var (--in-content-page-background ) !important ;
1096+ box-shadow : 6 px 4px 6 px var (--in-content-page-background ) !important ;
11211097 clip-path : polygon (0 0 , 100% 0 , 100% calc (100% + 10px ), 0 calc (100% + 10px ));
11221098 }
1123-
1099+
11241100 button [selected ] {
11251101 transition-duration : 0ms !important ;
11261102 }
1127-
1103+
11281104 .search-container input : is (: focus , : focus-visible ){
11291105 & : focus-visible {
11301106 border-color : transparent !important ;
11311107 box-shadow : 0 0 0 2px var (--general-color ) !important ;
11321108 outline : none !important ;
1133- }}
1109+ }
1110+ }
1111+
1112+ /* New style of elements */
1113+
1114+ body {
1115+ background : transparent !important ;
1116+ overflow-y : hidden !important ;
1117+ }
11341118
1135- /* Compatibility for aligning wallpaper when used with 'Main-image' config */
1119+ .main-container {
1120+ width : 100% !important ;
1121+ }
11361122
1137- @media -moz-pref("firefoxgx.main-image" ) {
1123+ # pages {
1124+ padding : 0px !important ;
1125+ }
11381126
1139- .sticky-container {
1140- background-image : none !important ;
1141- }
1142-
1143- body {
1144- background : transparent !important ;
1145- overflow-y : hidden !important ;
1146- }
1147-
1148- .main-container {
1149- width : 100% !important ;
1150- }
1151-
1152- # pages {
1153- padding : 0px !important ;
1154- }
1155-
1156- named-deck > view-recentbrowsing > div {
1157-
1158- min-width : 100% !important ;
1159- display : grid;
1160- }
1161-
1162- named-deck {
1163- width : 100% !important ;
1164- display : grid;
1165- }
1166-
1167- .cards-container {
1168- height : 66vh !important ;
1169- overflow : auto;
1170- scrollbar-gutter : stable !important ;
1171- padding-inline : 42px 52px !important ;
1172- }
1173-
1174- .sticky-container {
1175- margin-inline : 0px !important ;
1176- padding-inline : 42px 52px !important ;
1177- }
1127+ named-deck > view-recentbrowsing > div {
1128+
1129+ min-width : 100% !important ;
1130+ display : grid;
1131+ }
1132+
1133+ named-deck {
1134+ width : 100% !important ;
1135+ display : grid;
1136+ }
1137+
1138+ .cards-container {
1139+ height : 66vh !important ;
1140+ overflow : auto;
1141+ scrollbar-gutter : stable !important ;
1142+ padding-inline : 42px 52px !important ;
1143+ }
1144+
1145+ .sticky-container {
1146+ margin-inline : 0px !important ;
1147+ padding-inline : 42px 52px !important ;
11781148 }
11791149}
0 commit comments