mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
Merge pull request #1495 from Fury7425/main
Update Theme: trackpad animation
This commit is contained in:
commit
8b965a7802
4 changed files with 41 additions and 6 deletions
|
@ -3,6 +3,20 @@
|
|||
--mod-browser-ease-swipe: var(--user-browser-ease-swipe, 0.3, 1.2, 0.5, 1);
|
||||
--mod-browser-ease-reset: var(--user-browser-ease-reset, 0.2, 1.4, 0.3, 1);
|
||||
--mod-browser-radius-default: var(--user-tab-radius, 8px);
|
||||
--mod-browser-translate-x: var(--user-tab-movement, 2%);
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "tab-shadow-enabled") {
|
||||
.browserStack browser {
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.75);
|
||||
}
|
||||
}
|
||||
|
||||
@media (-moz-bool-pref: "border-shadow-disabled") {
|
||||
hbox.browserSidebarContainer,
|
||||
#zen-tabbox-wrapper {
|
||||
box-shadow: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.browserStack browser {
|
||||
|
@ -18,9 +32,9 @@
|
|||
}
|
||||
|
||||
.browserStack:has(#historySwipeAnimationPreviousArrow:not([style="translate: none;"])) browser {
|
||||
transform: translateX(3%) !important;
|
||||
transform: translateX(calc(var(--mod-browser-translate-x) * 1)) !important;
|
||||
}
|
||||
|
||||
.browserStack:has(#historySwipeAnimationNextArrow:not([style="translate: none;"])) browser {
|
||||
transform: translateX(-3%) !important;
|
||||
transform: translateX(calc(var(--mod-browser-translate-x) * -1)) !important;
|
||||
}
|
||||
|
|
|
@ -26,5 +26,24 @@
|
|||
"type": "string",
|
||||
"defaultValue": "8px",
|
||||
"placeholder": "e.g. 10px"
|
||||
},
|
||||
{
|
||||
"property": "user-tab-movement",
|
||||
"label": "Tab movement amount (e.g. 2%)",
|
||||
"type": "string",
|
||||
"defaultValue": "2%",
|
||||
"placeholder": "e.g. 2%"
|
||||
},
|
||||
{
|
||||
"property": "tab-shadow-enabled",
|
||||
"label": "Enable Tab Shadows(enables shadow aroung the moving page)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
},
|
||||
{
|
||||
"property": "border-shadow-disabled",
|
||||
"label": "Disable Border Shadows(DIsables shadow around the web page)",
|
||||
"type": "checkbox",
|
||||
"defaultValue": true
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
|
||||
made it for an extra animation when using a trackpad.
|
||||
|
||||
if you need help make a issue on my github or contact me on r/zen_browser(u/Fury7425) or on zens discord server fury_7425
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
"image": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/8039de3b-72e1-41ea-83b3-5077cf0f98d1/image.png",
|
||||
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/8039de3b-72e1-41ea-83b3-5077cf0f98d1/preferences.json",
|
||||
"author": "Fury7425",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"tags": [],
|
||||
"createdAt": "2025-04-08",
|
||||
"updatedAt": "2025-04-27"
|
||||
}
|
||||
"updatedAt": "2025-05-11"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue