diff --git a/home-modules/firefox/userChrome.nix b/home-modules/firefox/userChrome.nix index 336fd79..4e9761b 100644 --- a/home-modules/firefox/userChrome.nix +++ b/home-modules/firefox/userChrome.nix @@ -63,8 +63,23 @@ in /* css */ '' --newtab-background-card : ${accent.dark} !important; --tabpanel-background-color : transparent !important; - background : linear-gradient(180deg,rgba(${f secondary.dark}, ${builtins.toString rice.transparency}) 0%, rgba(${f accent.dark}, ${builtins.toString rice.transparency}) 100%) !important; + /* background : linear-gradient(180deg,rgba(${f secondary.dark}, ${builtins.toString rice.transparency}) 0%, rgba(${f accent.dark}, ${builtins.toString rice.transparency}) 100%) !important; */ + background : transparent !important; } + body { + background-color: unset !important; + background-color: transparent !important; + background-image: linear-gradient(0deg,rgba(${f accent.dark}, ${builtins.toString rice.transparency}) 0%, rgba(${f secondary.dark}, ${builtins.toString rice.transparency}) 100%) !important; + background-size: 100% 150% !important; + background-position: 0% 0% !important; + will-change: background-position; + transition: background-position 300ms !important; + &:-moz-window-inactive { + background-position: 0% 50% !important; + background-color: transparent !important; + } + } + .tabbrowser-tab[selected="true"], .tab-text[selected=""], .tab-close-button[selected=""] { color: ${background} !important;