SysOps: approved_backup — 2026-08-16 11:01 UTC
This commit is contained in:
@@ -0,0 +1,175 @@
|
||||
/* Foodlinkk War Room */
|
||||
.wr-layout {
|
||||
display: grid;
|
||||
grid-template-columns: 220px 1fr;
|
||||
gap: 0.75rem;
|
||||
min-height: 62vh;
|
||||
}
|
||||
.wr-roster {
|
||||
border-right: 1px solid rgba(255,255,255,0.08);
|
||||
padding-right: 0.5rem;
|
||||
max-height: 70vh;
|
||||
overflow: auto;
|
||||
}
|
||||
.wr-roster h3 {
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
opacity: 0.7;
|
||||
margin: 0 0 0.4rem;
|
||||
}
|
||||
.wr-room-btn, .wr-agent-btn {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
text-align: left;
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
color: inherit;
|
||||
padding: 0.4rem 0.45rem;
|
||||
border-radius: 8px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.wr-room-btn:hover, .wr-agent-btn:hover,
|
||||
.wr-room-btn.active, .wr-agent-btn.active {
|
||||
background: rgba(255, 215, 0, 0.08);
|
||||
border-color: rgba(255, 215, 0, 0.25);
|
||||
}
|
||||
.wr-agent-meta { display: flex; flex-direction: column; min-width: 0; }
|
||||
.wr-agent-meta strong { font-size: 0.85rem; }
|
||||
.wr-agent-meta small { opacity: 0.65; font-size: 0.7rem; }
|
||||
.wr-roster .agent-char-wrap { width: 34px; height: 34px; flex: 0 0 34px; }
|
||||
|
||||
.wr-main { display: flex; flex-direction: column; min-width: 0; min-height: 62vh; }
|
||||
.wr-head {
|
||||
display: flex; justify-content: space-between; align-items: flex-start;
|
||||
gap: 0.75rem; margin-bottom: 0.5rem;
|
||||
}
|
||||
.wr-head h2 { margin: 0; font-size: 1.05rem; letter-spacing: 0.04em; }
|
||||
.wr-head-actions { display: flex; gap: 0.35rem; }
|
||||
|
||||
.wr-log {
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
background: rgba(0,0,0,0.22);
|
||||
border: 1px solid rgba(255,255,255,0.06);
|
||||
border-radius: 10px;
|
||||
padding: 0.75rem;
|
||||
contain: content;
|
||||
min-height: 320px;
|
||||
}
|
||||
.wr-empty { opacity: 0.6; margin: 0.5rem 0; font-size: 0.9rem; }
|
||||
|
||||
.wr-bubble {
|
||||
display: flex; gap: 0.55rem; margin-bottom: 0.7rem;
|
||||
contain: layout style;
|
||||
}
|
||||
.wr-bubble.is-user { flex-direction: row-reverse; }
|
||||
.wr-bubble.is-system { opacity: 0.85; }
|
||||
.wr-avatar { width: 36px; height: 36px; flex: 0 0 36px; }
|
||||
.wr-avatar img, .wr-avatar .agent-char-wrap {
|
||||
width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
|
||||
}
|
||||
.wr-avatar .agent-char-wrap svg { display: block; width: 36px; height: 36px; }
|
||||
.wr-avatar-fallback {
|
||||
display: grid; place-items: center; width: 36px; height: 36px;
|
||||
border-radius: 50%; background: #1e3a5f; font-size: 0.7rem; font-weight: 700;
|
||||
}
|
||||
.wr-bubble-body {
|
||||
max-width: min(720px, 82%);
|
||||
background: rgba(255,255,255,0.05);
|
||||
border: 1px solid rgba(255,255,255,0.08);
|
||||
border-radius: 12px;
|
||||
padding: 0.45rem 0.65rem;
|
||||
}
|
||||
.wr-bubble.is-user .wr-bubble-body {
|
||||
background: rgba(34, 197, 94, 0.12);
|
||||
border-color: rgba(34, 197, 94, 0.28);
|
||||
}
|
||||
.wr-bubble.is-agent .wr-bubble-body {
|
||||
background: rgba(56, 189, 248, 0.08);
|
||||
border-color: rgba(56, 189, 248, 0.22);
|
||||
}
|
||||
.wr-bubble.is-typing .wr-bubble-body {
|
||||
border-style: dashed;
|
||||
opacity: 0.95;
|
||||
}
|
||||
.wr-bubble-meta {
|
||||
font-size: 0.7rem; opacity: 0.7; margin-bottom: 0.15rem;
|
||||
}
|
||||
.wr-bubble-text {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
font-size: 0.92rem;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.wr-typing-cursor::after {
|
||||
content: '▍
|
||||
animation: wrBlink 1s steps(1) infinite;
|
||||
margin-left: 1px;
|
||||
}
|
||||
@keyframes wrBlink { 50% { opacity: 0; } }
|
||||
|
||||
.wr-attach-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.4rem; }
|
||||
.wr-attach-card {
|
||||
display: block; max-width: 220px; text-decoration: none; color: inherit;
|
||||
border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; overflow: hidden;
|
||||
background: rgba(0,0,0,0.2);
|
||||
}
|
||||
.wr-attach-card img { display: block; width: 100%; max-height: 140px; object-fit: cover; }
|
||||
.wr-attach-card span {
|
||||
display: block; padding: 0.3rem 0.45rem; font-size: 0.72rem; opacity: 0.85;
|
||||
white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.wr-composer {
|
||||
margin-top: 0.55rem;
|
||||
display: grid;
|
||||
grid-template-columns: 1fr auto;
|
||||
gap: 0.45rem;
|
||||
align-items: end;
|
||||
}
|
||||
.wr-composer-tools {
|
||||
grid-column: 1 / -1;
|
||||
display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
|
||||
}
|
||||
.wr-pending {
|
||||
display: flex; flex-wrap: wrap; gap: 0.35rem; grid-column: 1 / -1;
|
||||
}
|
||||
.wr-pending-chip {
|
||||
display: inline-flex; align-items: center; gap: 0.3rem;
|
||||
font-size: 0.72rem; padding: 0.2rem 0.45rem;
|
||||
border-radius: 999px; background: rgba(255,255,255,0.08);
|
||||
}
|
||||
.wr-pending-chip button {
|
||||
border: 0; background: transparent; color: inherit; cursor: pointer; opacity: 0.7;
|
||||
}
|
||||
.wr-emoji-pop {
|
||||
display: flex; flex-wrap: wrap; gap: 0.2rem;
|
||||
max-width: 280px; padding: 0.35rem;
|
||||
background: #0f172a; border: 1px solid rgba(255,255,255,0.12);
|
||||
border-radius: 10px;
|
||||
}
|
||||
.wr-emoji-pop button {
|
||||
border: 0; background: transparent; cursor: pointer; font-size: 1.15rem; line-height: 1;
|
||||
padding: 0.15rem;
|
||||
}
|
||||
.wr-emoji-pop button:hover { transform: scale(1.15); }
|
||||
|
||||
.wr-page-header { margin-bottom: 0.75rem; }
|
||||
.wr-page-header h1 { font-size: 1.35rem; }
|
||||
|
||||
.wr-popup-body {
|
||||
margin: 0; min-height: 100vh;
|
||||
background: #070b14; color: #e8eef8;
|
||||
}
|
||||
.wr-popup-shell { padding: 0.75rem; }
|
||||
.wr-popup-shell .wr-layout { min-height: calc(100vh - 1.5rem); }
|
||||
.wr-popup-shell .wr-main { min-height: calc(100vh - 1.5rem); }
|
||||
.wr-popup-shell .wr-log { min-height: 50vh; }
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.wr-layout { grid-template-columns: 1fr; }
|
||||
.wr-roster { max-height: 180px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
|
||||
}
|
||||
@@ -230,5 +230,11 @@ body.sidebar-resizing iframe {
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.app-sidebar-resizer { display: none; }
|
||||
.app-sidebar-resizer { display: none !important; }
|
||||
.app-main { margin-left: 0 !important; }
|
||||
.app-sidebar {
|
||||
z-index: 1000;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
:root {
|
||||
--bg0: #06090e;
|
||||
--bg1: #0c121b;
|
||||
--card: #111821;
|
||||
--line: rgba(148, 163, 184, 0.18);
|
||||
--text: #f1f5f9;
|
||||
--muted: #94a3b8;
|
||||
--gold: #fbbf24;
|
||||
--green: #22c55e;
|
||||
--danger: #f87171;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
html, body { height: 100%; margin: 0; }
|
||||
.login-body {
|
||||
min-height: 100%;
|
||||
font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(900px 420px at 15% -10%, rgba(251, 191, 36, 0.14), transparent 55%),
|
||||
radial-gradient(700px 380px at 100% 10%, rgba(34, 197, 94, 0.1), transparent 50%),
|
||||
linear-gradient(160deg, var(--bg0), var(--bg1) 55%, #0a1018);
|
||||
}
|
||||
.login-shell {
|
||||
min-height: 100%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: max(1.25rem, env(safe-area-inset-top)) 1rem max(1.25rem, env(safe-area-inset-bottom));
|
||||
}
|
||||
.login-card {
|
||||
width: min(420px, 100%);
|
||||
background: rgba(17, 24, 33, 0.92);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 18px;
|
||||
padding: 1.75rem 1.5rem 1.35rem;
|
||||
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
|
||||
}
|
||||
.login-logo {
|
||||
display: block;
|
||||
width: min(280px, 100%);
|
||||
height: auto;
|
||||
margin: 0 auto 0.75rem;
|
||||
}
|
||||
.login-sub {
|
||||
margin: 0 0 1.25rem;
|
||||
text-align: center;
|
||||
color: var(--muted);
|
||||
font-size: 0.92rem;
|
||||
}
|
||||
.login-error {
|
||||
background: rgba(248, 113, 113, 0.12);
|
||||
border: 1px solid rgba(248, 113, 113, 0.35);
|
||||
color: #fecaca;
|
||||
border-radius: 10px;
|
||||
padding: 0.65rem 0.75rem;
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
.login-form { display: grid; gap: 0.85rem; }
|
||||
.login-label {
|
||||
display: grid;
|
||||
gap: 0.35rem;
|
||||
font-size: 0.8rem;
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
.login-input {
|
||||
width: 100%;
|
||||
min-height: 46px;
|
||||
border-radius: 10px;
|
||||
border: 1px solid var(--line);
|
||||
background: #0a0f16;
|
||||
color: var(--text);
|
||||
padding: 0.65rem 0.8rem;
|
||||
font-size: 16px;
|
||||
}
|
||||
.login-input:focus {
|
||||
outline: none;
|
||||
border-color: rgba(251, 191, 36, 0.55);
|
||||
box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12);
|
||||
}
|
||||
.login-btn {
|
||||
margin-top: 0.35rem;
|
||||
min-height: 48px;
|
||||
border: 0;
|
||||
border-radius: 10px;
|
||||
background: linear-gradient(135deg, #fbbf24, #f59e0b);
|
||||
color: #111827;
|
||||
font-weight: 700;
|
||||
font-size: 0.95rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.login-btn:hover { filter: brightness(1.05); }
|
||||
.login-foot {
|
||||
margin: 1.1rem 0 0;
|
||||
text-align: center;
|
||||
color: #64748b;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
/**
|
||||
* Foodlinkk Command Center — mobile (Android + iOS)
|
||||
* Must load LAST so it wins over app-sidebar-neo / herman-dashboard.
|
||||
*/
|
||||
:root {
|
||||
--safe-top: env(safe-area-inset-top, 0px);
|
||||
@@ -32,8 +33,9 @@ body { overflow-x: hidden; padding-bottom: var(--safe-bottom); }
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.55);
|
||||
z-index: 998;
|
||||
backdrop-filter: blur(2px);
|
||||
z-index: 999;
|
||||
backdrop-filter: none;
|
||||
-webkit-backdrop-filter: none;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
@@ -87,43 +89,59 @@ body { overflow-x: hidden; padding-bottom: var(--safe-bottom); }
|
||||
.regs-columns[style*="repeat(3"] { grid-template-columns: 1fr !important; }
|
||||
.regs-columns { flex-direction: column !important; display: flex !important; }
|
||||
.pwa-install-bar { display: flex; }
|
||||
|
||||
/* Scherper op tablet/mobiel: minder soft blur */
|
||||
.hm-panel, .hm-chart-panel, .live-digest, .briefing-card,
|
||||
.ha-panel, .panel {
|
||||
backdrop-filter: none !important;
|
||||
-webkit-backdrop-filter: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.mobile-menu-btn { display: inline-flex; }
|
||||
.mobile-menu-btn { display: inline-flex !important; }
|
||||
.mobile-nav-overlay { display: block; }
|
||||
body:not(.nav-open) .mobile-nav-overlay { display: none; }
|
||||
body:not(.nav-open) .mobile-nav-overlay { display: none !important; }
|
||||
|
||||
.app-shell {
|
||||
grid-template-columns: 1fr !important;
|
||||
display: block !important;
|
||||
}
|
||||
.app-main {
|
||||
margin-left: 0 !important;
|
||||
width: 100% !important;
|
||||
max-width: 100vw !important;
|
||||
}
|
||||
|
||||
/* Hard overrides — must beat app-sidebar-neo.css */
|
||||
.app-sidebar {
|
||||
position: fixed !important;
|
||||
top: 0; left: 0; bottom: 0;
|
||||
width: min(280px, 88vw);
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
bottom: 0 !important;
|
||||
width: min(280px, 88vw) !important;
|
||||
height: 100dvh !important;
|
||||
z-index: 999;
|
||||
transform: translateX(-105%);
|
||||
transition: transform 0.3s ease;
|
||||
z-index: 1000 !important;
|
||||
transform: translateX(-105%) !important;
|
||||
transition: transform 0.3s ease !important;
|
||||
box-shadow: 4px 0 24px rgba(0, 0, 0, 0.4);
|
||||
padding-top: max(1rem, var(--safe-top));
|
||||
padding-top: max(1rem, var(--safe-top)) !important;
|
||||
flex-direction: column !important;
|
||||
flex-wrap: nowrap !important;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto !important;
|
||||
overflow-x: hidden !important;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
.app-sidebar-resizer { display: none !important; }
|
||||
.persona-nav {
|
||||
flex: none;
|
||||
min-height: auto;
|
||||
overflow: visible;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
body.nav-open .app-sidebar { transform: translateX(0); }
|
||||
body.nav-open .app-sidebar { transform: translateX(0) !important; }
|
||||
body.nav-open { overflow: hidden; }
|
||||
|
||||
.app-topbar {
|
||||
position: sticky; top: 0; z-index: 100;
|
||||
padding-top: max(0.5rem, var(--safe-top));
|
||||
@@ -133,16 +151,43 @@ body { overflow-x: hidden; padding-bottom: var(--safe-bottom); }
|
||||
.retail-actions .btn, .herman-briefing-actions .btn {
|
||||
min-width: 100%; flex: 1 1 100%;
|
||||
}
|
||||
|
||||
.herman-briefing-actions {
|
||||
flex-direction: column;
|
||||
}
|
||||
.herman-briefing-actions .btn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.kpi-row, .hm-neo-kpi-row, .hub-kpi-row, .analytics-kpis {
|
||||
grid-template-columns: 1fr !important;
|
||||
}
|
||||
.page-header h1 { font-size: 1.2rem !important; }
|
||||
}
|
||||
|
||||
.pwa-install-bar {
|
||||
display: none;
|
||||
position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
|
||||
position: fixed; bottom: 0; left: 0; right: 0; z-index: 10100;
|
||||
padding: 0.75rem 1rem;
|
||||
padding-bottom: max(0.75rem, var(--safe-bottom));
|
||||
background: rgba(8, 12, 18, 0.95);
|
||||
background: rgba(8, 12, 18, 0.97);
|
||||
border-top: 1px solid rgba(148, 163, 184, 0.15);
|
||||
align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
|
||||
}
|
||||
.pwa-install-bar p { margin: 0; font-size: 0.85rem; color: #cbd5e1; flex: 1; }
|
||||
@media (display-mode: standalone) { .pwa-install-bar { display: none !important; } }
|
||||
.pwa-install-hint {
|
||||
display: none;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
font-size: 0.78rem;
|
||||
color: #94a3b8;
|
||||
line-height: 1.35;
|
||||
}
|
||||
.pwa-install-bar.is-ios .pwa-install-hint.is-ios-hint { display: block; }
|
||||
.pwa-install-bar.is-android .pwa-install-hint.is-android-hint { display: block; }
|
||||
.pwa-install-bar:not(.is-ios):not(.is-android) .pwa-install-hint.is-android-hint { display: block; }
|
||||
@media (display-mode: standalone), (display-mode: fullscreen) {
|
||||
.pwa-install-bar { display: none !important; }
|
||||
}
|
||||
|
||||
@@ -956,3 +956,47 @@
|
||||
.rc-visual-toggle { order: 5; flex: 1 1 100%; }
|
||||
.rc-style-chips { order: 6; flex: 1 1 100%; }
|
||||
}
|
||||
|
||||
/* === MOBILE V2 === */
|
||||
@media (max-width: 768px) {
|
||||
.rc-sheet-wrap,
|
||||
.rc-visual-wrap {
|
||||
overflow-x: auto !important;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
max-width: 100%;
|
||||
}
|
||||
.rc-sheet {
|
||||
min-width: 720px !important; /* scroll inside wrap, don't blow up page */
|
||||
}
|
||||
.rc-visual-table {
|
||||
min-width: 560px !important;
|
||||
}
|
||||
.rc-page {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.rc-header {
|
||||
flex-direction: column;
|
||||
align-items: stretch !important;
|
||||
}
|
||||
.rc-header-actions {
|
||||
width: 100%;
|
||||
}
|
||||
.rc-header-actions .rc-btn,
|
||||
.rc-header-actions .rc-dot-btn,
|
||||
.rc-view-toggle {
|
||||
min-height: 44px;
|
||||
}
|
||||
.rc-summary-strip {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
.rc-filter-chips {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
.rc-filter-chips button,
|
||||
.rc-toggle-btn {
|
||||
min-height: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
|
||||
/* Topbar identity chip */
|
||||
.app-user-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.55rem;
|
||||
margin-left: 0.65rem;
|
||||
padding: 0.2rem 0.35rem 0.2rem 0.2rem;
|
||||
border-radius: 999px;
|
||||
background: rgba(15, 23, 42, 0.75);
|
||||
border: 1px solid rgba(148, 163, 184, 0.18);
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
.app-user-chip input[type="file"],
|
||||
.user-avatar-input {
|
||||
position: absolute !important;
|
||||
width: 1px !important;
|
||||
height: 1px !important;
|
||||
padding: 0 !important;
|
||||
margin: -1px !important;
|
||||
overflow: hidden !important;
|
||||
clip: rect(0, 0, 0, 0) !important;
|
||||
border: 0 !important;
|
||||
opacity: 0 !important;
|
||||
pointer-events: none !important;
|
||||
}
|
||||
|
||||
.user-avatar-btn {
|
||||
appearance: none;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
line-height: 0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.user-avatar-btn:focus-visible {
|
||||
outline: 2px solid rgba(251, 191, 36, 0.65);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.user-avatar-img,
|
||||
.user-avatar-fallback {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
min-width: 36px;
|
||||
min-height: 36px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
border: 2px solid rgba(251, 191, 36, 0.55);
|
||||
background: linear-gradient(145deg, #1e293b, #0f172a);
|
||||
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
|
||||
}
|
||||
|
||||
.user-avatar-img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.user-avatar-fallback {
|
||||
display: none; /* Alpine x-show zet dit aan indien geen foto */
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fbbf24;
|
||||
font-size: 0.78rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.04em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
/* Als Alpine display:flex/inline-flex zet via x-show */
|
||||
.user-avatar-fallback[style*="flex"] {
|
||||
display: inline-flex !important;
|
||||
}
|
||||
|
||||
.user-avatar-meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
padding-right: 0.15rem;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.user-avatar-name {
|
||||
font-size: 0.8rem;
|
||||
font-weight: 600;
|
||||
color: #e2e8f0;
|
||||
max-width: 120px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.user-avatar-role {
|
||||
font-size: 0.65rem;
|
||||
color: #94a3b8;
|
||||
text-transform: capitalize;
|
||||
}
|
||||
|
||||
.user-logout-btn {
|
||||
min-height: 30px !important;
|
||||
padding: 0.2rem 0.65rem !important;
|
||||
font-size: 0.7rem !important;
|
||||
border-radius: 999px !important;
|
||||
margin-right: 0.15rem;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.user-avatar-meta { display: none; }
|
||||
.app-user-chip {
|
||||
padding: 0.15rem;
|
||||
gap: 0.35rem;
|
||||
}
|
||||
}
|
||||
|
||||
/* Settings list */
|
||||
.user-card-avatar,
|
||||
.user-form-avatar-preview {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border-radius: 50% !important;
|
||||
object-fit: cover;
|
||||
border: 2px solid rgba(251, 191, 36, 0.4);
|
||||
background: #1e293b;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.user-card-avatar.fallback,
|
||||
.user-form-avatar-preview.fallback {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fbbf24;
|
||||
font-weight: 700;
|
||||
}
|
||||
.user-form-avatar-preview {
|
||||
width: 72px;
|
||||
height: 72px;
|
||||
}
|
||||
.user-form-avatar-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.85rem;
|
||||
margin-bottom: 0.85rem;
|
||||
}
|
||||
Reference in New Issue
Block a user