garage44.eu/jeroen/cartopolis

logclone: git clone https://garage44.eu/jeroen/cartopolis.git

.. /docs/mockups/redesign/style.css

raw

@font-face { font-family: Jakarta; font-weight: 400; src: url(../../../assets/fonts/PlusJakartaSans-Regular.ttf); }
@font-face { font-family: Jakarta; font-weight: 600; src: url(../../../assets/fonts/PlusJakartaSans-SemiBold.ttf); }

/* The sheet around the drawings. */
:root {
  --brand:#FD6012; --sheet:#0b1012; --sheet-text:#DBE2E5; --sheet-dim:#93A2A7; --sheet-cream:#F3F7F9;
  /* The proposal's tokens: opaque surfaces, one accent. */
  --bg:#0F1618; --surface:#151F22; --raised:#1C282B; --hover:#243236; --line:rgba(255,255,255,.09);
  --text:#E9EFF1; --dim:#9EAFB4; --faint:#6F8287; --accent:#5ED0C2; --on-accent:#06201D;
  --warn:#F2A65A; --danger:#F07A6E; --live:#FD6012;
}
* { box-sizing:border-box; margin:0; padding:0; }
body { background:var(--sheet); color:var(--sheet-text); font:15px/1.45 Jakarta, system-ui, sans-serif; padding:48px 56px 64px; width:1840px; }
h1 { font-size:38px; color:var(--sheet-cream); letter-spacing:-.5px; font-weight:600; }
h1 b { color:var(--brand); font-weight:inherit; }
h2.sec { font-size:24px; color:var(--sheet-cream); font-weight:600; margin:54px 0 6px; }
h2.sec span { color:var(--brand); margin-right:8px; }
.lede { color:var(--sheet-dim); font-size:17px; max-width:1300px; margin:10px 0 26px; }
.lede strong, .lede b { color:var(--sheet-cream); font-weight:600; }
.tag { display:inline-block; font-size:12px; padding:1px 8px; border-radius:6px; background:rgba(253,96,18,.18); color:#FF9A66; vertical-align:2px; }

.principles { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin:22px 0 10px; }
.principles div { background:#131A1C; border:1px solid rgba(255,255,255,.1); border-radius:14px; padding:16px 18px; }
.principles h3 { color:var(--sheet-cream); font-size:16px; margin-bottom:6px; font-weight:600; }
.principles h3 i { font-style:normal; color:var(--brand); margin-right:6px; }
.principles p { color:var(--sheet-dim); font-size:14px; }

.row { display:flex; gap:34px; align-items:flex-start; flex-wrap:wrap; }
.cell { width:390px; }
.cap { margin-top:16px; }
.cap h3 { font-size:17px; color:var(--sheet-cream); margin-bottom:6px; font-weight:600; }
.cap h3 span { color:var(--brand); margin-right:6px; }
.cap ul { color:var(--sheet-dim); font-size:14px; padding-left:18px; }
.cap li { margin-bottom:4px; }
.cap li b { color:var(--sheet-text); font-weight:600; }

svg.i { width:22px; height:22px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; flex:none; }
svg.s { width:18px; height:18px; }
svg.l { width:26px; height:26px; }

/* Frames */
.phone { width:390px; height:844px; border-radius:46px; position:relative; overflow:hidden; background:#000 center/cover; font-size:15px;
  box-shadow:0 0 0 10px #1a2124, 0 0 0 11px #2b3438, 0 30px 60px rgba(0,0,0,.5); flex:none; color:var(--text); }
.phone.solid { background:var(--bg); }
.status { position:absolute; inset:0 0 auto 0; height:46px; display:flex; justify-content:space-between; align-items:center; padding:0 30px; font-size:14px; font-weight:600; color:#fff; z-index:20; }
.status .notch { position:absolute; left:50%; top:10px; width:110px; height:28px; border-radius:20px; background:#000; transform:translateX(-50%); }
.desk { width:1500px; height:860px; border-radius:14px; position:relative; overflow:hidden; background:#000 center/cover; flex:none; color:var(--text);
  box-shadow:0 0 0 1px #2b3438, 0 30px 60px rgba(0,0,0,.5); display:flex; }
.today { width:390px; border-radius:16px; box-shadow:0 0 0 1px #2b3438, 0 20px 40px rgba(0,0,0,.45); display:block; }
.shot { position:relative; }
.pin { position:absolute; width:30px; height:30px; border-radius:50%; background:var(--brand); color:#fff; font-weight:600; font-size:15px;
  display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 3px rgba(0,0,0,.55); z-index:30; }
.ring { position:absolute; border:3px solid var(--brand); border-radius:12px; z-index:29; }

/* ---- The proposal's components ---- */
.surface { background:var(--surface); border-radius:22px; box-shadow:0 8px 28px rgba(0,0,0,.45); }
.searchbar { position:absolute; left:14px; right:14px; top:52px; height:52px; border-radius:26px; background:var(--surface);
  display:flex; align-items:center; gap:12px; padding:0 8px 0 18px; color:var(--dim); font-size:16px; box-shadow:0 6px 20px rgba(0,0,0,.4); z-index:10; }
.searchbar .av { margin-left:auto; }
.av { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:600; color:#fff; flex:none; font-size:15px; }
.av.sm { width:30px; height:30px; font-size:13px; }
.av.lg { width:44px; height:44px; font-size:17px; }

/* Map controls: one column, every control named. */
.mapctl { position:absolute; right:14px; display:flex; flex-direction:column; gap:10px; z-index:10; }
.mbtn { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; width:64px; height:60px; border-radius:18px;
  background:var(--surface); color:var(--text); font-size:11.5px; font-weight:600; box-shadow:0 6px 18px rgba(0,0,0,.4); }
.mbtn.on { background:var(--accent); color:var(--on-accent); }

.tabbar { position:absolute; left:0; right:0; bottom:0; height:86px; background:var(--bg); border-top:1px solid var(--line);
  display:flex; justify-content:space-around; padding:8px 8px 0; z-index:15; }
.tab { display:flex; flex-direction:column; align-items:center; gap:4px; width:78px; color:var(--dim); font-size:12.5px; font-weight:600; position:relative; }
.tab .ico { width:60px; height:32px; border-radius:16px; display:flex; align-items:center; justify-content:center; }
.tab.on { color:var(--text); }
.tab.on .ico { background:rgba(94,208,194,.2); color:var(--accent); }
.badge { position:absolute; top:-2px; left:44px; min-width:19px; height:19px; padding:0 5px; border-radius:10px; background:var(--live); color:#fff; font-size:11px; font-weight:600; display:flex; align-items:center; justify-content:center; }

.sheet { position:absolute; left:0; right:0; background:var(--surface); border-radius:24px 24px 0 0; padding:10px 18px 0; box-shadow:0 -8px 30px rgba(0,0,0,.45); z-index:12; }
.grab { width:40px; height:5px; border-radius:3px; background:rgba(255,255,255,.22); margin:0 auto 12px; }
.title { font-size:22px; font-weight:600; letter-spacing:-.2px; color:var(--text); }
.sub { color:var(--dim); font-size:14px; }
.h-row { display:flex; align-items:center; gap:10px; }
.grow { flex:1; min-width:0; }
.label { font-size:13px; color:var(--dim); font-weight:600; margin:18px 0 8px; letter-spacing:.2px; }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:48px; padding:0 18px; border-radius:24px; font-weight:600; font-size:15px; white-space:nowrap; }
.btn.primary { background:var(--accent); color:var(--on-accent); }
.btn.second { background:var(--raised); color:var(--text); border:1px solid var(--line); }
.btn.text { color:var(--accent); padding:0 8px; }
.btn.danger { color:var(--danger); background:rgba(240,122,110,.1); }
.btn.small { height:38px; font-size:14px; padding:0 14px; border-radius:19px; }
.btn.full { width:100%; }
.actions { display:flex; gap:8px; overflow:hidden; }
/* An action with its icon above its name, four or five to a row. */
.acts { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.act { display:flex; flex-direction:column; align-items:center; gap:6px; padding:12px 4px 10px; border-radius:16px; background:var(--raised); font-size:13px; font-weight:600; color:var(--text); text-align:center; }
.act svg { color:var(--accent); }
.act.danger svg, .act.danger { color:var(--danger); }

.list { background:var(--raised); border-radius:18px; overflow:hidden; }
.li { display:flex; align-items:center; gap:14px; min-height:60px; padding:10px 16px; border-bottom:1px solid var(--line); }
.li:last-child { border-bottom:0; }
.li .t { font-size:16px; color:var(--text); }
.li .d { font-size:13.5px; color:var(--dim); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.li .ic { width:38px; height:38px; border-radius:12px; background:rgba(94,208,194,.14); color:var(--accent); display:flex; align-items:center; justify-content:center; flex:none; }
.li .chev { color:var(--faint); }
.li .meta { color:var(--faint); font-size:13px; }
.count { min-width:22px; height:22px; padding:0 6px; border-radius:11px; background:var(--live); color:#fff; font-size:12px; font-weight:600; display:inline-flex; align-items:center; justify-content:center; }
.chip { display:inline-flex; align-items:center; gap:6px; height:36px; padding:0 14px; border-radius:18px; background:var(--raised); border:1px solid var(--line); font-size:14px; font-weight:600; color:var(--text); }
.chip.on { background:rgba(94,208,194,.18); border-color:rgba(94,208,194,.5); color:var(--accent); }
.seg { display:flex; background:var(--bg); border-radius:14px; padding:4px; gap:4px; }
.seg div { flex:1; height:40px; border-radius:11px; display:flex; align-items:center; justify-content:center; font-weight:600; font-size:14px; color:var(--dim); }
.seg div.on { background:var(--raised); color:var(--text); box-shadow:0 2px 6px rgba(0,0,0,.3); }
.topbar { position:absolute; left:0; right:0; top:46px; height:60px; display:flex; align-items:center; gap:6px; padding:0 10px; z-index:10; }
.back { display:flex; align-items:center; gap:2px; color:var(--accent); font-weight:600; font-size:16px; height:44px; padding:0 8px; }
.pagetitle { font-size:30px; font-weight:600; letter-spacing:-.4px; padding:0 20px; }
.content { position:absolute; left:0; right:0; top:106px; bottom:86px; padding:0 16px; overflow:hidden; }
.note { font-size:13px; color:var(--faint); }
.toggle { width:46px; height:28px; border-radius:14px; background:var(--accent); position:relative; flex:none; }
.toggle::after { content:''; position:absolute; right:3px; top:3px; width:22px; height:22px; border-radius:50%; background:var(--on-accent); }
.toggle.off { background:#36464A; }
.toggle.off::after { right:auto; left:3px; background:#9AABB0; }
.new { display:inline-block; font-size:10.5px; padding:0 6px; border-radius:5px; background:rgba(253,96,18,.2); color:#FF9A66; vertical-align:2px; font-weight:600; }

/* tables on the sheet */
table.map { border-collapse:collapse; width:100%; font-size:14.5px; margin-top:12px; }
table.map th { text-align:left; color:var(--sheet-dim); font-weight:600; font-size:13px; padding:8px 12px; border-bottom:1px solid rgba(255,255,255,.12); }
table.map td { padding:9px 12px; border-bottom:1px solid rgba(255,255,255,.06); vertical-align:top; }
table.map td:nth-child(2) { color:#7FE0D3; font-weight:600; }
table.map td:nth-child(3) { color:var(--sheet-dim); }