Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import url(autohide_sidebar.css); /* Modified */
- @import url(autohide_main_toolbar.css); /* Modified */
- @import url(drag_window_from_urlbar.css);
- @import url(hide_tabs_toolbar_v2.css); /* Modified, Needs Sidebery*/
- :root { /* Sidebar - autohide_sidebar.css References */
- --as-w: 38px;
- --as-w-hover: 300px;
- --as-delay: 1000ms;
- --as-duration: 300ms;
- --as-type: ease-in-out;
- }
- :root { /* Main Toolbar - autohide_main_toolbar.css References */
- --amt-transform: -40px;
- --amt-delay: 1000ms;
- --amt-duration: 300ms;
- }
- /* ADDED FIX FOR AUTOHIDE MAIN TOOLBAR */
- /* https://github.com/MrOtherGuy/firefox-csshacks/issues/442#issuecomment-2456932184 */
- #nav-bar {
- position: relative; /* Ensure the navbar can be shifted */
- transform: translateY(-25px); /* Shifts hidden navbar down for hover detection, Referenced in userChrome.css */
- z-index: 2 !important; /* Make sure it's above everything for Hover */
- top: 1px !important; /* A hack to close window while maximized */
- }
- #nav-bar:hover {
- transform: translateY(0); /* Moves the navbar back to its original position on hover */
- } /* Shorten sidebar header a bit & make it draggable */
- #sidebar-header {
- -moz-window-dragging: drag;
- height: 38px !important;
- } /* Removes sidebar close button */
- #sidebar-close {
- visibility: hidden !important;
- } /* Removes left and right spacers in toolbar */
- .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"] {
- border-inline-end: 0px solid white !important;
- width: 0px !important;
- } /* Collapses & Expands Windows Controls */
- .titlebar-restore, .titlebar-max, .titlebar-close{
- visibility: collapse;
- }
- .titlebar-buttonbox-container:hover .titlebar-restore, .titlebar-buttonbox-container:hover .titlebar-max, .titlebar-buttonbox-container:hover .titlebar-close {
- visibility: visible;
- } /* Always show sidebar when maximized */
- :root[sizemode="maximized"] {
- --as-w: 300px;
- } /* Needs Sidebery Shows/Hides native tab bar when sidebar is closed/open*/
- #main-window[titlepreface*="?? "] {
- #TabsToolbar > .titlebar-buttonbox-container {
- display: block;
- position: absolute;
- top: 0px;
- right: 0px;
- visibility: visible;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement