garage44.eu/jeroen/cartopolis

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

.. /docs/mockups/site-header/style.css

raw

@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 400; src: url('../../../assets/fonts/PlusJakartaSans-Regular.ttf'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 600 700; src: url('../../../assets/fonts/PlusJakartaSans-SemiBold.ttf'); }
/* theme.css, light half */
:root {
  --brand:#fd6012; --accent:#5cc6c0; --accent-text:#17696a; --accent-soft:#d9f0ee; --on-accent:#0f1416;
  --bg:#f1f5f5; --surface:#fff; --raised:#f8fafa; --sunken:#e7eded; --text:#1f2829; --strong:#0f1416; --dim:#546568; --faint:#84979a;
  --border:#dae3e3; --gold:#a8740a; --gold-soft:#fbf1da; --new:#c2185b;
}
* { box-sizing:border-box; }
body { margin:0; padding:40px; width:1520px; background:#cfd8d8; font-family:'Plus Jakarta Sans',system-ui,sans-serif; color:var(--text); }
h1 { margin:0 0 6px; font-size:30px; color:var(--strong); }
.lede { margin:0 0 30px; font-size:16px; color:var(--dim); max-width:1100px; line-height:1.5; }
h2 { margin:44px 0 6px; font-size:22px; color:var(--strong); }
h2 small { font-weight:400; color:var(--dim); font-size:15px; margin-left:8px; }
.note { margin:0 0 14px; font-size:14px; color:var(--dim); max-width:1200px; line-height:1.5; }
.new { display:inline-block; font-size:11px; font-weight:600; color:#fff; background:var(--new); border-radius:4px; padding:1px 6px; margin-left:6px; vertical-align:2px; letter-spacing:.03em; }

/* the "now" strip */
.shot { display:block; width:1440px; border:1px solid #b9c5c5; border-radius:8px; overflow:hidden; background:#fff; }
.shot img { display:block; width:1440px; }
.label { font-size:13px; font-weight:600; color:var(--dim); margin:16px 0 6px; text-transform:uppercase; letter-spacing:.05em; }
.problems { margin:18px 0 0; padding:0; list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:10px 28px; max-width:1440px; }
.problems li { display:flex; gap:10px; font-size:14px; line-height:1.45; }
.problems .n { flex:none; width:22px; height:22px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-size:12px; font-weight:600; }

/* a frame: the bar and a little of what is under it */
.frame { width:1440px; background:var(--bg); border-radius:10px; overflow:hidden; box-shadow:0 14px 40px -22px rgba(0,0,0,.4); margin-bottom:6px; }
.cap { font-size:14px; color:var(--dim); margin:18px 0 8px; }
.cap b { color:var(--strong); }
.cap code { font-size:13px; background:#e3eaea; padding:1px 5px; border-radius:4px; }

.bar { height:58px; display:flex; align-items:center; gap:6px; padding:0 22px; background:var(--surface); border-bottom:1px solid var(--border); }
.brand { display:flex; align-items:center; gap:9px; text-decoration:none; margin-right:22px; }
.brand img { width:28px; height:28px; }
.wm { color:var(--strong); font-size:19px; font-weight:600; letter-spacing:-.01em; }
.wm b { color:var(--brand); font-weight:600; }
.nav { display:flex; align-items:stretch; height:100%; gap:2px; }
.nav a { display:flex; align-items:center; gap:7px; padding:0 13px; font-size:15px; color:var(--dim); text-decoration:none; border-bottom:2px solid transparent; border-top:2px solid transparent; }
.nav a.on { color:var(--strong); font-weight:600; border-bottom-color:var(--accent); }
.nav a.admin { color:var(--gold); }
.nav a.admin.on { border-bottom-color:var(--gold); }
.nav .sep { width:1px; background:var(--border); margin:16px 10px; }
.live { width:7px; height:7px; border-radius:50%; background:var(--brand); }
.badge { background:var(--brand); color:#fff; border-radius:9px; font-size:11px; font-weight:600; min-width:18px; height:18px; display:inline-grid; place-items:center; padding:0 5px; }
.grow { flex:1; }
.langs { display:flex; gap:2px; padding:2px; border:1px solid var(--border); border-radius:7px; background:var(--sunken); font-size:13px; }
.langs span { padding:3px 8px; border-radius:5px; color:var(--dim); }
.langs span.on { background:var(--surface); color:var(--strong); font-weight:600; }
.iconbtn { width:34px; height:34px; border-radius:8px; display:grid; place-items:center; color:var(--dim); border:1px solid var(--border); background:var(--surface); margin-left:6px; }
.iconbtn svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.btn { margin-left:10px; padding:8px 16px; border-radius:8px; background:var(--accent); color:var(--on-accent); font-weight:600; font-size:14px; }
.av { width:34px; height:34px; border-radius:50%; background:#3f7f86; color:#fff; display:grid; place-items:center; font-weight:600; font-size:14px; margin-left:10px; }

/* the second line, only inside the app */
.crumbs { height:38px; display:flex; align-items:center; gap:8px; padding:0 24px; font-size:14px; color:var(--dim); background:var(--raised); border-bottom:1px solid var(--border); }
.crumbs .last { color:var(--strong); font-weight:600; }
.crumbs .s { color:var(--faint); }

/* what is under the bar, kept short */
.body { height:150px; position:relative; overflow:hidden; }
.hero { padding:34px 0 0 230px; }
.hero h3 { margin:0 0 10px; font-size:34px; color:var(--strong); letter-spacing:-.02em; }
.hero p { margin:0; color:var(--dim); font-size:16px; }
.map { background:linear-gradient(135deg,#e3efee,#f3f7f7); }
.chatbody { display:flex; height:150px; }
.rail { width:64px; background:var(--sunken); display:flex; flex-direction:column; align-items:center; gap:10px; padding-top:12px; }
.rail i { width:40px; height:40px; border-radius:12px; background:#c9d6d6; display:block; }
.rail i.on { background:var(--accent); }
.side { width:250px; border-right:1px solid var(--border); padding:12px 16px; font-size:14px; color:var(--dim); line-height:2; }
.side .on { color:var(--strong); font-weight:600; }
.pane { flex:1; padding:14px 22px; font-size:14px; color:var(--dim); line-height:1.9; }
.world { background:linear-gradient(#bcd9e6,#dfeaee 55%, #a9b7a4 56%, #8fa08b); }
.adminbody { display:flex; height:150px; }

/* the anatomy row */
.anat { display:flex; width:1440px; margin-top:8px; font-size:13px; color:var(--dim); }
.anat div { border-top:2px solid var(--faint); padding-top:6px; margin-right:8px; line-height:1.4; }
.anat b { color:var(--strong); display:block; }

/* phone */
.phones { display:flex; gap:40px; align-items:flex-start; }
.phone { width:390px; height:520px; background:var(--bg); border-radius:28px; overflow:hidden; box-shadow:0 20px 50px -20px rgba(0,0,0,.35); position:relative; }
.phone .bar { height:54px; padding:0 14px; }
.phone .brand { margin-right:6px; }
.phone .nav a { padding:0 9px; font-size:15px; }
.sheet { position:absolute; right:10px; top:60px; width:250px; background:var(--surface); border:1px solid var(--border); border-radius:12px; box-shadow:0 18px 40px -18px rgba(0,0,0,.4); padding:8px; font-size:15px; }
.sheet div { padding:10px 12px; border-radius:8px; }
.sheet .h { font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--faint); padding:8px 12px 2px; }
.sheet .on { background:var(--accent-soft); color:var(--accent-text); font-weight:600; }
.sheet hr { border:0; border-top:1px solid var(--border); margin:6px 4px; }
.pcap { width:390px; font-size:14px; color:var(--dim); margin-top:10px; line-height:1.45; }

/* admin › pages, the menu column */
.table { width:900px; background:var(--surface); border-radius:10px; overflow:hidden; box-shadow:0 14px 40px -22px rgba(0,0,0,.4); font-size:14px; }
.table .r { display:grid; grid-template-columns:200px 1fr 130px 140px; padding:11px 18px; border-bottom:1px solid var(--border); align-items:center; }
.table .r.h { background:var(--raised); font-weight:600; color:var(--dim); font-size:12px; text-transform:uppercase; letter-spacing:.05em; }
.table .tog { width:34px; height:20px; border-radius:10px; background:var(--accent); position:relative; display:inline-block; vertical-align:middle; }
.table .tog::after { content:''; position:absolute; right:3px; top:3px; width:14px; height:14px; border-radius:50%; background:#fff; }
.table .tog.off { background:#c9d6d6; }
.table .tog.off::after { right:auto; left:3px; }
.table .newcol { color:var(--new); }

/* v2: the site map */
.tree { display:flex; flex-direction:column; align-items:center; width:1440px; background:var(--surface); border-radius:10px; padding:28px 20px 30px; box-shadow:0 14px 40px -22px rgba(0,0,0,.4); }
.node { border:1px solid var(--border); border-radius:10px; padding:8px 14px; font-size:15px; background:var(--raised); color:var(--strong); text-align:center; line-height:1.3; }
.node small { display:block; font-size:12px; color:var(--faint); }
.node.root { display:flex; align-items:center; gap:10px; border:2px solid var(--brand); background:#fff6f1; padding:10px 18px; }
.node.root img { width:26px; height:26px; }
.node.site { border-color:#9fb7b9; }
.node.app { border-color:var(--accent); background:var(--accent-soft); }
.node.adm { border-color:var(--gold); background:var(--gold-soft); color:var(--gold); }
.node.l2 { font-size:13px; padding:5px 10px; background:var(--surface); color:var(--dim); }
.stem { width:2px; height:22px; background:var(--faint); }
.branches { display:flex; gap:22px; position:relative; padding-top:22px; }
.branches::before { content:''; position:absolute; top:0; left:var(--l,60px); right:var(--r,60px); height:2px; background:var(--faint); }
.br { display:flex; flex-direction:column; align-items:center; position:relative; }
.br::before { content:''; position:absolute; top:-22px; left:50%; width:2px; height:22px; background:var(--faint); }
.kids { display:flex; flex-direction:column; align-items:center; gap:6px; margin-top:8px; }
.kids .d { width:2px; height:8px; background:#c9d6d6; }
.group { display:flex; gap:22px; padding:12px 14px 14px; border-radius:12px; position:relative; }
.group > .gl { position:absolute; top:-10px; left:14px; font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; background:var(--surface); padding:0 6px; }
.group.site { border:1.5px dashed #9fb7b9; } .group.site > .gl { color:#5d7c80; }
.group.app { border:1.5px dashed var(--accent); } .group.app > .gl { color:var(--accent-text); }
.legend { display:flex; gap:26px; margin-top:22px; font-size:13px; color:var(--dim); }
.legend b { color:var(--strong); }

/* v2: the logo as the Home item */
.brand.home { height:100%; padding:0 12px 0 4px; border-bottom:2px solid transparent; border-top:2px solid transparent; margin-right:10px; }
.brand.home.on { border-bottom-color:var(--brand); }
.crumbs .home { display:flex; align-items:center; gap:6px; color:var(--dim); }
.crumbs .home img { width:16px; height:16px; }
.zone { font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); margin:0 6px 0 4px; }
.group .br::before { display:none; }