Skip to content

Commit

Permalink
Merge pull request #3400 from webcompat/issue/3386/1
Browse files Browse the repository at this point in the history
Fixes #3386 - Separate input validation animation from other checkmarks
  • Loading branch information
Mike Taylor authored Jul 17, 2020
2 parents cefda25 + 6e23f9b commit 8886176
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions webcompat/static/css/src/issue-wizard-animations.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
/*
* step and form animations
*/
@keyframes checkmark {
0% {
opacity: 0;
transform: scale(.8);
}
50% {
transform: scale(1.3);
}
100% {
opacity: 1;
transform: scale(1);
}
}

@keyframes validated {
0% {
Expand Down
2 changes: 1 addition & 1 deletion webcompat/static/css/src/issue-wizard-textarea.css
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
.progress-textarea .progress.complete .tick {
animation-duration: .25s;
animation-fill-mode: forwards;
animation-name: validated;
animation-name: checkmark;
}

.char-limit {
Expand Down
2 changes: 1 addition & 1 deletion webcompat/static/css/src/issue-wizard.css
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@
align-items: center;
animation-duration: .25s;
animation-fill-mode: forwards;
animation-name: validated;
animation-name: checkmark;
background-color: var(--issue-selected-outline);
border: 2px solid var(--color-bg-box);
border-radius: 50%;
Expand Down

0 comments on commit 8886176

Please sign in to comment.