2026-03-23 22:32:33 +00:00
|
|
|
.row {
|
|
|
|
|
display: flex;
|
2026-03-24 09:27:22 +00:00
|
|
|
align-items: center;
|
|
|
|
|
gap: 1rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
background: var(--bg-card, white);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
|
|
|
|
border-left: 3px solid transparent;
|
|
|
|
|
border-radius: 8px;
|
2026-03-24 09:27:22 +00:00
|
|
|
padding: 0.75rem 1rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
transition: border-color 0.15s ease, box-shadow 0.15s ease;
|
|
|
|
|
animation: rowFadeIn 0.3s ease-out both;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.row:hover {
|
|
|
|
|
border-left-color: var(--accent-coral, #e07256);
|
|
|
|
|
box-shadow: 0 2px 8px rgba(26, 22, 18, 0.06);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowInCompare {
|
|
|
|
|
border-left-color: var(--accent-teal, #2d7d7d);
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes rowFadeIn {
|
2026-03-24 09:27:22 +00:00
|
|
|
from { opacity: 0; transform: translateY(6px); }
|
|
|
|
|
to { opacity: 1; transform: translateY(0); }
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* ── Left content column ─────────────────────────────── */
|
|
|
|
|
.rowContent {
|
2026-03-23 22:32:33 +00:00
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2026-03-24 09:27:22 +00:00
|
|
|
gap: 0.2rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* Line 1: name + type */
|
|
|
|
|
.line1 {
|
2026-03-23 22:44:39 +00:00
|
|
|
display: flex;
|
|
|
|
|
align-items: baseline;
|
2026-03-24 09:27:22 +00:00
|
|
|
gap: 0.625rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
min-width: 0;
|
2026-03-23 22:44:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-03-23 22:32:33 +00:00
|
|
|
font-size: 0.9375rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
2026-03-23 22:44:39 +00:00
|
|
|
flex-shrink: 1;
|
2026-03-24 09:27:22 +00:00
|
|
|
min-width: 0;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName:hover {
|
|
|
|
|
color: var(--accent-coral, #e07256);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.schoolType {
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Line 2: stats */
|
|
|
|
|
.line2 {
|
2026-03-23 22:32:33 +00:00
|
|
|
display: flex;
|
2026-03-24 09:27:22 +00:00
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.stat {
|
|
|
|
|
display: inline-flex;
|
2026-03-23 22:44:39 +00:00
|
|
|
align-items: baseline;
|
|
|
|
|
gap: 0.3rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.statValue {
|
|
|
|
|
font-size: 0.9375rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
font-family: var(--font-playfair), 'Playfair Display', serif;
|
2026-03-24 09:27:22 +00:00
|
|
|
display: inline-flex;
|
2026-03-23 22:32:33 +00:00
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.2rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.statLabel {
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.75rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
color: var(--text-muted, #8a847a);
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* Trend arrows */
|
2026-03-23 22:32:33 +00:00
|
|
|
.trend {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2026-03-24 09:27:22 +00:00
|
|
|
margin-left: 1px;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.trendUp { color: var(--accent-teal, #2d7d7d); }
|
|
|
|
|
.trendDown { color: var(--accent-coral, #e07256); }
|
|
|
|
|
.trendStable { color: var(--text-muted, #8a847a); }
|
|
|
|
|
|
|
|
|
|
/* Line 3: location */
|
|
|
|
|
.line3 {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0 0;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
color: var(--text-muted, #8a847a);
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.line3 span:not(:last-child)::after {
|
|
|
|
|
content: '·';
|
|
|
|
|
margin: 0 0.4rem;
|
|
|
|
|
color: var(--border-color, #e5dfd5);
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.distanceBadge {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
padding: 0.0625rem 0.375rem;
|
|
|
|
|
font-size: 0.75rem;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
background: var(--accent-teal, #2d7d7d);
|
|
|
|
|
color: white;
|
|
|
|
|
border-radius: 3px;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* ── Right actions column ────────────────────────────── */
|
2026-03-23 22:32:33 +00:00
|
|
|
.rowActions {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.5rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* Equalise <a> and <button> */
|
2026-03-24 09:22:42 +00:00
|
|
|
.rowActions > * {
|
|
|
|
|
height: 2rem;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-23 22:32:33 +00:00
|
|
|
.btnView {
|
2026-03-24 09:15:33 +00:00
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:53:09 +00:00
|
|
|
padding: 0.5rem 1rem;
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.875rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
2026-03-23 22:44:39 +00:00
|
|
|
border-radius: 6px;
|
2026-03-23 22:32:33 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
2026-03-24 09:15:33 +00:00
|
|
|
box-sizing: border-box;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnView:hover {
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
border-color: var(--text-muted, #8a847a);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnCompare {
|
2026-03-24 09:15:33 +00:00
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:53:09 +00:00
|
|
|
padding: 0.5rem 1rem;
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.875rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 600;
|
|
|
|
|
color: white;
|
|
|
|
|
background: var(--accent-coral, #e07256);
|
2026-03-24 09:15:33 +00:00
|
|
|
border: 1px solid transparent;
|
2026-03-23 22:44:39 +00:00
|
|
|
border-radius: 6px;
|
2026-03-23 22:32:33 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: background 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
2026-03-24 09:15:33 +00:00
|
|
|
box-sizing: border-box;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnCompare:hover {
|
|
|
|
|
background: var(--accent-coral-dark, #c45a3f);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnRemove {
|
2026-03-24 09:15:33 +00:00
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
2026-03-23 22:53:09 +00:00
|
|
|
padding: 0.5rem 1rem;
|
2026-03-23 22:44:39 +00:00
|
|
|
font-size: 0.875rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
font-weight: 500;
|
|
|
|
|
color: var(--text-secondary, #5c564d);
|
|
|
|
|
background: var(--bg-secondary, #f3ede4);
|
|
|
|
|
border: 1px solid var(--border-color, #e5dfd5);
|
2026-03-23 22:44:39 +00:00
|
|
|
border-radius: 6px;
|
2026-03-23 22:32:33 +00:00
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.15s ease;
|
|
|
|
|
white-space: nowrap;
|
2026-03-24 09:15:33 +00:00
|
|
|
box-sizing: border-box;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.btnRemove:hover {
|
|
|
|
|
background: var(--border-color, #e5dfd5);
|
|
|
|
|
color: var(--text-primary, #1a1612);
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
/* ── Mobile ──────────────────────────────────────────── */
|
2026-03-23 22:32:33 +00:00
|
|
|
@media (max-width: 640px) {
|
|
|
|
|
.row {
|
|
|
|
|
flex-wrap: wrap;
|
2026-03-24 09:27:22 +00:00
|
|
|
padding: 0.75rem;
|
|
|
|
|
gap: 0.625rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.rowContent {
|
2026-03-23 22:32:33 +00:00
|
|
|
flex-basis: 100%;
|
2026-03-23 22:44:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.schoolName {
|
2026-03-23 22:32:33 +00:00
|
|
|
white-space: normal;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.line2 {
|
|
|
|
|
gap: 0 1rem;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rowActions {
|
2026-03-24 09:27:22 +00:00
|
|
|
width: 100%;
|
2026-03-23 22:44:39 +00:00
|
|
|
gap: 0.375rem;
|
|
|
|
|
}
|
|
|
|
|
|
2026-03-24 09:27:22 +00:00
|
|
|
.rowActions > * {
|
|
|
|
|
flex: 1;
|
|
|
|
|
justify-content: center;
|
2026-03-23 22:32:33 +00:00
|
|
|
}
|
|
|
|
|
}
|