Add InsightFace/OpenCV challenge upload, PC vs mobile capture branching, and fix avatar persistence into roster/profile pages. Co-authored-by: Cursor <cursoragent@cursor.com>
752 lines
15 KiB
CSS
752 lines
15 KiB
CSS
.social-fieldset {
|
|
display: grid;
|
|
gap: 18px;
|
|
border: 0;
|
|
margin: 0;
|
|
padding: 0;
|
|
min-width: 0;
|
|
}
|
|
.social-fieldset:disabled {
|
|
opacity: 0.7;
|
|
}
|
|
.social-profile-studio {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
|
|
gap: 28px;
|
|
align-items: start;
|
|
}
|
|
.social-profile-studio .social-form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
.social-profile-studio .social-section-label {
|
|
margin-top: 0;
|
|
}
|
|
.social-profile-studio .social-form small {
|
|
text-align: right;
|
|
color: var(--text-muted);
|
|
font-size: 10px;
|
|
}
|
|
.social-profile-preview {
|
|
min-width: 0;
|
|
padding: 12px 8px;
|
|
}
|
|
.social-profile-passport {
|
|
position: relative;
|
|
isolation: isolate;
|
|
overflow: hidden;
|
|
min-height: 415px;
|
|
border: 1px solid #4ecdc43b;
|
|
border-radius: 22px;
|
|
padding: 31px;
|
|
background: linear-gradient(
|
|
135deg,
|
|
color-mix(in srgb, var(--bg-secondary) 85%, #4ecdc4),
|
|
var(--bg-secondary) 62%
|
|
);
|
|
box-shadow: 0 20px 55px #0002;
|
|
transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
|
|
transition:
|
|
transform 0.6s var(--sx-ease),
|
|
box-shadow 0.6s;
|
|
}
|
|
.social-profile-passport:hover {
|
|
transform: perspective(1000px) rotateY(0) rotateX(0) translateY(-5px);
|
|
box-shadow: 0 26px 65px #4ecdc415;
|
|
}
|
|
.social-passport-pattern {
|
|
position: absolute;
|
|
z-index: -1;
|
|
color: #4ecdc430;
|
|
top: 13px;
|
|
right: -35px;
|
|
animation: sx-orbit 90s linear infinite;
|
|
}
|
|
.social-profile-monogram {
|
|
width: 60px;
|
|
height: 60px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid #4ecdc443;
|
|
border-radius: 18px;
|
|
color: var(--sx-mint);
|
|
font-size: 28px;
|
|
background: #4ecdc40c;
|
|
margin-bottom: 24px;
|
|
box-shadow: 0 0 35px #4ecdc411;
|
|
}
|
|
.social-profile-face {
|
|
width: 88px;
|
|
height: 88px;
|
|
margin-bottom: 24px;
|
|
border-radius: 22px;
|
|
overflow: hidden;
|
|
border: 1px solid #4ecdc443;
|
|
box-shadow: 0 0 35px #4ecdc411;
|
|
background: #0c0c0f;
|
|
}
|
|
.social-profile-face img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
.social-profile-passport .social-page-kicker {
|
|
font-size: 8px;
|
|
letter-spacing: 0.18em;
|
|
}
|
|
.social-profile-passport h2 {
|
|
font-size: 30px;
|
|
margin: 11px 0 6px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.social-profile-passport > p {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
line-height: 1.9;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.social-profile-passport .social-member-city {
|
|
margin: 15px 0;
|
|
}
|
|
.social-profile-passport .social-tags {
|
|
margin: 16px 0;
|
|
}
|
|
.social-profile-passport .social-profile-bio {
|
|
min-height: 55px;
|
|
white-space: pre-wrap;
|
|
}
|
|
.social-profile-passport footer {
|
|
margin-top: 25px;
|
|
border-top: 1px dashed var(--sx-line);
|
|
padding-top: 17px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
font-size: 8px;
|
|
letter-spacing: 0.15em;
|
|
color: var(--text-muted);
|
|
}
|
|
.social-profile-passport footer span {
|
|
font-size: 18px;
|
|
color: var(--sx-coral);
|
|
}
|
|
.social-profile-progress {
|
|
margin: 27px 0;
|
|
}
|
|
.social-profile-progress > div {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 11px;
|
|
margin-bottom: 9px;
|
|
color: var(--text-secondary);
|
|
}
|
|
.social-profile-progress strong {
|
|
color: var(--sx-mint);
|
|
}
|
|
.social-profile-progress progress {
|
|
width: 100%;
|
|
height: 4px;
|
|
appearance: none;
|
|
border: none;
|
|
border-radius: 5px;
|
|
overflow: hidden;
|
|
}
|
|
.social-profile-progress progress::-webkit-progress-bar {
|
|
background: var(--bg-glass);
|
|
}
|
|
.social-profile-progress progress::-webkit-progress-value {
|
|
background: var(--sx-mint);
|
|
transition: width 0.6s var(--sx-ease);
|
|
}
|
|
.social-profile-progress p {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
margin-top: 9px;
|
|
}
|
|
.social-role-card {
|
|
gap: 15px;
|
|
overflow: hidden;
|
|
}
|
|
.social-role-art {
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
min-height: 88px;
|
|
margin: -4px -4px 4px;
|
|
border-radius: 14px;
|
|
background:
|
|
radial-gradient(circle at 20% 30%, #4ecdc433, transparent 55%),
|
|
radial-gradient(circle at 80% 70%, #ff6b6b28, transparent 50%),
|
|
linear-gradient(135deg, #4ecdc40f, #ffe66d0a);
|
|
color: var(--sx-mint);
|
|
overflow: hidden;
|
|
}
|
|
.social-role-art > span {
|
|
position: absolute;
|
|
left: 14px;
|
|
top: 10px;
|
|
font-family: var(--font-display, inherit);
|
|
font-size: 28px;
|
|
font-weight: 650;
|
|
letter-spacing: -0.06em;
|
|
opacity: 0.22;
|
|
}
|
|
.social-role-art > i {
|
|
position: absolute;
|
|
width: 120px;
|
|
height: 120px;
|
|
border: 1px solid #4ecdc433;
|
|
border-radius: 50%;
|
|
animation: sx-orbit 22s linear infinite;
|
|
}
|
|
.social-role-art > i:nth-of-type(2) {
|
|
width: 70px;
|
|
height: 70px;
|
|
border-color: #ff6b6b33;
|
|
animation-direction: reverse;
|
|
animation-duration: 16s;
|
|
}
|
|
.social-role-art > svg {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.social-role-symbol {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
border-radius: 16px;
|
|
border: 1px solid #4ecdc42b;
|
|
color: var(--sx-mint);
|
|
background: #4ecdc40c;
|
|
transition:
|
|
rotate 0.5s var(--sx-ease),
|
|
scale 0.5s;
|
|
}
|
|
.social-role-symbol.tone-1 {
|
|
color: var(--sx-coral);
|
|
background: #ff6b6b0c;
|
|
border-color: #ff6b6b2b;
|
|
}
|
|
.social-role-symbol.tone-2 {
|
|
color: var(--sx-gold);
|
|
background: #ffe1950c;
|
|
border-color: #ffe1952b;
|
|
}
|
|
.social-role-card:hover .social-role-symbol {
|
|
rotate: -7deg;
|
|
scale: 1.08;
|
|
}
|
|
.social-role-type {
|
|
font-size: 9px;
|
|
letter-spacing: 0.1em;
|
|
color: var(--sx-mint);
|
|
}
|
|
.social-role-card h2 {
|
|
font-size: 19px;
|
|
}
|
|
.social-role-card > p {
|
|
margin: 0;
|
|
}
|
|
.social-role-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
padding-block: 13px;
|
|
border-block: 1px solid var(--sx-line);
|
|
font-size: 10px;
|
|
color: var(--text-secondary);
|
|
}
|
|
.social-role-meta > span:first-child {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
.social-role-card .social-tags {
|
|
margin-bottom: 8px;
|
|
}
|
|
.social-role-card > .social-btn {
|
|
margin-top: auto;
|
|
}
|
|
.social-library-card {
|
|
padding: 16px !important;
|
|
gap: 16px;
|
|
overflow: hidden;
|
|
}
|
|
.social-library-art {
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 100%;
|
|
height: 205px;
|
|
padding: 0;
|
|
border: 1px solid var(--sx-line);
|
|
border-radius: 13px;
|
|
background:
|
|
radial-gradient(ellipse at 80% 0%, #4ecdc42a, transparent 70%),
|
|
linear-gradient(160deg, #15302e, #142231 70%);
|
|
color: #e4f1ee;
|
|
overflow: hidden;
|
|
isolation: isolate;
|
|
cursor: pointer;
|
|
}
|
|
.social-library-art.library-tone-1 {
|
|
background:
|
|
radial-gradient(ellipse at 80% 0%, #ff6b6b3b, transparent 70%),
|
|
linear-gradient(160deg, #3c262a, #192534 70%);
|
|
}
|
|
.social-library-art.library-tone-2 {
|
|
background:
|
|
radial-gradient(ellipse at 80% 0%, #ffe19527, transparent 70%),
|
|
linear-gradient(160deg, #333427, #172835 70%);
|
|
}
|
|
.social-library-number {
|
|
position: absolute;
|
|
top: 17px;
|
|
left: 18px;
|
|
font-size: 10px;
|
|
font-family: monospace;
|
|
letter-spacing: 0.15em;
|
|
color: #fff7;
|
|
}
|
|
.social-film-scene {
|
|
font-size: 63px;
|
|
filter: drop-shadow(0 12px 18px #0004);
|
|
transition: transform 0.65s var(--sx-ease);
|
|
transform: rotate(-8deg);
|
|
}
|
|
.social-library-art:hover .social-film-scene {
|
|
transform: rotate(6deg) scale(1.15) translateY(-7px);
|
|
}
|
|
.social-film-orbit {
|
|
position: absolute;
|
|
width: 230px;
|
|
height: 230px;
|
|
border: 1px solid #4ecdc42b;
|
|
border-radius: 50%;
|
|
transform: rotateX(58deg) rotate(-25deg);
|
|
animation: social-film-drift 9s ease-in-out infinite alternate;
|
|
}
|
|
.social-film-orbit::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 25px;
|
|
border: 1px dashed #ffffff20;
|
|
border-radius: 50%;
|
|
}
|
|
.social-film-grain {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0.4;
|
|
background-image: radial-gradient(#fff4 0.6px, transparent 0.6px);
|
|
background-size: 5px 5px;
|
|
pointer-events: none;
|
|
mask-image: linear-gradient(transparent, #000);
|
|
}
|
|
.social-film-play {
|
|
position: absolute;
|
|
right: 17px;
|
|
bottom: 16px;
|
|
width: 41px;
|
|
height: 41px;
|
|
border: 1px solid #ffffff40;
|
|
border-radius: 50%;
|
|
background: #ffffff0b;
|
|
backdrop-filter: blur(7px);
|
|
display: grid;
|
|
place-items: center;
|
|
transition:
|
|
background 0.25s,
|
|
scale 0.25s;
|
|
}
|
|
.social-library-art:hover .social-film-play {
|
|
background: #4ecdc42a;
|
|
scale: 1.1;
|
|
}
|
|
.social-library-art > small {
|
|
position: absolute;
|
|
left: 18px;
|
|
bottom: 21px;
|
|
font-size: 10px;
|
|
color: #ffffffa8;
|
|
}
|
|
.social-library-meta {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
}
|
|
.social-library-card h2 {
|
|
font-size: 18px;
|
|
letter-spacing: -0.02em;
|
|
padding-inline: 3px;
|
|
}
|
|
.social-library-card > p {
|
|
padding-inline: 3px;
|
|
min-height: 43px;
|
|
}
|
|
.social-library-card .social-card-actions {
|
|
margin-top: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
.social-library-grid.is-books {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
.is-books .social-library-art {
|
|
height: 265px;
|
|
}
|
|
.social-book-cover {
|
|
width: 155px;
|
|
height: 212px;
|
|
border-radius: 2px 9px 9px 2px;
|
|
background: linear-gradient(
|
|
90deg,
|
|
#4ecdc438 0 4px,
|
|
#0d302c 4px,
|
|
#134a43 10px,
|
|
#173b35 11px,
|
|
#173b35 100%
|
|
);
|
|
box-shadow:
|
|
-14px 15px 30px #0004,
|
|
inset -4px 0 0 #ffffff12;
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 16px;
|
|
color: #b7e0d2;
|
|
transform: perspective(600px) rotateY(-14deg) rotateZ(-8deg);
|
|
transition: transform 0.6s var(--sx-ease);
|
|
}
|
|
.library-tone-1 .social-book-cover {
|
|
background: linear-gradient(
|
|
90deg,
|
|
#ff6b6b38 0 4px,
|
|
#4a2327 4px,
|
|
#612d34 10px,
|
|
#4b2930 11px,
|
|
#4b2930 100%
|
|
);
|
|
color: #eec3b4;
|
|
}
|
|
.social-library-art:hover .social-book-cover {
|
|
transform: perspective(600px) rotateY(-2deg) rotateZ(0) translateY(-5px);
|
|
}
|
|
.social-book-cover small {
|
|
font-size: 6px;
|
|
letter-spacing: 0.15em;
|
|
}
|
|
.social-book-cover strong {
|
|
font-size: 20px;
|
|
font-weight: 500;
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
}
|
|
.social-book-cover > span {
|
|
font-size: 5px;
|
|
margin-top: auto;
|
|
letter-spacing: 0.12em;
|
|
}
|
|
.social-resource-player {
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
margin-bottom: 20px;
|
|
background: #000;
|
|
max-height: 360px;
|
|
}
|
|
.social-library-prompt {
|
|
padding: 20px;
|
|
border: 1px solid var(--sx-line);
|
|
border-radius: 12px;
|
|
background: #4ecdc406;
|
|
}
|
|
.social-library-prompt span {
|
|
display: block;
|
|
font-size: 10px;
|
|
color: var(--sx-mint);
|
|
margin-bottom: 10px;
|
|
}
|
|
.social-library-prompt strong {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 1.8;
|
|
}
|
|
.social-feedback-panel {
|
|
max-width: 800px;
|
|
margin: auto;
|
|
}
|
|
.social-feedback-heading {
|
|
display: flex;
|
|
gap: 19px;
|
|
align-items: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
.social-feedback-heart {
|
|
color: var(--sx-coral);
|
|
width: 65px;
|
|
height: 65px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 1px solid #ff6b6b30;
|
|
border-radius: 19px;
|
|
background: #ff6b6b07;
|
|
flex-shrink: 0;
|
|
animation: sx-breathe 4s ease-in-out infinite;
|
|
}
|
|
.social-feedback-heading h2 {
|
|
font-size: 21px;
|
|
margin-bottom: 9px;
|
|
}
|
|
.social-feedback-heading p {
|
|
color: var(--text-muted);
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
}
|
|
.social-welcome-banner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 24px;
|
|
padding: 30px;
|
|
margin-bottom: 25px;
|
|
border: 1px solid #4ecdc432;
|
|
border-radius: 18px;
|
|
background: linear-gradient(110deg, #4ecdc40c, transparent);
|
|
}
|
|
.social-welcome-banner h2 {
|
|
font-size: 21px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.social-welcome-banner p {
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
line-height: 1.8;
|
|
}
|
|
.social-welcome-banner .social-btn {
|
|
margin-left: auto;
|
|
flex-shrink: 0;
|
|
}
|
|
.social-welcome-faces {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
width: 85px;
|
|
flex-shrink: 0;
|
|
}
|
|
.social-welcome-faces span {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 39px;
|
|
height: 39px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--sx-line);
|
|
background: var(--bg-secondary);
|
|
font-size: 19px;
|
|
margin: -2px;
|
|
animation: social-welcome-bob 4s ease-in-out infinite alternate;
|
|
}
|
|
.social-welcome-faces span:nth-child(2n) {
|
|
animation-delay: -2s;
|
|
}
|
|
.social-onboarding-card {
|
|
gap: 18px;
|
|
}
|
|
.social-onboarding-card .social-card-top {
|
|
color: var(--sx-mint);
|
|
}
|
|
.social-onboarding-card .social-card-top > span {
|
|
font-family: monospace;
|
|
font-size: 27px;
|
|
color: var(--text-muted);
|
|
opacity: 0.4;
|
|
}
|
|
.social-onboarding-card h2 {
|
|
font-size: 19px;
|
|
}
|
|
.social-onboarding-card .social-btn {
|
|
margin-top: auto;
|
|
}
|
|
.social-membership-banner {
|
|
display: flex;
|
|
gap: 45px;
|
|
align-items: center;
|
|
border: 1px solid #ffe19533;
|
|
border-radius: 21px;
|
|
padding: 50px;
|
|
background:
|
|
radial-gradient(ellipse at 0% 20%, #ffe1950d, transparent 65%),
|
|
var(--sx-surface);
|
|
}
|
|
.social-membership-emblem {
|
|
width: 155px;
|
|
height: 155px;
|
|
flex-shrink: 0;
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--sx-gold);
|
|
border: 1px solid #ffe19525;
|
|
border-radius: 50%;
|
|
}
|
|
.social-membership-emblem i {
|
|
position: absolute;
|
|
inset: 10px;
|
|
border: 1px dashed #ffe19535;
|
|
border-radius: 50%;
|
|
animation: sx-orbit 25s linear infinite;
|
|
}
|
|
.social-membership-emblem i:last-child {
|
|
inset: 28px;
|
|
animation-direction: reverse;
|
|
}
|
|
.social-membership-emblem::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 36px;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 60px #ffe19515;
|
|
}
|
|
.social-membership-banner h2 {
|
|
font-size: 30px;
|
|
margin: 15px 0;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
.social-membership-banner p {
|
|
font-size: 13px;
|
|
line-height: 1.9;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 25px;
|
|
}
|
|
.social-membership-banner .social-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
.social-membership-card {
|
|
gap: 18px;
|
|
}
|
|
.social-membership-card > svg {
|
|
color: var(--sx-gold);
|
|
}
|
|
.social-membership-card h2 {
|
|
font-size: 17px;
|
|
}
|
|
.social-membership-card > span {
|
|
margin-top: auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--sx-mint);
|
|
}
|
|
@keyframes social-film-drift {
|
|
to {
|
|
transform: rotateX(45deg) rotate(10deg);
|
|
scale: 1.1;
|
|
}
|
|
}
|
|
@keyframes social-welcome-bob {
|
|
to {
|
|
translate: 0 -6px;
|
|
rotate: 7deg;
|
|
}
|
|
}
|
|
@media (max-width: 900px) {
|
|
.social-profile-studio {
|
|
gap: 20px;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.social-profile-preview {
|
|
max-width: 550px;
|
|
width: 100%;
|
|
margin: auto;
|
|
}
|
|
.social-welcome-banner {
|
|
flex-wrap: wrap;
|
|
}
|
|
.social-welcome-banner .social-btn {
|
|
margin-left: 0;
|
|
}
|
|
.social-membership-banner {
|
|
padding: 30px;
|
|
gap: 26px;
|
|
}
|
|
.social-membership-emblem {
|
|
width: 115px;
|
|
height: 115px;
|
|
}
|
|
}
|
|
@media (max-width: 600px) {
|
|
.social-profile-studio .social-form-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.social-profile-passport {
|
|
transform: none;
|
|
padding: 25px;
|
|
}
|
|
.social-library-grid.is-books {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.social-feedback-heading {
|
|
align-items: flex-start;
|
|
gap: 13px;
|
|
}
|
|
.social-feedback-heading h2 {
|
|
font-size: 18px;
|
|
line-height: 1.6;
|
|
}
|
|
.social-feedback-heart {
|
|
width: 45px;
|
|
height: 45px;
|
|
border-radius: 12px;
|
|
}
|
|
.social-feedback-heart svg {
|
|
width: 24px;
|
|
}
|
|
.social-welcome-banner {
|
|
padding: 22px;
|
|
gap: 20px;
|
|
}
|
|
.social-welcome-banner h2 {
|
|
font-size: 19px;
|
|
}
|
|
.social-membership-banner {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 25px;
|
|
}
|
|
.social-membership-banner h2 {
|
|
font-size: 25px;
|
|
}
|
|
.social-membership-emblem {
|
|
width: 95px;
|
|
height: 95px;
|
|
}
|
|
.social-membership-emblem svg {
|
|
width: 36px;
|
|
}
|
|
.social-library-art {
|
|
height: 210px;
|
|
}
|
|
.social-profile-preview > .social-btn {
|
|
width: 100%;
|
|
}
|
|
.social-filters button,
|
|
.social-save,
|
|
.social-room-channels a {
|
|
min-height: 44px;
|
|
}
|
|
.social-message-tools button {
|
|
min-height: 40px;
|
|
font-size: 11px;
|
|
}
|
|
.social-fx-control {
|
|
width: 44px;
|
|
height: 44px;
|
|
min-height: 44px;
|
|
}
|
|
.social-search button {
|
|
min-width: 32px;
|
|
min-height: 42px;
|
|
}
|
|
}
|