add titlebarbutton transition + fix urlbar colours

This commit is contained in:
bmFtZQ 2022-06-25 09:53:14 +08:00
parent 9d247ce92d
commit b6a815e102
5 changed files with 84 additions and 25 deletions

View file

@ -9,10 +9,6 @@
--identity-box-margin-inline: 2px !important;
}
:root:not(:-moz-lwtheme) #urlbar {
--urlbar-box-bgcolor: unset !important;
}
:root[style*="--lwt-accent-color: rgb(240, 240, 244)"] #urlbar[focused="true"]:not([suppress-focus-border])>#urlbar-background,
:root[style*="--lwt-accent-color: rgb(240, 240, 244)"] #searchbar:focus-within {
outline-color: color-mix(in srgb, var(--toolbar-field-focus-border-color) 50%, transparent) !important;
@ -195,6 +191,14 @@
background-color: transparent !important;
}
:is(:root:not(:-moz-lwtheme),
:root[style*="--lwt-accent-color: rgb(240, 240, 244)"] #urlbar[focused="true"],
:root[lwt-default-theme-in-dark-mode="true"],
:root[style*="--lwt-accent-color: rgb(28, 27, 34)"]
) #urlbar-search-mode-indicator {
background-color: var(--urlbar-box-hover-bgcolor) !important;
}
/* increase space between icon and text */
#identity-icon-label {
padding-inline-start: 8px !important;