From 1de4217f45ff298381500f22afb296f6bb7d0265 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 6 Jun 2021 10:11:34 +0300 Subject: [PATCH] create overlay_tab_audio_icons.css --- chrome/overlay_tab_audio_icons.css | 20 ++++++++++++++++++++ html_resources/tagmap.json | 3 ++- tags.csv | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 chrome/overlay_tab_audio_icons.css diff --git a/chrome/overlay_tab_audio_icons.css b/chrome/overlay_tab_audio_icons.css new file mode 100644 index 0000000..e03c571 --- /dev/null +++ b/chrome/overlay_tab_audio_icons.css @@ -0,0 +1,20 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/overlay_tab_audio_icons.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +/* Makes the tab audio indicator show as overlay in all tabs, not just pinned ones */ + +.tab-icon-image, +.tab-throbber{ opacity: 1 !important; } + +.tab-icon-overlay:not([crashed]){ + top: -5.5px; + inset-inline-end: -6px; + z-index: 1; + padding: 2px; + opacity: 1 !important; + stroke: var(--tab-icon-overlay-stroke, black) !important; +} +.tab-icon-overlay:not([crashed]):hover{ + background-color: var(--tab-icon-overlay-stroke, black) !important; + border-radius: 10px !important; +} \ No newline at end of file diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index 43c65bd..275afc5 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -127,5 +127,6 @@ "window_control_placeholder_support.css":["window-control","patch"], "non_floating_sharp_tabs.css":["tab","proton","buttons"], "autohide_main_toolbar.css":["toolbars","autohide","nav-bar"], -"sharp_menupopup_corners.css":["popup","menu","proton"] +"sharp_menupopup_corners.css":["popup","menu","proton"], +"overlay_tab_audio_icons.css":["icon","tab"] } diff --git a/tags.csv b/tags.csv index 17541c2..db12cdc 100644 --- a/tags.csv +++ b/tags.csv @@ -127,3 +127,4 @@ window_control_placeholder_support.css,window-control,patch non_floating_sharp_tabs.css,tab,proton,buttons autohide_main_toolbar.css,toolbars,autohide,nav-bar sharp_menupopup_corners.css,popup,menu,proton +overlay_tab_audio_icons.css,icon,tab