From 26b58d9a00045e6bbb338bf537ff56579bf66fa5 Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Sun, 9 May 2021 03:17:34 +0800 Subject: [PATCH] Add files via upload --- chrome/tabbar/tabbar.css | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/chrome/tabbar/tabbar.css b/chrome/tabbar/tabbar.css index 9dafed1..f4db231 100644 --- a/chrome/tabbar/tabbar.css +++ b/chrome/tabbar/tabbar.css @@ -10,7 +10,7 @@ } } -:root[tabsintitlebar] #TabsToolbar > .toolbar-items { +:root[tabsintitlebar]:not([inFullscreen])[sizemode="normal"] #TabsToolbar > .toolbar-items { padding-top: var(--space-above-tabbar) !important; } @@ -274,9 +274,7 @@ border-radius: 2px !important; color: inherit !important; -moz-context-properties: fill, fill-opacity !important; - transition-property: fill-opacity, background-color !important; - transition-duration: .15s !important; - transition-timing-function: var(--ease-basic) !important; + transition: none !important; fill-opacity: 1 !important; opacity: 1 !important; } @@ -494,3 +492,18 @@ spacer[part="overflow-end-indicator"] { } } } + + +/* Proton Adjustments */ +@media (-moz-proton) { + .tab-secondary-label { + display: none !important; + } + + .tab-icon-overlay { + background: transparent !important; + margin-inline: 22px -4px !important; + opacity: 1 !important; + padding: 0 !important; + } +}