mobile-config-firefox/chrome/icon_only_tabs.css

20 lines
786 B
CSS
Raw Normal View History

2021-06-14 10:03:54 +00:00
/* 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-image:not([src]){
display: block !important;
}
2021-06-14 10:03:54 +00:00
.tab-icon-stack > *{ margin-inline: 0 !important; }
.tabbrowser-tab{
-moz-box-flex: 0 !important; /* Fx <112 compatibility */
flex-grow: 0 !important;
}
2021-06-14 10:03:54 +00:00
.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; }