534 lines
9.2 KiB
CSS
534 lines
9.2 KiB
CSS
:root {
|
|
font-family: system-ui, sans-serif;
|
|
color: #202523;
|
|
background: #eef1ef;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
header {
|
|
height: 50px;
|
|
display: flex;
|
|
gap: 12px;
|
|
align-items: center;
|
|
padding: 0 16px;
|
|
background: #183a32;
|
|
color: white;
|
|
}
|
|
header span {
|
|
color: #c9d8d2;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.dirty {
|
|
color: #ffe08a;
|
|
font-weight: 700;
|
|
}
|
|
.scene {
|
|
margin-left: auto;
|
|
white-space: nowrap;
|
|
}
|
|
main {
|
|
display: grid;
|
|
grid-template-columns: 260px minmax(0, 1fr) 320px;
|
|
height: calc(100vh - 50px);
|
|
}
|
|
aside {
|
|
overflow: auto;
|
|
background: white;
|
|
padding: 16px;
|
|
}
|
|
.issues {
|
|
border-right: 1px solid #d5dfda;
|
|
}
|
|
.inspector {
|
|
border-left: 1px solid #d5dfda;
|
|
padding: 12px;
|
|
}
|
|
.map {
|
|
min-height: 400px;
|
|
background: #d7e2de;
|
|
}
|
|
.button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
border: 1px solid #82988f;
|
|
background: white;
|
|
color: #1d392f;
|
|
padding: 7px 10px;
|
|
border-radius: 3px;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
font: inherit;
|
|
}
|
|
.button:disabled {
|
|
opacity: 0.55;
|
|
cursor: default;
|
|
}
|
|
header .button {
|
|
white-space: nowrap;
|
|
}
|
|
.mode-switch {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
}
|
|
.mode-switch input[type='checkbox'] {
|
|
appearance: none;
|
|
width: 34px;
|
|
height: 18px;
|
|
margin: 0;
|
|
border-radius: 999px;
|
|
border: 1px solid #9aa6b2;
|
|
background: #dfe5eb;
|
|
position: relative;
|
|
cursor: pointer;
|
|
transition:
|
|
background 0.15s ease,
|
|
border-color 0.15s ease;
|
|
}
|
|
.mode-switch input[type='checkbox']::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 14px;
|
|
height: 14px;
|
|
top: 1px;
|
|
left: 1px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
|
|
transition: transform 0.15s ease;
|
|
}
|
|
.mode-switch input[type='checkbox']:checked {
|
|
background: #2563eb;
|
|
border-color: #2563eb;
|
|
}
|
|
.mode-switch input[type='checkbox']:checked::after {
|
|
transform: translateX(16px);
|
|
}
|
|
h1 {
|
|
font-size: 16px;
|
|
margin: 0 0 8px;
|
|
}
|
|
h2 {
|
|
font-size: 14px;
|
|
margin: 12px 0 8px;
|
|
}
|
|
label,
|
|
output {
|
|
display: block;
|
|
margin: 10px 0;
|
|
}
|
|
input[type='number'] {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 7px;
|
|
border: 1px solid #aab8b2;
|
|
}
|
|
dl {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 5px 10px;
|
|
margin: 0;
|
|
}
|
|
dt {
|
|
color: #52615b;
|
|
}
|
|
dd {
|
|
margin: 0;
|
|
}
|
|
hr {
|
|
border: 0;
|
|
border-top: 1px solid #dde4e1;
|
|
margin: 16px 0;
|
|
}
|
|
ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.issues li .button {
|
|
width: 100%;
|
|
text-align: left;
|
|
margin: 4px 0;
|
|
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;
|
|
}
|
|
.segmented .button {
|
|
flex: 1;
|
|
border-radius: 0;
|
|
padding: 6px 4px;
|
|
}
|
|
.segmented .active {
|
|
background: #286956;
|
|
border-color: #286956;
|
|
color: white;
|
|
}
|
|
pre {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
color: #52615b;
|
|
}
|
|
.import-screen {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
}
|
|
.import-screen form {
|
|
width: min(460px, 100%);
|
|
background: white;
|
|
padding: 28px;
|
|
box-shadow: 0 8px 30px #0003;
|
|
}
|
|
.import-screen input {
|
|
margin: 18px 0;
|
|
}
|
|
@media (max-width: 900px) {
|
|
header {
|
|
height: auto;
|
|
min-height: 50px;
|
|
flex-wrap: wrap;
|
|
padding-block: 8px;
|
|
}
|
|
main {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
height: calc(100vh - 66px);
|
|
}
|
|
.issues {
|
|
display: none;
|
|
}
|
|
.inspector {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: min(360px, 100%);
|
|
max-height: 55vh;
|
|
border-top: 1px solid #d5dfda;
|
|
}
|
|
}
|
|
.overview-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 8px;
|
|
}
|
|
.overview-grid div,
|
|
.overview-status,
|
|
.overview-diagnostics {
|
|
border: 1px solid #dce5e1;
|
|
padding: 7px;
|
|
background: #f8fbfa;
|
|
}
|
|
.overview-grid span,
|
|
.overview-status span,
|
|
.overview-diagnostics > span {
|
|
display: block;
|
|
color: #52615b;
|
|
font-size: 12px;
|
|
}
|
|
.overview-grid strong {
|
|
display: block;
|
|
margin-top: 2px;
|
|
font-size: 16px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.overview-status {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 8px;
|
|
}
|
|
.overview-diagnostics {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
.overview-diagnostics > span {
|
|
width: 100%;
|
|
}
|
|
.overview-diagnostics strong {
|
|
background: #fff4dc;
|
|
color: #7c5200;
|
|
padding: 2px 5px;
|
|
font-size: 12px;
|
|
}
|
|
.parameters {
|
|
margin-bottom: 16px;
|
|
}
|
|
.parameters ul {
|
|
display: grid;
|
|
gap: 6px;
|
|
}
|
|
.parameter {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 2px 10px;
|
|
border: 1px solid #dce5e1;
|
|
background: #f8fbfa;
|
|
padding: 7px;
|
|
}
|
|
.parameter-label {
|
|
color: #52615b;
|
|
font-size: 12px;
|
|
}
|
|
.parameter-dot {
|
|
display: inline-block;
|
|
width: 6px;
|
|
height: 6px;
|
|
margin-left: 5px;
|
|
border-radius: 50%;
|
|
background: #2f7d5d;
|
|
vertical-align: middle;
|
|
}
|
|
.parameter-value {
|
|
font-size: 15px;
|
|
font-variant-numeric: tabular-nums;
|
|
text-align: right;
|
|
}
|
|
.parameter-value em {
|
|
color: #52615b;
|
|
font-size: 12px;
|
|
font-style: normal;
|
|
}
|
|
.parameter-range {
|
|
grid-column: 1 / -1;
|
|
color: #7b8a83;
|
|
font-size: 11px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.parameter.disabled {
|
|
background: #f2f4f3;
|
|
}
|
|
.parameter.disabled .parameter-value {
|
|
color: #9aa8a1;
|
|
}
|
|
.parameter.disabled .parameter-range {
|
|
color: #8a7a55;
|
|
}
|
|
.parameter-empty {
|
|
color: #7b8a83;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
}
|
|
.parameter-input {
|
|
width: 76px;
|
|
border: 1px solid #aab8b2;
|
|
background: white;
|
|
padding: 3px 5px;
|
|
font: inherit;
|
|
font-size: 14px;
|
|
font-variant-numeric: tabular-nums;
|
|
text-align: right;
|
|
}
|
|
.parameter-input:focus {
|
|
outline: 2px solid #2f7d5d;
|
|
outline-offset: -1px;
|
|
}
|
|
.parameter-input.rejected {
|
|
border-color: #c2452f;
|
|
background: #fdf3f1;
|
|
}
|
|
.parameter-input:disabled {
|
|
background: #f2f4f3;
|
|
color: #9aa8a1;
|
|
}
|
|
.parameter-range.rejected {
|
|
color: #c2452f;
|
|
}
|
|
.parameter-extreme {
|
|
border: 0;
|
|
background: none;
|
|
padding: 0;
|
|
font: inherit;
|
|
font-variant-numeric: tabular-nums;
|
|
color: #2f7d5d;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
.parameter-range.rejected .parameter-extreme {
|
|
color: #c2452f;
|
|
}
|
|
.parameter-reset {
|
|
border: 0;
|
|
background: none;
|
|
padding: 0;
|
|
margin-left: 8px;
|
|
font: inherit;
|
|
font-size: 11px;
|
|
color: #7b8a83;
|
|
text-decoration: underline;
|
|
cursor: pointer;
|
|
}
|
|
.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;
|
|
}
|