0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added basic styles for signup form states

refs: https://github.com/TryGhost/Team/issues/3256
This commit is contained in:
Jono Mingard 2023-05-22 12:02:31 +12:00
parent 82acf85b29
commit b74ee95240

View file

@ -106,7 +106,6 @@
/* Subscribe form */
.kg-signup-card-form {
display: flex;
margin: 2.8em 0 0;
}
@ -118,6 +117,10 @@
margin: 4em 0 0;
}
.kg-signup-card-fields {
display: flex;
}
.kg-signup-card-input {
min-width: 300px;
border: solid 1px;
@ -175,6 +178,36 @@
margin-top: 2em;
}
/* Subscribe form states */
.kg-signup-card-success,
.kg-signup-card-error {
display: none;
}
.kg-signup-card-form.success .kg-signup-card-fields {
display: none;
}
.kg-signup-card-form.success .kg-signup-card-success {
display: block;
}
.kg-signup-card-form.error .kg-signup-card-error {
display: block;
}
.kg-signup-card-button-loading {
display: none;
}
.kg-signup-card-form.loading .kg-signup-card-button-default {
display: none;
}
.kg-signup-card-form.loading .kg-signup-card-button-loading {
display: inline-block;
}
/* Disclaimer */