Refine BIM comment modal glass and resize

This commit is contained in:
CODEX
2026-06-20 20:04:59 +03:00
parent 7d65070f59
commit 778a56ea39
3 changed files with 195 additions and 10 deletions
+82 -7
View File
@@ -720,11 +720,8 @@ header {
display: block;
width: 100%;
height: 100%;
fill: none;
stroke: currentColor;
stroke-width: 1.7;
stroke-linecap: round;
stroke-linejoin: round;
fill: currentColor;
stroke: none;
filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.48));
overflow: visible;
}
@@ -1491,6 +1488,10 @@ header {
#commentModalBackdrop {
z-index: 30045;
background: transparent;
backdrop-filter: none;
-webkit-backdrop-filter: none;
pointer-events: none;
}
.templates-panel.measurement-modal {
@@ -1632,7 +1633,7 @@ header {
position: fixed;
--env-control-h: 42px;
--ops-comment-accent: var(--comment-target-active, #c4ff67);
--ops-detail-bg: rgba(18, 18, 20, 0.96);
--ops-detail-bg: color-mix(in srgb, var(--modal-bg) var(--modal-bg-alpha, 100%), transparent);
--ops-detail-surface: rgba(28, 28, 31, 0.76);
--ops-detail-surface-strong: rgba(32, 32, 35, 0.92);
--ops-detail-border: rgba(255, 255, 255, 0.055);
@@ -1647,7 +1648,6 @@ header {
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 30px;
background:
radial-gradient(circle at 80% 20%, rgba(130, 58, 120, 0.13), transparent 34%),
linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
var(--ops-detail-bg);
box-shadow: 0 28px 80px rgba(0, 0, 0, 0.64);
@@ -1669,6 +1669,81 @@ header {
display: none;
}
.window-resize-handle {
position: absolute;
z-index: 4;
background: transparent;
touch-action: none;
}
.window-resize-handle--n,
.window-resize-handle--s {
left: 22px;
right: 22px;
height: 10px;
cursor: ns-resize;
}
.window-resize-handle--n {
top: 0;
}
.window-resize-handle--s {
bottom: 0;
}
.window-resize-handle--e,
.window-resize-handle--w {
top: 22px;
bottom: 22px;
width: 10px;
cursor: ew-resize;
}
.window-resize-handle--e {
right: 0;
}
.window-resize-handle--w {
left: 0;
}
.window-resize-handle--ne,
.window-resize-handle--nw,
.window-resize-handle--se,
.window-resize-handle--sw {
width: 22px;
height: 22px;
}
.window-resize-handle--ne {
top: 0;
right: 0;
cursor: nesw-resize;
}
.window-resize-handle--nw {
top: 0;
left: 0;
cursor: nwse-resize;
}
.window-resize-handle--se {
right: 0;
bottom: 0;
cursor: nwse-resize;
}
.window-resize-handle--sw {
left: 0;
bottom: 0;
cursor: nesw-resize;
}
.comment-card-modal.is-expanded .window-resize-handle {
display: none;
}
.comment-card-modal__header {
display: flex;
align-items: center;