theme-store/themes/782c1dae-bada-4f90-b00f-446e5f6e8402/chrome.css
nitro 3ddd71498a Compact sidebar update
New features:
- Reduced sidebar height in compact mode
- Reduced space between edge and sidebar in compact mode
- Hide bottom buttons in tab sidebar

The `!important` tags are necessary
2024-08-22 02:35:06 +02:00

40 lines
No EOL
1 KiB
CSS

/* Decrease the minimum width of the tab sidebar */
@media (-moz-bool-pref: "zen.view.sidebar-expanded") {
#navigator-toolbox {
--zen-navigation-toolbar-min-width: 115px !important;
}
}
/* Decrease the minimum height of tabs */
@media (-moz-bool-pref: "uc.sidebar.compact-tabs") {
.tabbrowser-tab {
--tab-min-width: 20px !important;
}
}
/* Reduced space from edge */
@media (-moz-bool-pref: "uc.sidebar.no-edge-padding") and (-moz-bool-pref: "zen.view.compact") {
:root[sizemode="maximized"] #navigator-toolbox {
--zen-compact-toolbox-margin-single: 0px;
}
}
/* Hide bottom nav buttons */
@media (-moz-bool-pref: "uc.sidebar.hide-bottom-buttons") {
#zen-sidebar-icons-wrapper {
display: none !important;
}
}
/* Reduced tab bar height */
@media (-moz-bool-pref: "uc.sidebar.reduced-height") and (-moz-bool-pref: "zen.view.compact") {
#alltabs-button {
display: none;
}
#navigator-toolbox {
padding-top: 12.5vh !important;
height: 75vh !important;
}
}