Merge pull request #1575 from CosmoCreeper/superpins

This commit is contained in:
mr. m 2025-06-16 16:50:04 +02:00 committed by GitHub
commit b305acf89e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 22 additions and 32 deletions

View file

@ -74,6 +74,19 @@
} }
} }
:root:has(#theme-SuperPins[uc-tabs-show-separator="never"]) {
.vertical-pinned-tabs-container-separator {
display: none !important;
}
#vertical-pinned-tabs-container>.zen-workspace-tabs-section,
.zen-workspace-pinned-tabs-section {
&:has(> :nth-child(2)) {
padding-bottom: 5px !important;
}
}
}
/* Enables legacy layout for pinned tabs (icon only in grid) */ /* Enables legacy layout for pinned tabs (icon only in grid) */
@media (-moz-bool-pref: "uc.pins.legacy-layout") { @media (-moz-bool-pref: "uc.pins.legacy-layout") {
#navigator-toolbox[zen-sidebar-expanded="true"] { #navigator-toolbox[zen-sidebar-expanded="true"] {
@ -195,19 +208,6 @@
transform: translateX(-50%) !important; transform: translateX(-50%) !important;
width: calc(100% - var(--zen-toolbox-padding) * 2) !important; width: calc(100% - var(--zen-toolbox-padding) * 2) !important;
} }
:root:has(#theme-SuperPins[uc-tabs-show-separator="never"]) {
.vertical-pinned-tabs-container-separator {
display: none !important;
}
#vertical-pinned-tabs-container>.zen-workspace-tabs-section,
.zen-workspace-pinned-tabs-section {
&:has(> :nth-child(2)) {
padding-bottom: 5px !important;
}
}
}
} }
/* Make Essentials look more box like */ /* Make Essentials look more box like */
@ -254,23 +254,6 @@
/* Puts Essentials at the bottom */ /* Puts Essentials at the bottom */
:root:has(#theme-SuperPins[uc-essentials-position="bottom"]) { :root:has(#theme-SuperPins[uc-essentials-position="bottom"]) {
.tabbrowser-tab:not([pinned]), #tabs-newtab-button {
margin-left: var(--zen-toolbox-padding) !important;
margin-right: var(--zen-toolbox-padding) !important;
}
.zen-workspace-pinned-tabs-section {
max-width: calc(100% - var(--zen-toolbox-padding) * 3) !important;
min-width: calc(100% - var(--zen-toolbox-padding) * 3) !important;
width: calc(100% - var(--zen-toolbox-padding) * 3) !important;
padding-left: calc(var(--zen-toolbox-padding) * 2) !important;
}
.vertical-pinned-tabs-container-separator {
width: calc(100% - var(--zen-toolbox-padding) * 3) !important;
margin-left: calc(var(--zen-toolbox-padding) / 2) !important;
}
#tabbrowser-arrowscrollbox { #tabbrowser-arrowscrollbox {
position: relative !important; position: relative !important;
overflow-x: hidden !important; overflow-x: hidden !important;
@ -287,6 +270,7 @@
} }
#tabbrowser-arrowscrollbox > zen-workspace { #tabbrowser-arrowscrollbox > zen-workspace {
width: 100% !important;
padding-top: 0 !important; padding-top: 0 !important;
} }
@ -584,6 +568,12 @@
} }
@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%;

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.4", "version": "1.5.5",
"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-11" "updatedAt": "2025-06-11"
} }