better/less userChrome
This commit is contained in:
@@ -9,14 +9,7 @@ lib.mkIf (host != "NxACE")
|
|||||||
programs.thunderbird = let
|
programs.thunderbird = let
|
||||||
inherit (lib.generators) toJSON;
|
inherit (lib.generators) toJSON;
|
||||||
extensions = toJSON {} {
|
extensions = toJSON {} {
|
||||||
"default-theme@mozilla.org" = "5787f490-29b8-436e-a111-640da8590790";
|
|
||||||
"google@search.mozilla.org" = "cc340383-7068-4b32-a10f-9f19334bfebc";
|
|
||||||
"ddg@search.mozilla.org" = "0c340210-f7ab-48e8-9778-600ed5d00160";
|
|
||||||
"amazondotcom@search.mozilla.org" = "881d8fdf-5772-4e33-81ff-faac2d1fa92c";
|
|
||||||
"wikipedia@search.mozilla.org" = "7ea3d39d-3eea-430f-9bd7-f902d8124d45";
|
|
||||||
"bing@search.mozilla.org" = "f480cce8-68af-4082-908e-f8996153352b";
|
|
||||||
"addon@darkreader.org" = "71d6c69d-55f9-4c56-888c-abdcf6efd73d";
|
"addon@darkreader.org" = "71d6c69d-55f9-4c56-888c-abdcf6efd73d";
|
||||||
"lightningcalendartabs@jlx.84" = "12d48e41-412e-4d09-835a-fa6fb8c180eb";
|
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -48,23 +41,20 @@ lib.mkIf (host != "NxACE")
|
|||||||
"mailnews.headers.showUserAgent" = true;
|
"mailnews.headers.showUserAgent" = true;
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
};
|
};
|
||||||
userChrome = with rice.color; /* css */ ''
|
# userChrome = with rice.color; /* css */ ''
|
||||||
* {
|
# * {
|
||||||
color: ${rice.lib.hex-to-rgb-comma-string foreground} !important;
|
# color: ${foreground} !important;
|
||||||
background-color: rgba(${rice.lib.hex-to-rgb-comma-string background}, ${builtins.toString rice.transparency}) !important;
|
# background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString 0.1}) !important;
|
||||||
border: none !important;
|
# border: none !important;
|
||||||
}
|
# -moz-appearance: none !important;
|
||||||
treechildren::-moz-tree-row(odd), treechildren::-moz-tree-row(even) {
|
# }
|
||||||
background-color: rgba(${rice.lib.hex-to-rgb-comma-string background}, ${builtins.toString rice.transparency}) !important;
|
# '';
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
accounts.email.accounts =
|
accounts.email.accounts = let
|
||||||
let
|
|
||||||
OAuth2Settings = id: {
|
OAuth2Settings = id: {
|
||||||
"mail.smtpserver.smtp_${id}.authMethod" = 10;
|
"mail.smtpserver.smtp_${id}.authMethod" = 10;
|
||||||
"mail.server.server_${id}.authMethod" = 10;
|
"mail.server.server_${id}.authMethod" = 10;
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
# { pkgs-unstable, secrets, user, system, inputs, ...}:
|
# { pkgs-unstable, secrets, user, system, inputs, ...}:
|
||||||
{ rice, user, ... }:
|
{ rice, user, ... }:
|
||||||
# browser.tabs.allow_transparent_browser
|
# browser.tabs.allow_transparent_browser
|
||||||
|
# https://www.reddit.com/r/FirefoxCSS/comments/1dqws4b/firefox_128_will_allow_the_main_browser_content/
|
||||||
{
|
{
|
||||||
home.file = with rice.color; let
|
home.file = with rice.color; let
|
||||||
blur = builtins.toString 20;
|
blur = builtins.toString 20;
|
||||||
in {
|
in {
|
||||||
".mozilla/firefox/${user}/chrome/userChrome.css".text = /* css */ ''
|
".mozilla/firefox/${user}/chrome/userChrome.css".text = /* css */ ''
|
||||||
:root{
|
:root{
|
||||||
/* Popup panels */
|
/* Popup panels */
|
||||||
@@ -110,9 +111,15 @@
|
|||||||
|
|
||||||
/* new-tab */
|
/* new-tab */
|
||||||
@-moz-document url-prefix(about:home), url-prefix(about:newtab) {
|
@-moz-document url-prefix(about:home), url-prefix(about:newtab) {
|
||||||
|
:root{
|
||||||
|
--newtab-background-color-secondary: ${background} !important;
|
||||||
|
}
|
||||||
body, html {
|
body, html {
|
||||||
background: transparent !important;
|
background: transparent !important;
|
||||||
}
|
}
|
||||||
|
.tile, .search-handoff-button {
|
||||||
|
border: ${builtins.toString rice.border-width}px solid ${border} !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@-moz-document domain(youtube.com) {
|
@-moz-document domain(youtube.com) {
|
||||||
|
|||||||
Reference in New Issue
Block a user