Improve time tracking experience

Increase click area for context menu.
Apply visual button styling to context menu.
This commit is contained in:
Daniel Siepmann 2024-03-06 16:54:21 +01:00
parent 18d0c54169
commit f54341a200
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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;
};