Add support for findbar icons

This commit is contained in:
MrOtherGuy 2019-05-09 18:05:17 +03:00
parent 2128a17ac6
commit 05d8e8737a

View file

@ -3,13 +3,16 @@
/* Make backgrounds transparent */
.urlbar-icon,
.urlbar-icon-wrapper,
toolbar .toolbarbutton-1,
#tabbrowser-tabs toolbarbutton,
toolbar toolbarbutton > .toolbarbutton-icon,
toolbar toolbarbutton > .toolbarbutton-badge-stack,
.titlebar-button{ background-color: transparent !important; }
.titlebar-button,
#identity-box,
.findbar-textbox~toolbarbutton{ background-color: transparent !important; border-color: transparent !important;}
.close-icon{ fill-opacity: 0 !important; }
@ -20,7 +23,9 @@ toolbar toolbarbutton > .toolbarbutton-badge-stack,
.urlbar-icon-wrapper:hover > .urlbar-icon,
toolbar .toolbarbutton-1:not([disabled]):hover .toolbarbutton-icon,
#TabsToolbar toolbarbutton:not([disabled]):hover .toolbarbutton-icon,
toolbar #downloads-button:hover #downloads-indicator-anchor{
toolbar #downloads-button:hover #downloads-indicator-anchor,
#identity-box:not(.no-hover):hover,
.findbar-textbox~toolbarbutton:not([disabled]):hover{
filter: brightness(2) drop-shadow(0 0 2px cyan) drop-shadow(0 0 0 cyan)
}
@ -36,6 +41,8 @@ toolbar toolbarbutton:not([disabled]):active .toolbarbutton-icon,
toolbar toolbarbutton:not([disabled])[open] .toolbarbutton-icon,
#TabsToolbar toolbarbutton:not([disabled]):active .toolbarbutton-icon,
toolbar #downloads-button:active #downloads-indicator-anchor,
toolbar #downloads-button[open] #downloads-indicator-anchor{
toolbar #downloads-button[open] #downloads-indicator-anchor,
#identity-box:not([disabled]):active,
.findbar-textbox~toolbarbutton:not([disabled]):active{
filter: brightness(2) drop-shadow(0 0 2px red) drop-shadow(0 0 0 yellow)
}
}