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

View File

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

View File

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

View File

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

View File

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