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

30 lines
952 B
CSS
Raw Permalink 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.

/* Transição suave para o TabsToolbar */
#main-window #TabsToolbar {
overflow: hidden;
max-height: 3em; /* Estado expandido */
transition: max-height 0.3s ease-in-out !important;
}
/* Toolbar items */
#main-window #TabsToolbar .toolbar-items {
overflow: hidden;
max-height: 40px; /* Estado expandido */
transition: max-height 0.3s ease-in-out !important;
}
/* Estado oculto: TabsToolbar colapsado */
#main-window[titlepreface*=""] #TabsToolbar {
max-height: 0; /* Estado colapsado */
visibility: hidden; /* Evita conteúdo interativo enquanto colapsado */
transition: max-height 0.3s ease-in-out, visibility 0s 0.3s !important; /* atraso para ocultar */
}
/* Estado oculto para os itens da toolbar */
#main-window[titlepreface*=""] #TabsToolbar .toolbar-items {
max-height: 0;
}
/* Corrige o z-index de abas fixadas */
#main-window[titlepreface*=""] #tabbrowser-tabs {
z-index: 0 !important;
}