сделал переключение в кабинете
This commit is contained in:
@@ -1291,6 +1291,9 @@ main{
|
||||
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
.cabinet-control__button:first-child{
|
||||
margin-left: 0;
|
||||
}
|
||||
.cabinet-control__button.active{
|
||||
background: var(--background-black);
|
||||
color: var(--text-white);
|
||||
|
||||
@@ -110,15 +110,27 @@ main{
|
||||
/* cabinet */
|
||||
.cabinet{
|
||||
flex-direction: column;
|
||||
|
||||
position: relative;
|
||||
|
||||
}
|
||||
.cabinet__control{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
position: relative;
|
||||
}
|
||||
.cabinet__orders, .cabinet__profile{
|
||||
width: 100%;
|
||||
width: calc(100% - 48px);
|
||||
}
|
||||
.cabinet__orders, .cabinet__profile{
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
|
||||
transition: opacity .2s ease-out;
|
||||
}
|
||||
.cabinet__orders.active, .cabinet__profile.active{
|
||||
opacity: 1;
|
||||
}
|
||||
/* cabinet */
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user