From b2ee14c4ec9c41e534df3e36bb869d3f183136a9 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 20 Jul 2019 08:05:26 +0300 Subject: [PATCH] Add styling for new tracking protection icon --- chrome/button_effect_icon_glow.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/chrome/button_effect_icon_glow.css b/chrome/button_effect_icon_glow.css index dee2845..905e02f 100644 --- a/chrome/button_effect_icon_glow.css +++ b/chrome/button_effect_icon_glow.css @@ -12,6 +12,7 @@ toolbar toolbarbutton > .toolbarbutton-icon, toolbar toolbarbutton > .toolbarbutton-badge-stack, .titlebar-button, #identity-box, +#tracking-protection-icon-container, .findbar-textbox~toolbarbutton{ background-color: transparent !important; border-color: transparent !important;} .close-icon{ fill-opacity: 0 !important; } @@ -25,8 +26,9 @@ toolbar .toolbarbutton-1:not([disabled]):hover .toolbarbutton-icon, #TabsToolbar toolbarbutton:not([disabled]):hover .toolbarbutton-icon, toolbar #downloads-button:hover #downloads-indicator-anchor, #identity-box:not(.no-hover):hover, +#tracking-protection-icon:hover, .findbar-textbox~toolbarbutton:not([disabled]):hover{ - filter: brightness(2) drop-shadow(0 0 2px cyan) drop-shadow(0 0 0 cyan) + filter: brightness(2) drop-shadow(0 0 2px cyan) drop-shadow(0 0 1px cyan) } /* Active states and close window button hover state */ @@ -43,6 +45,7 @@ toolbar toolbarbutton:not([disabled])[open] .toolbarbutton-icon, toolbar #downloads-button:active #downloads-indicator-anchor, toolbar #downloads-button[open] #downloads-indicator-anchor, #identity-box:not([disabled]):active, +#tracking-protection-icon-container[open] #tracking-protection-icon, .findbar-textbox~toolbarbutton:not([disabled]):active{ - filter: brightness(2) drop-shadow(0 0 2px red) drop-shadow(0 0 0 yellow) -} + filter: brightness(2) drop-shadow(0 0 2px red) drop-shadow(0 0 1px yellow) +} \ No newline at end of file