buttons styling

This commit is contained in:
kurpfish 2021-08-11 14:37:20 +03:00
parent 596c54b002
commit 6e2952c435
5 changed files with 53 additions and 34 deletions

View File

@ -67,6 +67,7 @@ const AuthForDevelopers = () => {
onChange={(e) => setPassword(e.target.value)} onChange={(e) => setPassword(e.target.value)}
/> />
<div className={style.form__buttons}>
<button <button
className={style.form__btn} className={style.form__btn}
onClick={!isLoading ? (e) => { onClick={!isLoading ? (e) => {
@ -88,6 +89,8 @@ const AuthForDevelopers = () => {
<button className={`${style.form__btn__partners} ${style.auth__link}`}> <button className={`${style.form__btn__partners} ${style.auth__link}`}>
<Link to='/auth'>Для партнёров</Link> <Link to='/auth'>Для партнёров</Link>
</button> </button>
</div>
</form> </form>
</div> </div>
</div> </div>

View File

@ -132,8 +132,14 @@
outline: none; outline: none;
} }
.form__buttons {
display: flex;
justify-content: start;
align-items: center;
}
.form__btn { .form__btn {
width: 288px; width: 268px;
height: 75px; height: 75px;
box-shadow: 6px 5px 20px rgba(82, 151, 34, 0.21); box-shadow: 6px 5px 20px rgba(82, 151, 34, 0.21);
border-radius: 38px; border-radius: 38px;
@ -154,6 +160,7 @@
line-height: 71.88px; line-height: 71.88px;
text-align: center; text-align: center;
border: 2px solid #6aaf5c; border: 2px solid #6aaf5c;
margin-right: 1.5rem;
} }
.form__btn:hover .loader * { .form__btn:hover .loader * {
@ -169,7 +176,7 @@
} }
.form__btn__partners { .form__btn__partners {
width: 288px; width: 268px;
height: 75px; height: 75px;
border-radius: 38px; border-radius: 38px;
background-color: #ffffff; background-color: #ffffff;
@ -432,7 +439,6 @@
.auth__link { .auth__link {
display: block; display: block;
margin-top: 1.3rem;
} }

View File

@ -62,6 +62,7 @@ const AuthForPartners = () => {
onChange={(e) => setPassword(e.target.value)} onChange={(e) => setPassword(e.target.value)}
/> />
<div className={style.form__buttons}>
<button <button
className={style.form__btn} className={style.form__btn}
onClick={!isLoading ? (e) => { onClick={!isLoading ? (e) => {
@ -83,6 +84,7 @@ const AuthForPartners = () => {
<button className={`${style.form__btn__dev} ${style.auth__link}`}> <button className={`${style.form__btn__dev} ${style.auth__link}`}>
<Link to='/authdev'>Для разработчиков</Link> <Link to='/authdev'>Для разработчиков</Link>
</button> </button>
</div>
</form> </form>
</div> </div>
</div> </div>

View File

@ -132,8 +132,14 @@
outline: none; outline: none;
} }
.form__buttons {
display: flex;
justify-content: start;
align-items: center;
}
.form__btn { .form__btn {
width: 288px; width: 268px;
height: 75px; height: 75px;
box-shadow: 6px 5px 20px rgba(82, 151, 34, 0.21); box-shadow: 6px 5px 20px rgba(82, 151, 34, 0.21);
border-radius: 38px; border-radius: 38px;
@ -154,6 +160,7 @@
line-height: 71.88px; line-height: 71.88px;
text-align: center; text-align: center;
border: 2px solid #6aaf5c; border: 2px solid #6aaf5c;
margin-right: 1.5rem;
} }
.form__btn:hover { .form__btn:hover {
@ -166,7 +173,7 @@
.form__btn__dev { .form__btn__dev {
width: 288px; width: 268px;
height: 75px; height: 75px;
border-radius: 38px; border-radius: 38px;
background-color: #ffffff; background-color: #ffffff;
@ -430,7 +437,6 @@
.auth__link { .auth__link {
display: block; display: block;
margin-top: 1.3rem;
} }
.auth__link a { .auth__link a {

View File

@ -1,7 +1,7 @@
.logout-button { .logout-button {
position: fixed; position: fixed;
top: 2rem; top: 70px;
right: 3.5rem; right: 2.5rem;
z-index: 100; z-index: 100;
} }
@ -10,21 +10,23 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin: 0; margin: 0;
padding: 1rem 2rem; width: 131px;
border-radius: 20px; height: 40px;
border-radius: 10px;
font-family: 'Muller';
font-size: 1.6em;
letter-spacing: 0.8px;
background-color: #6aaf5c; background-color: #6aaf5c;
color: #ffffff; color: #ffffff;
border: 2px solid #6aaf5c; border: 3px solid #6aaf5c;
font-family: 'Muller'; font-family: 'Muller';
font-size: 2em;
letter-spacing: normal;
text-align: center; text-align: center;
} }
.logout-button:hover button { .logout-button:hover button {
background-color: #ffffff; background-color: #ffffff;
color: #6aaf5c; color: #6aaf5c;
border: 2px solid #6aaf5c; border: 3px solid #6aaf5c;
box-shadow: 3px 2px 5px rgba(82, 151, 34, 0.21); box-shadow: 3px 2px 5px rgba(82, 151, 34, 0.21);
transition: .3s; transition: .3s;
} }