Improve tab animation opacity and enhance CSS transition formatting

This commit is contained in:
mr. M
2025-01-29 20:09:17 +01:00
parent 0ab41a84bd
commit cb9c7d5c48
2 changed files with 4 additions and 2 deletions

View File

@@ -221,7 +221,7 @@ var gZenVerticalTabsManager = {
.animate(
aTab,
{
opacity: [0, 1],
opacity: [0.7, 1],
transform: ['translateY(-20px)', 'translateY(0px)'],
marginBottom: isLastTab ? [] : ['-20px', '0px'],
},

View File

@@ -63,7 +63,9 @@
& {
filter: grayscale(1);
opacity: 0.5;
transition: filter 0.2s, opacity 0.2s;
transition:
filter 0.2s,
opacity 0.2s;
}
&[active='true'],