noding / static /styles.css
broadfield-dev's picture
Update static/styles.css
91a4425 verified
raw
history blame
2.96 kB
:root {
--bg-dark: #0f0f12;
--bg-panel: #1a1a1f;
--border: #2a2a35;
--accent: #6c5ce7;
--accent-hover: #5649c0;
--text-main: #dfe6e9;
--text-dim: #636e72;
--font-mono: 'JetBrains Mono', monospace;
--success: #00b894;
--error: #ff7675;
}
* { box-sizing: border-box; }
body {
margin: 0;
padding: 0;
background-color: var(--bg-dark);
color: var(--text-main);
font-family: var(--font-mono);
height: 100vh;
overflow: hidden;
}
.app-container {
display: flex;
height: 100%;
}
/* Sidebar Styling */
.sidebar {
width: 400px;
background-color: var(--bg-panel);
border-right: 1px solid var(--border);
display: flex;
flex-direction: column;
padding: 20px;
z-index: 10;
box-shadow: 5px 0 20px rgba(0,0,0,0.5);
}
.header h1 {
margin: 0;
font-size: 1.5rem;
letter-spacing: -1px;
}
.badge {
font-size: 0.7rem;
background: var(--border);
padding: 2px 6px;
border-radius: 4px;
color: var(--accent);
font-weight: bold;
}
.editor-container {
flex: 1;
margin-top: 20px;
display: flex;
flex-direction: column;
}
textarea {
flex: 1;
background: #000000;
border: 1px solid var(--border);
color: #a29bfe;
padding: 15px;
font-family: var(--font-mono);
font-size: 0.85rem;
resize: none;
border-radius: 6px;
outline: none;
line-height: 1.5;
}
textarea:focus {
border-color: var(--accent);
}
.controls {
margin-top: 20px;
display: flex;
gap: 10px;
}
.btn {
flex: 1;
padding: 12px;
border: none;
border-radius: 6px;
cursor: pointer;
font-family: var(--font-mono);
font-weight: bold;
font-size: 0.9rem;
transition: all 0.2s;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.btn.primary {
background: var(--accent);
color: white;
}
.btn.primary:hover { background: var(--accent-hover); }
.btn.secondary {
background: transparent;
border: 1px solid var(--border);
color: var(--text-main);
}
.btn.secondary:hover { background: var(--border); }
/* Console Logs */
.console {
margin-top: 20px;
height: 150px;
background: #000;
border: 1px solid var(--border);
border-radius: 6px;
display: flex;
flex-direction: column;
}
.console-header {
background: var(--border);
font-size: 0.7rem;
padding: 5px 10px;
color: #aaa;
text-transform: uppercase;
}
.console-body {
padding: 10px;
font-size: 0.75rem;
color: #55efc4;
overflow-y: auto;
flex: 1;
}
/* Canvas Area */
.canvas-wrapper {
flex: 1;
position: relative;
background-image:
radial-gradient(circle, #2a2a35 1px, transparent 1px);
background-size: 30px 30px;
}
.overlay-info {
position: absolute;
bottom: 20px;
right: 20px;
color: var(--text-dim);
font-size: 0.8rem;
pointer-events: none;
}