mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2024-11-09 19:30:15 +00:00
0ff12e01fe
Flexbox model will replace old xul box as the default display model so this patch adds support for that in a whole bunch of styles. A lot of style rules are marked as "Fx < 112 compatibility" rules and those can be removed when 112 hits release.
20 lines
No EOL
786 B
CSS
20 lines
No EOL
786 B
CSS
/* 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;
|
|
}
|
|
.tab-icon-stack > *{ margin-inline: 0 !important; }
|
|
.tabbrowser-tab{
|
|
-moz-box-flex: 0 !important; /* Fx <112 compatibility */
|
|
flex-grow: 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; } |