Newer
Older
gnexus-book / ui / src / styles.css
@Eugene Sukhodolskiy Eugene Sukhodolskiy 2 days ago 1 KB Add inventory drill-down to UI
body {
  margin: 0;
  background: var(--gn-surface, #f6f7f9);
}

.gnb-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.gnb-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.gnb-list {
  display: grid;
  gap: 8px;
}

.gnb-row {
  display: grid;
  grid-template-columns: minmax(160px, 280px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--gn-border, #dfe3e8);
}

.gnb-row span {
  overflow-wrap: anywhere;
  color: var(--gn-text-muted, #667085);
}

.gnb-row-button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--gn-border, #dfe3e8);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gnb-row-button:hover,
.gnb-row-button.is-active {
  background: var(--gn-surface-muted, #eef2f6);
}

.gnb-inventory {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.gnb-detail {
  min-width: 0;
}

.gnb-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.gnb-json {
  min-height: 320px;
  max-height: 620px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--gn-border, #dfe3e8);
  background: var(--gn-surface, #ffffff);
  color: var(--gn-text, #101828);
  font-size: 13px;
  line-height: 1.5;
}

.gnb-error {
  margin-top: 16px;
  color: var(--gn-danger, #b42318);
}

@media (max-width: 760px) {
  .gnb-shell {
    padding: 16px;
  }

  .gnb-status,
  .gnb-row,
  .gnb-inventory,
  .gnb-detail-grid {
    grid-template-columns: 1fr;
  }
}