lostplaces-frontend/components/03_Organisms/imageGrid/_imageGrid.scss

37 lines
690 B
SCSS

.LP-ImageGrid{
@include RV-FlexGrid(290px, 200px);
@include RV-ElementList;
@include RV-Spacing__Inner--small;
&__Item {
position: relative;
@include RV-ContentCrop;
}
i
&__DeleteItem {
display: table-cell;
opacity: 0.7;
visibility: hidden;
position: absolute;
top: $-spacing-small;
right: $-spacing-small;
background-color: $-light-brown;
border-radius: 50%;
height: $-spacing-large;
width: $-spacing-large;
line-height: $-spacing-large;
vertical-align: middle;
.LP-Icon{
height: $-spacing-medium;
width: $-spacing-medium;
position:relative;
top: calc(50% - 18.75px);
}
}
&__Item:hover &__DeleteItem {
visibility: visible;
}
}