Refine BIM glass theming and panel scroll layout
This commit is contained in:
+68
-35
@@ -68,11 +68,11 @@
|
||||
--comment-target-passive: #f5f5fa;
|
||||
--comment-target-passive-alpha: 0.58;
|
||||
--comment-target-passive-size: 22px;
|
||||
--nodedc-header-dropdown-bg: rgba(11, 11, 14, 0.94);
|
||||
--nodedc-header-dropdown-item-bg: rgba(42, 42, 46, 0.74);
|
||||
--nodedc-header-dropdown-item-hover-bg: rgba(42, 42, 46, 0.86);
|
||||
--nodedc-header-dropdown-item-active-bg: rgba(47, 47, 52, 0.96);
|
||||
--nodedc-header-dropdown-item-active-color: #ffffff;
|
||||
--nodedc-header-dropdown-bg: var(--nodedc-glass-panel-bg-strong);
|
||||
--nodedc-header-dropdown-item-bg: var(--nodedc-glass-control-bg);
|
||||
--nodedc-header-dropdown-item-hover-bg: var(--nodedc-glass-control-hover);
|
||||
--nodedc-header-dropdown-item-active-bg: var(--toolbar-bg-active);
|
||||
--nodedc-header-dropdown-item-active-color: var(--toolbar-bg-active-contrast);
|
||||
--nodedc-glass-panel-bg: rgba(28, 28, 30, 0.72);
|
||||
--nodedc-glass-panel-bg-strong: rgba(28, 28, 30, 0.82);
|
||||
--nodedc-glass-panel-bg-soft: rgba(28, 28, 30, 0.56);
|
||||
@@ -398,17 +398,17 @@ header {
|
||||
bottom: 12px;
|
||||
width: 320px;
|
||||
max-height: calc(100vh - 90px);
|
||||
overflow: auto;
|
||||
overflow: hidden;
|
||||
background: var(--nodedc-glass-panel-surface);
|
||||
border: 1px solid var(--nodedc-glass-outline);
|
||||
border-radius: var(--modal-radius, 16px);
|
||||
padding: 12px;
|
||||
padding: 0;
|
||||
box-shadow: var(--nodedc-glass-panel-shadow);
|
||||
backdrop-filter: var(--nodedc-glass-filter);
|
||||
-webkit-backdrop-filter: var(--nodedc-glass-filter);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
gap: 0;
|
||||
z-index: 11;
|
||||
display: none;
|
||||
}
|
||||
@@ -418,8 +418,7 @@ header {
|
||||
}
|
||||
|
||||
.inspector-panel-header {
|
||||
position: sticky;
|
||||
top: -12px;
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
flex: 0 0 auto;
|
||||
display: grid;
|
||||
@@ -428,9 +427,9 @@ header {
|
||||
gap: 10px;
|
||||
height: calc(var(--env-control-h) + 20px);
|
||||
min-height: var(--env-control-h);
|
||||
margin: -12px -12px 0;
|
||||
margin: 0;
|
||||
padding: 12px 12px 8px 16px;
|
||||
background: var(--nodedc-glass-panel-surface-strong);
|
||||
background: transparent;
|
||||
border-radius: var(--modal-radius, 16px) var(--modal-radius, 16px) 0 0;
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
@@ -443,6 +442,16 @@ header {
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.inspector-panel-body {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 12px 12px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.inspector-collapse-btn {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
@@ -561,16 +570,16 @@ header {
|
||||
}
|
||||
|
||||
.comments-panel-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
flex: 0 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) var(--env-control-h);
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: calc(var(--env-control-h) + 20px);
|
||||
padding: 12px 12px 8px 16px;
|
||||
background: var(--nodedc-glass-panel-surface-strong);
|
||||
background: transparent;
|
||||
border-radius: var(--modal-radius, 16px) var(--modal-radius, 16px) 0 0;
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
@@ -590,6 +599,7 @@ header {
|
||||
}
|
||||
|
||||
.comments-panel-body {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 12px 12px;
|
||||
@@ -1323,13 +1333,14 @@ header {
|
||||
background: var(--nodedc-glass-panel-surface);
|
||||
border: 1px solid var(--nodedc-glass-outline);
|
||||
border-radius: var(--modal-radius, 14px);
|
||||
padding: 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
width: var(--templates-width, 280px);
|
||||
min-height: 200px;
|
||||
max-height: 420px;
|
||||
overflow: auto;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--nodedc-glass-panel-shadow);
|
||||
z-index: 20;
|
||||
backdrop-filter: var(--nodedc-glass-filter);
|
||||
@@ -1341,23 +1352,32 @@ header {
|
||||
}
|
||||
|
||||
.templates-panel .templates-header {
|
||||
position: sticky;
|
||||
top: -12px;
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
flex: 0 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
height: calc(var(--env-control-h) + 20px);
|
||||
min-height: var(--env-control-h);
|
||||
margin: -12px -12px 0;
|
||||
margin: 0;
|
||||
padding: 12px 12px 8px 16px;
|
||||
border-radius: var(--modal-radius, 14px) var(--modal-radius, 14px) 0 0;
|
||||
background: var(--nodedc-glass-panel-surface-strong);
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.templates-panel .templates-panel-body {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 12px 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.templates-panel .templates-title {
|
||||
font-size: 13px;
|
||||
line-height: 1.2;
|
||||
@@ -1530,6 +1550,8 @@ header {
|
||||
width: var(--templates-width, 280px);
|
||||
max-width: min(var(--templates-width, 350px), calc(100vw - 32px));
|
||||
padding: 12px;
|
||||
gap: 10px;
|
||||
overflow: auto;
|
||||
z-index: 40;
|
||||
}
|
||||
|
||||
@@ -2376,13 +2398,14 @@ header {
|
||||
background: var(--nodedc-glass-panel-surface);
|
||||
border: 1px solid var(--nodedc-glass-outline);
|
||||
border-radius: var(--modal-radius, 14px);
|
||||
padding: 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
width: var(--settings-width, 350px);
|
||||
min-height: 420px;
|
||||
max-height: min(720px, calc(100vh - 72px));
|
||||
overflow: auto;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--nodedc-glass-panel-shadow);
|
||||
z-index: 22;
|
||||
font-size: 12px;
|
||||
@@ -2391,9 +2414,9 @@ header {
|
||||
}
|
||||
|
||||
.settings-panel .settings-header {
|
||||
position: sticky;
|
||||
top: -12px;
|
||||
position: relative;
|
||||
z-index: 5;
|
||||
flex: 0 0 auto;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) var(--env-control-h);
|
||||
align-items: center;
|
||||
@@ -2402,12 +2425,21 @@ header {
|
||||
font-weight: 700;
|
||||
height: calc(var(--env-control-h) + 20px);
|
||||
min-height: var(--env-control-h);
|
||||
margin: -12px -12px 0;
|
||||
margin: 0;
|
||||
padding: 12px 12px 8px 16px;
|
||||
background: var(--nodedc-glass-panel-surface-strong);
|
||||
background: transparent;
|
||||
border-radius: var(--modal-radius, 14px) var(--modal-radius, 14px) 0 0;
|
||||
}
|
||||
|
||||
.settings-panel .settings-panel-body {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 12px 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.settings-panel .settings-title {
|
||||
font-size: 13px;
|
||||
line-height: 1.2;
|
||||
@@ -3120,13 +3152,14 @@ body[data-viewer-mode="guest"] .inspector-restore-tray {
|
||||
background: var(--nodedc-glass-panel-surface);
|
||||
border: 1px solid var(--nodedc-glass-outline);
|
||||
border-radius: var(--modal-radius, 14px);
|
||||
padding: 10px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
padding: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
width: var(--templates-width, 280px);
|
||||
min-height: 200px;
|
||||
max-height: 420px;
|
||||
overflow: auto;
|
||||
overflow: hidden;
|
||||
box-shadow: var(--nodedc-glass-panel-shadow);
|
||||
z-index: 20;
|
||||
backdrop-filter: var(--nodedc-glass-filter);
|
||||
|
||||
Reference in New Issue
Block a user