🚚 make form feedback styles global

This commit is contained in:
DrMaxNix 2024-07-29 19:19:46 +02:00
parent 8932b35e3f
commit e9557b04f2
2 changed files with 32 additions and 32 deletions

View File

@ -22,37 +22,6 @@
}
}
.form-feedback {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
}
.form-feedback .centertext {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
gap: 0.5rem;
}
.form-feedback-wait {
color: var(--color-blue);
}
.form-feedback-success {
color: var(--color-green);
}
.form-feedback-failure {
color: var(--color-red);
}

View File

@ -770,12 +770,43 @@ input::placeholder {
color: var(--color-bg);
}
.form-feedback {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
}
.form-feedback .centertext {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
gap: 0.5rem;
}
.form-feedback-wait {
color: var(--color-blue);
}
.form-feedback-success {
color: var(--color-green);
}
.form-feedback-failure {
color: var(--color-red);
}
/* ANIMATION KIT */
.form-feedback .spinning {
.spinning {
animation-name: spinning;
animation-duration: 0.5s;
animation-iteration-count: infinite;