Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
position: relative;
|
||||
display: block;
|
||||
background: $-almost-white;
|
||||
transition: background .3s;
|
||||
|
||||
.LP-Icon {
|
||||
width: $-spacing-large;
|
||||
@@ -38,8 +39,9 @@
|
||||
position: absolute;
|
||||
top: $-spacing-small;
|
||||
right: $-spacing-small;
|
||||
background-color: $-light-brown;
|
||||
background-color: transparent;
|
||||
border-radius: 50%;
|
||||
transition: background .2s;
|
||||
|
||||
height: $-spacing-large;
|
||||
width: $-spacing-large;
|
||||
@@ -54,6 +56,7 @@
|
||||
}
|
||||
|
||||
&__Item>.LP-Link:hover + &__DeleteItem, &__DeleteItem:hover {
|
||||
background-color: $-light-brown;
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
@@ -75,6 +78,10 @@
|
||||
left: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
img {
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
&:target {
|
||||
visibility: visible;
|
||||
display: grid;
|
||||
@@ -119,3 +126,13 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.LP-Select {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
transition: box-shadow .3s;
|
||||
}
|
||||
|
||||
.LP-Select:checked, :checked + .LP-Select, .LP-Select--active {
|
||||
box-shadow: 0 0 3px 3px #C09F80;
|
||||
}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
{{#each images}}
|
||||
<li class="LP-ImageGrid__Item">
|
||||
<a href="#{{this.current_id}}" class="LP-Link">
|
||||
<img class="LP-Image" src="{{this.url}}">
|
||||
<img class="LP-Image" src="{{this}}">
|
||||
</a>
|
||||
<span class="LP-ImageGrid__DeleteItem" title="Bild löschen">
|
||||
<a href="#" class="LP-Link">
|
||||
|
@@ -8,6 +8,7 @@
|
||||
border-left: 1px solid $-light-brown;
|
||||
width: calc(100% - 1px);
|
||||
overflow: hidden;
|
||||
transition: background .3s, color .5s;
|
||||
|
||||
@include RV-Alignment--verticalCenter;
|
||||
@include RV-FlexRow__Container;
|
||||
|
Reference in New Issue
Block a user