feat: recalc coordinates flow
This commit is contained in:
@@ -107,6 +107,16 @@ main {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.panel-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
.panel-header h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.left-col {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -275,6 +285,145 @@ main {
|
||||
background: #484f58;
|
||||
}
|
||||
|
||||
.btn-edit-field {
|
||||
padding: 4px 12px;
|
||||
border: 1px solid var(--accent);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--accent);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
.btn-edit-field:hover {
|
||||
background: rgba(88, 166, 255, 0.1);
|
||||
}
|
||||
|
||||
.btn-save-field {
|
||||
padding: 4px 12px;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
background: var(--btn-bg);
|
||||
color: white;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.btn-save-field:hover {
|
||||
background: var(--btn-hover);
|
||||
}
|
||||
|
||||
.btn-cancel-field {
|
||||
padding: 4px 12px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.btn-cancel-field:hover {
|
||||
background: var(--border);
|
||||
}
|
||||
|
||||
.field-size-stack {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.chain-link {
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
min-height: 56px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
background: var(--input-bg);
|
||||
color: var(--accent);
|
||||
cursor: pointer;
|
||||
flex-shrink: 0;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
.chain-link:hover {
|
||||
background: rgba(88, 166, 255, 0.1);
|
||||
}
|
||||
.chain-link.unlocked {
|
||||
color: #8b949e;
|
||||
}
|
||||
.chain-link.visible {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.field-stack-inputs {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
flex: 1;
|
||||
}
|
||||
.field-stack-inputs label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
color: #8b949e;
|
||||
}
|
||||
.field-stack-inputs label span {
|
||||
min-width: 14px;
|
||||
}
|
||||
.field-stack-inputs input {
|
||||
width: 100%;
|
||||
padding: 6px 8px;
|
||||
background: var(--input-bg);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 4px;
|
||||
color: var(--heading);
|
||||
font-size: 14px;
|
||||
font-family: monospace;
|
||||
outline: none;
|
||||
}
|
||||
.field-stack-inputs input:focus {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
.field-stack-inputs input:disabled {
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.field-edit-options {
|
||||
display: none;
|
||||
margin-top: 10px;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
}
|
||||
.field-edit-options.visible {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.field-save-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.checkbox-label {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
font-size: 12px;
|
||||
color: #8b949e;
|
||||
cursor: pointer;
|
||||
}
|
||||
.checkbox-label input[type="checkbox"] {
|
||||
accent-color: var(--accent);
|
||||
}
|
||||
|
||||
#fieldContainer {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user