lostplaces-frontend/components/03_Organisms/placeList/_placeList.scss

58 lines
1.4 KiB
SCSS

.LP-Place__List{
list-style-type: none;
.LP-Link{
.LP-Place{
&:hover{
color: $-secondary-color;
background-color: $-secondary-background-color;
$-hover-offset: 2px;
position: relative;
left: -$-hover-offset;
>.LP-Place__Image{
border-left: $-hover-offset $-secondary-color solid;
}
}
}
}
.LP-Place__Item{
max-width: 900px;
min-width: 450px;
margin: 18px 0;
.LP-Place{
display: flex;
flex-direction: row;
width: auto;
padding-right: 25px;
.LP-Place__Assets{
margin: 0;
padding: 0;
padding-left: 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
.LP-Place__Info{
.LP-Place__Title{
font-size: 28px;
}
}
.LP-Icon__List{
justify-self: flex-end;
}
}
>.LP-Place__Image{
height:168px;
width: 280px;
}
}
}
}