Toggle menu
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: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
.lw-cp {
.lw-cons-wrap {
display: flex;
margin: 0 0 24px;
flex-direction: column;
gap: 1rem;
margin: 1rem 0 1.5rem;
}
}


.lw-cp-card,
.lw-cons-card {
.lw-cp-stat {
background: #ffffff;
background: #ffffff;
border: 1px solid #e1e6df;
border: 1px solid #d2ddce;
border-radius: 12px;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
margin-bottom: 12px;
padding: 0;
}
.lw-cons-card > *:not(.lw-map):not(.lw-cons-panel) {
display: none;
}
}


.lw-cp-card {
.lw-cons-map {
padding: 1.5rem 1.75rem;
display: block;
width: 100%;
margin: 0;
}
}


.lw-cp-header {
.lw-cons-panel {
font-size: 0.8125rem;
padding: 12px 24px 14px;
}
 
.lw-cons-eyebrow {
font-size: 1rem;
font-weight: 700;
font-weight: 700;
letter-spacing: 0.08em;
letter-spacing: 0.08em;
text-transform: uppercase;
text-transform: uppercase;
color: #1a2612;
color: #1a2612;
margin-bottom: 1.125rem;
margin: 0 0 10px;
line-height: 1.2;
}
}
 
.lw-cons-row {
.lw-cp-body {
display: flex;
display: flex;
align-items: center;
align-items: center;
gap: 2rem;
gap: 24px;
margin: 0;
}
}


.lw-cp-bar {
.lw-cons-bar {
flex: 0 0 42%;
flex: 0 0 42%;
display: flex;
display: flex;
height: 18px;
height: 20px;
border-radius: 4px;
border-radius: 6px;
overflow: hidden;
overflow: hidden;
background: #f1f3ec;
gap: 2px;
background: #eef2ea;
}
}


.lw-cp-seg {
.lw-bar-seg {
display: block;
min-width: 0;
height: 100%;
transition: flex-grow .3s ease;
min-width: 2px;
}
}
.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; }


.lw-cp-seg-critical { background: #c92a2a; }
.lw-cons-callout {
.lw-cp-seg-high    { background: #d9480f; }
.lw-cp-seg-medium  { background: #e67700; }
.lw-cp-seg-low      { background: #94c973; }
.lw-cp-seg-stable  { background: #2b8a3e; }
 
.lw-cp-callout {
flex: 1;
flex: 1;
display: flex;
display: flex;
align-items: baseline;
align-items: center;
gap: 1rem;
gap: 12px;
}
}


.lw-cp-pct {
.lw-cons-pct {
font-size: 3rem;
font-size: 2.75rem;
font-weight: 700;
font-weight: 700;
color: #1a2612;
color: #1a2612;
Line 69: Line 79:
}
}


.lw-cp-pct-desc {
.lw-cons-pct-label {
font-size: 0.9375rem;
font-size: .95rem;
color: #34402d;
color: #34402d;
line-height: 1.45;
line-height: 1.35;
}
}


.lw-cp-stats {
.lw-cons-kpis {
display: grid;
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 1rem;
gap: 12px;
}
}


.lw-cp-stat {
.lw-cons-kpi {
padding: 1.5rem;
background: #ffffff;
border: 1px solid #e1e6df;
border-radius: 12px;
padding: 20px 16px;
text-align: center;
text-align: center;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
}


.lw-cp-stat-num {
.lw-cons-kpi__num {
font-size: 2.5rem;
font-size: 2rem;
font-weight: 700;
font-weight: 700;
color: #1a2612;
color: #1a2612;
line-height: 1;
line-height: 1.1;
margin-bottom: 0.375rem;
font-variant-numeric: tabular-nums;
}
}


.lw-cp-stat-label {
.lw-cons-kpi__label {
font-size: 0.9375rem;
font-size: .88rem;
color: #5a6650;
color: #5a6650;
margin-top: 4px;
}
}


@media (max-width: 720px) {
@media (max-width: 720px) {
.lw-cp-body {
.lw-cons-panel {
padding: 12px 16px 14px;
}
.lw-cons-row {
flex-direction: column;
flex-direction: column;
align-items: stretch;
align-items: stretch;
gap: 1.25rem;
gap: 10px;
}
}
.lw-cp-bar {
.lw-cons-bar {
flex: 0 0 auto;
flex: 0 0 auto;
width: 100%;
}
}
.lw-cp-callout {
.lw-cons-callout {
flex-direction: column;
flex-direction: column;
align-items: center;
align-items: flex-start;
text-align: center;
gap: 4px;
gap: 0.5rem;
}
.lw-cons-pct {
font-size: 1.7rem;
}
}
.lw-cp-stats {
.lw-cons-kpis {
grid-template-columns: 1fr;
grid-template-columns: 1fr;
}
gap: 10px;
.lw-cp-pct {
font-size: 2.5rem;
}
}
}
}

Latest revision as of 11:06, 17 April 2026

.lw-cons-wrap {
	margin: 0 0 24px;
}

.lw-cons-card {
	background: #ffffff;
	border: 1px solid #d2ddce;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	margin-bottom: 12px;
	padding: 0;
}

.lw-cons-card > *:not(.lw-map):not(.lw-cons-panel) {
	display: none;
}

.lw-cons-map {
	display: block;
	width: 100%;
	margin: 0;
}

.lw-cons-panel {
	padding: 12px 24px 14px;
}

.lw-cons-eyebrow {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1a2612;
	margin: 0 0 10px;
	line-height: 1.2;
}
.lw-cons-row {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
}

.lw-cons-bar {
	flex: 0 0 42%;
	display: flex;
	height: 20px;
	border-radius: 6px;
	overflow: hidden;
	gap: 2px;
	background: #eef2ea;
}

.lw-bar-seg {
	min-width: 0;
	transition: flex-grow .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; }

.lw-cons-callout {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
}

.lw-cons-pct {
	font-size: 2.75rem;
	font-weight: 700;
	color: #1a2612;
	line-height: 1;
	flex-shrink: 0;
}

.lw-cons-pct-label {
	font-size: .95rem;
	color: #34402d;
	line-height: 1.35;
}

.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: 12px;
	padding: 20px 16px;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.lw-cons-kpi__num {
	font-size: 2rem;
	font-weight: 700;
	color: #1a2612;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.lw-cons-kpi__label {
	font-size: .88rem;
	color: #5a6650;
	margin-top: 4px;
}

@media (max-width: 720px) {
	.lw-cons-panel {
		padding: 12px 16px 14px;
	}
	.lw-cons-row {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.lw-cons-bar {
		flex: 0 0 auto;
	}
	.lw-cons-callout {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}
	.lw-cons-pct {
		font-size: 1.7rem;
	}
	.lw-cons-kpis {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}