fenix-fox/chrome/autohide_toolbox.css

32 lines
1.1 KiB
CSS
Raw Normal View History

2019-06-02 16:08:43 +00:00
/* Hide the whole toolbar area unless urlbar is focused or cursor is over the toolbar */
/* Dimensions on non-Win10 OS probably needs to be adjusted */
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 10px }
2019-06-02 16:08:43 +00:00
#navigator-toolbox{
position: fixed !important;
background-color: var(--lwt-accent-color,black);
transition: transform 82ms 33ms linear, opacity 82ms 33ms linear !important;
transform-origin: top;
line-height: 0;
2019-06-02 16:08:43 +00:00
}
#navigator-toolbox > *{ line-height: normal }
:root[sizemode="maximized"] > #navigator-toolbox{ margin-top: -2px }
2019-06-02 16:08:43 +00:00
#navigator-toolbox,
#navigator-toolbox > *{
width: 100vw;
-moz-appearance: none !important;
}
:root:not([customizing]) > #navigator-toolbox:not(:focus-within):not(:hover){
transform: rotateX(86deg);
opacity: 0;
}
:root[sizemode="maximized"]:not([customizing]) > #navigator-toolbox:not(:focus-within):not(:hover){ transform: rotateX(89.5deg) }
#PersonalToolbar[collapsed]{ margin-block-end: -7px }
2019-06-02 16:08:43 +00:00
/* Uncomment this if tabs toolbar is hidden with hide_tabs_toolbar.css */
/*#titlebar{ margin-bottom: -9px }*/