Polish BIM shared viewer controls

This commit is contained in:
CODEX
2026-06-22 23:05:15 +03:00
parent fcfa59ec98
commit f680d6bad2
12 changed files with 367 additions and 77 deletions
+73 -4
View File
@@ -1183,6 +1183,74 @@ header {
min-width: 0;
}
.inspector-color-host {
min-width: 0;
}
.inspector-color-host .env-color-field {
display: flex;
width: 100%;
min-width: 0;
height: 40px;
align-items: center;
gap: 8px;
box-sizing: border-box;
padding: 5px 10px 5px 7px;
border-radius: 14px;
background: var(--nodedc-glass-control-bg);
box-shadow: var(--nodedc-glass-control-shadow);
backdrop-filter: blur(24px) saturate(128%) brightness(1.05);
-webkit-backdrop-filter: blur(24px) saturate(128%) brightness(1.05);
}
.inspector-color-host .env-color-field__swatch {
position: relative;
width: 26px;
height: 26px;
min-height: 26px;
flex: 0 0 26px;
overflow: hidden;
border-radius: 999px;
cursor: pointer;
}
.inspector-color-host .env-color-field__preview {
position: absolute;
inset: 0;
border-radius: inherit;
}
.inspector-color-host .env-color-field__swatch input[type="color"] {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
padding: 0;
opacity: 0;
cursor: pointer;
}
.inspector-color-host .env-color-field__value {
height: 32px;
min-height: 32px;
flex: 1 1 auto;
min-width: 0;
}
.inspector-color-host .env-color-field__value input {
width: 100%;
height: 100%;
box-sizing: border-box;
border: 0;
padding: 0 2px;
background: transparent;
color: rgba(255, 255, 255, 0.66);
font-size: 12px;
font-weight: 760;
letter-spacing: 0;
text-align: center;
}
.nodedc-select {
position: relative;
min-width: 0;
@@ -3102,10 +3170,11 @@ header {
box-shadow: none;
}
body[data-viewer-mode="guest"] .bottom-toolbar,
body[data-viewer-mode="guest"] .section-toolbar,
body[data-viewer-mode="guest"] .section-overview,
body[data-viewer-mode="guest"] .inspector-restore-tray {
body[data-viewer-mode="guest"] .tb-btn:not([data-action="measure"]):not([data-action="section"]):not([data-action="projection"]),
body[data-viewer-mode="guest"] #settingsPanel,
body[data-viewer-mode="guest"] #templatesPanel,
body[data-viewer-mode="guest"] #projectNameSection,
body[data-viewer-mode="guest"] #saveProjectSection {
display: none !important;
}