Merge branch 'master' of mowoe.com:reverend/lostplaces-frontend

This commit is contained in:
Marcus Scholz 2021-10-02 09:30:50 +02:00
commit 8aff544de6
7 changed files with 27 additions and 5 deletions

View File

@ -1,7 +1,7 @@
.LP-Link { .LP-Link {
color: $-light-brown; color: $-light-brown;
text-decoration: none; text-decoration: none;
font-family: $-primary-serif-font; font-family: $-primary-sans-serif-font;
&:hover { &:hover {
color: $-grey; color: $-grey;
text-decoration: underline; text-decoration: underline;

View File

@ -1,5 +1,3 @@
<p class="LP-Paragraph"> <p class="LP-Paragraph">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
<a href="{{url}}" class="LP-Link"><span class="LP-Link__Text">{{text}}</span></a> <a href="{{url}}" class="LP-Link"><span class="LP-Link__Text">{{text}}</span></a>
sanctus est Lorem ipsum dolor sit amet
</p> </p>

View File

@ -6,6 +6,7 @@
@include RV-FlexRow__Container; @include RV-FlexRow__Container;
height: min-content; height: min-content;
gap: 3px; gap: 3px;
transition: background .3s;
&__Remove { &__Remove {
.RV-Iconized__Icon { .RV-Iconized__Icon {

View File

@ -14,6 +14,10 @@
text-align: center; text-align: center;
background-color: transparent; background-color: transparent;
.LP-Paragraph {
margin-bottom: 0;
}
.LP-Link{ .LP-Link{
display: block; display: block;
padding: 15px 0; padding: 15px 0;
@ -43,6 +47,7 @@
text-align: left; text-align: left;
margin-bottom: 10px; margin-bottom: 10px;
padding-left: 25px; padding-left: 25px;
transition: background .2s;
&--additional{ &--additional{
background-color: #ccc; background-color: #ccc;

View File

@ -14,6 +14,7 @@
position: relative; position: relative;
display: block; display: block;
background: $-almost-white; background: $-almost-white;
transition: background .3s;
.LP-Icon { .LP-Icon {
width: $-spacing-large; width: $-spacing-large;
@ -38,8 +39,9 @@
position: absolute; position: absolute;
top: $-spacing-small; top: $-spacing-small;
right: $-spacing-small; right: $-spacing-small;
background-color: $-light-brown; background-color: transparent;
border-radius: 50%; border-radius: 50%;
transition: background .2s;
height: $-spacing-large; height: $-spacing-large;
width: $-spacing-large; width: $-spacing-large;
@ -54,6 +56,7 @@
} }
&__Item>.LP-Link:hover + &__DeleteItem, &__DeleteItem:hover { &__Item>.LP-Link:hover + &__DeleteItem, &__DeleteItem:hover {
background-color: $-light-brown;
visibility: visible; visibility: visible;
} }
@ -75,6 +78,10 @@
left: 0; left: 0;
box-sizing: border-box; box-sizing: border-box;
img {
object-fit: contain;
}
&:target { &:target {
visibility: visible; visibility: visible;
display: grid; display: grid;
@ -119,3 +126,13 @@
opacity: 1; 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;
}

View File

@ -4,7 +4,7 @@
{{#each images}} {{#each images}}
<li class="LP-ImageGrid__Item"> <li class="LP-ImageGrid__Item">
<a href="#{{this.current_id}}" class="LP-Link"> <a href="#{{this.current_id}}" class="LP-Link">
<img class="LP-Image" src="{{this.url}}"> <img class="LP-Image" src="{{this}}">
</a> </a>
<span class="LP-ImageGrid__DeleteItem" title="Bild löschen"> <span class="LP-ImageGrid__DeleteItem" title="Bild löschen">
<a href="#" class="LP-Link"> <a href="#" class="LP-Link">

View File

@ -8,6 +8,7 @@
border-left: 1px solid $-light-brown; border-left: 1px solid $-light-brown;
width: calc(100% - 1px); width: calc(100% - 1px);
overflow: hidden; overflow: hidden;
transition: background .3s, color .5s;
@include RV-Alignment--verticalCenter; @include RV-Alignment--verticalCenter;
@include RV-FlexRow__Container; @include RV-FlexRow__Container;