From 6976d7dfc425db7e85610201187efe21dbc6e5b5 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Fri, 4 Oct 2019 17:11:56 +0300 Subject: [PATCH] Add selectors for new shadow-root tab scroll arrows --- chrome/button_effect_icon_glow.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/chrome/button_effect_icon_glow.css b/chrome/button_effect_icon_glow.css index 905e02f..5884fdd 100644 --- a/chrome/button_effect_icon_glow.css +++ b/chrome/button_effect_icon_glow.css @@ -13,7 +13,9 @@ toolbar toolbarbutton > .toolbarbutton-badge-stack, .titlebar-button, #identity-box, #tracking-protection-icon-container, -.findbar-textbox~toolbarbutton{ background-color: transparent !important; border-color: transparent !important;} +.findbar-textbox~toolbarbutton, +toolbarbutton.scrollbutton-up, +toolbarbutton.scrollbutton-down{ background-color: transparent !important; border-color: transparent !important;} .close-icon{ fill-opacity: 0 !important; } @@ -27,7 +29,9 @@ toolbar .toolbarbutton-1: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{ +.findbar-textbox~toolbarbutton:not([disabled]):hover, +toolbarbutton.scrollbutton-up:not([disabled]):hover, +toolbarbutton.scrollbutton-down:not([disabled]):hover{ filter: brightness(2) drop-shadow(0 0 2px cyan) drop-shadow(0 0 1px cyan) } @@ -46,6 +50,8 @@ 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{ +.findbar-textbox~toolbarbutton:not([disabled]):active, +toolbarbutton.scrollbutton-up:active, +toolbarbutton.scrollbutton-down:active{ filter: brightness(2) drop-shadow(0 0 2px red) drop-shadow(0 0 1px yellow) -} \ No newline at end of file +}