2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/toolbars_below_content.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2020-03-06 22:26:09 +00:00
|
|
|
/* Moves tabs toolbar, bookmarks toolbar and main toolbar to the bottom of the window, and makes tabs be the bottom-most toolbar */
|
|
|
|
|
2020-07-03 13:00:31 +00:00
|
|
|
/* By default, menubar will stay on top with two options to select it's behavior - see below */
|
2020-03-06 22:26:09 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
@-moz-document url(chrome://browser/content/browser.xhtml){
|
2021-11-21 06:03:05 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
#titlebar{ -moz-appearance: none !important; }
|
2020-03-06 22:26:09 +00:00
|
|
|
|
2022-03-27 12:31:59 +00:00
|
|
|
#navigator-toolbox > div{ display: contents }
|
|
|
|
.global-notificationbox,
|
2020-08-08 13:24:59 +00:00
|
|
|
#mainPopupSet,
|
|
|
|
#browser,
|
2021-11-06 20:23:29 +00:00
|
|
|
#customization-container,
|
|
|
|
#tab-notification-deck{
|
|
|
|
-moz-box-ordinal-group: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Remove the next row if you want tabs to be the top-most row */
|
|
|
|
#titlebar{ -moz-box-ordinal-group: 2 }
|
2020-07-03 13:00:31 +00:00
|
|
|
|
2022-03-19 06:34:48 +00:00
|
|
|
#toolbar-menubar{
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
width: 100vw;
|
|
|
|
top: 0px;
|
|
|
|
-moz-window-dragging: drag;
|
|
|
|
}
|
2021-09-25 08:42:50 +00:00
|
|
|
/* Remove bottom border that won't do anything useful when at bottom of the window */
|
|
|
|
#navigator-toolbox{ border-bottom: none !important; }
|
2020-03-06 22:26:09 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
#toolbar-menubar > spacer{ flex-grow: 1 }
|
2020-03-06 22:26:09 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
#urlbar[breakout][breakout-extend]{
|
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column-reverse;
|
2022-12-16 09:13:59 +00:00
|
|
|
bottom: 0px !important; /* Change to 3-5 px if using compact_urlbar_megabar.css depending on toolbar density */
|
2020-08-08 13:24:59 +00:00
|
|
|
top: auto !important;
|
|
|
|
}
|
2020-03-06 22:26:09 +00:00
|
|
|
|
2020-12-10 08:43:36 +00:00
|
|
|
.urlbarView-body-inner{ border-top-style: none !important; }
|
2020-07-03 13:00:31 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
/* Yeah, removes window controls. Likely not wanted on bottom row */
|
|
|
|
#TabsToolbar > .titlebar-buttonbox-container{ display: none }
|
|
|
|
#toolbar-menubar > .titlebar-buttonbox-container{ order: 1000 }
|
2020-07-03 13:00:31 +00:00
|
|
|
|
2021-09-23 20:31:21 +00:00
|
|
|
/* Fix panels sizing */
|
|
|
|
.panel-viewstack{ max-height: unset !important; }
|
|
|
|
|
2021-06-03 10:44:18 +00:00
|
|
|
/* Fullscreen mode support */
|
|
|
|
#navigator-toolbox[inFullscreen]{ margin-top: 0 !important }
|
|
|
|
#navigator-toolbox[inFullscreen][style*="margin-top"]{ visibility: collapse }
|
|
|
|
#fullscr-toggler{ bottom: 0; top: unset !important; }
|
|
|
|
|
2021-09-25 08:42:50 +00:00
|
|
|
/* These three rules exist for compatibility with autohide_toolbox.css */
|
|
|
|
#navigator-toolbox{ bottom: 0px; transform-origin: bottom }
|
|
|
|
#main-window > body > box{ margin-top: 0 !important; }
|
2022-11-19 08:22:05 +00:00
|
|
|
#toolbar-menubar{ z-index: 1; background-color: var(--lwt-accent-color,black); }
|
2021-09-10 16:07:31 +00:00
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
/**************
|
2021-09-10 16:07:31 +00:00
|
|
|
Menubar options - By default, menubar is overlayed on top of web-content
|
2020-08-08 13:24:59 +00:00
|
|
|
***************/
|
2020-07-03 13:00:31 +00:00
|
|
|
|
2021-09-10 16:07:31 +00:00
|
|
|
/* Uncomment the following if you want static menubar on top of the window (make menubar enabled)
|
|
|
|
* Use when menubar is enabled to always show it */
|
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
/*
|
2021-09-10 16:07:31 +00:00
|
|
|
#browser,#customization-container{ padding-top: var(--uc-menubar-spacer,28px) }
|
2020-08-08 13:24:59 +00:00
|
|
|
*/
|
2021-09-10 16:07:31 +00:00
|
|
|
|
|
|
|
/* OR, if uncomment the following if you want menubar to appear below content, above tabs toolbar */
|
|
|
|
|
2020-08-08 13:24:59 +00:00
|
|
|
/*
|
2021-09-10 16:07:31 +00:00
|
|
|
#toolbar-menubar{ position: static; display: -moz-box; margin-top: 0px !important; background-color: transparent }
|
2020-08-08 13:24:59 +00:00
|
|
|
*/
|
|
|
|
|
2021-09-10 16:07:31 +00:00
|
|
|
/* set to "reverse" (without quotes) if you want tabs above menubar with the above option */
|
2020-08-08 13:24:59 +00:00
|
|
|
#titlebar{ -moz-box-direction: normal; }
|
2021-09-10 16:07:31 +00:00
|
|
|
}
|