Template:Home/ConservationPanel.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* Conservation Panel */ | /* Conservation Panel */ | ||
.lw-cons-panel { | .lw-cons-panel { | ||
background: # | background: #f7faf6; | ||
border: 1px solid # | border: 1px solid #d2ddce; | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: | padding: 24px 28px 28px; | ||
margin: 12px 0 24px; | margin: 12px 0 24px; | ||
box-shadow: 0 2px 6px rgba(0,0,0,0.04); | |||
} | } | ||
/* Headline */ | |||
/* Headline | |||
.lw-cons-headline { | .lw-cons-headline { | ||
margin: 0 0 20px; | |||
line-height: 1.5; | |||
} | } | ||
.lw-cons-pct { | .lw-cons-pct { | ||
font-size: | display: block; | ||
font-size: 2.4rem; | |||
font-weight: 700; | font-weight: 700; | ||
line-height: 1; | line-height: 1; | ||
color: #c92a2a; | color: #c92a2a; | ||
margin: 0 0 4px; | |||
} | } | ||
.lw-cons-pct-label { | .lw-cons-pct-label { | ||
font-size: .95rem; | font-size: .95rem; | ||
color: # | font-weight: 500; | ||
line-height: 1. | color: #34402d; | ||
line-height: 1.5; | |||
} | } | ||
/* Priority bar */ | /* Priority bar */ | ||
.lw-cons-bar { | .lw-cons-bar { | ||
display: flex; | display: flex; | ||
height: | height: 24px; | ||
border-radius: 6px; | border-radius: 6px; | ||
overflow: hidden; | overflow: hidden; | ||
gap: 2px; | gap: 2px; | ||
margin: 0 0 | margin: 0 0 14px; | ||
} | } | ||
.lw-bar-seg { | .lw-bar-seg { | ||
| Line 45: | Line 40: | ||
transition: flex-grow 0.3s ease; | transition: flex-grow 0.3s ease; | ||
} | } | ||
.lw-bar-seg:first-child { border-radius: 6px 0 0 6px; } | |||
.lw-bar-seg:last-child { border-radius: 0 6px 6px 0; } | |||
.lw-bar--critical { background: #c92a2a; } | .lw-bar--critical { background: #c92a2a; } | ||
.lw-bar--high { background: #d9480f; } | .lw-bar--high { background: #d9480f; } | ||
| Line 52: | Line 49: | ||
.lw-cons-legend { | .lw-cons-legend { | ||
list-style: none; | list-style: none; | ||
margin: 0 0 | margin: 0 0 20px; | ||
padding: 0; | padding: 0; | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 18px; | ||
} | } | ||
.lw-cons-legend__item { | .lw-cons-legend__item { | ||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
gap: | gap: 6px; | ||
font-size: . | font-size: .8rem; | ||
color: # | color: #34402d; | ||
} | } | ||
.lw-ldot { | .lw-ldot { | ||
| Line 80: | Line 77: | ||
} | } | ||
.lw-lcount { | .lw-lcount { | ||
color: #7a8472; | |||
font-variant-numeric: tabular-nums; | font-variant-numeric: tabular-nums; | ||
} | } | ||
/* Separator */ | /* Separator */ | ||
.lw-cons | .lw-cons-sep { | ||
height: 1px; | height: 1px; | ||
background: # | background: #d2ddce; | ||
margin: 0 0 | margin: 0 0 18px; | ||
} | } | ||
/* KPI cards */ | /* KPI cards */ | ||
| Line 95: | Line 93: | ||
} | } | ||
.lw-cons-kpi { | .lw-cons-kpi { | ||
background: # | background: #ffffff; | ||
border-radius: | border: 1px solid #e1e6df; | ||
padding: | border-radius: 10px; | ||
padding: 14px 16px; | |||
text-align: center; | text-align: center; | ||
box-shadow: 0 1px 3px rgba(0,0,0,0.03); | |||
} | } | ||
.lw-cons-kpi__num { | .lw-cons-kpi__num { | ||
font-size: 1. | font-size: 1.5rem; | ||
font-weight: 700; | font-weight: 700; | ||
color: # | color: #1a2612; | ||
line-height: 1.2; | line-height: 1.2; | ||
font-variant-numeric: tabular-nums; | |||
} | } | ||
.lw-cons-kpi__label { | .lw-cons-kpi__label { | ||
font-size: . | font-size: .75rem; | ||
color: # | color: #5a6650; | ||
margin-top: | margin-top: 3px; | ||
} | } | ||
/* Responsive */ | /* Responsive */ | ||
@media (max-width: 600px) { | @media (max-width: 600px) { | ||
.lw-cons-panel { | .lw-cons-panel { | ||
padding: 16px; | padding: 18px 16px 20px; | ||
} | } | ||
.lw-cons- | .lw-cons-pct { | ||
font-size: 1.8rem; | |||
} | } | ||
.lw-cons-pct { | .lw-cons-pct-label { | ||
font-size: | font-size: .88rem; | ||
} | } | ||
.lw-cons-bar { | .lw-cons-bar { | ||
height: | height: 20px; | ||
} | } | ||
.lw-cons-kpis { | .lw-cons-kpis { | ||
gap: 8px; | gap: 8px; | ||
} | } | ||
.lw-cons-kpi { | .lw-cons-kpi { | ||
padding: 10px | padding: 12px 10px; | ||
} | } | ||
.lw-cons-kpi__num { | .lw-cons-kpi__num { | ||
font-size: 1. | font-size: 1.25rem; | ||
} | } | ||
} | } | ||
Latest revision as of 12:12, 1 April 2026
/* Conservation Panel */
.lw-cons-panel {
background: #f7faf6;
border: 1px solid #d2ddce;
border-radius: 12px;
padding: 24px 28px 28px;
margin: 12px 0 24px;
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
/* Headline */
.lw-cons-headline {
margin: 0 0 20px;
line-height: 1.5;
}
.lw-cons-pct {
display: block;
font-size: 2.4rem;
font-weight: 700;
line-height: 1;
color: #c92a2a;
margin: 0 0 4px;
}
.lw-cons-pct-label {
font-size: .95rem;
font-weight: 500;
color: #34402d;
line-height: 1.5;
}
/* Priority bar */
.lw-cons-bar {
display: flex;
height: 24px;
border-radius: 6px;
overflow: hidden;
gap: 2px;
margin: 0 0 14px;
}
.lw-bar-seg {
min-width: 0;
transition: flex-grow 0.3s ease;
}
.lw-bar-seg:first-child { border-radius: 6px 0 0 6px; }
.lw-bar-seg:last-child { border-radius: 0 6px 6px 0; }
.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 20px;
padding: 0;
display: flex;
flex-wrap: wrap;
gap: 18px;
}
.lw-cons-legend__item {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: .8rem;
color: #34402d;
}
.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 {
color: #7a8472;
font-variant-numeric: tabular-nums;
}
/* Separator */
.lw-cons-sep {
height: 1px;
background: #d2ddce;
margin: 0 0 18px;
}
/* KPI cards */
.lw-cons-kpis {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 12px;
}
.lw-cons-kpi {
background: #ffffff;
border: 1px solid #e1e6df;
border-radius: 10px;
padding: 14px 16px;
text-align: center;
box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.lw-cons-kpi__num {
font-size: 1.5rem;
font-weight: 700;
color: #1a2612;
line-height: 1.2;
font-variant-numeric: tabular-nums;
}
.lw-cons-kpi__label {
font-size: .75rem;
color: #5a6650;
margin-top: 3px;
}
/* Responsive */
@media (max-width: 600px) {
.lw-cons-panel {
padding: 18px 16px 20px;
}
.lw-cons-pct {
font-size: 1.8rem;
}
.lw-cons-pct-label {
font-size: .88rem;
}
.lw-cons-bar {
height: 20px;
}
.lw-cons-kpis {
gap: 8px;
}
.lw-cons-kpi {
padding: 12px 10px;
}
.lw-cons-kpi__num {
font-size: 1.25rem;
}
}