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 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* | /* Conservation Panel */ | ||
.lw-cons-panel { | |||
.lw-cons-panel{background:# | 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- | .lw-cons-headline { | ||
margin: 0 0 20px; | |||
line-height: 1.5; | |||
} | } | ||
.lw-cons-pct { | |||
.lw- | display: block; | ||
font-size: 2.4rem; | |||
font-weight: 700; | |||
line-height: 1; | |||
color: #c92a2a; | |||
margin: 0 0 4px; | |||
} | } | ||
.lw-cons-pct-label { | |||
.lw- | 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-cons- | .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; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: 18px; | |||
gap: | |||
} | } | ||
.lw-cons-legend__item { | |||
.lw-cons- | |||
display: inline-flex; | display: inline-flex; | ||
align-items: center; | align-items: center; | ||
gap: 6px; | |||
font-size: .8rem; | |||
color: #34402d; | |||
font-size: . | |||
} | } | ||
.lw-ldot { | |||
width: 10px; | |||
height: 10px; | |||
.lw- | 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 { | |||
.lw- | color: #7a8472; | ||
font-variant-numeric: tabular-nums; | |||
.lw-cons- | } | ||
/* Separator */ | |||
.lw-cons-sep { | |||
height: 1px; | |||
.lw-cons- | 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; | background: #ffffff; | ||
border: 1px solid #e1e6df; | |||
border | 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; | |||
.lw-cons- | color: #1a2612; | ||
line-height: 1.2; | |||
font-variant-numeric: tabular-nums; | |||
color: # | |||
} | } | ||
.lw-cons-kpi__label { | |||
.lw-cons- | font-size: .75rem; | ||
color: #5a6650; | |||
margin-top: 3px; | |||
} | } | ||
/* Responsive */ | |||
@media (max-width: 600px) { | |||
/* | .lw-cons-panel { | ||
padding: 18px 16px 20px; | |||
@media (max-width: | } | ||
.lw-cons-pct { | |||
.lw- | font-size: 1.8rem; | ||
} | |||
.lw- | .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; | |||
} | |||
} | } | ||
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;
}
}