broadfield-dev commited on
Commit
2ed9f98
·
verified ·
1 Parent(s): fa14350

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +71 -162
static/styles.css CHANGED
@@ -1,163 +1,72 @@
1
  :root {
2
- --bg-dark: #0f0f12;
3
- --bg-panel: #1a1a1f;
4
- --border: #2a2a35;
5
- --accent: #6c5ce7;
6
- --accent-hover: #5649c0;
7
- --text-main: #dfe6e9;
8
- --text-dim: #636e72;
9
- --font-mono: 'JetBrains Mono', monospace;
10
- --success: #00b894;
11
- --error: #ff7675;
12
- }
13
-
14
- * { box-sizing: border-box; }
15
-
16
- body {
17
- margin: 0;
18
- padding: 0;
19
- background-color: var(--bg-dark);
20
- color: var(--text-main);
21
- font-family: var(--font-mono);
22
- height: 100vh;
23
- overflow: hidden;
24
- }
25
-
26
- .app-container {
27
- display: flex;
28
- height: 100%;
29
- }
30
-
31
- /* Sidebar Styling */
32
- .sidebar {
33
- width: 400px;
34
- background-color: var(--bg-panel);
35
- border-right: 1px solid var(--border);
36
- display: flex;
37
- flex-direction: column;
38
- padding: 20px;
39
- z-index: 10;
40
- box-shadow: 5px 0 20px rgba(0,0,0,0.5);
41
- }
42
-
43
- .header h1 {
44
- margin: 0;
45
- font-size: 1.5rem;
46
- letter-spacing: -1px;
47
- }
48
-
49
- .badge {
50
- font-size: 0.7rem;
51
- background: var(--border);
52
- padding: 2px 6px;
53
- border-radius: 4px;
54
- color: var(--accent);
55
- font-weight: bold;
56
- }
57
-
58
- .editor-container {
59
- flex: 1;
60
- margin-top: 20px;
61
- display: flex;
62
- flex-direction: column;
63
- }
64
-
65
- textarea {
66
- flex: 1;
67
- background: #000000;
68
- border: 1px solid var(--border);
69
- color: #a29bfe;
70
- padding: 15px;
71
- font-family: var(--font-mono);
72
- font-size: 0.85rem;
73
- resize: none;
74
- border-radius: 6px;
75
- outline: none;
76
- line-height: 1.5;
77
- }
78
-
79
- textarea:focus {
80
- border-color: var(--accent);
81
- }
82
-
83
- .controls {
84
- margin-top: 20px;
85
- display: flex;
86
- gap: 10px;
87
- }
88
-
89
- .btn {
90
- flex: 1;
91
- padding: 12px;
92
- border: none;
93
- border-radius: 6px;
94
- cursor: pointer;
95
- font-family: var(--font-mono);
96
- font-weight: bold;
97
- font-size: 0.9rem;
98
- transition: all 0.2s;
99
- display: flex;
100
- align-items: center;
101
- justify-content: center;
102
- gap: 8px;
103
- }
104
-
105
- .btn.primary {
106
- background: var(--accent);
107
- color: white;
108
- }
109
-
110
- .btn.primary:hover { background: var(--accent-hover); }
111
-
112
- .btn.secondary {
113
- background: transparent;
114
- border: 1px solid var(--border);
115
- color: var(--text-main);
116
- }
117
-
118
- .btn.secondary:hover { background: var(--border); }
119
-
120
- /* Console Logs */
121
- .console {
122
- margin-top: 20px;
123
- height: 150px;
124
- background: #000;
125
- border: 1px solid var(--border);
126
- border-radius: 6px;
127
- display: flex;
128
- flex-direction: column;
129
- }
130
-
131
- .console-header {
132
- background: var(--border);
133
- font-size: 0.7rem;
134
- padding: 5px 10px;
135
- color: #aaa;
136
- text-transform: uppercase;
137
- }
138
-
139
- .console-body {
140
- padding: 10px;
141
- font-size: 0.75rem;
142
- color: #55efc4;
143
- overflow-y: auto;
144
- flex: 1;
145
- }
146
-
147
- /* Canvas Area */
148
- .canvas-wrapper {
149
- flex: 1;
150
- position: relative;
151
- background-image:
152
- radial-gradient(circle, #2a2a35 1px, transparent 1px);
153
- background-size: 30px 30px;
154
- }
155
-
156
- .overlay-info {
157
- position: absolute;
158
- bottom: 20px;
159
- right: 20px;
160
- color: var(--text-dim);
161
- font-size: 0.8rem;
162
- pointer-events: none;
163
- }
 
1
  :root {
2
+ --bg-dark: #09090b;
3
+ --bg-panel: #18181b;
4
+ --border: #27272a;
5
+ --primary: #6366f1;
6
+ --text: #e4e4e7;
7
+ --text-dim: #a1a1aa;
8
+ }
9
+
10
+ body { margin: 0; background: var(--bg-dark); color: var(--text); font-family: 'Inter', sans-serif; display: flex; height: 100vh; overflow: hidden; }
11
+
12
+ /* Sidebar */
13
+ .sidebar { width: 300px; background: var(--bg-panel); border-right: 1px solid var(--border); display: flex; flex-direction: column; padding: 20px; }
14
+ .brand { font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 40px; }
15
+ .logo-square { width: 20px; height: 20px; background: var(--primary); border-radius: 4px; }
16
+
17
+ .nav-item {
18
+ background: transparent; border: none; color: var(--text-dim);
19
+ width: 100%; text-align: left; padding: 12px; margin-bottom: 5px;
20
+ border-radius: 6px; cursor: pointer; font-size: 0.95rem;
21
+ display: flex; gap: 10px; align-items: center; transition: 0.2s;
22
+ }
23
+ .nav-item:hover { background: #27272a; color: white; }
24
+ .nav-item.active { background: #2e2e32; color: white; font-weight: 600; border-left: 3px solid var(--primary); }
25
+
26
+ .sidebar-footer { margin-top: auto; font-size: 0.8rem; }
27
+ .status-ready { color: #4ade80; }
28
+ .status-working { color: #facc15; }
29
+ .status-success { color: #6366f1; }
30
+ .status-error { color: #ef4444; }
31
+
32
+ /* Main Content */
33
+ .main-content { flex: 1; position: relative; }
34
+ .tab-pane { display: none; height: 100%; }
35
+ .tab-pane.active { display: flex; }
36
+
37
+ /* Visualizer Tab Layout */
38
+ #tab-visualizer { flex-direction: row; }
39
+ .editor-panel { width: 400px; border-right: 1px solid var(--border); display: flex; flex-direction: column; background: #111; }
40
+ .panel-header { padding: 10px; background: #1f1f22; font-size: 0.8rem; color: #888; border-bottom: 1px solid var(--border); }
41
+ textarea { flex: 1; background: #000; border: none; color: #ccc; padding: 15px; font-family: 'JetBrains Mono'; resize: none; outline: none; }
42
+ .action-bar { padding: 15px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
43
+ .canvas-panel { flex: 1; background-image: radial-gradient(#333 1px, transparent 1px); background-size: 20px 20px; }
44
+
45
+ /* Dataset Tab Layout */
46
+ #tab-dataset { flex-direction: column; padding: 40px; overflow-y: auto; }
47
+ .dataset-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
48
+ .header-actions { display: flex; gap: 10px; }
49
+
50
+ /* Table */
51
+ .data-table { width: 100%; border-collapse: collapse; text-align: left; }
52
+ .data-table th { border-bottom: 1px solid var(--border); padding: 15px; color: var(--text-dim); font-size: 0.85rem; font-weight: 600; }
53
+ .data-table td { border-bottom: 1px solid #1f1f22; padding: 15px; font-size: 0.9rem; }
54
+ .mono { font-family: 'JetBrains Mono'; color: var(--primary); }
55
+ .mono-dim { font-family: 'JetBrains Mono'; color: #666; font-size: 0.8rem; }
56
+ .badge { background: #27272a; padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; }
57
+
58
+ /* Buttons */
59
+ .btn { padding: 10px 16px; border-radius: 6px; border: none; cursor: pointer; font-weight: 500; font-size: 0.9rem; text-decoration: none; display: inline-block;}
60
+ .btn-primary { background: var(--primary); color: white; }
61
+ .btn-primary:hover { background: #4f46e5; }
62
+ .btn-secondary { background: #3f3f46; color: white; }
63
+ .btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }
64
+ .btn:disabled { opacity: 0.5; cursor: not-allowed; }
65
+
66
+ /* Modal */
67
+ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); display: flex; align-items: center; justify-content: center; z-index: 1000; }
68
+ .hidden { display: none; }
69
+ .modal { background: var(--bg-panel); width: 400px; padding: 30px; border-radius: 12px; border: 1px solid var(--border); }
70
+ .modal h3 { margin-top: 0; }
71
+ .modal input { width: 100%; padding: 10px; margin-bottom: 15px; background: #000; border: 1px solid var(--border); color: white; border-radius: 4px; }
72
+ .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }