/* The panel's own styles: a little on top of Tabler (scdlbot/panel/static/panel.css). */

body {
  background: var(--tblr-bg-surface-secondary);
}

/* The icons from the sprite: they take the colour of the text. */
.nav-icon {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.2em;
  stroke-width: 2;
}

/* The numbers on the dashboard. */
.tile {
  min-height: 6.5rem;
}

.tile-value {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.tile-label {
  color: var(--tblr-secondary);
  font-size: 0.875rem;
}

.tile-icon {
  align-items: center;
  border-radius: 0.5rem;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  width: 2.5rem;
}

/* The graphs need a height of their own, otherwise they are flat lines. */
.chart-box {
  height: 260px;
  position: relative;
}

.chart-box canvas {
  height: 100% !important;
  width: 100% !important;
}

/* The tables: the names stay on one line. */
td.name {
  font-weight: 500;
}

td.mono,
.mono {
  font-family: var(--tblr-font-monospace);
  font-size: 0.875rem;
}

/* The empty state of a table. */
.empty-row td {
  color: var(--tblr-secondary);
  padding: 2rem 1rem;
  text-align: center;
}
