1124 lines
20 KiB
CSS
1124 lines
20 KiB
CSS
:root {
|
|
color-scheme: light;
|
|
font-family: Inter, "Segoe UI", Arial, sans-serif;
|
|
font-synthesis: none;
|
|
--ink: #17202a;
|
|
--muted: #5a6773;
|
|
--line: #ccd4dc;
|
|
--surface: #ffffff;
|
|
--canvas: #f3f5f7;
|
|
--nav: #0f172a;
|
|
--accent: #f97316;
|
|
--focus: #1677b8;
|
|
--good: #177245;
|
|
--warn: #9a5b00;
|
|
--danger: #b42318;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
min-width: 320px;
|
|
background: var(--canvas);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
color: var(--ink);
|
|
background: var(--canvas);
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select {
|
|
font: inherit;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
left: 12px;
|
|
top: -60px;
|
|
z-index: 100;
|
|
padding: 10px 14px;
|
|
background: var(--surface);
|
|
border: 2px solid var(--focus);
|
|
}
|
|
|
|
.skip-link:focus {
|
|
top: 12px;
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 3px solid var(--focus);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.app-shell {
|
|
min-height: 100vh;
|
|
display: grid;
|
|
grid-template-columns: 224px minmax(0, 1fr);
|
|
grid-template-rows: 68px minmax(0, 1fr);
|
|
}
|
|
|
|
.topbar {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
grid-template-columns: 224px minmax(240px, 620px) 1fr;
|
|
align-items: center;
|
|
gap: 20px;
|
|
min-height: 68px;
|
|
padding: 10px 18px;
|
|
color: #ffffff;
|
|
background: var(--nav);
|
|
border-bottom: 3px solid var(--accent);
|
|
}
|
|
|
|
.brand-area {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.brand {
|
|
display: block;
|
|
min-width: 0;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand-name {
|
|
display: block;
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.brand-tagline {
|
|
display: block;
|
|
margin-top: 2px;
|
|
color: #d3dae2;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.global-search {
|
|
position: relative;
|
|
}
|
|
|
|
.global-search label {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.global-search input {
|
|
width: 100%;
|
|
min-height: 42px;
|
|
padding: 9px 14px;
|
|
border: 1px solid #647385;
|
|
border-radius: 5px;
|
|
color: var(--ink);
|
|
background: #ffffff;
|
|
}
|
|
|
|
.session-tools {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.session-copy {
|
|
min-width: 0;
|
|
text-align: right;
|
|
}
|
|
|
|
.session-user,
|
|
.session-role {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.session-user {
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.session-role {
|
|
color: #d3dae2;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.quiet-button,
|
|
.menu-button {
|
|
min-height: 40px;
|
|
border: 1px solid #8390a0;
|
|
border-radius: 5px;
|
|
padding: 8px 11px;
|
|
color: #ffffff;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.menu-button {
|
|
display: none;
|
|
}
|
|
|
|
.primary-nav {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
padding: 20px 12px;
|
|
color: #eef2f6;
|
|
background: #17212d;
|
|
}
|
|
|
|
.primary-nav ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
|
|
.primary-nav a {
|
|
display: block;
|
|
min-height: 42px;
|
|
padding: 11px 12px;
|
|
border-left: 3px solid transparent;
|
|
text-decoration: none;
|
|
font-size: 14px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.primary-nav a:hover {
|
|
background: #263343;
|
|
}
|
|
|
|
.primary-nav a[aria-current="page"] {
|
|
border-color: var(--accent);
|
|
background: #2c3948;
|
|
}
|
|
|
|
.nav-note {
|
|
margin: 22px 12px 0;
|
|
color: #aeb9c5;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.main-content {
|
|
grid-column: 2;
|
|
grid-row: 2;
|
|
min-width: 0;
|
|
padding: 26px clamp(16px, 3vw, 42px) 48px;
|
|
}
|
|
|
|
.page-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 5px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: 32px;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.page-summary {
|
|
max-width: 760px;
|
|
margin: 8px 0 0;
|
|
color: var(--muted);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.freshness {
|
|
margin: 4px 0 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.metrics {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, minmax(130px, 1fr));
|
|
gap: 12px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.metric,
|
|
.panel,
|
|
.map-inspector {
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.metric {
|
|
min-height: 122px;
|
|
padding: 15px;
|
|
}
|
|
|
|
.metric-label {
|
|
display: block;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.metric-value {
|
|
display: block;
|
|
margin: 14px 0 6px;
|
|
font-size: 25px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.metric-state {
|
|
display: block;
|
|
color: var(--warn);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.content-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.7fr) minmax(260px, .7fr);
|
|
gap: 18px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 18px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.panel h2 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
}
|
|
|
|
.panel-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.panel-copy {
|
|
margin: 7px 0 0;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.state-message {
|
|
padding: 26px 16px;
|
|
border: 1px dashed #aeb8c2;
|
|
text-align: center;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.state-message strong {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.state-message[data-kind="error"] {
|
|
border-color: #d4a09b;
|
|
color: var(--danger);
|
|
}
|
|
|
|
.state-message[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.table-wrap {
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
border: 1px solid var(--line);
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
background: var(--surface);
|
|
}
|
|
|
|
th,
|
|
td {
|
|
padding: 11px 12px;
|
|
border-bottom: 1px solid #e3e8ed;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
th {
|
|
color: #40505f;
|
|
background: #f7f8fa;
|
|
font-size: 12px;
|
|
}
|
|
|
|
td {
|
|
font-size: 13px;
|
|
}
|
|
|
|
tbody tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.object-link {
|
|
color: #075b91;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.secondary {
|
|
display: block;
|
|
margin-top: 3px;
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.status-text {
|
|
font-weight: 750;
|
|
}
|
|
|
|
.status-text::before {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin-right: 7px;
|
|
border-radius: 50%;
|
|
background: #758493;
|
|
}
|
|
|
|
.status-text[data-status="active"]::before,
|
|
.status-text[data-status="online"]::before {
|
|
background: var(--good);
|
|
}
|
|
|
|
.status-text[data-status="in_repair"]::before,
|
|
.status-text[data-status="repair"]::before {
|
|
background: var(--warn);
|
|
}
|
|
|
|
.status-text[data-status="critical"]::before {
|
|
background: var(--danger);
|
|
}
|
|
|
|
.filter-bar {
|
|
display: flex;
|
|
align-items: end;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.field {
|
|
display: grid;
|
|
gap: 6px;
|
|
min-width: min(100%, 320px);
|
|
}
|
|
|
|
.field label {
|
|
color: #40505f;
|
|
font-size: 12px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.field input,
|
|
.field select {
|
|
min-height: 42px;
|
|
border: 1px solid #9da9b5;
|
|
border-radius: 5px;
|
|
padding: 8px 10px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.command-button {
|
|
min-height: 42px;
|
|
border: 1px solid #1b5f89;
|
|
border-radius: 5px;
|
|
padding: 8px 15px;
|
|
color: #ffffff;
|
|
background: #176b9a;
|
|
font-weight: 750;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.command-button:disabled {
|
|
cursor: not-allowed;
|
|
opacity: .58;
|
|
}
|
|
|
|
.map-layout {
|
|
display: grid;
|
|
grid-template-columns: 210px minmax(340px, 1fr) 280px;
|
|
min-height: 520px;
|
|
border: 1px solid var(--line);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.map-controls,
|
|
.map-inspector {
|
|
padding: 16px;
|
|
}
|
|
|
|
.map-controls {
|
|
border-right: 1px solid var(--line);
|
|
}
|
|
|
|
.map-controls h2,
|
|
.map-inspector h2 {
|
|
margin: 0 0 14px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.hierarchy {
|
|
margin: 0 0 20px;
|
|
padding-left: 18px;
|
|
color: #40505f;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.control-stack {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.map-viewport {
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 420px;
|
|
padding: 28px;
|
|
background: #e8edf1;
|
|
box-shadow: inset 0 0 0 10px #dde4ea;
|
|
}
|
|
|
|
.map-empty {
|
|
max-width: 460px;
|
|
padding: 22px;
|
|
border: 1px solid #9da9b5;
|
|
background: #ffffff;
|
|
text-align: center;
|
|
}
|
|
|
|
.map-empty strong {
|
|
display: block;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.map-inspector {
|
|
border: 0;
|
|
border-left: 1px solid var(--line);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.definition-list {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 10px 14px;
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.definition-list dt {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.definition-list dd {
|
|
margin: 0;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.notice {
|
|
padding: 12px 14px;
|
|
border-left: 4px solid var(--warn);
|
|
background: #fff8e8;
|
|
color: #694100;
|
|
font-size: 13px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
@media (max-width: 1120px) {
|
|
.metrics {
|
|
grid-template-columns: repeat(3, minmax(140px, 1fr));
|
|
}
|
|
|
|
.map-layout {
|
|
grid-template-columns: 190px minmax(320px, 1fr);
|
|
}
|
|
|
|
.map-inspector {
|
|
grid-column: 1 / -1;
|
|
border-top: 1px solid var(--line);
|
|
border-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.app-shell {
|
|
grid-template-columns: 1fr;
|
|
grid-template-rows: auto auto minmax(0, 1fr);
|
|
}
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 30;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
gap: 10px;
|
|
}
|
|
|
|
.brand-tagline,
|
|
.session-copy {
|
|
display: none;
|
|
}
|
|
|
|
.menu-button {
|
|
display: inline-block;
|
|
}
|
|
|
|
.global-search {
|
|
grid-column: 1 / -1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
.primary-nav {
|
|
display: none;
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.primary-nav[data-open="true"] {
|
|
display: block;
|
|
}
|
|
|
|
.primary-nav ul {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.primary-nav a {
|
|
min-height: 46px;
|
|
padding: 12px 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.nav-note {
|
|
display: none;
|
|
}
|
|
|
|
.main-content {
|
|
grid-column: 1;
|
|
grid-row: 3;
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.metrics {
|
|
grid-template-columns: repeat(2, minmax(130px, 1fr));
|
|
}
|
|
|
|
.content-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.map-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.map-controls,
|
|
.map-inspector {
|
|
border: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.topbar {
|
|
padding: 9px 10px;
|
|
}
|
|
|
|
.brand-name {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.quiet-button {
|
|
padding: 7px 9px;
|
|
}
|
|
|
|
.main-content {
|
|
padding: 18px 12px 36px;
|
|
}
|
|
|
|
.page-head {
|
|
display: block;
|
|
}
|
|
|
|
.freshness {
|
|
margin-top: 10px;
|
|
white-space: normal;
|
|
}
|
|
|
|
.metrics {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.metric {
|
|
min-height: 100px;
|
|
}
|
|
|
|
.primary-nav ul {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.filter-bar {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.field {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.command-button {
|
|
width: 100%;
|
|
}
|
|
|
|
.table-wrap {
|
|
border: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
table,
|
|
thead,
|
|
tbody,
|
|
tr,
|
|
th,
|
|
td {
|
|
display: block;
|
|
}
|
|
|
|
thead {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
tbody {
|
|
display: grid;
|
|
gap: 10px;
|
|
}
|
|
|
|
tr {
|
|
border: 1px solid var(--line);
|
|
background: var(--surface);
|
|
}
|
|
|
|
td {
|
|
display: grid;
|
|
grid-template-columns: minmax(90px, .45fr) 1fr;
|
|
gap: 10px;
|
|
border-bottom: 1px solid #e3e8ed;
|
|
}
|
|
|
|
td::before {
|
|
content: attr(data-label);
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.map-viewport {
|
|
min-height: 340px;
|
|
padding: 14px;
|
|
}
|
|
}
|
|
|
|
/* Mine Map v1 */
|
|
.map-context {
|
|
padding: 15px;
|
|
border: 1px solid var(--line);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.map-context-head,
|
|
.map-status-band,
|
|
.inspector-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
}
|
|
|
|
.map-context h2,
|
|
.map-inspector-v1 h2,
|
|
.unplaced-section h2 {
|
|
margin: 0;
|
|
font-size: 17px;
|
|
}
|
|
|
|
.map-control-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(150px, .8fr) minmax(150px, .8fr)
|
|
minmax(170px, .9fr) minmax(220px, 1.4fr);
|
|
gap: 10px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.map-filters {
|
|
margin-top: 12px;
|
|
border-top: 1px solid #e3e8ed;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.map-filters summary {
|
|
min-height: 36px;
|
|
cursor: pointer;
|
|
color: #334252;
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.map-filter-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(135px, 1fr)) auto;
|
|
align-items: end;
|
|
gap: 10px;
|
|
}
|
|
|
|
.map-filter-grid .quiet-button,
|
|
.icon-button {
|
|
color: var(--ink);
|
|
border-color: #8e9ba8;
|
|
background: #fff;
|
|
}
|
|
|
|
.map-status-band {
|
|
align-items: flex-start;
|
|
margin: 12px 0;
|
|
}
|
|
|
|
.map-summary,
|
|
.map-legend {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.summary-fact {
|
|
display: inline-flex;
|
|
align-items: baseline;
|
|
gap: 5px;
|
|
padding-right: 9px;
|
|
border-right: 1px solid var(--line);
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.summary-fact strong {
|
|
color: var(--ink);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.mine-map-workspace {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 320px;
|
|
border: 1px solid var(--line);
|
|
background: var(--surface);
|
|
}
|
|
|
|
.mine-map-workspace[hidden],
|
|
.map-inspector-v1[hidden],
|
|
.unplaced-section[hidden],
|
|
.map-notice[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.map-main-column {
|
|
min-width: 0;
|
|
}
|
|
|
|
.map-legend {
|
|
min-height: 50px;
|
|
padding: 10px 14px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: #f7f8fa;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.legend-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.legend-marker,
|
|
.status-marker {
|
|
display: inline-grid;
|
|
place-items: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 1px solid #758493;
|
|
border-radius: 4px;
|
|
color: #263442;
|
|
background: #eef1f4;
|
|
font-size: 10px;
|
|
font-weight: 850;
|
|
}
|
|
|
|
.map-notice {
|
|
margin: 14px;
|
|
padding: 13px;
|
|
border-left: 4px solid var(--warn);
|
|
background: #fff8e8;
|
|
color: #694100;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.map-viewport-v1 {
|
|
display: grid;
|
|
gap: 14px;
|
|
min-height: 380px;
|
|
max-height: calc(100vh - 330px);
|
|
overflow: auto;
|
|
padding: 14px;
|
|
background: #e9edf0;
|
|
}
|
|
|
|
.map-rack {
|
|
min-width: 0;
|
|
border: 1px solid #aeb8c2;
|
|
background: #fff;
|
|
}
|
|
|
|
.rack-title {
|
|
margin: 0;
|
|
padding: 9px 12px;
|
|
color: #fff;
|
|
background: #263442;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.map-shelf {
|
|
display: grid;
|
|
grid-template-columns: 112px minmax(0, 1fr);
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
.map-shelf:first-of-type {
|
|
border-top: 0;
|
|
}
|
|
|
|
.shelf-title {
|
|
margin: 0;
|
|
padding: 12px;
|
|
color: #40505f;
|
|
background: #f3f5f7;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.position-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
|
|
gap: 7px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.map-position {
|
|
display: grid;
|
|
grid-template-rows: auto auto auto auto;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
min-height: 118px;
|
|
padding: 9px;
|
|
border: 1px solid #8e9ba8;
|
|
border-left: 5px solid #758493;
|
|
border-radius: 4px;
|
|
color: var(--ink);
|
|
background: #fff;
|
|
text-align: left;
|
|
}
|
|
|
|
button.map-position {
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.map-position:hover {
|
|
border-color: #40505f;
|
|
background: #f8fafb;
|
|
}
|
|
|
|
.map-position[data-selected="true"] {
|
|
box-shadow: 0 0 0 3px var(--focus);
|
|
}
|
|
|
|
.map-position[data-filtered="true"] {
|
|
opacity: .34;
|
|
filter: grayscale(1);
|
|
}
|
|
|
|
.map-position[data-status="online"] { border-left-color: #177245; }
|
|
.map-position[data-status="offline"] { border-left-color: #b42318; background: #fff5f4; }
|
|
.map-position[data-status="unstable"] { border-left-color: #9a5b00; background: #fff9ed; }
|
|
.map-position[data-status="repair"] { border-left-color: #6b4ca5; background: #f7f3fc; }
|
|
.map-position[data-status="spare"] { border-left-color: #1677b8; background: #f1f8fc; }
|
|
.map-position[data-status="retired"] { border-left-color: #4d5660; background: #eef0f2; }
|
|
.map-position[data-status="empty"] { border-style: dashed; border-left-color: #8e9ba8; background: #f8fafb; }
|
|
.map-position[data-status="expected"] { border-left-color: #996600; background: #fff9e8; }
|
|
.map-position[data-status="conflict"] { border-left-color: #b42318; background: #fff0ee; }
|
|
.map-position[data-status="blocked"] { border-left-color: #4d5660; background: #e5e8eb; }
|
|
.map-position[data-status="switch"] { border-left-color: #28706d; background: #eff8f7; }
|
|
.map-position[data-status="restricted"] { border-left-color: #596675; background: #f3f5f7; }
|
|
|
|
.position-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 6px;
|
|
}
|
|
|
|
.position-label,
|
|
.position-miner,
|
|
.position-value,
|
|
.position-freshness {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.position-label { font-size: 12px; }
|
|
.position-miner { font-size: 13px; font-weight: 750; }
|
|
.position-value { color: #334252; font-size: 12px; }
|
|
.position-freshness { color: var(--muted); font-size: 10px; }
|
|
|
|
.map-inspector-v1 {
|
|
position: sticky;
|
|
top: 12px;
|
|
align-self: start;
|
|
min-width: 0;
|
|
max-height: calc(100vh - 90px);
|
|
overflow-y: auto;
|
|
padding: 16px;
|
|
border-left: 1px solid var(--line);
|
|
background: #fff;
|
|
}
|
|
|
|
.icon-button {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.status-callout {
|
|
padding: 10px;
|
|
border-left: 4px solid #758493;
|
|
background: #f3f5f7;
|
|
font-size: 13px;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.status-callout[data-status="online"] { border-color: var(--good); }
|
|
.status-callout[data-status="offline"] { border-color: var(--danger); }
|
|
.status-callout[data-status="repair"] { border-color: #6b4ca5; }
|
|
|
|
.inspector-details {
|
|
grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.inspector-details dd {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.command-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 42px;
|
|
padding: 8px 15px;
|
|
border: 1px solid #1b5f89;
|
|
border-radius: 5px;
|
|
color: #fff;
|
|
background: #176b9a;
|
|
text-decoration: none;
|
|
font-weight: 750;
|
|
}
|
|
|
|
.unplaced-section {
|
|
padding: 14px;
|
|
border-top: 1px solid var(--line);
|
|
}
|
|
|
|
#mapUnplaced,
|
|
.legacy-position-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
|
|
gap: 8px;
|
|
}
|
|
|
|
.legacy-position-entry {
|
|
display: grid;
|
|
gap: 7px;
|
|
padding: 10px;
|
|
border: 1px solid var(--line);
|
|
background: #fff;
|
|
}
|
|
|
|
.legacy-position-path {
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
.unplaced-miner {
|
|
display: grid;
|
|
gap: 4px;
|
|
padding: 10px;
|
|
border-left: 4px solid #758493;
|
|
background: #f3f5f7;
|
|
font-size: 12px;
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.map-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.map-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
.mine-map-workspace { grid-template-columns: 1fr; }
|
|
.map-inspector-v1 { position: static; max-height: none; border-top: 1px solid var(--line); border-left: 0; }
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.map-context-head,
|
|
.map-status-band { align-items: flex-start; flex-direction: column; }
|
|
.map-control-grid,
|
|
.map-filter-grid { grid-template-columns: 1fr; }
|
|
.map-viewport-v1 { max-height: none; padding: 9px; }
|
|
.map-shelf { grid-template-columns: 1fr; }
|
|
.shelf-title { position: sticky; left: 0; z-index: 1; }
|
|
.position-grid { grid-template-columns: repeat(2, minmax(130px, 1fr)); overflow-x: auto; }
|
|
.map-inspector-v1 { position: fixed; inset: 0; z-index: 80; max-height: none; overflow-y: auto; }
|
|
}
|
|
|
|
@media (max-width: 420px) {
|
|
.position-grid { grid-template-columns: minmax(150px, 1fr); }
|
|
}
|