openvibers/openvibe.live Commits

Phones: chat badges, stream card badges and home labels read at 12 px (#624)

OP OpenVibers committed 7 days ago · 226063867a · 2 files, +12 −12

The 11-05 phone sweep left under-12px text on Live: the chat avatar initial
(10.4 px) and stream-source badge (11.2 px) on /chat, the stream card avatar,
duration/viewer badge and streamer line on home, and the paste type/lang,
pulse kicker, moment user, egg clue number and section action. All go to
0.75rem (12 px); no layout or visibility changes.

Changes

ddiff --git a/public/css/features/home.css b/public/css/features/home.css
iindex 481d9fbd..02ad54ad 100644
---- a/public/css/features/home.css
++++ b/public/css/features/home.css
@@@ -47,7 +47,7 @@
.hero-egg-slots.is-right .egg-slot, .hero-egg-slots.is-solved .egg-slot { border-color: #06d6a0; background: color-mix(in srgb, #06d6a0 20%, var(--bg-tertiary)); }
.hero-egg-clues { margin: 0 0 12px; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; counter-reset: clue; }
.hero-egg-clues li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--text-primary); padding: 6px 8px; border-radius: 10px; background: var(--bg-secondary); border: 1px solid var(--border); }
--.egg-clue-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.7rem; font-weight: 800; color: var(--on-accent-strong, var(--on-accent, #fff)); background: var(--accent-strong, var(--accent, #3472d8)); }
++.egg-clue-n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; color: var(--on-accent-strong, var(--on-accent, #fff)); background: var(--accent-strong, var(--accent, #3472d8)); }
.egg-clue-text { font-style: italic; line-height: 1.35; }
.egg-clue-key { font-weight: 900; font-size: 0.95rem; color: #06d6a0; background: color-mix(in srgb, #06d6a0 15%, transparent); border-radius: 8px; padding: 2px 9px; }
.hero-egg-clues li.is-revealed { border-color: color-mix(in srgb, #06d6a0 45%, var(--border)); }
@@@ -255,7 +255,7 @@ body.egg-rainbow { animation: eggRainbow 2.6s linear; }
background: var(--bg-secondary); border: 1px solid var(--border);
transition: border-color var(--ov-dur-2, 0.15s) var(--ov-ease-out, ease), transform var(--ov-dur-2, 0.15s) var(--ov-ease-out, ease);
}
--.pulse-kicker { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 7px; }
++.pulse-kicker { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 7px; }
.pulse-title { font-weight: 700; margin-bottom: 7px; }
.pulse-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 5px; }
.pulse-act { font-size: 0.85rem; padding: 4px 0; line-height: 1.45; }
@@@ -263,7 +263,7 @@ body.egg-rainbow { animation: eggRainbow 2.6s linear; }
.pulse-medal { flex-shrink: 0; }
.moment-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.moment-title { font-size: 0.78rem; font-weight: 700; color: #fff; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
--.moment-user { font-size: 0.68rem; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }
++.moment-user { font-size: 0.75rem; color: rgba(255, 255, 255, 0.75); margin-top: 2px; }
.digest-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.digest-title { font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-primary); }
.digest-since { font-size: 0.76rem; font-weight: 600; color: var(--text-muted); }
@@@ -412,7 +412,7 @@ body.egg-rainbow { animation: eggRainbow 2.6s linear; }
}
.home-paste-lang {
background: var(--bg-tertiary); padding: 1px 5px; border-radius: 4px;
-- font-size: 0.7rem;
++ font-size: 0.75rem;
}
.home-paste-snippet {
width: 100%;
@@@ -627,7 +627,7 @@ body.egg-rainbow { animation: eggRainbow 2.6s linear; }
#home-clips-grid .stream-card-info { padding: 8px 9px 9px; }
#stream-grid-recent .stream-card-streamer,
#home-recent-vods-grid .stream-card-streamer,
-- #home-clips-grid .stream-card-streamer { font-size: 0.72rem; gap: 5px; }
++ #home-clips-grid .stream-card-streamer { font-size: 0.75rem; gap: 5px; }
#home-recent-vods-grid .card-ai-overview,
#home-clips-grid .card-ai-overview { display: none; }
#home-pastes-list { gap: 10px; }
@@@ -1167,7 +1167,7 @@ body.egg-rainbow { animation: eggRainbow 2.6s linear; }
(invisible on light themes). One pill, tinted by the section's colour. */
.section-header > .section-action {
display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px;
-- border-radius: 999px; font: inherit; font-size: 0.74rem; font-weight: 750; line-height: 1;
++ border-radius: 999px; font: inherit; font-size: 0.75rem; font-weight: 750; line-height: 1;
white-space: nowrap; text-decoration: none; cursor: pointer;
color: color-mix(in srgb, var(--sc-on) 50%, var(--text-primary));
background: color-mix(in srgb, var(--sc-on) 10%, transparent);
ddiff --git a/public/css/style.css b/public/css/style.css
iindex 39dffeed..b96c1b4c 100644
---- a/public/css/style.css
++++ b/public/css/style.css
@@@ -857,7 +857,7 @@ body.ov-nav-overlay .navbar.ovnav-top {
position: absolute; bottom: 5px;
display: inline-flex; align-items: center; gap: 4px;
padding: 2px 6px; border-radius: 7px;
-- font-size: clamp(0.7rem, 4.6cqw, 0.8rem);
++ font-size: clamp(0.75rem, 4.6cqw, 0.8rem);
font-weight: 700; line-height: 1.3;
color: #fff;
font-variant-numeric: tabular-nums;
@@@ -887,7 +887,7 @@ body.ov-nav-overlay .navbar.ovnav-top {
}
/* Very small tiles: the badge would otherwise eat the corner of the frame. */
@container (max-width: 150px) {
-- .stream-card-viewers, .stream-card-duration { padding: 1px 5px; gap: 3px; bottom: 4px; border-radius: 6px; font-size: 0.68rem; }
++ .stream-card-viewers, .stream-card-duration { padding: 1px 5px; gap: 3px; bottom: 4px; border-radius: 6px; font-size: 0.75rem; }
.stream-card-duration { left: 4px; }
.stream-card-viewers { right: 4px; }
}
@@@ -1004,7 +1004,7 @@ body.ov-nav-overlay .navbar.ovnav-top {
}
.stream-card-avatar {
width: 24px; height: 24px; border-radius: 50%;
-- background: var(--accent); color: #000; font-size: 0.65rem;
++ background: var(--accent); color: #000; font-size: 0.75rem;
display: flex; align-items: center; justify-content: center;
font-weight: 700; flex-shrink: 0;
}
@@@ -1765,7 +1765,7 @@ a.pulse-card:hover { border-color: var(--accent); transform: translateY(-2px); }
top: 10px;
right: 10px;
padding: 4px 8px;
-- font-size: 0.68rem;
++ font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.05em;
@@@ -3239,7 +3239,7 @@ a.pulse-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.chat-avatar-letter {
display: inline-flex; align-items: center; justify-content: center;
width: 20px; height: 20px; border-radius: 50%;
-- font-size: 0.65rem; font-weight: 700;
++ font-size: 0.75rem; font-weight: 700;
color: #fff; vertical-align: middle;
text-transform: uppercase;
}
@@@ -4821,7 +4821,7 @@ button.uai-tl-more { background: none; border: none; cursor: pointer; padding: 0
/* Stream source badge in global chat */
.chat-stream-badge {
-- display: inline-block; font-size: 0.7rem; padding: 1px 6px;
++ display: inline-block; font-size: 0.75rem; padding: 1px 6px;
background: var(--accent); color: var(--bg-primary);
border-radius: 3px; margin-right: 4px; font-weight: 600;
vertical-align: middle; opacity: 0.85;