Merge branch 'main' into main

This commit is contained in:
mr. m 2025-05-11 11:14:35 +02:00 committed by GitHub
commit c2208b4f26
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1231 additions and 1150 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,10 +1,15 @@
:root { :root {
--bmb-sound-icon-scale: 1.5; --bmb-sound-icon-scale: 1.5;
--bmb-sound-icon-scale-essentials: 1.28; --bmb-sound-icon-scale-essentials: 1.26;
--bmb-sound-icon-scale-glance: 1.15; --bmb-sound-icon-scale-glance: 1.15;
} }
/* ================== General ================== */ /* ================== General ================== */
/* Hide firefox sound button */
.tab-audio-button {
display: none !important;
}
/* Tab icon overlay styles */ /* Tab icon overlay styles */
.tab-icon-overlay { .tab-icon-overlay {
border: none !important; border: none !important;
@ -12,7 +17,7 @@
background-color: transparent !important; background-color: transparent !important;
transition: 0.2s; transition: 0.2s;
&:is([soundplaying], [muted], [activemedia-blocked]):not([selected]) { &:is([soundplaying], [muted], [activemedia-blocked]) {
display: block !important; display: block !important;
} }
} }
@ -58,7 +63,7 @@
& .tab-icon-overlay, & .tab-icon-overlay,
& .tab-icon-stack { & .tab-icon-stack {
&:is([soundplaying], [muted], [activemedia-blocked]) { &:is([soundplaying], [muted], [activemedia-blocked]) {
transform: translate(20%, 24%) transform: translate(20%, 25%)
scale(var(--bmb-sound-icon-scale-essentials)) !important; scale(var(--bmb-sound-icon-scale-essentials)) !important;
display: block !important; display: block !important;
/* Remove extra margin created for vanilla icons */ /* Remove extra margin created for vanilla icons */
@ -84,8 +89,7 @@
& .tab-icon-overlay, & .tab-icon-overlay,
& .tab-icon-stack { & .tab-icon-stack {
&:is([soundplaying], [muted], [activemedia-blocked]) { &:is([soundplaying], [muted], [activemedia-blocked]) {
transform: translate(-10%, 25%) transform: translate(-8%, 25%) scale(var(--bmb-sound-icon-scale-glance)) !important;
scale(var(--bmb-sound-icon-scale-glance)) !important;
display: block !important; display: block !important;
margin: 0px !important; margin: 0px !important;
} }
@ -93,7 +97,7 @@
} }
} }
/* ================== Zen glance tab (pinned and essentials) ================== */ /* ================== Zen glance tab (pinned tabs) ================== */
#navigator-toolbox[zen-sidebar-expanded] #navigator-toolbox[zen-sidebar-expanded]
#tabbrowser-tabs #tabbrowser-tabs
.tabbrowser-tab[zen-glance-tab] { .tabbrowser-tab[zen-glance-tab] {

View file

@ -10,5 +10,5 @@
"version": "1.0.3", "version": "1.0.3",
"tags": [], "tags": [],
"createdAt": "2024-10-12", "createdAt": "2024-10-12",
"updatedAt": "2025-04-27" "updatedAt": "2025-05-10"
} }

View file

@ -4,7 +4,7 @@
"label": "Swipe scale (e.g. 0.98 for 2%)", "label": "Swipe scale (e.g. 0.98 for 2%)",
"type": "string", "type": "string",
"defaultValue": "0.98", "defaultValue": "0.98",
"placeholder": "0.971.00" "placeholder": "0.97\u20131.00"
}, },
{ {
"property": "user-browser-ease-swipe", "property": "user-browser-ease-swipe",
@ -28,4 +28,3 @@
"placeholder": "e.g. 10px" "placeholder": "e.g. 10px"
} }
] ]

View file

@ -1,14 +1,21 @@
.zen-essentials-container {
#zen-essentials-container > tab > stack:nth-child(1) > hbox:nth-child(2) > stack:nth-child(2) > img:nth-child(3) { grid-template-columns: repeat(auto-fit, minmax(80px, auto)) !important;
height: 32px !important;
width: 32px !important;
} }
#zen-essentials-container > tab > stack:nth-child(1) > hbox:nth-child(2) > stack:nth-child(2) { .zen-essentials-container
> tab
> stack:nth-child(1)
> hbox:nth-child(2)
> stack:nth-child(2) {
padding: 16px !important; padding: 16px !important;
} }
#zen-essentials-container { .zen-essentials-container
gap: 8px 8px !important; > tab
grid-template-columns: repeat(auto-fit, minmax(80px, auto)) !important; > stack:nth-child(1)
> hbox:nth-child(2)
> stack:nth-child(2)
> img:nth-child(3) {
height: 32px !important;
width: 32px !important;
} }

View file

@ -7,8 +7,8 @@
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9bbaab67-a2c8-4d79-837f-90cd72a8932a/readme.md", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9bbaab67-a2c8-4d79-837f-90cd72a8932a/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9bbaab67-a2c8-4d79-837f-90cd72a8932a/image.png", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9bbaab67-a2c8-4d79-837f-90cd72a8932a/image.png",
"author": "leaferiksen", "author": "leaferiksen",
"version": "1.0.0", "version": "1.0.1",
"tags": [], "tags": [],
"createdAt": "2025-03-11", "createdAt": "2025-03-11",
"updatedAt": "2025-03-11" "updatedAt": "2025-05-10"
} }

