modal-auth.scss 2.7 KB
@import "../../vars";
@import "../../mixins";

.modal-auth {
    left: 30%;
    top: 25%;
    max-width: 708px;
    width: 100%;
    padding: 40px 140px;
    display: flex;
    flex-direction: column;

    &__close {
        top: -82px;
        right: -575px;
    }

    &__title {
        font-weight: 700;
        font-size: 48px;
        line-height: 100%;
        color: $vmainGrey;
        align-self: center;
    }

    &--hidden {
        display: none;
    }
}

.modal-auth-form {
    margin-top: 56px;
    position: relative;
}

.modal-auth-show-pass {
    position: absolute;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.83 9L15 12.16V12C15 11.2044 14.6839 10.4413 14.1213 9.87868C13.5587 9.31607 12.7956 9 12 9H11.83ZM7.53 9.8L9.08 11.35C9.03 11.56 9 11.77 9 12C9 12.7956 9.31607 13.5587 9.87868 14.1213C10.4413 14.6839 11.2044 15 12 15C12.22 15 12.44 14.97 12.65 14.92L14.2 16.47C13.53 16.8 12.79 17 12 17C10.6739 17 9.40215 16.4732 8.46447 15.5355C7.52678 14.5979 7 13.3261 7 12C7 11.21 7.2 10.47 7.53 9.8ZM2 4.27L4.28 6.55L4.73 7C3.08 8.3 1.78 10 1 12C2.73 16.39 7 19.5 12 19.5C13.55 19.5 15.03 19.2 16.38 18.66L16.81 19.08L19.73 22L21 20.73L3.27 3M12 7C13.3261 7 14.5979 7.52678 15.5355 8.46447C16.4732 9.40215 17 10.6739 17 12C17 12.64 16.87 13.26 16.64 13.82L19.57 16.75C21.07 15.5 22.27 13.86 23 12C21.27 7.61 17 4.5 12 4.5C10.6 4.5 9.26 4.75 8 5.2L10.17 7.35C10.74 7.13 11.35 7 12 7Z' fill='%23ABB2BF'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    width: 24px;
    height: 24px;
    bottom: 52%;
    right: 28px;
}

//ошибка e-mail
.auth-label-mail {
    position: relative;
}

// .auth-mail-err {
//     border-bottom: 1px solid #EB5757;
// }

.auth-mail-error {
    position: absolute;
    font-size: 12px;
    line-height: 15px;
    color: #EB5757;
    bottom: -65px;
    left: 0;

    &--hidden {
            display: none;
        }
}

// ошибка инпут пароль
// .auth-pass-err {
//     border-bottom: 1px solid #EB5757;
// }

.auth-label-pass {
    position: relative;
}

.auth-pass-error {
    position: absolute;
    font-size: 12px;
    line-height: 15px;
    color: #EB5757;
    bottom: -65px;
    left: 0;

    &--hidden {
        display: none;
    }
}

.modal-auth-bottom {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;

   &__reset {
        font-weight: 600;
        font-size: 16px;
        line-height: 22px;
        color: $vactiveOrange;
        margin-bottom: 30px;
   }

   &__note {
    align-self: center;
   } 
}

.modal-auth-overlay {

    &--hidden {
        display: none;
    }
}