This repository has been archived on 2025-09-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
firefox-tweaks/dynamic_native_tabs.css

27 lines
621 B
CSS
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#main-window #titlebar {
overflow: hidden;
transition: height 0.3s 0.3s !important;
}
/* Default state: Set initial height to enable animation */
#main-window #titlebar {
height: 3em !important;
}
#main-window[uidensity="touch"] #titlebar {
height: 3.35em !important;
}
#main-window[uidensity="compact"] #titlebar {
height: 2.7em !important;
}
/* Hidden state: Hide native tabs strip */
#main-window[titlepreface*=""] #titlebar {
height: 0 !important;
}
/* Hidden state: Fix z-index of active pinned tabs */
#main-window[titlepreface*=""] #tabbrowser-tabs {
z-index: 0 !important;
}