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: | ||
.lw-cp { | |||
.lw- | display: flex; | ||
flex-direction: column; | |||
gap: 1rem; | |||
margin: 1rem 0 1.5rem; | |||
} | } | ||
.lw- | .lw-cp-card, | ||
.lw-cp-stat { | |||
background: #ffffff; | |||
border: 1px solid #e1e6df; | |||
border-radius: 12px; | |||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04); | |||
} | } | ||
.lw- | |||
.lw-cp-card { | |||
padding: 1.5rem 1.75rem; | |||
} | } | ||
.lw- | |||
.lw-cp-header { | |||
font-size: 0.8125rem; | |||
font-weight: 700; | |||
letter-spacing: 0.08em; | |||
text-transform: uppercase; | |||
color: #1a2612; | |||
margin-bottom: 1.125rem; | |||
} | } | ||
.lw- | .lw-cp-body { | ||
display: flex; | |||
align-items: center; | |||
gap: 2rem; | |||
} | } | ||
.lw-bar | |||
.lw-cp-bar { | |||
flex: 0 0 42%; | |||
display: flex; | |||
height: 18px; | |||
border-radius: 4px; | |||
overflow: hidden; | |||
background: #f1f3ec; | |||
} | } | ||
.lw- | .lw-cp-seg { | ||
display: block; | |||
height: 100%; | |||
min-width: 2px; | |||
} | } | ||
.lw- | |||
.lw-cp-seg-critical { background: #c92a2a; } | |||
.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; | |||
display: flex; | |||
align-items: baseline; | |||
gap: 1rem; | |||
} | } | ||
.lw- | |||
.lw-cp-pct { | |||
font-size: 3rem; | |||
font-weight: 700; | |||
color: #1a2612; | |||
line-height: 1; | |||
flex-shrink: 0; | |||
} | } | ||
.lw- | |||
.lw-cp-pct-desc { | |||
font-size: 0.9375rem; | |||
color: #34402d; | |||
. | line-height: 1.45; | ||
} | } | ||
.lw- | |||
.lw-cp-stats { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 1rem; | |||
} | } | ||
.lw- | .lw-cp-stat { | ||
padding: 1.5rem; | |||
text-align: center; | |||
} | } | ||
.lw- | .lw-cp-stat-num { | ||
font-size: 2.5rem; | |||
font-weight: 700; | |||
color: #1a2612; | |||
line-height: 1; | |||
margin-bottom: 0.375rem; | |||
} | } | ||
.lw- | |||
.lw-cp-stat-label { | |||
font-size: 0.9375rem; | |||
color: #5a6650; | |||
} | } | ||
.lw- | |||
@media (max-width: 720px) { | |||
.lw-cp-body { | |||
flex-direction: column; | |||
align-items: stretch; | |||
gap: 1.25rem; | |||
} | } | ||
.lw- | .lw-cp-bar { | ||
flex: 0 0 auto; | |||
width: 100%; | |||
} | |||
.lw-cp-callout { | |||
flex-direction: column; | |||
align-items: center; | |||
text-align: center; | |||
gap: 0.5rem; | |||
} | |||
.lw-cp-stats { | |||
grid-template-columns: 1fr; | |||
} | |||
.lw-cp-pct { | |||
font-size: 2.5rem; | |||
} | |||
} | } | ||
Revision as of 10:30, 17 April 2026
.lw-cp {
display: flex;
flex-direction: column;
gap: 1rem;
margin: 1rem 0 1.5rem;
}
.lw-cp-card,
.lw-cp-stat {
background: #ffffff;
border: 1px solid #e1e6df;
border-radius: 12px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.lw-cp-card {
padding: 1.5rem 1.75rem;
}
.lw-cp-header {
font-size: 0.8125rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #1a2612;
margin-bottom: 1.125rem;
}
.lw-cp-body {
display: flex;
align-items: center;
gap: 2rem;
}
.lw-cp-bar {
flex: 0 0 42%;
display: flex;
height: 18px;
border-radius: 4px;
overflow: hidden;
background: #f1f3ec;
}
.lw-cp-seg {
display: block;
height: 100%;
min-width: 2px;
}
.lw-cp-seg-critical { background: #c92a2a; }
.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;
display: flex;
align-items: baseline;
gap: 1rem;
}
.lw-cp-pct {
font-size: 3rem;
font-weight: 700;
color: #1a2612;
line-height: 1;
flex-shrink: 0;
}
.lw-cp-pct-desc {
font-size: 0.9375rem;
color: #34402d;
line-height: 1.45;
}
.lw-cp-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}
.lw-cp-stat {
padding: 1.5rem;
text-align: center;
}
.lw-cp-stat-num {
font-size: 2.5rem;
font-weight: 700;
color: #1a2612;
line-height: 1;
margin-bottom: 0.375rem;
}
.lw-cp-stat-label {
font-size: 0.9375rem;
color: #5a6650;
}
@media (max-width: 720px) {
.lw-cp-body {
flex-direction: column;
align-items: stretch;
gap: 1.25rem;
}
.lw-cp-bar {
flex: 0 0 auto;
width: 100%;
}
.lw-cp-callout {
flex-direction: column;
align-items: center;
text-align: center;
gap: 0.5rem;
}
.lw-cp-stats {
grid-template-columns: 1fr;
}
.lw-cp-pct {
font-size: 2.5rem;
}
}