Merge pull request #1413 from sameerasw/main

Update theme: Transparent Zen
This commit is contained in:
mr. m 2025-04-17 17:16:41 +02:00 committed by GitHub
commit 8066330ec8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 74 additions and 74 deletions

View file

@ -45,7 +45,7 @@ hbox.browserSidebarContainer,
/* Tab switch animation */ /* Tab switch animation */
#tabbrowser-tabpanels #tabbrowser-tabpanels
> hbox:not([zen-split="true"]):not(:has(.zen-glance-background)) { > hbox:not([zen-split="true"]):not(:has(.zen-glance-background)) {
@media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_animation") { @media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_anim") {
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35), transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.35),
filter 0.45s ease-in-out, opacity 0.35s ease-in-out !important; filter 0.45s ease-in-out, opacity 0.35s ease-in-out !important;
scale: 0.9 !important; scale: 0.9 !important;
@ -53,7 +53,7 @@ hbox.browserSidebarContainer,
} }
} }
#tabbrowser-tabpanels > hbox.deck-selected:not([zen-split="true"]) { #tabbrowser-tabpanels > hbox.deck-selected:not([zen-split="true"]) {
@media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_animation") { @media (-moz-bool-pref: "mod.sameerasw.zen_tab_switch_anim") {
scale: 1 !important; scale: 1 !important;
opacity: 1 !important; opacity: 1 !important;
} }
@ -112,10 +112,3 @@ tabpanels .browserStack browser {
border-radius: 2em !important; border-radius: 2em !important;
} }
} }
/* smoothen trackpad gestures */
.browserStack browser[style*="transform: none"] {
@media (-moz-bool-pref: "mod.sameerasw.zen_trackpad_anim") {
border-radius: 0.75em !important;
}
}

View file

@ -5,6 +5,13 @@
"type": "checkbox", "type": "checkbox",
"defaultvalue": true "defaultvalue": true
}, },
{
"property": "zen.widget.linux.transparency",
"label": "Allow zen browser on linux to be transparent (Turn off before uninstall)",
"type": "checkbox",
"defaultvalue": true,
"disabledOn": ["windows", "macos"]
},
{ {
"property": "mod.sameerasw.zen_bg_color_enabled", "property": "mod.sameerasw.zen_bg_color_enabled",
"label": "Enable custom background color for Zen", "label": "Enable custom background color for Zen",

View file

@ -1,15 +1,15 @@
{ {
"id": "642854b5-88b4-4c40-b256-e035532109df", "id": "642854b5-88b4-4c40-b256-e035532109df",
"name": "Transparent Zen", "name": "Transparent Zen",
"description": "Make the Zen Browser's background transparent and modify the empty tab page and ahve animations that goes along with the transparency. Turn off transparency in mod settings before uninstallation.", "description": "Make the Zen Browser's background transparent and modify the empty tab page and have animations that goes along with the transparency. Turn off transparency in mod settings before uninstallation.",
"homepage": "https://github.com/sameerasw/zen-themes/tree/main/TransparentZen", "homepage": "https://github.com/sameerasw/zen-themes/tree/main/TransparentZen",
"style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/chrome.css", "style": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/chrome.css",
"readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/readme.md", "readme": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/readme.md",
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/image.png", "image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/image.png",
"author": "sameerasw", "author": "sameerasw",
"version": "1.11.2", "version": "1.11.2b",
"tags": [], "tags": [],
"createdAt": "2025-02-04", "createdAt": "2025-02-04",
"updatedAt": "2025-04-11", "updatedAt": "2025-04-12",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json" "preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/642854b5-88b4-4c40-b256-e035532109df/preferences.json"
} }