@gridspace/raster-path 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,158 @@
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
9
+ background: #1a1a1a;
10
+ color: #ffffff;
11
+ overflow: hidden;
12
+ }
13
+
14
+ #container {
15
+ width: 100vw;
16
+ height: 100vh;
17
+ position: relative;
18
+ }
19
+
20
+ #canvas {
21
+ display: block;
22
+ width: 100%;
23
+ height: 100%;
24
+ }
25
+
26
+ .controls {
27
+ position: absolute;
28
+ top: 20px;
29
+ right: 20px;
30
+ background: rgba(0, 0, 0, 0.85);
31
+ backdrop-filter: blur(10px);
32
+ border: 1px solid #333;
33
+ border-radius: 8px;
34
+ padding: 20px;
35
+ min-width: 220px;
36
+ max-width: 280px;
37
+ z-index: 100;
38
+ }
39
+
40
+ .section {
41
+ margin-bottom: 20px;
42
+ padding-bottom: 15px;
43
+ border-bottom: 1px solid #333;
44
+ }
45
+
46
+ .section:last-child {
47
+ border-bottom: none;
48
+ margin-bottom: 0;
49
+ }
50
+
51
+ .section h3 {
52
+ font-size: 13px;
53
+ color: #00ffff;
54
+ margin-bottom: 10px;
55
+ font-weight: 600;
56
+ text-transform: uppercase;
57
+ letter-spacing: 0.5px;
58
+ }
59
+
60
+ .mode-toggle {
61
+ display: flex;
62
+ gap: 12px;
63
+ }
64
+
65
+ .mode-toggle label {
66
+ display: flex;
67
+ align-items: center;
68
+ gap: 6px;
69
+ font-size: 13px;
70
+ cursor: pointer;
71
+ }
72
+
73
+ .mode-toggle input[type="radio"] {
74
+ cursor: pointer;
75
+ accent-color: #00ffff;
76
+ }
77
+
78
+ .btn {
79
+ width: 100%;
80
+ padding: 10px;
81
+ margin-bottom: 8px;
82
+ font-size: 13px;
83
+ font-weight: 600;
84
+ background: rgba(0, 255, 255, 0.1);
85
+ border: 1px solid #00ffff;
86
+ border-radius: 6px;
87
+ color: #00ffff;
88
+ cursor: pointer;
89
+ transition: all 0.2s ease;
90
+ }
91
+
92
+ .btn:hover:not(:disabled) {
93
+ background: rgba(0, 255, 255, 0.2);
94
+ box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
95
+ }
96
+
97
+ .btn:active:not(:disabled) {
98
+ background: rgba(0, 255, 255, 0.3);
99
+ transform: translateY(1px);
100
+ }
101
+
102
+ .btn:disabled {
103
+ opacity: 0.3;
104
+ cursor: not-allowed;
105
+ border-color: #666;
106
+ color: #666;
107
+ }
108
+
109
+ .status {
110
+ font-size: 11px;
111
+ color: #888;
112
+ margin-bottom: 12px;
113
+ font-style: italic;
114
+ }
115
+
116
+ select {
117
+ width: 100%;
118
+ padding: 8px;
119
+ font-size: 13px;
120
+ background: rgba(0, 0, 0, 0.6);
121
+ border: 1px solid #00ffff;
122
+ border-radius: 6px;
123
+ color: #ffffff;
124
+ cursor: pointer;
125
+ }
126
+
127
+ select:focus {
128
+ outline: none;
129
+ border-color: #00cccc;
130
+ box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
131
+ }
132
+
133
+ label {
134
+ display: flex;
135
+ align-items: center;
136
+ gap: 8px;
137
+ font-size: 13px;
138
+ margin-bottom: 8px;
139
+ cursor: pointer;
140
+ }
141
+
142
+ input[type="checkbox"] {
143
+ cursor: pointer;
144
+ width: 16px;
145
+ height: 16px;
146
+ accent-color: #00ffff;
147
+ }
148
+
149
+ .info-text {
150
+ font-size: 12px;
151
+ color: #aaa;
152
+ line-height: 1.5;
153
+ white-space: pre-wrap;
154
+ }
155
+
156
+ .hide {
157
+ display: none;
158
+ }