316 lines
6.7 KiB
CSS
316 lines
6.7 KiB
CSS
/* ─── RADAR: Live Intelligence Feed ─────────────── */
|
|
|
|
.radar-container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem 3rem;
|
|
}
|
|
|
|
/* ─── Controls Bar ─────────────────────────────── */
|
|
.radar-controls {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.radar-filters {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.radar-filter {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.6rem;
|
|
letter-spacing: 1.5px;
|
|
padding: 0.4rem 0.8rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.35);
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.radar-filter:hover {
|
|
background: rgba(255, 170, 0, 0.06);
|
|
border-color: rgba(255, 170, 0, 0.2);
|
|
color: rgba(255, 170, 0, 0.7);
|
|
}
|
|
|
|
.radar-filter.active {
|
|
background: rgba(255, 170, 0, 0.08);
|
|
border-color: rgba(255, 170, 0, 0.4);
|
|
color: rgba(255, 170, 0, 0.9);
|
|
}
|
|
|
|
.radar-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.radar-search {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.65rem;
|
|
letter-spacing: 1px;
|
|
padding: 0.4rem 0.8rem;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
color: rgba(255, 255, 255, 0.7);
|
|
width: 200px;
|
|
outline: none;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.radar-search:focus {
|
|
border-color: rgba(255, 170, 0, 0.4);
|
|
}
|
|
|
|
.radar-search::placeholder {
|
|
color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.radar-refresh {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.6rem;
|
|
letter-spacing: 1px;
|
|
padding: 0.4rem 0.8rem;
|
|
background: rgba(255, 170, 0, 0.06);
|
|
border: 1px solid rgba(255, 170, 0, 0.2);
|
|
color: rgba(255, 170, 0, 0.7);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.radar-refresh:hover {
|
|
background: rgba(255, 170, 0, 0.12);
|
|
border-color: rgba(255, 170, 0, 0.5);
|
|
color: rgba(255, 170, 0, 1);
|
|
}
|
|
|
|
.radar-refresh.spinning {
|
|
animation: spin 0.8s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* ─── Stats Bar ────────────────────────────────── */
|
|
.radar-stats {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
margin-bottom: 1.5rem;
|
|
padding: 0.6rem 1rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.radar-stat {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.6rem;
|
|
letter-spacing: 1px;
|
|
color: rgba(255, 255, 255, 0.4);
|
|
}
|
|
|
|
.stat-label {
|
|
color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.stat-auto {
|
|
color: rgba(0, 204, 68, 0.7);
|
|
}
|
|
|
|
.radar-live {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
color: rgba(0, 204, 68, 0.8);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.live-dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: #00cc44;
|
|
border-radius: 50%;
|
|
animation: pulse-dot 1.5s ease infinite;
|
|
}
|
|
|
|
@keyframes pulse-dot {
|
|
0%, 100% { opacity: 1; box-shadow: 0 0 4px #00cc44; }
|
|
50% { opacity: 0.4; box-shadow: 0 0 1px #00cc44; }
|
|
}
|
|
|
|
/* ─── Feed Items ───────────────────────────────── */
|
|
.radar-feed {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
}
|
|
|
|
.radar-loading {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.7rem;
|
|
color: rgba(255, 170, 0, 0.5);
|
|
text-align: center;
|
|
padding: 3rem;
|
|
letter-spacing: 2px;
|
|
animation: pulse-text 1.5s ease infinite;
|
|
}
|
|
|
|
@keyframes pulse-text {
|
|
0%, 100% { opacity: 0.5; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
.radar-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
padding: 0.8rem 1rem;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.radar-item:hover {
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.radar-item-time {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.55rem;
|
|
color: rgba(255, 255, 255, 0.18);
|
|
min-width: 55px;
|
|
letter-spacing: 0.5px;
|
|
padding-top: 0.15rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.radar-item-source {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.5rem;
|
|
letter-spacing: 1.5px;
|
|
padding: 0.15rem 0.5rem;
|
|
min-width: 90px;
|
|
text-align: center;
|
|
flex-shrink: 0;
|
|
border: 1px solid;
|
|
}
|
|
|
|
.source-hackernews {
|
|
color: #ff6600;
|
|
border-color: rgba(255, 102, 0, 0.3);
|
|
background: rgba(255, 102, 0, 0.05);
|
|
}
|
|
|
|
.source-reddit_technology,
|
|
.source-reddit_programming,
|
|
.source-reddit_netsec {
|
|
color: #ff4500;
|
|
border-color: rgba(255, 69, 0, 0.3);
|
|
background: rgba(255, 69, 0, 0.05);
|
|
}
|
|
|
|
.source-lobsters {
|
|
color: #ac130d;
|
|
border-color: rgba(172, 19, 13, 0.3);
|
|
background: rgba(172, 19, 13, 0.05);
|
|
}
|
|
|
|
.radar-item-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.radar-item-title {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.7rem;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
text-decoration: none;
|
|
display: block;
|
|
line-height: 1.4;
|
|
transition: color 0.15s;
|
|
}
|
|
|
|
.radar-item-title:hover {
|
|
color: rgba(255, 170, 0, 0.9);
|
|
}
|
|
|
|
.radar-item-meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
margin-top: 0.3rem;
|
|
}
|
|
|
|
.radar-item-domain {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.5rem;
|
|
color: rgba(255, 255, 255, 0.15);
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.radar-item-comments {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.5rem;
|
|
color: rgba(255, 170, 0, 0.35);
|
|
text-decoration: none;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.radar-item-comments:hover {
|
|
color: rgba(255, 170, 0, 0.7);
|
|
}
|
|
|
|
.radar-empty {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
font-size: 0.65rem;
|
|
color: rgba(255, 255, 255, 0.2);
|
|
text-align: center;
|
|
padding: 3rem;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
/* ─── Responsive ───────────────────────────────── */
|
|
@media (max-width: 768px) {
|
|
.radar-controls {
|
|
flex-direction: column;
|
|
}
|
|
.radar-actions {
|
|
width: 100%;
|
|
}
|
|
.radar-search {
|
|
flex: 1;
|
|
}
|
|
.radar-item {
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
}
|
|
.radar-item-time {
|
|
min-width: auto;
|
|
}
|
|
.radar-item-source {
|
|
min-width: auto;
|
|
}
|
|
.radar-stats {
|
|
gap: 0.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.radar-container {
|
|
padding: 0 1rem 2rem;
|
|
}
|
|
.radar-filters {
|
|
gap: 0.3rem;
|
|
}
|
|
.radar-filter {
|
|
font-size: 0.5rem;
|
|
padding: 0.3rem 0.5rem;
|
|
}
|
|
}
|