Enhance tab animations and transition effects for improved user experience

This commit is contained in:
mr. M
2025-01-29 20:43:17 +01:00
parent cb9c7d5c48
commit d158472709
5 changed files with 9 additions and 15 deletions

View File

@@ -221,14 +221,13 @@ var gZenVerticalTabsManager = {
.animate(
aTab,
{
opacity: [0.7, 1],
transform: ['translateY(-20px)', 'translateY(0px)'],
opacity: [0, 1],
transform: ['translateY(-50px)', 'translateY(0px)'],
marginBottom: isLastTab ? [] : ['-20px', '0px'],
},
{
duration: 0.2,
type: 'spring',
bounce: 0,
easing: 'ease-out',
}
)
.then(() => {

View File

@@ -228,8 +228,8 @@
1.003423 100%
);
transition:
left 0.3125s var(--zen-compact-mode-func),
right 0.3125s var(--zen-compact-mode-func);
left 0.3s var(--zen-compact-mode-func),
right 0.3s var(--zen-compact-mode-func);
opacity: 1;
left: -1px;

View File

@@ -72,7 +72,7 @@
}
#browser {
--zen-toolbox-padding: max(5px, calc(var(--zen-element-separation) / 1.5));
--zen-toolbox-padding: max(.4rem, calc(var(--zen-element-separation) / 1.5));
}
:root[zen-single-toolbar='true'] {