dev / templates / app-cljs-live / client / public / style.css
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
:root{
  --bg:#05060f; --panel:#0b0e1fdd; --line:#1a2140; --text:#d8e6ff; --dim:#6b7aa8;
  --accent:#00f0ff;
  --sat:env(safe-area-inset-top,0px); --sab:env(safe-area-inset-bottom,0px);
  --sal:env(safe-area-inset-left,0px); --sar:env(safe-area-inset-right,0px);
  --hud:44px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
html,body{height:100%; overscroll-behavior:none}
body{
  position:fixed; inset:0; width:100%;
  background:var(--bg); color:var(--text); overflow:hidden;
  font-family:"SF Mono",SFMono-Regular,ui-monospace,Menlo,Consolas,monospace;
}
/* top HUD */
#hud{position:fixed; top:0; left:0; right:0; height:calc(var(--hud) + var(--sat));
  padding:var(--sat) calc(12px + var(--sar)) 0 calc(12px + var(--sal));
  display:flex; align-items:center; gap:10px;
  background:linear-gradient(#0b0e1f,#0b0e1fcc); border-bottom:1px solid var(--line); z-index:5}
#logo{font-weight:700; letter-spacing:.22em; font-size:13px; color:var(--accent); text-shadow:0 0 12px var(--accent); white-space:nowrap; text-transform:uppercase}
#spacer{flex:1}
#status{font-size:10px; color:var(--dim); white-space:nowrap; display:flex; align-items:center; gap:6px}
#statdot{width:8px; height:8px; border-radius:50%; background:#f43; box-shadow:0 0 8px #f43; flex:none}
#statdot.on{background:#2f5; box-shadow:0 0 8px #2f5}
button{
  font-family:inherit; font-size:12px; letter-spacing:.12em; color:var(--accent); background:#0a1428;
  border:1px solid #14406a; border-radius:6px; padding:10px 18px; cursor:pointer; text-transform:uppercase;
  -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
button:active{transform:translateY(1px)}
button:hover:not(:disabled){background:#10305a; box-shadow:0 0 14px #00f0ff44}
button:disabled{opacity:.35; cursor:default}
button.big{font-size:15px; padding:14px 34px}
#copybtn{font-size:10px; padding:6px 10px}
/* the room */
#main{position:fixed; inset:0; display:flex; flex-direction:column; gap:10px;
  padding:calc(var(--hud) + var(--sat) + 10px) calc(12px + var(--sar)) calc(10px + var(--sab)) calc(12px + var(--sal))}
#rosterbox{flex:none}
#roster{display:flex; gap:6px; flex-wrap:wrap; margin-top:6px}
.rrow{display:flex; align-items:center; gap:6px; font-size:12px; padding:5px 10px; background:#070917;
  border:1px solid var(--line); border-radius:20px}
.rrow.me{border-color:#3a4a7f}
.rrow .you{color:var(--dim); font-size:10px}
#notesbox{flex:1; min-height:0; display:flex; flex-direction:column; gap:8px}
#notes{flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:6px;
  background:#070917; border:1px solid var(--line); border-radius:10px; padding:10px}
.note{font-size:13px; line-height:1.5; overflow-wrap:anywhere}
.note .who{color:var(--accent); margin-right:8px}
.note.mine .who{color:var(--dim)}
#noteform{display:flex; gap:8px}
input{
  font-family:inherit; font-size:16px; color:var(--text);
  background:#070917; border:1px solid #22305c; border-radius:6px; padding:12px 14px; outline:none;
}
input:focus{border-color:var(--accent); box-shadow:0 0 12px #00f0ff33}
#noteinput{flex:1; min-width:0}
/* overlays */
.overlay{position:fixed; inset:0; display:flex; align-items:center; justify-content:center; z-index:10;
  padding:calc(var(--sat) + 10px) calc(var(--sar) + 10px) calc(var(--sab) + 10px) calc(var(--sal) + 10px);
  background:#05060fb8; backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px)}
.panel{background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:26px 28px;
  display:flex; flex-direction:column; gap:16px; align-items:center; min-width:290px; max-width:100%;
  max-height:100%; overflow-y:auto; box-shadow:0 0 40px #00f0ff18}
.title{font-size:26px; font-weight:700; letter-spacing:.3em; color:var(--accent);
  text-shadow:0 0 18px var(--accent), 0 0 60px var(--accent); padding-left:.3em; text-transform:uppercase; text-align:center}
.sub{font-size:11px; color:var(--dim); letter-spacing:.18em; text-transform:uppercase}
input#nick{text-align:center; letter-spacing:.1em; width:230px}
.hint{font-size:10px; color:var(--dim); text-align:center; line-height:1.8}
.hidden{display:none !important}
/* boot splash: html.boot from first paint; main drops it once the gate/auto-join decision lands */
html.boot #ovJoin{display:none !important}
html:not(.boot) #ovSplash{display:none !important}
html.boot .soc-joinchip{display:none !important}
#toast{position:fixed; bottom:calc(18px + var(--sab)); left:50%; transform:translateX(-50%);
  background:#0a1428; border:1px solid #14406a; max-width:90vw;
  color:var(--accent); font-size:11px; padding:9px 16px; border-radius:20px; z-index:20; letter-spacing:.1em;
  opacity:0; transition:opacity .3s; pointer-events:none; text-align:center}
@media (max-width:640px){ .title{font-size:20px} #logo{display:none} }

/* social-kit chrome adopts the app's palette */
:root{
  --soc-bg:#0b0e1f; --soc-fg:var(--text); --soc-dim:var(--dim);
  --soc-line:var(--line); --soc-accent:var(--accent);
}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/dev.git