beam: add clay color control
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user