Using overlaybutton for 'delete' function

This commit is contained in:
reverend 2021-01-07 00:17:01 +01:00
parent 2350a84dc2
commit 4991dd276b
2 changed files with 30 additions and 4 deletions

View File

@ -8,6 +8,12 @@ RV-ImageGrid()
&__Item &__Item
RV-ContentCrop() RV-ContentCrop()
RV-ContentCrop--center() RV-ContentCrop--center()
RV-OverlayButton__Item()
&__Button
RV-OverlayButton__Button()
RV-OverlayButton__Button--topRight()
RV-OverlayButton__Button--medium()
.RV-ImageGrid .RV-ImageGrid
RV-ImageGrid() RV-ImageGrid()

View File

@ -1,8 +1,28 @@
<div class="RV-ImageGrid"> <div class="RV-ImageGrid">
<ul class="RV-ImageGrid__Container"> <ul class="RV-ImageGrid__Container">
<li class="RV-ImageGrid__Item"><div class="RV-Image"><img src="{{path '/images/hasi01.png'}}" alt=""></div></li> <li class="RV-ImageGrid__Item">
<li class="RV-ImageGrid__Item"><div class="RV-Image"><img src="{{path '/images/hasi02.jpeg'}}" alt=""></div></li> <a href="#" class="RV-ImageGrid__Button RV-ImageGrid__Button--circle">&#215;</a>
<li class="RV-ImageGrid__Item"><div class="RV-Image"><img src="{{path '/images/hasi03.jpeg'}}" alt=""></div></li> <div class="RV-Image">
<li class="RV-ImageGrid__Item"><div class="RV-Image"><img src="{{path '/images/hasi04.png'}}" alt=""></div></li> <img src="{{path '/images/hasi01.png'}}" alt="">
</div>
</li>
<li class="RV-ImageGrid__Item">
<a href="#" class="RV-ImageGrid__Button RV-ImageGrid__Button--circle">&#215;</a>
<div class="RV-Image">
<img src="{{path '/images/hasi02.jpeg'}}" alt="">
</div>
</li>
<li class="RV-ImageGrid__Item">
<a href="#" class="RV-ImageGrid__Button RV-ImageGrid__Button--circle">&#215;</a>
<div class="RV-Image">
<img src="{{path '/images/hasi03.jpeg'}}" alt="">
</div>
</li>
<li class="RV-ImageGrid__Item">
<a href="#" class="RV-ImageGrid__Button RV-ImageGrid__Button--circle">&#215;</a>
<div class="RV-Image">
<img src="{{path '/images/hasi04.png'}}" alt="">
</div>
</li>
</ul> </ul>
</div> </div>