Some checks failed
CI Docker Mining Proof / Linux agent hashrate proof (push) Has been cancelled
412 lines
11 KiB
CSS
412 lines
11 KiB
CSS
/* ── Live Activity Feed ──────────────────────────────────────────────────── */
|
|
|
|
.activity-page {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding-bottom: 4rem;
|
|
}
|
|
|
|
/* ── Hero ────────────────────────────────────────────────────────────────── */
|
|
|
|
.activity-hero {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 1.75rem;
|
|
}
|
|
|
|
.activity-hero-text .activity-eyebrow {
|
|
font-size: 0.7rem;
|
|
letter-spacing: 0.18em;
|
|
color: #00e8f5;
|
|
margin: 0 0 0.25rem;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
}
|
|
|
|
.activity-hero-text h1 {
|
|
font-size: 2rem;
|
|
font-weight: 800;
|
|
margin: 0 0 0.3rem;
|
|
background: linear-gradient(135deg, #00e8f5 0%, #b24bf3 60%, #ff2da6 100%);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.activity-hero-text .page-subtitle {
|
|
color: var(--text-muted);
|
|
font-size: 0.82rem;
|
|
margin: 0;
|
|
}
|
|
|
|
/* Live indicator */
|
|
.activity-live-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.45rem;
|
|
padding: 0.4rem 0.9rem;
|
|
background: rgba(57, 255, 20, 0.08);
|
|
border: 1px solid rgba(57, 255, 20, 0.3);
|
|
border-radius: 20px;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.1em;
|
|
color: #39ff14;
|
|
}
|
|
|
|
.activity-live-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #39ff14;
|
|
box-shadow: 0 0 6px #39ff14;
|
|
animation: act-blink 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.activity-live-dot.offline {
|
|
background: #ff4444;
|
|
box-shadow: 0 0 6px #ff4444;
|
|
animation: none;
|
|
}
|
|
|
|
@keyframes act-blink {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.3; }
|
|
}
|
|
|
|
/* ── Filter bar ──────────────────────────────────────────────────────────── */
|
|
|
|
.activity-filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.activity-filter-label {
|
|
font-size: 0.62rem;
|
|
letter-spacing: 0.1em;
|
|
color: var(--text-muted);
|
|
font-family: 'Share Tech Mono', monospace;
|
|
margin-right: 0.25rem;
|
|
}
|
|
|
|
.activity-type-chip {
|
|
padding: 0.22rem 0.6rem;
|
|
border-radius: 16px;
|
|
font-size: 0.6rem;
|
|
letter-spacing: 0.08em;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
background: rgba(255,255,255,0.04);
|
|
color: var(--text-muted);
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
user-select: none;
|
|
}
|
|
|
|
.activity-type-chip:hover {
|
|
border-color: rgba(255,255,255,0.25);
|
|
color: #c8d8e8;
|
|
}
|
|
|
|
.activity-type-chip.active--connect { background: rgba(57,255,20,0.15); color: #39ff14; border-color: rgba(57,255,20,0.4); }
|
|
.activity-type-chip.active--disconnect { background: rgba(255,68,68,0.12); color: #ff6b6b; border-color: rgba(255,68,68,0.35); }
|
|
.activity-type-chip.active--hashrate { background: rgba(0,232,245,0.12); color: #00e8f5; border-color: rgba(0,232,245,0.35); }
|
|
.activity-type-chip.active--share { background: rgba(178,75,243,0.12); color: #b24bf3; border-color: rgba(178,75,243,0.35); }
|
|
.activity-type-chip.active--alert { background: rgba(255,107,53,0.12); color: #ff6b35; border-color: rgba(255,107,53,0.35); }
|
|
.activity-type-chip.active--command { background: rgba(255,176,32,0.12); color: #ffb020; border-color: rgba(255,176,32,0.35); }
|
|
.activity-type-chip.active--ai { background: rgba(255,45,166,0.12); color: #ff2da6; border-color: rgba(255,45,166,0.35); }
|
|
.activity-type-chip.active--posture { background: rgba(57,255,20,0.12); color: #39ff14; border-color: rgba(57,255,20,0.35); }
|
|
|
|
/* Search input */
|
|
.activity-search {
|
|
margin-left: auto;
|
|
padding: 0.28rem 0.65rem;
|
|
background: rgba(255,255,255,0.05);
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
border-radius: 6px;
|
|
color: #c8d8e8;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.72rem;
|
|
outline: none;
|
|
min-width: 160px;
|
|
transition: border-color 0.15s;
|
|
}
|
|
|
|
.activity-search:focus {
|
|
border-color: rgba(0,232,245,0.4);
|
|
}
|
|
|
|
.activity-search::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-clear-btn {
|
|
padding: 0.22rem 0.6rem;
|
|
background: none;
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
border-radius: 6px;
|
|
color: var(--text-muted);
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.6rem;
|
|
cursor: pointer;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.activity-clear-btn:hover {
|
|
border-color: rgba(255,107,53,0.4);
|
|
color: #ff6b35;
|
|
}
|
|
|
|
/* ── Event stream ────────────────────────────────────────────────────────── */
|
|
|
|
.activity-stream-wrap {
|
|
background: rgba(0,0,0,0.45);
|
|
border: 1px solid rgba(255,255,255,0.07);
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.activity-stream-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 0.75rem 1.1rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.06);
|
|
background: rgba(0,0,0,0.2);
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.62rem;
|
|
letter-spacing: 0.1em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.activity-stream-count {
|
|
margin-left: auto;
|
|
color: #00e8f5;
|
|
}
|
|
|
|
.activity-stream {
|
|
max-height: 70vh;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(0,232,245,0.15) transparent;
|
|
}
|
|
|
|
.activity-stream::-webkit-scrollbar { width: 4px; }
|
|
.activity-stream::-webkit-scrollbar-track { background: transparent; }
|
|
.activity-stream::-webkit-scrollbar-thumb { background: rgba(0,232,245,0.15); border-radius: 2px; }
|
|
|
|
/* ── Event row ───────────────────────────────────────────────────────────── */
|
|
|
|
.activity-event {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 0.75rem;
|
|
padding: 0.55rem 1.1rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.03);
|
|
transition: background 0.1s;
|
|
animation: act-enter 0.25s ease-out;
|
|
}
|
|
|
|
@keyframes act-enter {
|
|
from { opacity: 0; transform: translateX(-8px); }
|
|
to { opacity: 1; transform: translateX(0); }
|
|
}
|
|
|
|
.activity-event:hover {
|
|
background: rgba(255,255,255,0.02);
|
|
}
|
|
|
|
.activity-event:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
/* Event type accent bar */
|
|
.activity-event-accent {
|
|
width: 3px;
|
|
align-self: stretch;
|
|
border-radius: 2px;
|
|
flex-shrink: 0;
|
|
min-height: 16px;
|
|
}
|
|
|
|
.accent--connect { background: #39ff14; box-shadow: 0 0 4px #39ff14; }
|
|
.accent--disconnect { background: #ff4444; }
|
|
.accent--hashrate { background: #00e8f5; }
|
|
.accent--share { background: #b24bf3; }
|
|
.accent--alert { background: #ff6b35; }
|
|
.accent--command { background: #ffb020; }
|
|
.accent--ai { background: #ff2da6; }
|
|
.accent--posture { background: #39ff14; }
|
|
.accent--default { background: rgba(255,255,255,0.2); }
|
|
|
|
/* Event icon */
|
|
.activity-event-icon {
|
|
font-size: 1rem;
|
|
flex-shrink: 0;
|
|
margin-top: 0.05rem;
|
|
width: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Event body */
|
|
.activity-event-body {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.activity-event-main {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
line-height: 1.35;
|
|
}
|
|
|
|
.activity-event-type-badge {
|
|
font-size: 0.55rem;
|
|
letter-spacing: 0.1em;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
padding: 0.07rem 0.35rem;
|
|
border-radius: 3px;
|
|
text-transform: uppercase;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.badge--connect { background: rgba(57,255,20,0.15); color: #39ff14; }
|
|
.badge--disconnect { background: rgba(255,68,68,0.15); color: #ff6b6b; }
|
|
.badge--hashrate { background: rgba(0,232,245,0.12); color: #00e8f5; }
|
|
.badge--share { background: rgba(178,75,243,0.12); color: #b24bf3; }
|
|
.badge--alert { background: rgba(255,107,53,0.15); color: #ff6b35; }
|
|
.badge--command { background: rgba(255,176,32,0.12); color: #ffb020; }
|
|
.badge--ai { background: rgba(255,45,166,0.12); color: #ff2da6; }
|
|
.badge--posture { background: rgba(57,255,20,0.1); color: #a8ff78; }
|
|
.badge--default { background: rgba(255,255,255,0.06); color: #8899aa; }
|
|
|
|
.activity-event-agent {
|
|
font-weight: 600;
|
|
color: #c8d8e8;
|
|
font-size: 0.78rem;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
max-width: 150px;
|
|
}
|
|
|
|
.activity-event-msg {
|
|
color: var(--text-muted);
|
|
font-size: 0.74rem;
|
|
flex: 1;
|
|
}
|
|
|
|
.activity-event-detail {
|
|
font-size: 0.65rem;
|
|
color: var(--text-muted);
|
|
margin-top: 0.15rem;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.activity-event-ts {
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.62rem;
|
|
color: var(--text-muted);
|
|
flex-shrink: 0;
|
|
margin-top: 0.1rem;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* ── Empty state ─────────────────────────────────────────────────────────── */
|
|
|
|
.activity-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4rem 1rem;
|
|
gap: 0.75rem;
|
|
color: var(--text-muted);
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.activity-empty-icon {
|
|
font-size: 2.5rem;
|
|
opacity: 0.3;
|
|
}
|
|
|
|
/* ── Stat pills row ──────────────────────────────────────────────────────── */
|
|
|
|
.activity-stat-pills {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.activity-stat-pill {
|
|
padding: 0.3rem 0.75rem;
|
|
border-radius: 20px;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.65rem;
|
|
letter-spacing: 0.06em;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
background: rgba(255,255,255,0.03);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.activity-stat-pill-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
/* ── Ticker strip (compact, full-width) ──────────────────────────────────── */
|
|
|
|
.activity-ticker-strip {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
background: rgba(0,0,0,0.35);
|
|
border: 1px solid rgba(255,255,255,0.06);
|
|
border-radius: 8px;
|
|
padding: 0.45rem 0;
|
|
margin-bottom: 1.5rem;
|
|
position: relative;
|
|
}
|
|
|
|
.activity-ticker-inner {
|
|
display: flex;
|
|
gap: 2.5rem;
|
|
padding: 0 1rem;
|
|
overflow-x: auto;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.activity-ticker-inner::-webkit-scrollbar { display: none; }
|
|
|
|
.activity-ticker-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 0.65rem;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
color: #c8d8e8;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.activity-ticker-item .act-dot {
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
flex-shrink: 0;
|
|
}
|