apps/web: fix submit button color animation
This commit is contained in:
parent
51eb5ad130
commit
410a35d451
@ -27,8 +27,7 @@
|
||||
|
||||
.button-telegram {
|
||||
@extend .button-submit;
|
||||
// background-color: #54a9eb;
|
||||
background: linear-gradient(90deg, #54a9eb 50%, var(--color-primary) 100%);
|
||||
background-color: var(--color-primary);
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
@ -41,6 +40,17 @@
|
||||
b {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
animation: colorTransition 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
|
||||
}
|
||||
|
||||
@keyframes colorTransition {
|
||||
0% {
|
||||
background-color: var(--color-primary);
|
||||
}
|
||||
100% {
|
||||
background-color: #54a9eb;
|
||||
}
|
||||
}
|
||||
|
||||
.button-telegram-icon {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user