Fixed renaming

This commit is contained in:
reverend 2020-08-01 10:30:38 +02:00
parent 1eeb187efa
commit 3404c1fd28
3 changed files with 14 additions and 14 deletions

View File

@ -1,7 +1,7 @@
.LP-Place{
.LP-PlaceTeaser{
width: 280px;
.LP-Place__Image{
.LP-PlaceTeaser__Image{
height: 165px;
width: 280px;
overflow: hidden;
@ -13,7 +13,7 @@
}
}
.LP-Place__Meta{
.LP-PlaceTeaser__Meta{
display: flex;
align-items: center;
justify-content: space-between;
@ -36,7 +36,7 @@
}
}
.LP-Place__Description{
.LP-PlaceTeaser__Description{
font-family: $-primary-sans-serif-accent-font;
color: $-grey;
display: none;

View File

@ -1,16 +1,16 @@
<article class="LP-Place">
<div class="LP-Place__Image">
<article class="LP-PlaceTeaser">
<div class="LP-PlaceTeaser__Image">
<img class="LP-Image" src="{{image}}"/>
</div>
<div class="LP-Place__Meta">
<div class="LP-Place__Info">
<span class="LP-Place__Title">{{> @headline headline=title modifier='--teaser'}}</span>
<span class="LP-Place__Detail" >{{> @paragraph text=location}}</span>
<div class="LP-PlaceTeaser__Meta">
<div class="LP-PlaceTeaser__Info">
<span class="LP-PlaceTeaser__Title">{{> @headline headline=title modifier='--teaser'}}</span>
<span class="LP-PlaceTeaser__Detail" >{{> @paragraph text=location}}</span>
</div>
<div class="LP-Place__Description">
<div class="LP-PlaceTeaser__Description">
{{> @paragraph text=description}}
</div>
<div class="LP-Place__Icons">
<div class="LP-PlaceTeaser__Icons">
<ul class="LP-Icon__List">
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/favourite.svg"/></li>
<li class="LP-Icon__Item"><img class="LP-Icon" src="/icons/location.svg"/></li>

View File

@ -13,9 +13,9 @@
}
.LP-Link{
.LP-Place{
.LP-PlaceTeaser{
&:hover{
box-shadow: 0 0 8px $-grey;
box-shadow: 0 0 2px $-grey;
}
}
}