Files
mont_vendor_maps/static/css/index.css

493 lines
11 KiB
CSS

:root {
--bg: #eef4ff;
--bg2: #dde9ff;
--panel: #ffffff;
--text: #15203b;
--muted: #526079;
--line: #c8d7f7;
--brand: #1f4ea3;
--brand-2: #3578ef;
--accent: #0f7b56;
--radius: 18px;
--shadow: 0 20px 55px rgba(16, 43, 95, .14);
}
* { box-sizing: border-box; }
body {
margin: 0;
min-height: 100vh;
font-family: Manrope, sans-serif;
color: var(--text);
background:
radial-gradient(1200px 700px at -10% -10%, #c8dbff 0%, transparent 55%),
radial-gradient(900px 500px at 110% -20%, #d8f4ec 0%, transparent 50%),
linear-gradient(160deg, var(--bg) 0%, var(--bg2) 100%);
}
body.scope-ib {
background:
radial-gradient(1200px 700px at -10% -10%, #b8f3cf 0%, transparent 58%),
radial-gradient(900px 500px at 110% -20%, #b2efd6 0%, transparent 52%),
linear-gradient(160deg, #daf8e8 0%, #bdeecf 100%);
}
body.scope-ib .hero {
background:
linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,0) 45%),
linear-gradient(125deg, #1f7a4a 0%, #2f9c61 55%, #47b879 100%);
}
body.scope-ib .hero::after {
background-color: rgba(10, 74, 45, .42);
}
body.scope-ib .hero::before {
background:
linear-gradient(to top, rgba(255,255,255,.9) 0 2px, rgba(255,255,255,0) 2px),
rgba(10, 61, 38, .40);
}
body.scope-ib .mode-btn.active {
background: linear-gradient(140deg, #1d8d54, #2fac6d);
box-shadow: 0 8px 18px rgba(24, 124, 72, .35);
}
.wrap {
width: min(1400px, calc(100% - 32px));
margin: 18px auto 28px;
}
.brand-strip {
margin-bottom: 12px;
display: flex;
justify-content: flex-start;
}
.hero {
background:
linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,0) 45%),
linear-gradient(125deg, #173d83 0%, #2c63ca 55%, #3f83ff 100%);
color: #f5f8ff;
border-radius: calc(var(--radius) + 4px);
padding: 26px;
box-shadow: var(--shadow);
position: relative;
overflow: hidden;
}
.hero-layout {
display: grid;
grid-template-columns: 1fr;
gap: 0;
align-items: center;
position: relative;
z-index: 1;
}
.hero::after {
content: "";
position: absolute;
inset: auto -4% 0 -4%;
height: 62%;
background-color: rgba(17, 46, 102, .38);
clip-path: polygon(0 100%, 0 84%, 9% 52%, 17% 70%, 28% 42%, 39% 73%, 50% 32%, 61% 66%, 73% 38%, 84% 69%, 93% 47%, 100% 60%, 100% 100%);
}
.hero::before {
content: "";
position: absolute;
inset: auto -3% 0 -3%;
height: 50%;
background:
linear-gradient(to top, rgba(255,255,255,.9) 0 2px, rgba(255,255,255,0) 2px),
rgba(9, 31, 76, .32);
clip-path: polygon(0 100%, 0 90%, 8% 67%, 16% 82%, 25% 58%, 35% 85%, 47% 50%, 58% 80%, 69% 55%, 80% 79%, 91% 62%, 100% 74%, 100% 100%);
}
.hero h1 {
margin: 0 0 8px;
font-family: "Space Grotesk", sans-serif;
font-size: clamp(26px, 4.8vw, 48px);
letter-spacing: .3px;
line-height: 1.02;
}
.brand-logo {
width: clamp(170px, 24vw, 280px);
padding: 0;
border: 0;
background: transparent;
box-shadow: none;
}
.brand-logo img {
width: 100%;
height: auto;
display: block;
object-fit: contain;
filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .14));
}
.hero p {
margin: 0;
max-width: 860px;
color: rgba(245,248,255,.92);
font-size: 16px;
}
.board {
margin-top: 18px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.mode-switch {
display: inline-flex;
gap: 6px;
padding: 6px;
border-radius: 14px;
background: #ffffff;
border: 1px solid #d9e6ff;
box-shadow: 0 8px 24px rgba(26, 58, 118, .08);
margin-top: 12px;
}
.mode-btn {
border: 0;
border-radius: 10px;
padding: 9px 14px;
font-size: 13px;
font-weight: 800;
letter-spacing: .2px;
color: #2a4e8d;
background: transparent;
cursor: pointer;
transition: .18s ease;
}
.mode-btn:hover { background: #eef4ff; }
.mode-btn.active {
color: #fff;
background: linear-gradient(140deg, #1f4ea3, #3978e0);
box-shadow: 0 8px 18px rgba(38, 86, 176, .28);
}
.card {
background: var(--panel);
border: 1px solid #dfebff;
border-radius: var(--radius);
box-shadow: 0 10px 30px rgba(24, 56, 116, .08);
padding: 14px;
min-height: 320px;
}
.card h2 {
margin: 0 0 10px;
font-size: 14px;
text-transform: uppercase;
letter-spacing: .9px;
color: #234782;
font-weight: 800;
}
.search {
width: 100%;
border: 1px solid #cfe0ff;
border-radius: 12px;
padding: 11px 12px;
font-size: 14px;
margin-bottom: 10px;
outline: none;
transition: .2s ease;
}
.search:focus {
border-color: #5b91f6;
box-shadow: 0 0 0 4px rgba(91,145,246,.14);
}
.chip-grid {
display: flex;
flex-wrap: wrap;
gap: 8px;
max-height: 380px;
overflow: auto;
padding-right: 4px;
}
.chip {
border: 1px solid #ccdbf7;
border-radius: 999px;
padding: 8px 12px;
background: #f7faff;
color: #22427a;
font-size: 13px;
cursor: pointer;
user-select: none;
transition: .18s ease;
}
.chip:hover {
transform: translateY(-1px);
border-color: #98b9ef;
background: #f0f6ff;
}
.chip.active {
background: linear-gradient(140deg, #1f4ea3, #3978e0);
border-color: transparent;
color: #fff;
box-shadow: 0 6px 16px rgba(34,83,172,.25);
}
.chip.dim {
opacity: .45;
}
.footer-bar {
margin-top: 14px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
color: var(--muted);
font-size: 13px;
}
button.action {
border: 0;
border-radius: 10px;
background: linear-gradient(140deg, #0d7e59, #0a6648);
color: #fff;
padding: 9px 14px;
font-weight: 700;
cursor: pointer;
}
.result {
margin-top: 16px;
background: #fff;
border-radius: var(--radius);
border: 1px solid #dfebff;
box-shadow: 0 10px 30px rgba(24, 56, 116, .07);
padding: 14px;
}
.result-head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
gap: 12px;
}
.result-head h3 {
margin: 0;
font-size: 17px;
color: #1f3f77;
}
.active-filters {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 0 0 12px;
padding: 9px;
border-radius: 12px;
border: 1px solid #c9dafd;
background: linear-gradient(145deg, #e8f0ff, #dbe8ff);
box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}
.active-filter {
display: inline-flex;
align-items: center;
gap: 7px;
border-radius: 999px;
padding: 6px 8px 6px 10px;
border: 1px solid #cfe0ff;
background: linear-gradient(145deg, #f8fbff, #edf4ff);
color: #21457f;
font-size: 12px;
font-weight: 700;
}
.active-filter .kind {
opacity: .7;
font-weight: 600;
letter-spacing: .2px;
}
.active-filter .remove {
display: inline-grid;
place-items: center;
width: 20px;
height: 20px;
border: 0;
border-radius: 999px;
background: #dbe9ff;
color: #1f4a8f;
font-size: 14px;
line-height: 1;
cursor: pointer;
padding: 0;
transition: .16s ease;
}
.active-filter .remove:hover {
background: #c4dbff;
transform: scale(1.05);
}
.rows {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
gap: 12px;
}
.row-card {
border: 1px solid var(--line);
background: linear-gradient(180deg, #ffffff, #f5f9ff);
border-radius: 12px;
padding: 10px;
}
.row-card strong { color: #1a3e79; font-size: 14px; }
.tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
font-size: 12px;
border-radius: 999px;
background: #eaf2ff;
color: #234b89;
padding: 4px 8px;
border: 1px solid #d2e3ff;
}
a.tag {
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 5px;
}
a.tag::after {
content: "↗";
font-size: 11px;
opacity: .85;
}
.credit {
position: fixed;
right: 16px;
bottom: 10px;
text-align: right;
line-height: 1.1;
z-index: 5;
}
.credit .name {
font-family: Caveat, cursive;
font-size: 14px;
color: #1c3f7c;
}
.credit a {
font-size: 7px;
color: #2f5fae;
text-decoration: none;
font-weight: 700;
}
@media (max-width: 980px) {
.brand-logo { max-width: 240px; }
.board { grid-template-columns: 1fr; }
.hero { padding: 20px; }
.credit { right: 8px; bottom: 6px; }
.credit .name { font-size: 8px; }
.credit a { font-size: 6px; }
}
@media (max-width: 768px) {
.wrap {
width: calc(100% - 16px);
margin: 10px auto 18px;
}
.brand-strip {
margin-bottom: 8px;
}
.brand-logo {
width: clamp(132px, 42vw, 190px);
}
.hero {
padding: 16px 14px 20px;
border-radius: 16px;
}
.hero h1 {
font-size: clamp(22px, 7vw, 32px);
line-height: 1.06;
}
.hero p {
font-size: 14px;
}
.mode-switch {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr;
}
.mode-btn {
width: 100%;
min-height: 42px;
}
.card {
min-height: 0;
padding: 12px;
}
.chip-grid {
max-height: 260px;
}
.chip {
font-size: 12px;
padding: 8px 10px;
}
.footer-bar {
flex-direction: column;
align-items: stretch;
gap: 8px;
background: rgba(255, 255, 255, .78);
border: 1px solid #dbe7ff;
border-radius: 12px;
padding: 10px;
}
button.action {
width: 100%;
min-height: 42px;
}
.result {
margin-top: 12px;
padding: 12px;
}
.active-filters {
margin-bottom: 10px;
}
.active-filter {
width: 100%;
justify-content: space-between;
}
.result-head h3 {
font-size: 15px;
}
.rows {
grid-template-columns: 1fr;
gap: 10px;
}
.credit {
right: 8px;
bottom: 8px;
background: rgba(255, 255, 255, .86);
border: 1px solid #dbe6ff;
border-radius: 10px;
padding: 4px 6px;
}
}
@media (max-width: 420px) {
.hero::before,
.hero::after {
opacity: .72;
}
.search {
padding: 10px 11px;
}
.tag {
font-size: 11px;
}
}