Nova / web /static /css /style.css
kings1's picture
Upload folder using huggingface_hub
23ea6bd verified
Raw History Blame Contribute Delete
8.59 kB
:root {
--bg-main: #090D16;
--bg-card: rgba(17, 24, 39, 0.75);
--bg-sidebar: rgba(13, 19, 33, 0.85);
--border-color: rgba(255, 255, 255, 0.08);
--border-glow: rgba(139, 92, 246, 0.3);
--primary-violet: #8B5CF6;
--primary-cyan: #06B6D4;
--accent-glow: #A78BFA;
--text-main: #F3F4F6;
--text-muted: #9CA3AF;
--text-subtle: #6B7280;
--font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
--font-mono: 'Fira Code', monospace;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-sans);
background: var(--bg-main);
color: var(--text-main);
min-height: 100vh;
overflow-x: hidden;
background-image:
radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.10) 0%, transparent 45%);
}
/* App Layout Structure */
.app-container {
display: flex;
flex-direction: column;
height: 100vh;
max-width: 1600px;
margin: 0 auto;
padding: 0 1.5rem;
}
/* Top Navbar */
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.2rem 0;
border-bottom: 1px solid var(--border-color);
}
.brand {
display: flex;
align-items: center;
gap: 1rem;
}
.logo-icon {
position: relative;
width: 38px;
height: 38px;
display: flex;
align-items: center;
justify-content: center;
}
.core-dot {
width: 14px;
height: 14px;
background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
border-radius: 50%;
box-shadow: 0 0 16px var(--primary-violet);
}
.pulse-ring {
position: absolute;
width: 100%;
height: 100%;
border: 2px solid var(--primary-violet);
border-radius: 50%;
animation: pulse 2.5s infinite ease-out;
}
@keyframes pulse {
0% { transform: scale(0.6); opacity: 1; }
100% { transform: scale(1.4); opacity: 0; }
}
.brand-text h1 {
font-size: 1.5rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.brand-text h1 span {
background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
font-size: 0.8rem;
color: var(--text-muted);
}
.status-bar {
display: flex;
gap: 0.75rem;
}
.badge {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 0.9rem;
border-radius: 20px;
font-size: 0.82rem;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border-color);
backdrop-filter: blur(8px);
}
.status-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: #10B981;
box-shadow: 0 0 10px #10B981;
}
/* Main Split View */
.main-layout {
display: flex;
flex: 1;
gap: 1.5rem;
padding: 1.5rem 0;
overflow: hidden;
}
/* Sidebar */
.sidebar {
width: 340px;
background: var(--bg-sidebar);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 1.25rem;
display: flex;
flex-direction: column;
gap: 1.2rem;
overflow-y: auto;
backdrop-filter: blur(16px);
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.panel-header h2 {
font-size: 0.95rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: var(--text-muted);
}
.reset-btn {
background: none;
border: none;
color: var(--primary-cyan);
font-size: 0.8rem;
cursor: pointer;
transition: opacity 0.2s;
}
.reset-btn:hover {
opacity: 0.7;
}
.control-group {
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.control-label {
display: flex;
justify-content: space-between;
font-size: 0.88rem;
font-weight: 500;
}
.val-badge {
font-family: var(--font-mono);
font-size: 0.82rem;
color: var(--primary-cyan);
background: rgba(6, 182, 212, 0.1);
padding: 0.1rem 0.4rem;
border-radius: 4px;
}
input[type="range"] {
appearance: none;
background: rgba(255, 255, 255, 0.1);
height: 5px;
border-radius: 5px;
outline: none;
}
input[type="range"]::-webkit-slider-thumb {
appearance: none;
width: 14px;
height: 14px;
border-radius: 50%;
background: var(--primary-violet);
cursor: pointer;
box-shadow: 0 0 8px var(--primary-violet);
}
.control-hint {
font-size: 0.75rem;
color: var(--text-subtle);
}
.divider {
height: 1px;
background: var(--border-color);
}
.recurrent-depth-box {
background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(6, 182, 212, 0.1));
border: 1px solid var(--border-glow);
padding: 0.9rem;
border-radius: 12px;
display: flex;
flex-direction: column;
gap: 0.2rem;
}
.depth-label {
font-size: 0.75rem;
color: var(--text-muted);
}
.depth-value {
font-size: 1.05rem;
font-weight: 600;
color: var(--text-main);
}
.model-meta-box {
background: rgba(0, 0, 0, 0.2);
border-radius: 12px;
padding: 0.9rem;
display: flex;
flex-direction: column;
gap: 0.4rem;
}
.model-meta-box h3 {
font-size: 0.8rem;
color: var(--text-subtle);
text-transform: uppercase;
letter-spacing: 0.04em;
margin-bottom: 0.2rem;
}
.meta-row {
display: flex;
justify-content: space-between;
font-size: 0.82rem;
}
/* Content Area */
.content-area {
flex: 1;
display: flex;
flex-direction: column;
gap: 1.25rem;
overflow-y: auto;
}
.preset-section {
display: flex;
align-items: center;
gap: 0.8rem;
flex-wrap: wrap;
}
.preset-title {
font-size: 0.85rem;
color: var(--text-subtle);
}
.chips-list {
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.chip {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-color);
color: var(--text-muted);
padding: 0.4rem 0.8rem;
border-radius: 20px;
font-size: 0.82rem;
cursor: pointer;
transition: all 0.2s ease;
}
.chip:hover {
background: rgba(139, 92, 246, 0.15);
border-color: var(--border-glow);
color: var(--text-main);
}
/* Cards */
.prompt-card, .output-card {
background: var(--bg-card);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 1.25rem;
backdrop-filter: blur(16px);
}
.prompt-card {
display: flex;
flex-direction: column;
gap: 0.8rem;
}
textarea {
width: 100%;
background: rgba(0, 0, 0, 0.25);
border: 1px solid var(--border-color);
border-radius: 10px;
padding: 0.9rem;
color: var(--text-main);
font-family: var(--font-sans);
font-size: 0.95rem;
resize: vertical;
outline: none;
transition: border-color 0.2s;
}
textarea:focus {
border-color: var(--primary-violet);
}
.card-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.char-count {
font-size: 0.8rem;
color: var(--text-subtle);
}
.glow-btn {
background: linear-gradient(135deg, var(--primary-violet), var(--primary-cyan));
border: none;
color: #FFF;
font-weight: 600;
padding: 0.75rem 1.6rem;
border-radius: 10px;
cursor: pointer;
transition: all 0.25s ease;
box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}
.glow-btn:hover {
transform: translateY(-2px);
box-shadow: 0 0 28px rgba(139, 92, 246, 0.5);
}
.output-card {
flex: 1;
display: flex;
flex-direction: column;
gap: 1rem;
min-height: 250px;
}
.output-header {
display: flex;
justify-content: space-between;
align-items: center;
}
.title-with-status {
display: flex;
align-items: center;
gap: 0.8rem;
}
.status-tag {
font-size: 0.75rem;
padding: 0.2rem 0.6rem;
border-radius: 12px;
text-transform: uppercase;
font-weight: 600;
}
.status-tag.idle { background: rgba(156, 163, 175, 0.2); color: var(--text-muted); }
.status-tag.generating { background: rgba(139, 92, 246, 0.25); color: var(--accent-glow); }
.stats-pill {
font-family: var(--font-mono);
font-size: 0.8rem;
color: var(--primary-cyan);
}
.output-content {
flex: 1;
background: rgba(0, 0, 0, 0.3);
border-radius: 10px;
padding: 1.1rem;
font-family: var(--font-sans);
font-size: 1rem;
line-height: 1.6;
white-space: pre-wrap;
overflow-y: auto;
}
.placeholder-text {
color: var(--text-subtle);
font-style: italic;
}
.hidden {
display: none !important;
}