сделал переключение в кабинете

This commit is contained in:
Kirill Pet committed 2024-10-24 17:42:32 +03:00
1 parent e0cc1b1e0c
commit d5ea9b0a34
6 files changed
+342 -100

No files matched your search

+3
View File
@@ -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);
+14 -2
View File
@@ -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 */
}