mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-14 20:23:53 +02:00
34 lines
1.3 KiB
CSS
34 lines
1.3 KiB
CSS
|
|
@media (-moz-bool-pref: "uc.web-panel-sidebar-tweaks.enable-pinning-web-panel-sidebar-to-right") {
|
|
/* Make the web panel side bar the right-most item */
|
|
#zen-sidebar-web-panel-wrapper:has(#zen-sidebar-web-panel:not([pinned="true"])) {
|
|
order: 1000 !important;
|
|
}
|
|
|
|
/* Enable the resize handle on the left of the web panel sidebar */
|
|
#zen-sidebar-web-panel:not([pinned="true"]) .zen-sidebar-web-panel-splitter[side="left"] {
|
|
display: inherit !important;;
|
|
margin: inherit !important;;
|
|
}
|
|
|
|
/* Disable the resize handle on the right of the web panel sidebar */
|
|
#zen-sidebar-web-panel:not([pinned="true"]) .zen-sidebar-web-panel-splitter[side="right"] {
|
|
display: none !important;;
|
|
margin: 0 !important;;
|
|
}
|
|
}
|
|
|
|
@media (-moz-bool-pref: "uc.web-panel-sidebar-tweaks.enable-tweaked-sidebar-toolbar-colors") {
|
|
/* Make the web panel sidebar toolbar colors fit in with zen better */
|
|
#zen-sidebar-web-panel:not([pinned="true"]) {
|
|
background: color-mix(in srgb, var(--toolbarbutton-hover-background) 50%, transparent 50%) !important;
|
|
}
|
|
}
|
|
|
|
@media (-moz-bool-pref: "uc.web-panel-sidebar-tweaks.enable-tweaked-searchbar-margin") {
|
|
/* Make searchbar margin the same as everything else */
|
|
#nav-bar {
|
|
margin-bottom: 2px !important;
|
|
margin-top: 3px !important;
|
|
}
|
|
}
|