Refine BIM comment modal controls
This commit is contained in:
+50
-10
@@ -1583,6 +1583,7 @@ header {
|
||||
.comment-card-modal {
|
||||
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-surface: rgba(28, 28, 31, 0.76);
|
||||
--ops-detail-surface-strong: rgba(32, 32, 35, 0.92);
|
||||
@@ -1607,6 +1608,15 @@ header {
|
||||
-webkit-backdrop-filter: blur(30px) saturate(1.08);
|
||||
}
|
||||
|
||||
.comment-card-modal.is-expanded {
|
||||
top: 16px !important;
|
||||
left: 16px !important;
|
||||
width: calc(100vw - 32px);
|
||||
max-height: calc(100vh - 32px);
|
||||
height: calc(100vh - 32px);
|
||||
border-radius: 26px;
|
||||
}
|
||||
|
||||
.comment-card-modal.hidden {
|
||||
display: none;
|
||||
}
|
||||
@@ -1614,7 +1624,7 @@ header {
|
||||
.comment-card-modal__header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
min-height: 64px;
|
||||
padding: 20px 28px 8px;
|
||||
cursor: grab;
|
||||
@@ -1794,6 +1804,14 @@ header {
|
||||
color: rgba(255, 255, 255, 0.95);
|
||||
}
|
||||
|
||||
.bim-subitem-menu {
|
||||
z-index: 30070;
|
||||
display: grid;
|
||||
gap: 0.18rem;
|
||||
min-width: 17.25rem;
|
||||
max-width: min(22rem, calc(100vw - 24px));
|
||||
}
|
||||
|
||||
.ops-comment-subitems,
|
||||
.comment-attachments,
|
||||
.comment-thread {
|
||||
@@ -1830,13 +1848,19 @@ header {
|
||||
background: rgba(255, 255, 255, 0.026);
|
||||
}
|
||||
|
||||
.ops-comment-subitem[data-kind="text"] {
|
||||
grid-template-columns: minmax(0, 1fr) 28px;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.ops-comment-subitem input[type="checkbox"] {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
accent-color: var(--accent);
|
||||
accent-color: var(--ops-comment-accent);
|
||||
}
|
||||
|
||||
.ops-comment-subitem input[type="text"] {
|
||||
.ops-comment-subitem input[type="text"],
|
||||
.ops-comment-subitem textarea {
|
||||
min-width: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
@@ -1846,6 +1870,12 @@ header {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.ops-comment-subitem textarea {
|
||||
min-height: 84px;
|
||||
line-height: 1.45;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.ops-comment-subitem button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
@@ -1877,12 +1907,12 @@ header {
|
||||
}
|
||||
|
||||
.ops-detail-dropzone.drag-over {
|
||||
background: color-mix(in srgb, var(--accent) 18%, rgba(255, 255, 255, 0.04));
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 44%, transparent);
|
||||
background: color-mix(in srgb, var(--ops-comment-accent) 18%, rgba(255, 255, 255, 0.04));
|
||||
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ops-comment-accent) 44%, transparent);
|
||||
}
|
||||
|
||||
.ops-detail-dropzone__icon {
|
||||
color: var(--accent);
|
||||
color: var(--ops-comment-accent);
|
||||
}
|
||||
|
||||
.ops-detail-dropzone__copy {
|
||||
@@ -1909,7 +1939,7 @@ header {
|
||||
border: 0;
|
||||
border-radius: 13px;
|
||||
background: transparent;
|
||||
color: var(--accent);
|
||||
color: var(--ops-comment-accent);
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
@@ -2121,8 +2151,8 @@ header {
|
||||
.comment-card-modal__footer {
|
||||
position: sticky;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 10px;
|
||||
padding: 14px 32px 18px;
|
||||
background: var(--ops-detail-bg);
|
||||
@@ -2131,7 +2161,17 @@ header {
|
||||
|
||||
.comment-card-modal__footer .primary-btn,
|
||||
.comment-card-modal__footer .secondary-btn {
|
||||
min-width: 148px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.comment-card-modal .primary-btn {
|
||||
background: var(--ops-comment-accent);
|
||||
color: var(--toolbar-bg-active-contrast, #15170f);
|
||||
box-shadow: 0 8px 24px color-mix(in srgb, var(--ops-comment-accent) 24%, transparent);
|
||||
}
|
||||
|
||||
.comment-card-modal .primary-btn:not(:disabled):hover {
|
||||
box-shadow: 0 10px 30px color-mix(in srgb, var(--ops-comment-accent) 30%, transparent);
|
||||
}
|
||||
|
||||
.comment-card-modal .error-text {
|
||||
|
||||
Reference in New Issue
Block a user