beam: add clay color control

This commit is contained in:
CODEX
2026-06-05 00:47:33 +03:00
parent bf397ff191
commit 6e1f5a7f08
3 changed files with 152 additions and 4 deletions
+53
View File
@@ -624,6 +624,10 @@ header {
margin-top: 2px;
}
.inspector-color-control.hidden {
display: none;
}
.inspector-control-label {
min-width: 0;
color: var(--muted);
@@ -636,6 +640,55 @@ header {
min-width: 0;
}
.inspector-color-row {
display: grid;
grid-template-columns: 40px minmax(0, 1fr);
align-items: center;
height: 40px;
min-width: 0;
border-radius: 14px;
background: var(--nodedc-glass-control-bg);
box-shadow: var(--nodedc-glass-control-shadow);
overflow: hidden;
}
.inspector-color-row input[type="color"] {
width: 24px;
height: 24px;
margin-left: 12px;
border: 0;
border-radius: 50%;
background: transparent;
cursor: pointer;
padding: 0;
appearance: none;
-webkit-appearance: none;
}
.inspector-color-row input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
.inspector-color-row input[type="color"]::-webkit-color-swatch {
border: 0;
border-radius: 50%;
}
.inspector-color-row input[type="text"] {
min-width: 0;
width: 100%;
height: 100%;
border: 0;
background: transparent;
color: rgba(245, 245, 250, 0.82);
font: inherit;
font-size: 12px;
font-weight: 760;
outline: none;
padding: 0 14px 0 8px;
text-align: right;
}
.nodedc-select {
position: relative;
min-width: 0;