|
206 | 206 |
|
207 | 207 | /* Replace 'Photographs' category label */ |
208 | 208 |
|
209 | | - #photographs ~ label, |
210 | | - .arrow-button[data-l10n-id="newtab-wallpaper-category-title-photographs"] { |
| 209 | + #photographs ~ label { |
211 | 210 | font-size: 0 !important; |
212 | 211 |
|
213 | 212 | &::after { |
214 | 213 | content: 'Firefox GX'; |
215 | 214 | font-size: var(--font-size-small); |
216 | 215 | } |
217 | 216 | } |
218 | | - |
219 | | - .arrow-button[data-l10n-id="newtab-wallpaper-category-title-photographs"]::after { |
220 | | - font-size: var(--font-size-root) !important; |
| 217 | + |
| 218 | + moz-button[data-l10n-id="newtab-wallpaper-category-title-photographs"] { |
| 219 | + --my-first-font-size: 0; |
| 220 | + --my-content: 'Firefox GX'; |
| 221 | + --my-second-font-size: var(--button-font-size); |
| 222 | + } |
| 223 | + |
| 224 | + label[part="moz-button-label"] { |
| 225 | + font-size: var(--my-first-font-size) !important; |
| 226 | + |
| 227 | + &::after { |
| 228 | + content: var(--my-content); |
| 229 | + font-size: var(--my-second-font-size); |
| 230 | + } |
221 | 231 | } |
222 | 232 |
|
223 | 233 | /* Rearrangement of wallpapers + Replace 'Photographs' preview wallpapers with Firefox-GX wallpapers */ |
|
447 | 457 |
|
448 | 458 | /* Accent color indicator over each wallpaper */ |
449 | 459 |
|
450 | | - button[data-l10n-id="newtab-wallpaper-category-title-photographs"] ~ div .wallpaper-input[aria-checked]::after { |
| 460 | + moz-button[data-l10n-id="newtab-wallpaper-category-title-photographs"] ~ div .wallpaper-input[aria-checked]::after { |
451 | 461 | position: absolute; |
452 | 462 | content: ""; |
453 | 463 | width: 10px; |
|
670 | 680 | } |
671 | 681 | } |
672 | 682 |
|
| 683 | + .customize-menu.nova-enabled { |
| 684 | + background-color: var(--newtab-background-color) !important; |
| 685 | + min-height: 100% !important; |
| 686 | + border-radius: 0 calc(var(--my-border-radius) - 6px) calc(var(--my-border-radius) - 6px) 0 !important; |
| 687 | + box-shadow: -1px 0 #70707070, 0px 0px 20px rgb(1 1 1 / 16%), 0px 0px 10px rgb(0 0 0 / 93%) !important; |
| 688 | + backdrop-filter: var(--my-blur) !important; |
| 689 | + --space-xxsmall: 0px !important; |
| 690 | + } |
| 691 | + |
673 | 692 | /* Shadow */ |
674 | 693 |
|
675 | 694 | .customize-menu-animate-wrapper { |
|
691 | 710 |
|
692 | 711 | /* Combobox */ |
693 | 712 |
|
694 | | - .home-section .section .selector { |
695 | | - background-color: var(--newtab-element-secondary-color) !important; |
696 | | - border-radius: 4px !important; |
697 | | - box-shadow: none !important; |
698 | | - |
699 | | - &:hover { |
700 | | - background-color: var(--button-bgcolor) !important; |
701 | | - border-color: var(--button-bgcolor) !important; |
702 | | - } |
703 | | - |
704 | | - &:focus { |
705 | | - background-color: var(--button-hover-bgcolor) !important; |
706 | | - border-color: var(--button-bgcolor) !important; |
707 | | - } |
| 713 | + .select-wrapper { |
| 714 | + --select-background-color: var(--button-background-color-menu) !important; |
708 | 715 | } |
709 | 716 |
|
710 | 717 | /* Toggle 2nd description aligned */ |
|
856 | 863 |
|
857 | 864 | /* _____________________________________________________ Weather _____________________________________________________ \ |
858 | 865 | ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ */ |
859 | | - :root { |
860 | | - /*--mrec-height: 170px !important;/**/ |
861 | | - } |
862 | 866 | .weather-widget.col-4.small-widget { |
863 | 867 | height: 90px !important; |
864 | 868 | } |
|
867 | 871 | background-color: transparent !important; |
868 | 872 | background: var(--my-gradient-background) !important; |
869 | 873 | box-shadow: inset 0 0 0 1px var(--my-smooth-border-color), var(--my-box-shadow) !important; |
870 | | - flex-direction: column; |
| 874 | + backdrop-filter: var(--my-blur) !important; |
871 | 875 | --weather-sunny-background-color: light-dark(var(--color-yellow-0), var(--color-yellow-50)) !important; |
872 | 876 | --weather-cloudy-background-color: light-dark(var(--color-gray-20), var(--color-gray-80)); |
873 | 877 | --weather-rainy-background-color: light-dark(var(--color-blue-0), var(--color-blue-90)); |
|
0 commit comments