Skip to content
Code-Schnipsel Gruppen Projekte
Bestätigt Commit a4c5390f erstellt von Michael Danielczok's avatar Michael Danielczok Committed von Jan Wennrich
Dateien durchsuchen

feat: use images in timeline

Related: #1
Übergeordneter 1d117739
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
4 Merge Requests!4Release,!3feat: use images in timeline,!2feat: use images in timeline,!1Add QUIQQER Tooling
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-radius: 50%; border-radius: 50%;
padding: 20px;
position: relative; position: relative;
margin-top: 12px; margin-top: 12px;
} }
...@@ -45,13 +44,31 @@ ...@@ -45,13 +44,31 @@
top: calc(50% - 20px); top: calc(50% - 20px);
background: none; background: none;
width: 0; width: 0;
height: 0px; height: 0;
border-right: none; border-right: none;
border-bottom: 20px solid transparent; border-bottom: 20px solid transparent;
border-top: 20px solid transparent; border-top: 20px solid transparent;
border-left: 30px solid #aaa; border-left: 30px solid #aaa;
} }
/* image */
.timeline-entry-icon-wrapper picture {
overflow: hidden;
border-radius: 50%;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.timeline-entry-icon-wrapper picture img.fill-image {
object-fit: cover;
width: 100%;
height: 100%;
}
/* line - middle */ /* line - middle */
.timeline-entry-line { .timeline-entry-line {
width: 60px; width: 60px;
......
...@@ -31,8 +31,9 @@ ...@@ -31,8 +31,9 @@
<div class="timeline-entry-icon"> <div class="timeline-entry-icon">
{if $Child->getAttribute('image_site')} {if $Child->getAttribute('image_site')}
<div class="timeline-entry-icon-wrapper"> <div class="timeline-entry-icon-wrapper">
{image src=$Child->getAttribute('image_site') width="500" type="resize" {image src=$Child->getAttribute('image_site') max-width="500" max-height="500" type="resize"
title="{$Child->getAttribute('title')}"} title="{$Child->getAttribute('title')}"
class="fill-image"}
</div> </div>
{/if} {/if}
</div> </div>
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren