mirror of
https://github.com/zen-browser/desktop.git
synced 2026-08-26 08:21:34 +00:00
Enhance tab animations and transition effects for improved user experience
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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'] {
|
||||
|
||||
Reference in New Issue
Block a user