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

View file

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

View file

@ -1,31 +1,30 @@
[
{
"property": "user-browser-scale",
"label": "Swipe scale (e.g. 0.98 for 2%)",
"type": "string",
"defaultValue": "0.98",
"placeholder": "0.971.00"
"property": "user-browser-scale",
"label": "Swipe scale (e.g. 0.98 for 2%)",
"type": "string",
"defaultValue": "0.98",
"placeholder": "0.97\u20131.00"
},
{
"property": "user-browser-ease-swipe",
"label": "Swipe easing curve (4 numbers)",
"type": "string",
"defaultValue": "0.3, 1.2, 0.5, 1",
"placeholder": "e.g. 0.25, 0.1, 0.25, 1"
"property": "user-browser-ease-swipe",
"label": "Swipe easing curve (4 numbers)",
"type": "string",
"defaultValue": "0.3, 1.2, 0.5, 1",
"placeholder": "e.g. 0.25, 0.1, 0.25, 1"
},
{
"property": "user-browser-ease-reset",
"label": "Reset easing curve (4 numbers)",
"type": "string",
"defaultValue": "0.2, 1.4, 0.3, 1",
"placeholder": "e.g. 0.2, 0.8, 0.2, 1"
"property": "user-browser-ease-reset",
"label": "Reset easing curve (4 numbers)",
"type": "string",
"defaultValue": "0.2, 1.4, 0.3, 1",
"placeholder": "e.g. 0.2, 0.8, 0.2, 1"
},
{
"property": "user-tab-radius",
"label": "Tab border radius (e.g. 8px)",
"type": "string",
"defaultValue": "8px",
"placeholder": "e.g. 10px"
"property": "user-tab-radius",
"label": "Tab border radius (e.g. 8px)",
"type": "string",
"defaultValue": "8px",
"placeholder": "e.g. 10px"
}
]

View file

@ -1,14 +1,21 @@
#zen-essentials-container > tab > stack:nth-child(1) > hbox:nth-child(2) > stack:nth-child(2) > img:nth-child(3) {
height: 32px !important;
width: 32px !important;
.zen-essentials-container {
grid-template-columns: repeat(auto-fit, minmax(80px, auto)) !important;
}
#zen-essentials-container > tab > stack:nth-child(1) > hbox:nth-child(2) > stack:nth-child(2) {
padding: 16px !important;
}
.zen-essentials-container
> tab
> stack:nth-child(1)
> hbox:nth-child(2)
> stack:nth-child(2) {
padding: 16px !important;
}
#zen-essentials-container {
gap: 8px 8px !important;
grid-template-columns: repeat(auto-fit, minmax(80px, auto)) !important;
}
.zen-essentials-container
> tab
> 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",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/9bbaab67-a2c8-4d79-837f-90cd72a8932a/image.png",
"author": "leaferiksen",
"version": "1.0.0",
"version": "1.0.1",
"tags": [],
"createdAt": "2025-03-11",
"updatedAt": "2025-03-11"
"updatedAt": "2025-05-10"
}

View file

@ -1,47 +1,47 @@
[
{
"property": "theme.better_find_bar.transparent_background",
"label": "Transparent background",
"type": "checkbox"
},
{
"property": "theme.better_find_bar.horizontal_position",
"label": "Horizontal position",
"type": "dropdown",
"disabledOn": [],
"placeholder": "Select horizontal position",
"defaultValue": "default",
"options": [
{
"label": "Left",
"value": "left"
},
{
"label": "Center",
"value": "default"
},
{
"label": "Right",
"value": "right"
}
]
},
{
"property": "theme.better_find_bar.vertical_position",
"label": "Vertical position",
"type": "dropdown",
"disabledOn": [],
"placeholder": "Select vertical position",
"defaultValue": "default",
"options": [
{
"label": "Top",
"value": "top"
},
{
"label": "Bottom",
"value": "default"
}
]
}
{
"property": "theme.better_find_bar.transparent_background",
"label": "Transparent background",
"type": "checkbox"
},
{
"property": "theme.better_find_bar.horizontal_position",
"label": "Horizontal position",
"type": "dropdown",
"disabledOn": [],
"placeholder": "Select horizontal position",
"defaultValue": "default",
"options": [
{
"label": "Left",
"value": "left"
},
{
"label": "Center",
"value": "default"
},
{
"label": "Right",
"value": "right"
}
]
},
{
"property": "theme.better_find_bar.vertical_position",
"label": "Vertical position",
"type": "dropdown",
"disabledOn": [],
"placeholder": "Select vertical position",
"defaultValue": "default",
"options": [
{
"label": "Top",
"value": "top"
},
{
"label": "Bottom",
"value": "default"
}
]
}
]

View file

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

View file

@ -10,5 +10,5 @@
"version": "1.0.0",
"tags": [],
"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"
}