diff --git a/peer-prep-fe/src/app/login/login.component.scss b/peer-prep-fe/src/app/login/login.component.css similarity index 75% rename from peer-prep-fe/src/app/login/login.component.scss rename to peer-prep-fe/src/app/login/login.component.css index 13a083e82c..75e6547eb4 100644 --- a/peer-prep-fe/src/app/login/login.component.scss +++ b/peer-prep-fe/src/app/login/login.component.css @@ -67,6 +67,9 @@ input.ng-valid.ng-touched { border-radius: 0.5rem; cursor: pointer; font-family: "Signika", sans-serif; + display: flex; + justify-content: center; + align-items: center; } .submit:hover { @@ -91,3 +94,28 @@ button:disabled { background-color: grey; cursor: not-allowed; } + +button:disabled:hover { + background-color: grey; + cursor: not-allowed; +} + +.spinner { + display: flex; + border: 3px solid #ffffff; + border-top: 3px solid rgb(255, 78, 196); + border-radius: 50%; + width: 30px; + height: 30px; + flex-direction: space-around; + animation: spin 1s linear infinite; +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + 100% { + transform: rotate(360deg); + } +} \ No newline at end of file diff --git a/peer-prep-fe/src/app/login/login.component.html b/peer-prep-fe/src/app/login/login.component.html index 657b7039db..863e33c0dd 100644 --- a/peer-prep-fe/src/app/login/login.component.html +++ b/peer-prep-fe/src/app/login/login.component.html @@ -2,14 +2,6 @@