fenix-fox/chrome/autohide_tabstoolbar.css
2020-05-22 08:13:58 +03:00

17 lines
No EOL
829 B
CSS

/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_tabstoolbar.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Hide tabs unless cursor is on top of toolbar */
@keyframes slidein{
from{ margin-top: calc(0px - var(--tab-min-height)) }
to{ margin-top: 0 }
}
@keyframes slideout{
from{ margin-top: var(--tab-min-height) }
to{ margin-top: 0 }
}
#navigator-toolbox:not(:hover) > #titlebar{ -moz-appearance: none !important }
#navigator-toolbox:not(:hover) #TabsToolbar:not([customizing]) { visibility: collapse }
#navigator-toolbox:hover > #nav-bar:not([customizing]){ animation: slidein ease-out 48ms 1 }
#navigator-toolbox:not(:hover) > #nav-bar:not([customizing]){ animation: slideout ease-out 48ms 1 }