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

Fix: Added notify and drawer default CSS animations #531

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

oliverfoster
Copy link
Member

part of adaptlearning/adapt-contrib-core#600
requires adaptlearning/adapt-contrib-core#601

tbc

Fix

  • A sentence describing each fix

Update

  • A sentence describing each udpate

New

  • A sentence describing each new feature

Breaking

  • A sentence describing each breaking change

@@ -22,7 +22,7 @@
}

.drawer:not(.disable-animation) {
.transition(left @duration ease-in, right @duration ease-in, transform @duration ease-in, opacity @duration ease-in;);
.transition(left var(--drawerDuration) @animation-easing, right var(--drawerDuration) @animation-easing, transform var(--drawerDuration) @animation-easing, opacity var(--drawerDuration) @animation-easing;);
Copy link
Member Author

@oliverfoster oliverfoster Oct 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think any of our other variables are camel case or without the --adapt- prefix --adapt-drawer-animation-duration.

What is the @duration property for if not this? Why do we need a differentiating variable for notify animation duration independent of the drawer animation duration?

https://github.com/search?q=repo%3Aadaptlearning%2Fadapt-contrib-vanilla+%40duration&type=code&p=1

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed the drawer variable to --adapt-drawer-duration.

What is the @duration property for if not this? Why do we need a differentiating variable for notify animation duration independent of the drawer animation duration?

I commented on this here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants