Merge pull request #1576 from CosmoCreeper/superpins

This commit is contained in:
mr. m 2025-06-22 11:39:23 +02:00 committed by GitHub
commit 870126c68f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 56 additions and 15 deletions

View file

@ -506,9 +506,9 @@
} }
:root:has(#theme-SuperPins[uc-tabs-show-separator="essentials-shown"]) { :root:has(#theme-SuperPins[uc-tabs-show-separator="essentials-shown"]) {
#zen-essentials-container, .zen-essentials-container { zen-workspace[active="true"]:has(.zen-workspace-pinned-tabs-section .tabbrowser-tab) {
&:has(~ #zen-tabs-wrapper #zen-browser-tabs-container #vertical-pinned-tabs-container .zen-workspace-tabs-section[active="true"] .tabbrowser-tab) { &:has(~ #zen-tabs-wrapper #zen-browser-tabs-container #vertical-pinned-tabs-container .zen-workspace-tabs-section[active="true"] .tabbrowser-tab) {
margin-bottom: 8px !important; margin-top: 6px !important;
} }
} }
@ -526,8 +526,8 @@
} }
:root:not(:has(#theme-SuperPins[uc-tabs-show-separator="essentials-shown"])) { :root:not(:has(#theme-SuperPins[uc-tabs-show-separator="essentials-shown"])) {
#zen-essentials-container, .zen-essentials-container { #tabbrowser-tabs:has(.zen-essentials-container) #zen-tabs-wrapper {
margin-bottom: 8px !important; margin-top: 6px !important;
} }
} }
} }
@ -568,12 +568,6 @@
} }
@media (-moz-bool-pref: "uc.pins.stay-at-top") { @media (-moz-bool-pref: "uc.pins.stay-at-top") {
@media (-moz-bool-pref: "theme.nosidebarscrollbar.before125b") {
#tabbrowser-arrowscrollbox .zen-workspace-normal-tabs-section {
scrollbar-width: none !important;
}
}
zen-workspace > arrowscrollbox.workspace-arrowscrollbox { zen-workspace > arrowscrollbox.workspace-arrowscrollbox {
overflow-y: hidden !important; overflow-y: hidden !important;
flex-basis: 100%; flex-basis: 100%;
@ -639,4 +633,10 @@
margin-top: 2px; margin-top: 2px;
} }
} }
@media (-moz-bool-pref: "uc.remove-sidebar-scrollbar") {
scrollbox:nth-child(5), #tabbrowser-arrowscrollbox .zen-workspace-normal-tabs-section {
scrollbar-width: none !important;
}
}
} }

View file

@ -68,6 +68,12 @@
"type": "checkbox", "type": "checkbox",
"disabledOn": [] "disabledOn": []
}, },
{
"property": "uc.essentials.same-height",
"label": "Makes the Essentials have the same height of Pinned Tabs",
"type": "checkbox",
"disabledOn": []
},
{ {
"property": "uc.essentials.auto-grow", "property": "uc.essentials.auto-grow",
"label": "Makes the Essentials auto-grow to fit the full width of its row.", "label": "Makes the Essentials auto-grow to fit the full width of its row.",
@ -76,7 +82,7 @@
}, },
{ {
"property": "uc.essentials.position", "property": "uc.essentials.position",
"label": "Select the position of Essentials (doesn't work on >1.11.5t with container-specific essentials)", "label": "Select the position of Essentials (doesn't work on >1.21.1b with container-specific essentials)",
"type": "dropdown", "type": "dropdown",
"placeholder": "Top", "placeholder": "Top",
"disabledOn": [], "disabledOn": [],
@ -130,8 +136,37 @@
"property": "zen.workspaces.show-workspace-indicator", "property": "zen.workspaces.show-workspace-indicator",
"label": "Shows the workspace-indicator between Essentials and Pins", "label": "Shows the workspace-indicator between Essentials and Pins",
"type": "checkbox", "type": "checkbox",
"defaultValue": true,
"disabledOn": []
},
{
"property": "zen.workspaces.indicator-name-center",
"label": "Center the workspace indicator name",
"type": "checkbox",
"disabledOn": []
},
{
"property": "uc.superpins.essentials-below-indicator",
"label": "Essentials will be placed below workspace indicator when both are at the bottom",
"type": "checkbox",
"disabledOn": []
},
{
"property": "zen.workspaces.indicator-position",
"label": "Select the position of the workspace indicator",
"type": "dropdown",
"disabledOn": [], "disabledOn": [],
"defaultValue": false "placeholder": "Default",
"options": [
{
"label": "Top",
"value": "top"
},
{
"label": "Bottom",
"value": "bottom"
}
]
}, },
{ {
"property": "browser.sessionstore.restore_pinned_tabs_on_demand", "property": "browser.sessionstore.restore_pinned_tabs_on_demand",
@ -163,6 +198,12 @@
"type": "checkbox", "type": "checkbox",
"disabledOn": [] "disabledOn": []
}, },
{
"property": "uc.remove-sidebar-scrollbar",
"label": "Removes the sidebar scrollbar",
"type": "checkbox",
"disabledOn": []
},
{ {
"property": "uc.tabs.show-separator", "property": "uc.tabs.show-separator",
"label": "When to display separator", "label": "When to display separator",
@ -315,4 +356,4 @@
"disabledOn": [], "disabledOn": [],
"defaultValue": "1" "defaultValue": "1"
} }
] ]

View file

@ -7,11 +7,11 @@
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/readme.md", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/image.png", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/image.png",
"author": "CosmoCreeper", "author": "CosmoCreeper",
"version": "1.5.5", "version": "1.5.6",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/preferences.json", "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/preferences.json",
"tags": [ "tags": [
"tabs" "tabs"
], ],
"createdAt": "2024-08-28", "createdAt": "2024-08-28",
"updatedAt": "2025-06-16" "updatedAt": "2025-06-16"
} }