create icon_only_tabs.css

This commit is contained in:
MrOtherGuy 2021-06-14 13:03:54 +03:00
parent 35900a2b1b
commit c811681d01
3 changed files with 17 additions and 1 deletions

14
chrome/icon_only_tabs.css Normal file
View file

@ -0,0 +1,14 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/icon_only_tabs.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
.tab-content > :not(.tab-icon-stack){
display: none
}
.tab-icon-stack > *{ margin-inline: 0 !important; }
.tabbrowser-tab{ -moz-box-flex: 0 !important; }
.tabbrowser-tab[fadein]{ min-width: calc(16px + 2 * 10px + 4px) !important; }
:root[uidensity="compact"] .tabbrowser-tab[fadein]{
min-width: calc(16px + 2 * var(--inline-tab-padding,0px) + 4px) !important;
}
:root:not([uidensity="compact"]) .tab-content{ padding-inline: 10px !important; }

View file

@ -130,5 +130,6 @@
"sharp_menupopup_corners.css":["popup","menu","proton"],
"overlay_tab_audio_icons.css":["icon","tab"],
"custom_default_tab_favicons.css":["tab","icon"],
"selected_tab_as_urlbar.css":["hack"]
"selected_tab_as_urlbar.css":["hack"],
"icon_only_tabs.css":["tab","icon"]
}

View file

@ -130,3 +130,4 @@ sharp_menupopup_corners.css,popup,menu,proton
overlay_tab_audio_icons.css,icon,tab
custom_default_tab_favicons.css,tab,icon
selected_tab_as_urlbar.css,hack
icon_only_tabs.css,tab,icon

1 auto_devtools_theme_for_rdm.css,devtools,colors
130 overlay_tab_audio_icons.css,icon,tab
131 custom_default_tab_favicons.css,tab,icon
132 selected_tab_as_urlbar.css,hack
133 icon_only_tabs.css,tab,icon