update: show loading & success state on vote-btn, fix multiline bug on story-form title input

This commit is contained in:
MTG2000
2022-07-15 12:21:11 +03:00
parent f6b381ec23
commit 04397351bd
4 changed files with 96 additions and 18 deletions

View File

@@ -106,6 +106,38 @@
);
}
.loading {
pointer-events: none;
position: absolute;
border-radius: inherit;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #f9f6f6;
font-size: 14px;
color: #dc2626;
z-index: 10;
}
.success {
pointer-events: none;
position: absolute;
border-radius: inherit;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
background-color: #f9f6f6;
font-weight: 600;
font-size: 14px;
color: #dc2626;
outline: 1px solid #ef4444;
z-index: 11;
}
@keyframes fly_value {
0% {
transform: translate(-50%, 0) scale(0.5);