design/assets/css/listings.css
2024-11-06 12:31:56 +02:00

148 lines
2.5 KiB
CSS

.listingGrid {
display: flex;
flex-direction: row;
grid-gap: 25px;
}
@media (max-width: 1200px) {
.listingGrid {
flex-direction: column;
}
}
.listingGridSec {
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.listingGridSecBox {
display: flex;
flex-direction: column;
grid-gap: 10px;
}
.listingGridSec.listingGridSecSide {
display: none;
min-width: 250px;
max-width: 250px;
position: relative;
}
@media (max-width: 1200px) {
.listingGridSec.listingGridSecSide {
min-width: unset;
max-width: unset;
}
}
.listingGridSec.listingGridSecSide.listingGridSecSideActive {
display: flex;
flex-direction: column;
}
.listingGridSec.listingGridSecSideBody {
grid-gap: 25px;
}
.listingGridSecBox.listingGridSecSideBox {
flex-wrap: wrap;
}
@media (max-width: 1200px) {
.listingGridSecBox.listingGridSecSideBox {
flex-direction: row;
}
}
.listingGridSecSideBoxList {
display: flex;
flex-direction: column;
grid-gap: 0px;
background: white;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 0 4px 0 rgb(0,0,0,0.1);
}
@media (max-width: 1200px) {
.listingGridSecSideBoxList {
width: 100%;
max-width: calc(50% - 5px);
}
}
@media (max-width: 576px) {
.listingGridSecSideBoxList {
max-width: 100%;
}
}
.btnMain.listingGridSecSideBoxListBtn {
background: white;
color: rgba(0,0,0,0.75);
justify-content: space-between;
display: flex;
flex-direction: row;
grid-gap: 10px;
border-radius: 0px;
}
.btnMain.listingGridSecSideBoxListBtn:hover {
background: white;
color: rgba(0,0,0,0.75);
border-radius: 0px;
}
.btnMain.listingGridSecSideBoxListBtn:hover > span {
padding: 0 0 0 5px;
}
.btnMain.listingGridSecSideBoxListBtn:hover > i {
}
.listingGridSecSideBoxListItems {
width: 100%;
display: flex;
flex-direction: column;
grid-gap: 10px;
max-height: 200px;
overflow: auto;
border-top: solid 1px rgba(0,0,0,0.1);
height: 0px;
padding: 0px;
}
.listingGridSecSideBoxListItems.listingGridSecSideBoxListItemsActive {
padding: 10px;
height: 100%;
}
.listingGridSecSideBoxListItemsItem {
transition: ease 0.4s;
width: 100%;
border-radius: 4px;
}
.listingGridSecSideBoxListBtnText {
transition: padding ease 0.4s;
}
.btnMainIcon.listingGridSecSideBoxListBtnIcon {
font-size: 24px;
}
.listingGridSecSideInside {
display: flex;
flex-direction: column;
grid-gap: 10px;
position: sticky;
top: 10px;
}
.containerMain.containerMainUnlocked {
max-width: unset;
}