Ajoute les amis et les invitations temps reel
This commit is contained in:
202
styles.css
202
styles.css
@@ -3571,3 +3571,205 @@ body[data-page="chrono"] .player-clock.negative-clock {
|
||||
font-size: clamp(1.05rem, 5.8vw, 1.7rem);
|
||||
}
|
||||
}
|
||||
|
||||
.user-social-panel {
|
||||
display: grid;
|
||||
gap: 1.2rem;
|
||||
}
|
||||
|
||||
.social-search-form {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
gap: 0.85rem;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.social-search-actions {
|
||||
display: flex;
|
||||
align-items: flex-end;
|
||||
}
|
||||
|
||||
.social-search-results,
|
||||
.social-list {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.social-columns {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.social-card,
|
||||
.setup-social-card {
|
||||
display: grid;
|
||||
gap: 0.9rem;
|
||||
padding: 1rem 1.05rem;
|
||||
border: 1px solid var(--panel-border);
|
||||
border-radius: 24px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
|
||||
rgba(10, 12, 20, 0.82);
|
||||
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
|
||||
}
|
||||
|
||||
.social-card-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.social-card-head strong {
|
||||
display: block;
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.social-empty {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.social-item,
|
||||
.play-friend-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
padding: 0.8rem 0.9rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
}
|
||||
|
||||
.social-item-meta {
|
||||
display: grid;
|
||||
gap: 0.22rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.social-item-title-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.social-item-title-row strong {
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.social-item-subtitle,
|
||||
.social-item-caption {
|
||||
color: var(--muted);
|
||||
font-size: 0.94rem;
|
||||
}
|
||||
|
||||
.social-item-actions,
|
||||
.play-friend-actions,
|
||||
.play-overlay-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.55rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.presence-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0.22rem 0.58rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.04);
|
||||
color: var(--muted);
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.09em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.presence-badge.online {
|
||||
border-color: rgba(93, 219, 126, 0.32);
|
||||
background: rgba(93, 219, 126, 0.12);
|
||||
color: #baf3c6;
|
||||
}
|
||||
|
||||
.social-inline-feedback,
|
||||
.play-invite-pending {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.9rem;
|
||||
padding: 0.85rem 0.95rem;
|
||||
border: 1px solid rgba(255, 177, 58, 0.22);
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 177, 58, 0.08);
|
||||
}
|
||||
|
||||
.social-inline-feedback span,
|
||||
.play-invite-pending p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.play-invite-pending strong {
|
||||
display: block;
|
||||
margin-top: 0.15rem;
|
||||
}
|
||||
|
||||
.play-friends-list {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.play-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 1200;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.play-overlay-card {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: min(100%, 32rem);
|
||||
}
|
||||
|
||||
.play-overlay-copy {
|
||||
margin: 0 0 1rem;
|
||||
color: var(--muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
.social-columns {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.social-search-form {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.social-search-actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.social-item,
|
||||
.play-friend-item,
|
||||
.social-inline-feedback,
|
||||
.play-invite-pending {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.social-item-actions,
|
||||
.play-friend-actions,
|
||||
.play-overlay-actions {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user