From 99c70d48ee805ceec08c027b3a32101ba94637f8 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 10 Apr 2021 14:44:13 +0300 Subject: [PATCH] create tab_effect_scale_onclick.css --- chrome/tab_effect_scale_onclick.css | 7 +++++++ html_resources/tagmap.json | 3 ++- tags.csv | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 chrome/tab_effect_scale_onclick.css diff --git a/chrome/tab_effect_scale_onclick.css b/chrome/tab_effect_scale_onclick.css new file mode 100644 index 0000000..76d9ddf --- /dev/null +++ b/chrome/tab_effect_scale_onclick.css @@ -0,0 +1,7 @@ +/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tab_effect_scale_onclick.css made available under Mozilla Public License v. 2.0 +See the above repository for updates as well as full license text. */ + +.tab-stack{ transition: transform 20ms linear } +.tabbrowser-tab:active .tab-stack{ + transform: scale(0.9); +} \ No newline at end of file diff --git a/html_resources/tagmap.json b/html_resources/tagmap.json index 4949a83..12a861e 100644 --- a/html_resources/tagmap.json +++ b/html_resources/tagmap.json @@ -118,5 +118,6 @@ "window_control_placeholder_support.css":["window-control","patch"], "buttonlike_toolbarbuttons.css":["buttons"], "passive_tab_audio_label.css":["tab","proton"], -"hide_tabs_scrollbuttons.css":["tabs","hiding","buttons","minimal"] +"hide_tabs_scrollbuttons.css":["tabs","hiding","buttons","minimal"], +"tab_effect_scale_onclick.css":["tab","effect"] } diff --git a/tags.csv b/tags.csv index c947457..f919858 100644 --- a/tags.csv +++ b/tags.csv @@ -118,3 +118,4 @@ window_control_placeholder_support.css,window-control,patch buttonlike_toolbarbuttons.css,buttons passive_tab_audio_label.css,tab,proton hide_tabs_scrollbuttons.css,tabs,hiding,buttons,minimal +tab_effect_scale_onclick.css,tab,effect