From 4515313b5508a05a7a40e6a1b9d65b5cffc227b1 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sat, 22 May 2021 23:44:36 +0900 Subject: [PATCH] Add: Container Tab - Pinned tab compatibility --- userChrome.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/userChrome.css b/userChrome.css index 0061d41..b0db272 100644 --- a/userChrome.css +++ b/userChrome.css @@ -326,8 +326,9 @@ border-bottom: 2px solid var(--identity-icon-color); } - /* None exist favicon */ - .tabbrowser-tab:not([image]):not([pinned], [sharing], [crashed]):not([soundplaying], [muted], [activemedia-blocked]) .tab-content::before { + /* None exist favicon & Pinned to select */ + .tabbrowser-tab:not([image]):not([pinned], [sharing], [crashed]):not([soundplaying], [muted], [activemedia-blocked]) .tab-content::before, + .tabbrowser-tab[pinned][visuallyselected]:not([busy]):not(:hover) .tab-content::before { /* Box Model */ content: ''; display: block; @@ -339,6 +340,12 @@ border-bottom: 2px solid var(--identity-icon-color); width: 16px; } + .tabbrowser-tab:not([image]):not([pinned], [sharing], [crashed]):not([soundplaying], [muted], [activemedia-blocked]) .tab-content::before { + transform: translateY(10px) !important; /* None exist favicon */ + } + .tabbrowser-tab[pinned][visuallyselected]:not([busy]):not(:hover) .tab-content::before { + transform: translateX(2.5px) translateY(10px) !important; /* Pinned to select */ + } /* None exist favicon - With Sound */ .tabbrowser-tab:not([image]) .tab-icon-overlay:not([pinned], [sharing], [crashed]):is([soundplaying], [muted], [activemedia-blocked]) {