File size: 2,046 Bytes
b530bad
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
daf5695
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background: #1e1e1e;
  --foreground: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
}

body {
  color: var(--foreground);
  background: var(--background);
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* Add CodeMirror styles */
.CodeMirror {
  height: calc(100vh - 100px) !important;
  font-family: var(--font-geist-mono);
}

/* Add styles for the iframe */
#canvas-column iframe {
  border: none;
  background: white;
}

/* Remove the fixed height constraint */
.cm-editor {
  height: 100vh !important;
}

/* Add these styles to center the p5.js sketch */
.sketch-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: var(--background);
}

iframe {
  border: none;
  background-color: white;
}

/* Bottom controls styling */
.bottom-controls {
  backdrop-filter: blur(8px);
  background-color: rgba(30, 30, 30, 0.95);
  border: 1px solid rgba(75, 85, 99, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Input and select styling */
.control-input {
  background-color: rgba(31, 41, 55, 0.7) !important;
  border: 1px solid rgba(75, 85, 99, 0.4) !important;
  transition: all 0.2s ease;
}

.control-input:hover {
  border-color: rgba(147, 197, 253, 0.4) !important;
}

.control-input:focus {
  border-color: rgb(59, 130, 246) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
  outline: none;
}

/* Button styling */
.control-button {
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.control-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.control-button:active {
  transform: translateY(0);
}

.control-button.active {
  background-color: rgb(59, 130, 246) !important;
  border-color: rgb(37, 99, 235) !important;
}

/* Remove checkbox and label styling since we're not using them anymore */