From 67d554e9742d708d9482887ce3697cc547261516 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 30 May 2023 01:05:16 +0800 Subject: [PATCH] update --- src/other/firefox/WhiteSur/parts/tabsbar.css | 5 +++++ .../firefox/common/icons/tab-audio-blocked-small-light.svg | 4 ++++ src/other/firefox/common/parts/icons.css | 4 ++++ 3 files changed, 13 insertions(+) create mode 100644 src/other/firefox/common/icons/tab-audio-blocked-small-light.svg diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index f11e6d2..0dcf55e 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -113,10 +113,15 @@ tab[selected]:-moz-window-inactive { .tab-label-container { min-width: 0 !important; } + .tabbrowser-tab:not([pinned]) .tab-label-container { max-width: min-content !important; } +.tabbrowser-tab[pinned] .tab-label-container { + display: none !important; +} + .tab-throbber:not([pinned]), .tab-icon-pending:not([pinned]), .tab-icon-image:not([pinned]), .tab-sharing-icon-overlay:not([pinned]), .tab-icon-overlay:not([pinned]) { margin-inline-end: 0 !important; } diff --git a/src/other/firefox/common/icons/tab-audio-blocked-small-light.svg b/src/other/firefox/common/icons/tab-audio-blocked-small-light.svg new file mode 100644 index 0000000..8e50b6f --- /dev/null +++ b/src/other/firefox/common/icons/tab-audio-blocked-small-light.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/other/firefox/common/parts/icons.css b/src/other/firefox/common/parts/icons.css index bb1d894..80209a4 100644 --- a/src/other/firefox/common/parts/icons.css +++ b/src/other/firefox/common/parts/icons.css @@ -733,6 +733,10 @@ treechildren::-moz-tree-image { filter: invert(60%) brightness(150%); } + .tab-icon-overlay[activemedia-blocked] { + list-style-image: url("../icons/tab-audio-blocked-small-light.svg") !important; + } + .tab-icon-overlay[soundplaying] { list-style-image: url("../icons/audio-playing-symbolic-light.svg") !important; }