Toggle menu
648
119
74
6.9K
Landrace.Wiki - The Landrace Cannabis Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Home/ConservationPanel.css

Template page
Revision as of 12:04, 1 April 2026 by Eloise Zomia (talk | contribs)
/* Conservation Panel */
.lw-cons-panel {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px 24px 24px;
  margin: 12px 0 24px;
}
.lw-cons-title {
  font-size: .9rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 14px;
}
/* Headline stat */
.lw-cons-headline {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.lw-cons-pct {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #c92a2a;
}
.lw-cons-pct-label {
  font-size: .95rem;
  color: #6b7280;
  line-height: 1.4;
}
/* Priority bar */
.lw-cons-bar {
  display: flex;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  gap: 2px;
  margin: 0 0 12px;
}
.lw-bar-seg {
  min-width: 0;
  transition: flex-grow 0.3s ease;
}
.lw-bar--critical { background: #c92a2a; }
.lw-bar--high     { background: #d9480f; }
.lw-bar--medium   { background: #e67700; }
.lw-bar--low      { background: #2b8a3e; }
/* Legend */
.lw-cons-legend {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.lw-cons-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .82rem;
  color: #6b7280;
}
.lw-ldot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  display: inline-block;
  flex-shrink: 0;
}
.lw-ldot--critical { background: #c92a2a; }
.lw-ldot--high     { background: #d9480f; }
.lw-ldot--medium   { background: #e67700; }
.lw-ldot--low      { background: #2b8a3e; }
.lw-llbl {
  font-weight: 500;
}
.lw-lcount {
  font-variant-numeric: tabular-nums;
}
/* Separator */
.lw-cons-kpis-sep {
  height: 1px;
  background: #e5e7eb;
  margin: 0 0 16px;
}
/* KPI cards */
.lw-cons-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.lw-cons-kpi {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 12px 14px;
  text-align: center;
}
.lw-cons-kpi__num {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a2e1a;
  line-height: 1.2;
}
.lw-cons-kpi__label {
  font-size: .78rem;
  color: #6b7280;
  margin-top: 2px;
}
/* Responsive */
@media (max-width: 600px) {
  .lw-cons-panel {
    padding: 16px;
  }
  .lw-cons-headline {
    flex-direction: column;
    gap: 4px;
  }
  .lw-cons-pct {
    font-size: 1.6rem;
  }
  .lw-cons-bar {
    height: 22px;
  }
  .lw-cons-kpis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .lw-cons-kpi {
    padding: 10px 8px;
  }
  .lw-cons-kpi__num {
    font-size: 1.2rem;
  }
}