fix and add documents view
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
.city-map__label {
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
bottom: calc(50% + (var(--radius-px, 80px) / 2) + 6px);
|
||||
bottom: calc(20% + (var(--radius-px, 80px) / 2) + 6px);
|
||||
display: none;
|
||||
padding: 0 4px;
|
||||
color: var(--color-text);
|
||||
|
||||
@@ -26,75 +26,3 @@
|
||||
height: 120px;
|
||||
background: linear-gradient(to bottom, transparent, var(--color-bg));
|
||||
}
|
||||
|
||||
.owned-photo {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 220px;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--color-accent-strong);
|
||||
border-radius: 16px;
|
||||
background: var(--color-surface);
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
.owned-photo img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.owned-photo__badge {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
bottom: 12px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 5px 11px;
|
||||
overflow: visible;
|
||||
border-radius: 10px;
|
||||
background: rgb(18 17 15 / 82%);
|
||||
color: var(--color-accent-soft);
|
||||
font-size: 13px;
|
||||
font-weight: 500;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.photo-viewer {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 40;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 56px 16px 24px;
|
||||
background: rgb(18 17 15 / 94%);
|
||||
}
|
||||
|
||||
.photo-viewer img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.photo-viewer__close {
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 16px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: 14px;
|
||||
background: rgb(28 26 23 / 86%);
|
||||
color: var(--color-text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user