View file

@ -1,54 +1,55 @@
@media (-moz-bool-pref: "zen.view.use-single-toolbar") { @media (-moz-bool-pref: "zen.view.use-single-toolbar") {
#zen-appcontent-wrapper { .browserSidebarContainer.deck-selected::before {
position: relative !important;
background-color: transparent !important;
}
#zen-appcontent-wrapper::before {
content: "" !important; content: "" !important;
position: absolute !important; position: absolute !important;
top: 2px !important; top: 0px !important;
left: 6px !important; left: 0px !important;
height: 4px !important; height: 4px !important; /* Height of the top background */
max-width: calc(100% - 16px) !important; max-width: 100% !important;
width: var(--bar-pcent) !important; width: var(--bar-pcent) !important; /* Ensure full width or customizable width */
background-color: var(--bar-colour) !important; background-color: var(--bar-colour) !important; /* Solid color for the bar */
border-radius: 4px; border-radius: 0 2px 2px 0; /* Adjust this value to control the roundness of the ends */
pointer-events: none !important; z-index: 1 !important;
transition: transition: width 0.5s ease-in-out, background 0.2s ease !important; /* Apply smooth transition on width and background */
background-color 0.2s ease-in-out, } /* Current tab loading progress and muted status */
width 0.5s ease-in-out !important;
.browserSidebarContainer.deck-selected:has([zen-glance-selected])::before,
.browserSidebarContainer.deck-selected.zen-glance-overlay::before {
max-width: calc(85%) !important;
left: calc(15%/2) !important;
border-radius: 6px !important;
} }
#main-window { .browserSidebarContainer.deck-selected.zen-glance-background::before {
background: transparent !important;
height: 0px !important;
}
:root {
&:has(.tabbrowser-tab[selected][busy]) { &:has(.tabbrowser-tab[selected][busy]) {
--bar-colour: white; --bar-colour: var(--zen-primary-color);
--bar-pcent: 10%; --bar-pcent: 15%;
} }
&:has(.tabbrowser-tab[selected][busy][pendingicon]) { &:has(.tabbrowser-tab[selected][busy][pendingicon]) {
--bar-colour: white; --bar-colour: var(--zen-primary-color);
--bar-pcent: 50%; --bar-pcent: 45%;
} }
&:has(.tabbrowser-tab[selected][busy][pendingicon][progress]) { &:has(.tabbrowser-tab[selected][busy][pendingicon][progress]) {
--bar-colour: white; --bar-colour: var(--zen-primary-color);
--bar-pcent: 80%; --bar-pcent: 85%;
} }
&:has(.tabbrowser-tab[selected][busy][progress]) { &:has(.tabbrowser-tab[selected][busy][progress]) {
--bar-colour: white; --bar-colour: var(--zen-primary-color);
--bar-pcent: 100%; --bar-pcent: 95%;
} }
&:has(.tabbrowser-tab[selected][muted]:not([busy])) { &:has(.tabbrowser-tab[selected][muted]:not([busy])) {
--bar-colour: orangered; --bar-colour: orangered;
--bar-pcent: 100%; --bar-pcent: 100%;
}
&:has(.tabbrowser-tab[selected]:not([muted]):not([busy])) { .browserSidebarContainer.deck-selected::before {
--bar-colour: transparent; border-radius: 0;
--bar-pcent: 0%; }
} }
} }
} }

View file

@ -10,5 +10,5 @@
"version": "1.0.0", "version": "1.0.0",
"tags": [], "tags": [],
"createdAt": "2024-12-21", "createdAt": "2024-12-21",
"updatedAt": "2025-01-26" "updatedAt": "2025-05-10"
} }

View file

@ -0,0 +1,7 @@
:root:has(#theme-Custom-uiFont[theme-custom_uifont-default="Serif"]) {
* {font-family: serif !important;}
}
:root:has(#theme-Custom-uiFont[theme-custom_uifont-default="Custom"]) {
* {font-family: var(--theme-custom_uifont-custom) !important; text-shadow: var(--theme-custom_uifont-shadow) !important;}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

View file

@ -0,0 +1,32 @@
[
{
"property": "theme.custom_uifont.default",
"label": "Select Font:",
"type": "dropdown",
"defaultValue": "Serif",
"options": [
{
"label": "Serif",
"value": "Serif"
},
{
"label": "Custom",
"value": "Custom"
}
]
},
{
"property": "theme.custom_uifont.custom",
"label": "font-family:",
"type": "string",
"placeholder": "sans-serif",
"defaultValue": "sans-serif"
},
{
"property": "theme.custom_uifont.shadow",
"label": "text-shadow:",
"type": "string",
"placeholder": "0.01em 0.01em 0.05em #7C7C7C70",
"defaultValue": "none"
}
]

View file

@ -0,0 +1,2 @@
Customize the interface font, the default is consistent with the serif font in the settings.

View file

@ -0,0 +1,15 @@
{
"id": "e74cb40a-f3b8-445a-9826-1b1b6e41b846",
"name": "Custom uiFont",
"description": "Customize the interface font, the default is consistent with the serif font in the settings.",
"homepage": "",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/image.png",
"author": "lindongbin",
"version": "1.0.0",
"tags": [],
"createdAt": "2025-05-03",
"updatedAt": "2025-05-03",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/e74cb40a-f3b8-445a-9826-1b1b6e41b846/preferences.json"
}