-
Notifications
You must be signed in to change notification settings - Fork 42
[kernel:781] update loading logo animation to pulse #119
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 |
|---|---|---|
|
|
@@ -26,13 +26,6 @@ | |
| align-items: center; | ||
|
|
||
| .window { | ||
| max-width: 70vw; | ||
| background: $background-secondary; | ||
| border-radius: 5px; | ||
| max-height: 70vh; | ||
| overflow-y: auto; | ||
| overflow-x: hidden; | ||
|
|
||
| &::-webkit-scrollbar { | ||
| width: 8px; | ||
| } | ||
|
|
@@ -91,13 +84,7 @@ | |
| .kernel-logo { | ||
| width: 100%; | ||
| height: 100%; | ||
| animation: kernel-logo-spin 1s linear infinite; | ||
| } | ||
|
|
||
| @media (prefers-reduced-motion: reduce) { | ||
| .kernel-logo { | ||
| animation: none; | ||
| } | ||
| animation: kernel-logo-pulse 1.5s ease-in-out infinite; | ||
|
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. Removed accessibility check for reduced motion preferenceMedium Severity The Additional Locations (1)
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. Since this animates continuously, I’d keep the |
||
| } | ||
| } | ||
| } | ||
|
|
@@ -108,12 +95,15 @@ | |
| } | ||
| } | ||
|
|
||
| @keyframes kernel-logo-spin { | ||
| from { | ||
| transform: rotate(0deg); | ||
| @keyframes kernel-logo-pulse { | ||
| 0%, | ||
| 100% { | ||
| transform: scale(0.85); | ||
| opacity: 0.7; | ||
| } | ||
| to { | ||
| transform: rotate(360deg); | ||
| 50% { | ||
| transform: scale(1); | ||
| opacity: 1; | ||
| } | ||
| } | ||
| </style> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -31,11 +31,6 @@ | |
| align-items: center; | ||
|
|
||
| .window { | ||
| width: 300px; | ||
| background: $background-secondary; | ||
| border-radius: 5px; | ||
| padding: 10px; | ||
|
|
||
| .logo { | ||
| width: 100%; | ||
| display: flex; | ||
|
|
@@ -111,24 +106,21 @@ | |
| .kernel-logo { | ||
| width: 100%; | ||
| height: 100%; | ||
| animation: kernel-logo-spin 1s linear infinite; | ||
| } | ||
|
|
||
| @media (prefers-reduced-motion: reduce) { | ||
| .kernel-logo { | ||
| animation: none; | ||
| } | ||
| animation: kernel-logo-pulse 1.5s ease-in-out infinite; | ||
| } | ||
| } | ||
| } | ||
| } | ||
|
|
||
| @keyframes kernel-logo-spin { | ||
| from { | ||
| transform: rotate(0deg); | ||
| @keyframes kernel-logo-pulse { | ||
|
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.
|
||
| 0%, | ||
| 100% { | ||
| transform: scale(0.85); | ||
| opacity: 0.7; | ||
| } | ||
| to { | ||
| transform: rotate(360deg); | ||
| 50% { | ||
| transform: scale(1); | ||
| opacity: 1; | ||
| } | ||
| } | ||
| </style> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Window styling accidentally removed breaking visual appearance
High Severity
The
.windowclass lost essential styling properties (background,border-radius,max-width/width,max-height,overflow,padding) that were accidentally deleted. This PR was only meant to update the animation to pulse, but these unrelated style removals will cause the window to appear transparent/unstyled with no size constraints, breaking the UI completely.Additional Locations (1)
images/chromium-headful/client/src/components/connect.vue#L32-L33