better thunderbird css

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2025-01-19 11:43:24 +01:00
parent 89fa46aa6d
commit 94559de7ae

View File

@@ -5,7 +5,6 @@ lib.mkIf (host != "NxACE")
thunderbird thunderbird
]; ];
programs.thunderbird = let programs.thunderbird = let
inherit (lib.generators) toJSON; inherit (lib.generators) toJSON;
extensions = toJSON {} { extensions = toJSON {} {
@@ -41,14 +40,50 @@ 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 */ ''
# * { body,
# color: ${foreground} !important; #navigation-toolbox,
# background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString 0.1}) !important; #calendarContent,
# border: none !important; #calSidebar,
# -moz-appearance: none !important; #tabpanelcontainer,
# } #spacesToolbar,
# ''; #tabs-toolbar,
#calMinimonth,
#primaryButtonSidePanel *,
.minimonth-week,
.multiday-header-corner, .day-column-heading, calendar-header-container, calendar-event-column, .multiday-hour-box,
#view-box,
#tabs-toolbar,
#status-bar,
.calview-toggle,
#calview-toggle-item,
#folderPaneHeaderBar,
#folderPane,
#threadPaneHeaderBar,
#threadTree,
#tabs-toolbar {
color: ${foreground} !important;
font-family: ${rice.font.base.name} !important;
background-color: transparent !important;
background-image: none !important;
border: none !important;
-moz-appearance: none !important;
}
.minimonth-nav-section {
background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency}) !important;
border: ${builtins.toString rice.border-width}px solid ${border};
}
.button,
.button-primary,
.tab-content[selected] {
background-color: ${accent.base};
color: ${background};
background-image: none;
}
html {
background-color: rgba(${rice.lib.hex-to-rgb-comma-string background},${builtins.toString rice.transparency}) !important;
}
'';
}; };
}; };
}; };