123 lines
3.9 KiB
CSS
123 lines
3.9 KiB
CSS
/* context-hub — global styles */
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar { width: 6px; height: 6px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: rgba(212,160,26,0.3); border-radius: 3px; }
|
|
::-webkit-scrollbar-thumb:hover { background: rgba(212,160,26,0.6); }
|
|
|
|
/* Login page glass card */
|
|
.login-card {
|
|
background: var(--bg-glass);
|
|
backdrop-filter: blur(24px) saturate(180%);
|
|
-webkit-backdrop-filter: blur(24px) saturate(180%);
|
|
border: 1px solid var(--border);
|
|
border-radius: 1.25rem;
|
|
box-shadow: var(--shadow-card), var(--inset-light);
|
|
}
|
|
|
|
/* Inputs */
|
|
input[type=text], input[type=password] {
|
|
background: rgba(0,0,0,0.2) !important;
|
|
border: 1px solid var(--border) !important;
|
|
color: var(--text-primary) !important;
|
|
border-radius: 0.5rem;
|
|
transition: all 0.2s;
|
|
}
|
|
[data-theme="light"] input[type=text],
|
|
[data-theme="light"] input[type=password] {
|
|
background: rgba(255,255,255,0.8) !important;
|
|
}
|
|
input:focus { border-color: rgba(212,160,26,0.5) !important; outline: none; box-shadow: 0 0 0 3px rgba(212,160,26,0.1) !important; }
|
|
|
|
/* Gold accent button */
|
|
.btn-gold {
|
|
background: linear-gradient(135deg, #d4a01a, #f0b429);
|
|
color: #0a0e1a;
|
|
font-weight: 700;
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
padding: 0.65rem 1.5rem;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
box-shadow: 0 4px 16px rgba(212,160,26,0.3);
|
|
}
|
|
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(212,160,26,0.4); }
|
|
|
|
/* Accordion */
|
|
.accordion-content { transition: max-height 0.3s ease, opacity 0.3s ease; overflow: hidden; }
|
|
|
|
/* Tags */
|
|
.tag {
|
|
font-size: 0.65rem;
|
|
font-weight: 700;
|
|
padding: 0.15rem 0.55rem;
|
|
border-radius: 999px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Glow pulse for kill-switch */
|
|
@keyframes glow-pulse {
|
|
0%, 100% { box-shadow: 0 0 20px rgba(239,68,68,0.15); }
|
|
50% { box-shadow: 0 0 40px rgba(239,68,68,0.35); }
|
|
}
|
|
.glow-red { animation: glow-pulse 3s ease-in-out infinite; }
|
|
|
|
/* Gold shimmer */
|
|
@keyframes shimmer {
|
|
0% { background-position: -200% center; }
|
|
100% { background-position: 200% center; }
|
|
}
|
|
.gold-shimmer {
|
|
background: linear-gradient(90deg, #d4a01a, #f0b429, #d4a01a);
|
|
background-size: 200% auto;
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
animation: shimmer 3s linear infinite;
|
|
}
|
|
|
|
/* Mesh background reinforcement */
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background: var(--bg-mesh);
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* ── HF LIGHT MODE OVERRIDES ── */
|
|
html:not(.dark) { color-scheme: light; }
|
|
html:not(.dark) .text-gray-100 { color: #0f172a !important; }
|
|
html:not(.dark) .text-gray-300 { color: #374151 !important; }
|
|
html:not(.dark) .text-gray-400 { color: #6b7280 !important; }
|
|
html:not(.dark) .text-gray-500 { color: #9ca3af !important; }
|
|
html:not(.dark) .bg-gray-900 { background: #f8fafc !important; }
|
|
html:not(.dark) .bg-gray-800 { background: #f1f5f9 !important; }
|
|
html:not(.dark) .bg-gray-700 { background: #e2e8f0 !important; }
|
|
html:not(.dark) .border-gray-700{ border-color: #e2e8f0 !important; }
|
|
html:not(.dark) .border-gray-600{ border-color: #e2e8f0 !important; }
|
|
|
|
/* Progress bars HF style */
|
|
html:not(.dark) .bg-black\/40 { background: #f1f5f9 !important; }
|
|
html:not(.dark) .border-red-900\/30 { border-color: #fecaca !important; }
|
|
|
|
/* Input HF style */
|
|
html:not(.dark) input[type=text],
|
|
html:not(.dark) input[type=password],
|
|
html:not(.dark) input[type=number] {
|
|
background: #ffffff !important;
|
|
border: 1px solid #d1d5db !important;
|
|
color: #111827 !important;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.04) !important;
|
|
}
|
|
html:not(.dark) input:focus {
|
|
border-color: #d4a01a !important;
|
|
box-shadow: 0 0 0 3px rgba(212,160,26,0.12) !important;
|
|
}
|