Template:Home/ConservationPanel.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) Undo revision 1439 by Eloise Zomia (talk) Tag: Undo |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* Conservation Panel */ | ||
.lw-cons-panel { | |||
.lw-cons-panel{ | background: #f9fafb; | ||
border: 1px solid #e5e7eb; | |||
border-radius: 12px; | |||
padding: 20px 24px 24px; | |||
margin: 12px 0 24px; | |||
margin: | |||
} | } | ||
.lw-cons-title { | |||
.lw- | font-size: .9rem; | ||
font-weight: 600; | |||
display: | color: #6b7280; | ||
margin: 0 0 14px; | |||
} | |||
/* Headline stat */ | |||
.lw-cons-headline { | |||
display: flex; | |||
align-items: baseline; | |||
gap: 10px; | |||
color: # | 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- | .lw-cons-bar { | ||
display: flex; | |||
height: 28px; | |||
border-radius: 6px; | |||
overflow: hidden; | |||
gap: 2px; | |||
margin: 0 0 12px; | |||
} | } | ||
.lw-bar-seg { | |||
.lw- | 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; | |||
. | |||
/* | |||
.lw-cons- | |||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 16px; | |||
gap: | |||
} | } | ||
.lw-cons-legend__item { | |||
.lw-cons- | |||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | 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- | .lw-ldot--low { background: #2b8a3e; } | ||
.lw-llbl { | |||
font-weight: 500; | |||
} | } | ||
.lw-lcount { | |||
font-variant-numeric: tabular-nums; | |||
.lw- | |||
} | } | ||
/* Separator */ | |||
.lw-cons-kpis-sep { | |||
height: 1px; | |||
background: #e5e7eb; | |||
margin: 0 0 16px; | |||
/* | |||
.lw-cons- | |||
} | } | ||
/* KPI cards */ | |||
.lw-cons- | .lw-cons-kpis { | ||
display: grid; | |||
grid-template-columns: repeat(3, minmax(0, 1fr)); | |||
gap: 12px; | |||
} | } | ||
.lw-cons-kpi { | |||
.lw-cons- | |||
background: #f3f4f6; | 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 { | |||
.lw-cons- | font-size: .78rem; | ||
color: #6b7280; | |||
margin-top: 2px; | |||
} | } | ||
/* Responsive */ | |||
@media (max-width: 600px) { | |||
/* | .lw-cons-panel { | ||
padding: 16px; | |||
@media (max-width: | } | ||
.lw-cons-headline { | |||
.lw-kpis{grid-template-columns:1fr;} | flex-direction: column; | ||
gap: 4px; | |||
.lw- | } | ||
.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; | |||
} | |||
} | } | ||
Revision as of 12:04, 1 April 2026
/* 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;
}
}