-
Notifications
You must be signed in to change notification settings - Fork 481
Remove animations from various places for users with prefer-reduced-motion
#3972
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,3 +175,10 @@ | |
| .menuButtonsPublishError { | ||
| margin: 10px 0; | ||
| } | ||
|
|
||
| /* Do not animate the publish animation for stripes at the top loading bar. */ | ||
| @media (prefers-reduced-motion) { | ||
| .menuButtonsPublishUploadBarInner { | ||
| animation: none; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Optional: in general I think I'd rather have
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When I was adding them, I wanted to follow this logic:
I think 2nd item makes it cleaner, but happy to discuss for a follow-up if you want.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can use the same class both in @media and outside @media, I think it's OK to specify the same class twice (actually you're doing it with the solution 2 as well!), and on the long run it will be easier to maintain. Here is my rationale :-) |
||
| } | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.