feat(map): add reference layers and stabilize workspace controls
This commit is contained in:
@@ -694,6 +694,10 @@ textarea.nodedc-field__control {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nodedc-range input[type="range"]:disabled {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.nodedc-range__label,
|
||||
.nodedc-range__value {
|
||||
position: absolute;
|
||||
@@ -733,6 +737,43 @@ textarea.nodedc-field__control {
|
||||
color: rgb(var(--nodedc-on-accent-rgb));
|
||||
}
|
||||
|
||||
.nodedc-range__editor {
|
||||
position: absolute;
|
||||
z-index: 5;
|
||||
top: 50%;
|
||||
right: 0.75rem;
|
||||
width: max(3rem, calc((var(--nodedc-range-editor-characters) + 0.75) * 1ch));
|
||||
max-width: min(42%, 8rem);
|
||||
height: 2rem;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
outline: 0;
|
||||
background: transparent;
|
||||
color: transparent;
|
||||
caret-color: transparent;
|
||||
padding: 0 0.25rem;
|
||||
font: inherit;
|
||||
font-size: var(--nodedc-font-size-sm);
|
||||
font-weight: var(--nodedc-font-weight-medium);
|
||||
line-height: 1;
|
||||
text-align: right;
|
||||
transform: translateY(-50%);
|
||||
box-shadow: none;
|
||||
cursor: text;
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.nodedc-range__editor[data-active] {
|
||||
color: var(--nodedc-text-primary);
|
||||
caret-color: currentColor;
|
||||
}
|
||||
|
||||
.nodedc-range[data-editing] > .nodedc-range__value,
|
||||
.nodedc-range[data-editing] > .nodedc-range__fill-text .nodedc-range__value {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.nodedc-color-field {
|
||||
display: grid;
|
||||
min-height: var(--nodedc-control-height);
|
||||
@@ -2515,6 +2556,10 @@ textarea.nodedc-field__control {
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
.nodedc-workspace-window[data-auto-height="true"]:not([data-interaction]) {
|
||||
transition: height var(--nodedc-duration-normal) var(--nodedc-ease-standard);
|
||||
}
|
||||
|
||||
.nodedc-workspace-window[data-active="true"] {
|
||||
box-shadow: var(--nodedc-modal-shadow), 0 0 0 1px color-mix(in srgb, var(--nodedc-text-primary) 16%, transparent);
|
||||
}
|
||||
@@ -2623,6 +2668,10 @@ textarea.nodedc-field__control {
|
||||
touch-action: auto;
|
||||
}
|
||||
|
||||
.nodedc-workspace-window__body-content {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.nodedc-workspace-window__footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user