43 lines
1.1 KiB
CSS
43 lines
1.1 KiB
CSS
/* Copyright 2022 plata
|
|
* SPDX-License-Identifier: MPL-2.0 */
|
|
|
|
/* Move navigation bar to bottom */
|
|
@media (max-width: 700px) {
|
|
#browser {
|
|
-moz-box-ordinal-group: 0 !important;
|
|
}
|
|
|
|
/* Hide navigation bar in kiosk mode (to prevent bug #29). We can assume FF
|
|
* is in kiosk mode when fullscreen and max-width conditions are met,
|
|
* because at this max-width the fullscreen button is hidden
|
|
* (see appMenu.css). */
|
|
#nav-bar[inFullscreen],
|
|
#TabsToolbar[inFullscreen] {
|
|
display: none;
|
|
}
|
|
|
|
/* https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/toolbars_below_content.css */
|
|
#TabsToolbar > .titlebar-buttonbox-container {
|
|
display: none;
|
|
}
|
|
/* Fix panels sizing */
|
|
.panel-viewstack {
|
|
max-height: unset !important;
|
|
}
|
|
/* Tabs below */
|
|
#titlebar {
|
|
-moz-box-ordinal-group: 2; /* Fx <112 compatibility */
|
|
order: 2;
|
|
}
|
|
|
|
/* Adjust menu popup spawn height */
|
|
#appMenu-popup {
|
|
margin-bottom: 20px !important;
|
|
}
|
|
|
|
/* Adjust all-tabs popup spawn height */
|
|
#customizationui-widget-panel {
|
|
margin-bottom: 60px !important;
|
|
}
|
|
|
|
}
|