add high contrast to findbar
This commit is contained in:
parent
b2e9c0d564
commit
09067c65e3
1 changed files with 7 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
/* High Contrast Theme */
|
/* High Contrast Theme */
|
||||||
@media (prefers-contrast) {
|
@media (prefers-contrast) {
|
||||||
:root, :root #navigator-toolbox {
|
:root, :root #navigator-toolbox, findbar {
|
||||||
--highContrastTheme-border-color: #777 !important;
|
--highContrastTheme-border-color: #777 !important;
|
||||||
--highContrastTheme-urlbar-border-color: #000a;
|
--highContrastTheme-urlbar-border-color: #000a;
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
--panelview-toolbarbutton-active-color: var(--highContrastTheme-menuitem-selected-color) !important;
|
--panelview-toolbarbutton-active-color: var(--highContrastTheme-menuitem-selected-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[lwthemetextcolor="bright"], :root[lwthemetextcolor="bright"] #navigator-toolbox {
|
:root[lwthemetextcolor="bright"], :root[lwthemetextcolor="bright"] #navigator-toolbox, :root[lwthemetextcolor="bright"] findbar {
|
||||||
--highContrastTheme-border-color: #999 !important;
|
--highContrastTheme-border-color: #999 !important;
|
||||||
--highContrastTheme-urlbar-border-color: #fffa;
|
--highContrastTheme-urlbar-border-color: #fffa;
|
||||||
|
|
||||||
|
@ -67,10 +67,10 @@
|
||||||
color: var(--highContrastTheme-menuitem-selected-color) !important;
|
color: var(--highContrastTheme-menuitem-selected-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#urlbar, #searchbar {
|
#urlbar, #searchbar, hbox[anonid="findbar-textbox-wrapper"] {
|
||||||
box-shadow: 0 0 0 1px var(--highContrastTheme-urlbar-border-color) inset !important;
|
box-shadow: 0 0 0 1px var(--highContrastTheme-urlbar-border-color) inset !important;
|
||||||
}
|
}
|
||||||
#urlbar:hover, #searchbar:hover {
|
#urlbar:hover, #searchbar:hover, hbox[anonid="findbar-textbox-wrapper"]:hover:not(:focus-within) {
|
||||||
box-shadow: 0 0 0 1px var(--highContrastTheme-urlbar-border-color) inset, 0 0 0 1px var(--highContrastTheme-urlbar-border-color) inset !important;
|
box-shadow: 0 0 0 1px var(--highContrastTheme-urlbar-border-color) inset, 0 0 0 1px var(--highContrastTheme-urlbar-border-color) inset !important;
|
||||||
}
|
}
|
||||||
#urlbar[open], #searchbar[open] {
|
#urlbar[open], #searchbar[open] {
|
||||||
|
@ -164,7 +164,9 @@
|
||||||
#pageAction-urlbar-emailLink,
|
#pageAction-urlbar-emailLink,
|
||||||
#pageAction-urlbar-copyURL,
|
#pageAction-urlbar-copyURL,
|
||||||
#pageAction-urlbar-shareURL,
|
#pageAction-urlbar-shareURL,
|
||||||
#pageAction-urlbar-addSearchEngine)
|
#pageAction-urlbar-addSearchEngine),
|
||||||
|
hbox[anonid="findbar-textbox-wrapper"] toolbarbutton,
|
||||||
|
hbox[anonid="findbar-textbox-wrapper"]
|
||||||
{
|
{
|
||||||
transition-duration: 0s, 0s, 0s, 0s, 0s !important;
|
transition-duration: 0s, 0s, 0s, 0s, 0s !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue