feat(workbench): organize map editing panels
This commit is contained in:
1 parent
6d80597642
commit
bb108267e3
8 files changed
+556
-242
No files matched your search
@@ -47,6 +47,7 @@ aside {
|
||||
}
|
||||
.inspector {
|
||||
border-left: 1px solid #d5dfda;
|
||||
padding: 12px;
|
||||
}
|
||||
.map {
|
||||
min-height: 400px;
|
||||
@@ -120,6 +121,52 @@ ul {
|
||||
background: #fff7e5;
|
||||
border-color: #e7c67b;
|
||||
}
|
||||
.issues input:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
.issues label:has(input:disabled) {
|
||||
color: #7b8a83;
|
||||
}
|
||||
.overview-details summary {
|
||||
cursor: pointer;
|
||||
color: #1d392f;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.issues-details summary {
|
||||
cursor: pointer;
|
||||
color: #1d392f;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.issues-details[open] summary {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.issue-tabs {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
margin-bottom: 8px;
|
||||
padding: 3px;
|
||||
background: #edf3f0;
|
||||
}
|
||||
.issue-tabs .button {
|
||||
justify-content: center;
|
||||
min-height: 30px;
|
||||
border-color: transparent;
|
||||
padding: 4px;
|
||||
color: #52615b;
|
||||
font-size: 12px;
|
||||
}
|
||||
.issue-tabs .button.active {
|
||||
border-color: #b7cfc4;
|
||||
background: #fff;
|
||||
color: #1d392f;
|
||||
font-weight: 600;
|
||||
}
|
||||
.overview-details[open] summary {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
.segmented {
|
||||
display: flex;
|
||||
}
|
||||
@@ -331,3 +378,116 @@ pre {
|
||||
.parameter-reset:hover {
|
||||
color: #c2452f;
|
||||
}
|
||||
.workbench-inspector {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
.inspector-summary {
|
||||
border: 1px solid #cddbd5;
|
||||
border-left: 3px solid #286956;
|
||||
background: #f6faf8;
|
||||
padding: 9px 10px;
|
||||
}
|
||||
.inspector-summary span,
|
||||
.inspector-summary small {
|
||||
display: block;
|
||||
color: #63736c;
|
||||
font-size: 12px;
|
||||
}
|
||||
.inspector-summary strong {
|
||||
display: block;
|
||||
margin: 3px 0;
|
||||
color: #1d392f;
|
||||
font-size: 14px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.inspector-section {
|
||||
border: 1px solid #d5dfda;
|
||||
background: #fff;
|
||||
}
|
||||
.inspector-section.open {
|
||||
border-color: #a9c3b8;
|
||||
}
|
||||
.inspector-section-toggle {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto 20px;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
min-height: 40px;
|
||||
border: 0;
|
||||
padding: 8px 9px;
|
||||
background: #f4f8f6;
|
||||
color: #1d392f;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
}
|
||||
.inspector-section.open .inspector-section-toggle {
|
||||
background: #eaf3ee;
|
||||
}
|
||||
.inspector-section-toggle small {
|
||||
max-width: 120px;
|
||||
overflow: hidden;
|
||||
color: #63736c;
|
||||
font-size: 11px;
|
||||
text-align: right;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.inspector-section-chevron {
|
||||
text-align: right;
|
||||
transition: transform 120ms ease;
|
||||
}
|
||||
.inspector-section-chevron.open {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
.inspector-section-body {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding: 10px;
|
||||
}
|
||||
.inspector-section-body h2 {
|
||||
margin: 0 0 8px;
|
||||
}
|
||||
.inspector-section-body form {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
.inspector-section-body label,
|
||||
.inspector-section-body output {
|
||||
margin: 0;
|
||||
}
|
||||
.inspector-section-body select,
|
||||
.inspector-section-body input[type='number'] {
|
||||
margin-top: 4px;
|
||||
}
|
||||
.inspector-section-body input[type='checkbox'] {
|
||||
accent-color: #286956;
|
||||
}
|
||||
.inspector-section-body .button {
|
||||
justify-content: center;
|
||||
}
|
||||
.connections-list {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
.connections-list label {
|
||||
border-bottom: 1px solid #edf1ef;
|
||||
padding-bottom: 7px;
|
||||
}
|
||||
.connections-list label:last-child {
|
||||
border-bottom: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.form-context,
|
||||
.form-hint {
|
||||
margin: 0;
|
||||
color: #63736c;
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
.form-hint {
|
||||
color: #7b6542;
|
||||
}
|
||||
Reference in new issue
Block a user