LaunchMind / static /style.css
Abdulahad79's picture
Configure Vercel deployment and add Demo Mode toggle
9b3031f
Raw
History Blame Contribute Delete
11.8 kB
:root {
--bg-primary: #0a0e1a;
--bg-secondary: #14192b;
--panel-bg: rgba(20, 25, 43, 0.7);
--border-color: rgba(255, 255, 255, 0.08);
--border-light: rgba(255, 255, 255, 0.12);
--accent-primary: #00d9ff;
--accent-secondary: #4d9aff;
--accent-tertiary: #a366ff;
--text-primary: #ffffff;
--text-secondary: #8b95a5;
--text-tertiary: #5f6b7a;
--success: #10b981;
--warning: #f59e0b;
--error: #ef4444;
--shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-md: 0 10px 25px rgba(0, 0, 0, 0.2);
--shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.3);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
color: var(--text-primary);
overflow: hidden;
}
#app {
display: flex;
flex-direction: column;
height: 100vh;
}
/* Scrollbar Styling */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.15);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(255, 255, 255, 0.25);
}
/* Glass Morphism */
.glass {
background: var(--panel-bg);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--border-color);
border-radius: 12px;
}
/* ===== HEADER ===== */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 28px;
border-bottom: 1px solid var(--border-color);
background: linear-gradient(180deg, rgba(20, 25, 43, 0.8) 0%, rgba(20, 25, 43, 0.4) 100%);
z-index: 100;
}
.header-left {
display: flex;
align-items: center;
}
.brand {
display: flex;
align-items: center;
gap: 14px;
cursor: pointer;
}
.brand .icon {
font-size: 28px;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-6px); }
}
.brand h1 {
font-size: 22px;
font-weight: 800;
letter-spacing: -0.5px;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.brand .tagline {
font-size: 12px;
color: var(--text-tertiary);
font-weight: 500;
letter-spacing: 0.5px;
text-transform: uppercase;
}
.header-right {
display: flex;
align-items: center;
gap: 20px;
}
.status-badge {
display: flex;
align-items: center;
gap: 8px;
padding: 6px 12px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-light);
border-radius: 20px;
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
}
.status-dot {
width: 6px;
height: 6px;
background: var(--text-tertiary);
border-radius: 50%;
display: inline-block;
transition: all 0.3s ease;
}
.status-badge.active .status-dot {
background: var(--success);
box-shadow: 0 0 8px var(--success);
}
/* ===== DASHBOARD ===== */
.dashboard {
display: flex;
flex: 1;
overflow: hidden;
gap: 16px;
padding: 16px;
}
/* ===== SIDEBAR ===== */
.sidebar {
width: 340px;
display: flex;
flex-direction: column;
gap: 12px;
overflow-y: auto;
}
.sidebar-panel {
display: flex;
flex-direction: column;
border-radius: 14px;
overflow: hidden;
}
.panel-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px;
border-bottom: 1px solid var(--border-color);
}
.panel-header h2 {
font-size: 15px;
font-weight: 700;
}
.connection-indicator {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--text-tertiary);
animation: pulse 2s ease-in-out infinite;
transition: all 0.3s ease;
}
@keyframes pulse {
0%, 100% { opacity: 0.5; }
50% { opacity: 1; }
}
.connection-indicator.connected {
background: var(--success);
box-shadow: 0 0 10px var(--success);
}
.messages-feed {
flex: 1;
overflow-y: auto;
padding: 12px;
display: flex;
flex-direction: column;
gap: 8px;
}
.message-card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 10px 12px;
font-size: 12px;
line-height: 1.5;
animation: slideInLeft 0.3s ease;
transition: all 0.2s;
}
.message-card:hover {
background: rgba(255, 255, 255, 0.05);
border-color: var(--border-light);
}
@keyframes slideInLeft {
from {
opacity: 0;
transform: translateX(-8px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
.msg-header {
display: flex;
justify-content: space-between;
margin-bottom: 4px;
gap: 8px;
}
.msg-agent {
color: var(--accent-primary);
font-weight: 700;
font-size: 11px;
}
.msg-time {
color: var(--text-tertiary);
font-size: 11px;
flex-shrink: 0;
}
.control-panel {
display: flex;
flex-direction: column;
gap: 12px;
padding: 16px !important;
}
.control-panel h3 {
font-size: 14px;
font-weight: 700;
margin-bottom: 4px;
}
.idea-input {
width: 100%;
padding: 10px 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border-color);
border-radius: 8px;
color: var(--text-primary);
font-size: 12px;
resize: vertical;
min-height: 80px;
max-height: 120px;
font-family: inherit;
outline: none;
transition: all 0.2s;
}
.idea-input:focus {
border-color: var(--accent-primary);
background: rgba(0, 217, 255, 0.05);
box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.1);
}
/* Toggle Switch Styles */
.control-options {
margin: 8px 0;
padding: 10px;
background: rgba(255, 255, 255, 0.03);
border-radius: 8px;
border: 1px solid var(--border-color);
}
.toggle-switch {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
}
.toggle-switch input {
display: none;
}
.slider {
position: relative;
display: inline-block;
width: 34px;
height: 18px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 20px;
transition: 0.3s;
}
.slider:before {
position: absolute;
content: "";
height: 14px;
width: 14px;
left: 2px;
bottom: 2px;
background-color: white;
border-radius: 50%;
transition: 0.3s;
}
input:checked + .slider {
background-color: var(--accent-primary);
}
input:checked + .slider:before {
transform: translateX(16px);
}
.label-text {
flex: 1;
}
.btn-primary {
width: 100%;
padding: 10px 16px;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
color: var(--bg-primary);
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
transition: all 0.3s;
text-shadow: none;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 217, 255, 0.3);
}
.btn-primary:active {
transform: translateY(0);
}
.btn-icon {
font-size: 14px;
}
/* ===== WORKSPACE ===== */
.workspace {
flex: 1;
display: flex;
flex-direction: column;
border-radius: 14px;
overflow: hidden;
background: var(--panel-bg);
border: 1px solid var(--border-color);
}
.tabs-nav {
display: flex;
gap: 4px;
padding: 12px 16px;
border-bottom: 1px solid var(--border-color);
background: rgba(20, 25, 43, 0.4);
}
.tab-btn {
display: flex;
align-items: center;
gap: 6px;
padding: 8px 14px;
background: transparent;
color: var(--text-secondary);
border: none;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
text-transform: uppercase;
letter-spacing: 0.4px;
}
.tab-btn:hover {
background: rgba(255, 255, 255, 0.08);
color: var(--text-primary);
}
.tab-btn.active {
background: rgba(0, 217, 255, 0.15);
color: var(--accent-primary);
border: 1px solid rgba(0, 217, 255, 0.3);
}
.tab-icon {
font-size: 14px;
}
.tabs-content {
flex: 1;
overflow-y: auto;
display: flex;
flex-direction: column;
}
.tab-content {
display: none;
flex: 1;
overflow-y: auto;
padding: 20px;
}
.tab-content.active {
display: flex;
flex-direction: column;
}
.preview-wrapper {
width: 100%;
height: 100%;
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: var(--shadow-md);
}
.preview-frame {
width: 100%;
height: 100%;
border: none;
}
.content-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
height: 100%;
}
.content-grid > div:nth-child(1) {
grid-column: 1 / -1;
}
.card {
background: rgba(255, 255, 255, 0.02);
border: 1px solid var(--border-color);
border-radius: 10px;
overflow: hidden;
display: flex;
flex-direction: column;
transition: all 0.2s;
}
.card:hover {
border-color: var(--border-light);
background: rgba(255, 255, 255, 0.05);
}
.card-header {
padding: 14px 16px;
border-bottom: 1px solid var(--border-color);
background: rgba(255, 255, 255, 0.02);
}
.card-header h3 {
font-size: 14px;
font-weight: 700;
color: var(--accent-primary);
}
.card-body {
padding: 16px;
flex: 1;
overflow-y: auto;
font-size: 13px;
line-height: 1.6;
}
.empty-state {
color: var(--text-tertiary);
display: flex;
align-items: center;
justify-content: center;
height: 100px;
font-style: italic;
text-align: center;
}
.links-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 12px;
}
.link-btn {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 12px;
background: rgba(0, 217, 255, 0.1);
color: var(--accent-primary);
text-decoration: none;
border-radius: 6px;
border: 1px solid rgba(0, 217, 255, 0.2);
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
}
.link-btn:hover {
background: rgba(0, 217, 255, 0.2);
border-color: rgba(0, 217, 255, 0.4);
transform: translateY(-1px);
}
.spec-content {
background: rgba(0, 0, 0, 0.3);
padding: 12px;
border-radius: 6px;
overflow-x: auto;
font-size: 12px;
color: var(--accent-primary);
font-family: 'Monaco', 'Courier New', monospace;
line-height: 1.5;
}
.workflow-timeline {
display: flex;
flex-direction: column;
gap: 16px;
}
.workflow-item {
display: flex;
gap: 12px;
}
.workflow-dot {
width: 12px;
height: 12px;
background: rgba(0, 217, 255, 0.3);
border: 2px solid var(--accent-primary);
border-radius: 50%;
flex-shrink: 0;
margin-top: 2px;
position: relative;
}
.workflow-dot::before {
content: '';
position: absolute;
width: 2px;
height: 24px;
background: rgba(0, 217, 255, 0.2);
left: 50%;
transform: translateX(-50%);
top: 100%;
}
.workflow-item:last-child .workflow-dot::before {
display: none;
}
.workflow-text {
flex: 1;
}
.workflow-text strong {
font-size: 13px;
color: var(--text-primary);
display: block;
margin-bottom: 4px;
}
.workflow-text p {
font-size: 12px;
color: var(--text-secondary);
}