mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-15 12:43:54 +02:00
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
40 lines
No EOL
1 KiB
CSS
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;
|
|
}
|
|
} |