diff --git a/home/programs/firefox.nix b/home/programs/firefox.nix index 481502a..0d2ded2 100644 --- a/home/programs/firefox.nix +++ b/home/programs/firefox.nix @@ -330,8 +330,39 @@ in { name = "time-tracking"; id = 1; isDefault = false; + userChrome = builtins.readFile(./firefox/kioskLikeUserChrome.css); + userContent = '' + [data-bs-theme="dark"] { + --tblr-bg-forms: black !important; + } + + ::selection { + background-color: #218693; + } + + table.dataTable { + height: fit-content; + } + table.dataTable .actions { + padding: 0 !important; + } + table.dataTable .actions .dropdown { + height: 100%; + } + table.dataTable .actions .dropdown > a { + background-color: var(--tblr-primary); + border-radius: var(--tblr-border-radius); + color: var(--tblr-primary-fg) !important; + display: flex; + flex-direction: column; + height: 100% !important; + justify-content: center; + padding: 0.75rem; + } + ''; + settings = { "toolkit.legacyUserProfileCustomizations.stylesheets" = true; };