mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
Merge 57fa101a9f
into 856819918b
This commit is contained in:
commit
67720b70ea
5 changed files with 80 additions and 0 deletions
34
themes/ac140404-3877-4df2-a61f-7667210ba054/chrome.css
Normal file
34
themes/ac140404-3877-4df2-a61f-7667210ba054/chrome.css
Normal file
|
@ -0,0 +1,34 @@
|
|||
|
||||
@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;
|
||||
}
|
||||
}
|
BIN
themes/ac140404-3877-4df2-a61f-7667210ba054/image.png
Normal file
BIN
themes/ac140404-3877-4df2-a61f-7667210ba054/image.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
20
themes/ac140404-3877-4df2-a61f-7667210ba054/preferences.json
Normal file
20
themes/ac140404-3877-4df2-a61f-7667210ba054/preferences.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
[
|
||||
{
|
||||
"property": "uc.web-panel-sidebar-tweaks.enable-pinning-web-panel-sidebar-to-right",
|
||||
"label": "Enable pinning the web panel sidebar to the right",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "uc.web-panel-sidebar-tweaks.enable-tweaked-sidebar-toolbar-colors",
|
||||
"label": "Enable tweaked web panel sidebar toolbar colours",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "uc.web-panel-sidebar-tweaks.enable-tweaked-searchbar-margin",
|
||||
"label": "Enable tweaked searchbar margin",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
}
|
||||
]
|
11
themes/ac140404-3877-4df2-a61f-7667210ba054/readme.md
Normal file
11
themes/ac140404-3877-4df2-a61f-7667210ba054/readme.md
Normal file
|
@ -0,0 +1,11 @@
|
|||
|
||||
# Zen Web Panel Sidebar Tweaks
|
||||
|
||||
This theme makes a few tweaks to the web panel sidebar.
|
||||
|
||||
This theme:
|
||||
- Makes the web panel sidebar pin to the right
|
||||
- Tweaks web panel sidebar toolbar colors to better fit in with zen
|
||||
- Makes the margin around the search bar match spacing between main view and web panel sidebar
|
||||
|
||||
All of the features can be disabled in theme preferences.
|
15
themes/ac140404-3877-4df2-a61f-7667210ba054/theme.json
Normal file
15
themes/ac140404-3877-4df2-a61f-7667210ba054/theme.json
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"id": "ac140404-3877-4df2-a61f-7667210ba054",
|
||||
"name": "Web Panel Sidebar Tweaks",
|
||||
"description": "Pins web panel sidebar to the right and tweaks web panel sidebar toolbar color and search bar margin",
|
||||
"homepage": "https://github.com/tywil04/zen-web-panel-sidebar-tweaks",
|
||||
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac140404-3877-4df2-a61f-7667210ba054/chrome.css",
|
||||
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac140404-3877-4df2-a61f-7667210ba054/readme.md",
|
||||
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac140404-3877-4df2-a61f-7667210ba054/image.png",
|
||||
"author": "tywil04",
|
||||
"version": "1.0.0",
|
||||
"tags": [],
|
||||
"createdAt": "2025-02-19",
|
||||
"updatedAt": "2025-02-19",
|
||||
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ac140404-3877-4df2-a61f-7667210ba054/preferences.json"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue