smodusermc commited on
Commit
8afc6f9
·
verified ·
1 Parent(s): 20c0dda

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +17 -4
static/style.css CHANGED
@@ -537,10 +537,10 @@ a:hover { text-decoration: underline; }
537
  color: var(--text-secondary);
538
  display:flex; align-items:center; justify-content:center;
539
  font-size:1.1rem; font-weight:700;
540
- flex-shrink:0; overflow:hidden;
541
  position:relative;
542
  }
543
- .conv-avatar img { width:100%; height:100%; object-fit:cover; }
544
  .conv-avatar.avatar-c0 { background: linear-gradient(135deg,#2563EB,#7C3AED); color:#fff; }
545
  .conv-avatar.avatar-c1 { background: linear-gradient(135deg,#059669,#0EA5E9); color:#fff; }
546
  .conv-avatar.avatar-c2 { background: linear-gradient(135deg,#D97706,#DB2777); color:#fff; }
@@ -1363,8 +1363,21 @@ img.js-zoom { cursor: zoom-in; }
1363
  .loading-state { display:flex; align-items:center; justify-content:center; gap:0.5rem; padding:2rem; color:var(--text-secondary); }
1364
  .user-item { display:flex; align-items:center; gap:0.75rem; padding:0.6rem 1.25rem; transition:background var(--transition-fast); color:var(--text); }
1365
  .user-item:hover { background:var(--bg-secondary); }
1366
- .user-avatar { width:40px; height:40px; border-radius:var(--radius-full); background:var(--bg-tertiary); display:flex; align-items:center; justify-content:center; color:var(--text-secondary); font-size:1.2rem; overflow:hidden; flex-shrink:0; }
1367
- .user-avatar img { width:100%; height:100%; object-fit:cover; }
 
 
 
 
 
 
 
 
 
 
 
 
 
1368
  .user-info { flex:1; min-width:0; }
1369
  .user-name { font-size:0.875rem; font-weight:500; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
1370
  .user-status-text { font-size:0.75rem; color:var(--text-secondary); }
 
537
  color: var(--text-secondary);
538
  display:flex; align-items:center; justify-content:center;
539
  font-size:1.1rem; font-weight:700;
540
+ flex-shrink:0; overflow:visible;
541
  position:relative;
542
  }
543
+ .conv-avatar img { width:100%; height:100%; object-fit:cover; border-radius:50%; }
544
  .conv-avatar.avatar-c0 { background: linear-gradient(135deg,#2563EB,#7C3AED); color:#fff; }
545
  .conv-avatar.avatar-c1 { background: linear-gradient(135deg,#059669,#0EA5E9); color:#fff; }
546
  .conv-avatar.avatar-c2 { background: linear-gradient(135deg,#D97706,#DB2777); color:#fff; }
 
1363
  .loading-state { display:flex; align-items:center; justify-content:center; gap:0.5rem; padding:2rem; color:var(--text-secondary); }
1364
  .user-item { display:flex; align-items:center; gap:0.75rem; padding:0.6rem 1.25rem; transition:background var(--transition-fast); color:var(--text); }
1365
  .user-item:hover { background:var(--bg-secondary); }
1366
+ .user-avatar { width:40px; height:40px; border-radius:var(--radius-full); background:var(--bg-tertiary); display:flex; align-items:center; justify-content:center; color:var(--text-secondary); font-size:1.2rem; overflow:hidden; flex-shrink:0; position:relative; }
1367
+ .user-avatar img { width:100%; height:100%; object-fit:cover; border-radius:var(--radius-full); }
1368
+
1369
+ /* Online-users modal: show the presence dot on the avatar itself instead of the
1370
+ status line below it, so it is not hidden behind the profile picture. */
1371
+ .online-users-list .user-item .user-avatar { overflow:visible; }
1372
+ .online-users-list .user-item .user-avatar::after {
1373
+ content:''; position:absolute; right:-2px; bottom:-2px;
1374
+ width:11px; height:11px; border-radius:50%;
1375
+ background: var(--success);
1376
+ border:2px solid var(--bg-elevated);
1377
+ pointer-events:none;
1378
+ }
1379
+ .online-users-list .user-item .user-status-text { display:flex; align-items:center; gap:0.3rem; }
1380
+ .online-users-list .user-item .user-status-text .status-dot { display:none; }
1381
  .user-info { flex:1; min-width:0; }
1382
  .user-name { font-size:0.875rem; font-weight:500; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
1383
  .user-status-text { font-size:0.75rem; color:var(--text-secondary); }