Spaces:
Paused
Paused
File size: 2,958 Bytes
91a4425 87a47fc 91a4425 87a47fc 91a4425 8740fa6 91a4425 8740fa6 91a4425 87a47fc 91a4425 8740fa6 91a4425 87a47fc |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
: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;
} |