Newer
Older
gnexus-book / ui / src / styles.css
@Eugene Sukhodolskiy Eugene Sukhodolskiy 2 days ago 2 KB Restore dark UI kit surfaces
body {
  margin: 0;
  background: #16161e;
  color: #c0caf5;
}

.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: 2px solid rgba(192, 202, 245, 0.24);
}

.gnb-row span {
  overflow-wrap: anywhere;
  color: #a9b1d6;
}

.gnb-row-button {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(192, 202, 245, 0.24);
  background: transparent;
  color: #c0caf5;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.gnb-row-button:hover,
.gnb-row-button.is-active {
  background: rgba(122, 162, 247, 0.16);
}

.gnb-inventory,
.gnb-docs,
.gnb-changes,
.gnb-git {
  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: 2px solid rgba(192, 202, 245, 0.24);
  border-left-width: 6px;
  background: #1f2335;
  color: #c0caf5;
  font-size: 13px;
  line-height: 1.5;
}

.gnb-json-small {
  min-height: 120px;
  max-height: 240px;
}

.gnb-doc-detail {
  display: grid;
  gap: 20px;
}

.gnb-doc-detail h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.gnb-markdown {
  min-height: 360px;
  max-height: 680px;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border: 2px solid rgba(192, 202, 245, 0.24);
  border-left-width: 6px;
  background: #1f2335;
  color: #c0caf5;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.gnb-checkbox-row {
  grid-template-columns: 24px 48px minmax(0, 1fr);
}

.gnb-checkbox-row input {
  width: 16px;
  height: 16px;
}

.gnb-checkbox-row.is-disabled {
  opacity: 0.52;
}

.gnb-commit {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.gnb-changes-workspace {
  display: grid;
  gap: 24px;
}

.gnb-proposal {
  display: grid;
  gap: 16px;
  padding-top: 8px;
}

.gnb-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gnb-field {
  display: grid;
  gap: 6px;
}

.gnb-field span {
  font-size: 13px;
  font-weight: 600;
}

.gnb-field textarea {
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  padding: 10px 12px;
  border: 2px solid #c0caf5;
  border-bottom-width: 6px;
  background: rgba(192, 202, 245, 0.045);
  color: #c0caf5;
  font: inherit;
}

.gnb-error {
  margin-top: 16px;
  color: #f7768e;
}

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

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