feat(SW-1936): update room card ui * feat(SW-1936): update room card ui Approved-by: Linus Flood
66 lines
1.2 KiB
CSS
66 lines
1.2 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.imageCount {
|
|
position: absolute;
|
|
bottom: var(--Space-x2);
|
|
right: var(--Space-x2);
|
|
background-color: var(--Overlay-90);
|
|
padding: var(--Space-x025) var(--Space-x05);
|
|
border-radius: var(--Corner-radius-sm);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--Space-x025);
|
|
color: var(--Text-Inverted);
|
|
}
|
|
|
|
.imageCountBottom {
|
|
bottom: var(--Space-x2);
|
|
top: auto;
|
|
}
|
|
|
|
.imageCountTop {
|
|
top: var(--Space-x2);
|
|
bottom: auto;
|
|
}
|
|
|
|
.triggerArea {
|
|
background-color: transparent;
|
|
border-width: 0;
|
|
padding: 0;
|
|
position: absolute;
|
|
inset: 0;
|
|
cursor: pointer;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: inherit;
|
|
}
|
|
|
|
.imagePlaceholder {
|
|
height: 100%;
|
|
min-height: 190px;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
background-image:
|
|
linear-gradient(45deg, #000000 25%, transparent 25%),
|
|
linear-gradient(-45deg, #000000 25%, transparent 25%),
|
|
linear-gradient(45deg, transparent 75%, #000000 75%),
|
|
linear-gradient(-45deg, transparent 75%, #000000 75%);
|
|
background-size: 180px 180px;
|
|
background-position:
|
|
0 0,
|
|
0 90px,
|
|
90px -90px,
|
|
-90px 0;
|
|
}
|