Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bounce effect to sidebars' animations #5598

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/NcAppNavigation/NcAppNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default {
// Set scoped variable override
// Using --color-text-maxcontrast as a fallback evaluates to an invalid value as it references itself in this scope instead of the variable defined higher up
--color-text-maxcontrast: var(--color-text-maxcontrast-background-blur, var(--color-text-maxcontrast-default));
transition: transform var(--animation-quick), margin var(--animation-quick);
transition: transform var(--animation-slow) cubic-bezier(.34,.11,0,1.2), margin var(--animation-slow) cubic-bezier(.34,.11,0,1.2);
width: $navigation-width;
// Left toggle button padding + toggle button + right padding from NcAppContent
--app-navigation-max-width: calc(100vw - (var(--app-navigation-padding) + var(--default-clickable-area) + var(--default-grid-baseline)));
Expand Down
1 change: 1 addition & 0 deletions src/components/NcAppSidebar/NcAppSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1406,6 +1406,7 @@ $top-buttons-spacing: 6px;
.slide-right-enter-active {
transition-duration: var(--animation-quick);
transition-property: margin-right;
transition-timing-function: cubic-bezier(0,.11,1,1.2);
}

.slide-right-enter-to,
Expand Down
Loading