nomadro/src/modules/social/components/SocialSkinDebugBall.css
Eric 893526942c Ship social theme switching, feedback image ops, and local skin debug ball.
Save current look as theme 1, add admin experience skin controls for themes 1-4, fix feedback image sync/lightbox, move hiring to the home bottom, and expose a localhost-only debug orb for instant skin preview.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-10 13:02:04 +08:00

167 lines
3.4 KiB
CSS

.ssd-root {
position: fixed;
left: max(14px, env(safe-area-inset-left, 0px));
bottom: max(18px, env(safe-area-inset-bottom, 0px));
z-index: 9300;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 10px;
pointer-events: none;
}
.ssd-root > * {
pointer-events: auto;
}
.ssd-orb {
position: relative;
width: 52px;
height: 52px;
border-radius: 50%;
border: 1px solid color-mix(in srgb, #4ecdc4 45%, rgba(255, 255, 255, 0.12));
background:
radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.34), transparent 42%),
linear-gradient(145deg, #132028 0%, #0b1016 55%, #12181f 100%);
box-shadow:
0 12px 28px rgba(0, 0, 0, 0.4),
0 0 0 1px rgba(78, 205, 196, 0.14),
inset 0 1px 0 rgba(255, 255, 255, 0.12);
color: #e8fffb;
cursor: pointer;
display: grid;
place-items: center;
font: inherit;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.04em;
animation: ssd-bob 3.2s ease-in-out infinite;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ssd-orb i {
position: absolute;
inset: 7px;
border-radius: 50%;
border: 1px dashed color-mix(in srgb, #4ecdc4 40%, transparent);
opacity: 0.7;
pointer-events: none;
}
.ssd-orb:hover,
.ssd-orb:focus-visible {
transform: translateY(-2px) scale(1.05);
outline: none;
box-shadow:
0 16px 34px rgba(0, 0, 0, 0.46),
0 0 0 1px rgba(78, 205, 196, 0.32),
0 0 22px rgba(78, 205, 196, 0.22);
}
.ssd-panel {
width: min(280px, calc(100vw - 28px));
padding: 12px;
border-radius: 16px;
border: 1px solid color-mix(in srgb, #4ecdc4 28%, rgba(255, 255, 255, 0.1));
background: color-mix(in srgb, #0b1016 88%, #4ecdc4 6%);
backdrop-filter: blur(16px) saturate(1.15);
box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
color: #e8eef5;
}
.ssd-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 10px;
margin-bottom: 10px;
}
.ssd-head strong {
font-size: 13px;
letter-spacing: 0.04em;
}
.ssd-head span {
font-size: 11px;
color: #8fa3b5;
}
.ssd-skins {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.ssd-skin {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 2px;
min-height: 52px;
padding: 10px 12px;
border-radius: 12px;
border: 1px solid color-mix(in srgb, #fff 12%, transparent);
background: color-mix(in srgb, #101820 80%, transparent);
color: inherit;
font: inherit;
cursor: pointer;
text-align: left;
transition: border-color 0.18s ease, background 0.18s ease;
}
.ssd-skin b {
font-size: 13px;
}
.ssd-skin small {
font-size: 11px;
color: #8fa3b5;
}
.ssd-skin[aria-pressed="true"] {
border-color: color-mix(in srgb, #4ecdc4 55%, transparent);
background: color-mix(in srgb, #4ecdc4 16%, #101820);
}
.ssd-actions {
display: flex;
gap: 8px;
margin-top: 10px;
}
.ssd-btn {
flex: 1;
min-height: 40px;
border-radius: 10px;
border: 1px solid color-mix(in srgb, #4ecdc4 35%, transparent);
background: color-mix(in srgb, #4ecdc4 18%, transparent);
color: #d7fff8;
font: inherit;
font-size: 12px;
font-weight: 650;
cursor: pointer;
}
.ssd-btn.ghost {
border-color: color-mix(in srgb, #fff 14%, transparent);
background: transparent;
color: #9eb0c0;
}
@keyframes ssd-bob {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-3px);
}
}
@media (prefers-reduced-motion: reduce) {
.ssd-orb {
animation: none;
}
}