From 734cff7015364657030bc67aa7cf10b9f8476e5d Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Mon, 24 Jan 2022 11:31:06 +0900 Subject: [PATCH] Fix: Bottom Rounded Corner - Stroke for default dark theme #321 --- userChrome.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/userChrome.css b/userChrome.css index e4f680d..77b0c5e 100644 --- a/userChrome.css +++ b/userChrome.css @@ -3298,8 +3298,17 @@ menupopup > menu { background-repeat: no-repeat; background-position-y: bottom; } -:root:not([customizing="true"]) #TabsToolbar[brighttext] tab[visuallyselected] > stack::before, -:root:not([customizing="true"]) #TabsToolbar[brighttext] tab[visuallyselected] > stack::after { + +:root:not([customizing="true"]):is([lwtheme-mozlightdark], [style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"]) + #TabsToolbar[brighttext] + #tabbrowser-tabs:not([noshadowfortests]) + tab[visuallyselected] + > stack:-moz-lwtheme::before, +:root:not([customizing="true"]):is([lwtheme-mozlightdark], [style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"]) + #TabsToolbar[brighttext] + #tabbrowser-tabs:not([noshadowfortests]) + tab[visuallyselected] + > stack:-moz-lwtheme::after { /* As Selected Tab - Box Shadow */ stroke: var(--toolbar-color) !important; }