Update style.css
Browse files
style.css
CHANGED
@@ -1,3 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.slider-container input[type="range"] {
|
2 |
flex-grow: 1;
|
3 |
width: auto;
|
@@ -77,4 +232,186 @@
|
|
77 |
cursor: pointer;
|
78 |
border: 2px solid white;
|
79 |
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
}
|
|
|
1 |
+
body {
|
2 |
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
3 |
+
line-height: 1.6;
|
4 |
+
margin: 0;
|
5 |
+
padding: 0;
|
6 |
+
background-color: #f0f0f0;
|
7 |
+
color: #333;
|
8 |
+
}
|
9 |
+
|
10 |
+
:root {
|
11 |
+
--primary-color: #FF7F00; /* ์ฃผํฉ์ ํฌ์ธํธ ์ปฌ๋ฌ */
|
12 |
+
}
|
13 |
+
|
14 |
+
.container {
|
15 |
+
max-width: 1200px;
|
16 |
+
margin: 20px auto;
|
17 |
+
padding: 20px;
|
18 |
+
background-color: white;
|
19 |
+
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
20 |
+
border-radius: 8px;
|
21 |
+
display: flex;
|
22 |
+
flex-direction: column;
|
23 |
+
}
|
24 |
+
|
25 |
+
h1, h2, h3 {
|
26 |
+
color: #2c3e50;
|
27 |
+
text-align: center;
|
28 |
+
}
|
29 |
+
|
30 |
+
p {
|
31 |
+
text-align: center;
|
32 |
+
margin-bottom: 20px;
|
33 |
+
}
|
34 |
+
|
35 |
+
.upload-container {
|
36 |
+
display: flex;
|
37 |
+
flex-wrap: wrap;
|
38 |
+
justify-content: space-around;
|
39 |
+
margin-bottom: 20px;
|
40 |
+
gap: 20px;
|
41 |
+
}
|
42 |
+
|
43 |
+
.upload-box {
|
44 |
+
flex: 1;
|
45 |
+
min-width: 300px;
|
46 |
+
border: 2px dashed var(--primary-color); /* ์ฃผํฉ์ ํ
๋๋ฆฌ */
|
47 |
+
border-radius: 5px;
|
48 |
+
padding: 20px;
|
49 |
+
text-align: center;
|
50 |
+
transition: background-color 0.3s;
|
51 |
+
}
|
52 |
+
|
53 |
+
.upload-box:hover {
|
54 |
+
background-color: #ecf0f1;
|
55 |
+
}
|
56 |
+
|
57 |
+
.upload-label {
|
58 |
+
display: block;
|
59 |
+
font-weight: bold;
|
60 |
+
margin-bottom: 10px;
|
61 |
+
color: var(--primary-color); /* ์ฃผํฉ์ ๋ ์ด๋ธ */
|
62 |
+
}
|
63 |
+
|
64 |
+
.file-input {
|
65 |
+
display: none;
|
66 |
+
}
|
67 |
+
|
68 |
+
.upload-button {
|
69 |
+
display: inline-block;
|
70 |
+
background-color: var(--primary-color); /* ์ฃผํฉ์ ๋ฒํผ */
|
71 |
+
color: white;
|
72 |
+
padding: 10px 20px;
|
73 |
+
border-radius: 5px;
|
74 |
+
cursor: pointer;
|
75 |
+
transition: background-color 0.3s;
|
76 |
+
}
|
77 |
+
|
78 |
+
.upload-button:hover {
|
79 |
+
background-color: #E67300; /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
80 |
+
}
|
81 |
+
|
82 |
+
/* ์์
์์ญ ๋ํผ */
|
83 |
+
.workspace-wrapper {
|
84 |
+
display: flex;
|
85 |
+
flex-wrap: wrap;
|
86 |
+
gap: 20px;
|
87 |
+
margin-bottom: 20px;
|
88 |
+
}
|
89 |
+
|
90 |
+
/* ์บ๋ฒ์ค์ ์ปจํธ๋กค ํจ๋๋ค์ ๋ฌถ๋ ์์ญ */
|
91 |
+
.canvas-and-controls {
|
92 |
+
flex: 3;
|
93 |
+
display: flex;
|
94 |
+
flex-direction: column;
|
95 |
+
min-width: 0;
|
96 |
+
}
|
97 |
+
|
98 |
+
.canvas-container {
|
99 |
+
position: relative;
|
100 |
+
width: 100%;
|
101 |
+
border: 2px solid #333;
|
102 |
+
border-radius: 4px;
|
103 |
+
overflow: hidden;
|
104 |
+
margin-bottom: 20px;
|
105 |
+
}
|
106 |
+
|
107 |
+
#canvas {
|
108 |
+
display: block;
|
109 |
+
width: 100%;
|
110 |
+
height: auto;
|
111 |
+
background-color: #ffffff;
|
112 |
+
cursor: default;
|
113 |
+
}
|
114 |
+
|
115 |
+
/* ์ปจํธ๋กค ํจ๋๋ค์ ๋ชจ์๋๋ ์ฌ์ด๋๋ฐ ์ญํ */
|
116 |
+
.control-panel-sidebar {
|
117 |
+
display: flex;
|
118 |
+
flex-direction: column;
|
119 |
+
gap: 15px;
|
120 |
+
}
|
121 |
+
|
122 |
+
.control-group {
|
123 |
+
display: flex;
|
124 |
+
flex-direction: column;
|
125 |
+
border: 1px solid #ddd;
|
126 |
+
padding: 15px;
|
127 |
+
border-radius: 5px;
|
128 |
+
background-color: #f9f9f9;
|
129 |
+
}
|
130 |
+
|
131 |
+
.control-group h3 {
|
132 |
+
margin: 0 0 15px 0;
|
133 |
+
font-size: 1rem;
|
134 |
+
text-align: center;
|
135 |
+
width: 100%;
|
136 |
+
color: var(--primary-color); /* ์ฃผํฉ์ ์ ๋ชฉ */
|
137 |
+
}
|
138 |
+
|
139 |
+
.slider-container {
|
140 |
+
display: flex;
|
141 |
+
align-items: center;
|
142 |
+
gap: 10px;
|
143 |
+
margin: 8px 0;
|
144 |
+
width: 100%;
|
145 |
+
padding: 0 5px;
|
146 |
+
box-sizing: border-box;
|
147 |
+
}
|
148 |
+
|
149 |
+
.slider-container label {
|
150 |
+
font-weight: bold;
|
151 |
+
min-width: 50px;
|
152 |
+
text-align: left;
|
153 |
+
flex-shrink: 0;
|
154 |
+
}
|
155 |
+
|
156 |
.slider-container input[type="range"] {
|
157 |
flex-grow: 1;
|
158 |
width: auto;
|
|
|
232 |
cursor: pointer;
|
233 |
border: 2px solid white;
|
234 |
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
235 |
+
}
|
236 |
+
|
237 |
+
/* ๋ ์ด์ด ๋ชฉ๋ก ์คํ์ผ */
|
238 |
+
.layers-list {
|
239 |
+
width: 100%;
|
240 |
+
max-height: 150px;
|
241 |
+
overflow-y: auto;
|
242 |
+
border: 1px solid #ddd;
|
243 |
+
border-radius: 4px;
|
244 |
+
}
|
245 |
+
|
246 |
+
.layer-item {
|
247 |
+
padding: 8px;
|
248 |
+
border-bottom: 1px solid #eee;
|
249 |
+
cursor: pointer;
|
250 |
+
display: flex;
|
251 |
+
justify-content: space-between;
|
252 |
+
align-items: center;
|
253 |
+
}
|
254 |
+
.layer-item:last-child { border-bottom: none; }
|
255 |
+
.layer-item:hover { background-color: #f5f5f5; }
|
256 |
+
.layer-item.active { background-color: #FFF0E6; font-weight: bold; color: var(--primary-color); } /* ์ฃผํฉ์ ๊ฐ์กฐ */
|
257 |
+
.layer-name { flex-grow: 1; padding-left: 5px; }
|
258 |
+
.layer-controls { display: flex; gap: 5px; }
|
259 |
+
.layer-button {
|
260 |
+
background-color: #f0f0f0;
|
261 |
+
border: 1px solid #ddd;
|
262 |
+
border-radius: 3px;
|
263 |
+
padding: 2px 5px;
|
264 |
+
cursor: pointer;
|
265 |
+
font-size: 11px;
|
266 |
+
color: #555;
|
267 |
+
transition: all 0.2s ease;
|
268 |
+
}
|
269 |
+
.layer-button:hover {
|
270 |
+
background-color: var(--primary-color); /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
271 |
+
color: white;
|
272 |
+
}
|
273 |
+
|
274 |
+
/* ํํฐ ํจ๋ ์คํ์ผ */
|
275 |
+
.filter-panel {
|
276 |
+
padding: 15px;
|
277 |
+
border: 1px solid #ddd;
|
278 |
+
border-radius: 5px;
|
279 |
+
background-color: #f9f9f9;
|
280 |
+
}
|
281 |
+
.filter-panel h3 {
|
282 |
+
margin: 0 0 15px 0;
|
283 |
+
text-align: center;
|
284 |
+
color: var(--primary-color); /* ์ฃผํฉ์ ์ ๋ชฉ */
|
285 |
+
}
|
286 |
+
.filter-sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
|
287 |
+
.filter-slider-container { display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 0 5px; box-sizing: border-box; }
|
288 |
+
.filter-slider-container label { font-size: 14px; margin-bottom: 5px; text-align: left; }
|
289 |
+
.large-slider {
|
290 |
+
width: 100%;
|
291 |
+
height: 20px;
|
292 |
+
accent-color: var(--primary-color); /* ์ฃผํฉ์ ์ฌ๋ผ์ด๋ */
|
293 |
+
}
|
294 |
+
.filter-slider-container .value-display {
|
295 |
+
text-align: right;
|
296 |
+
font-weight: bold;
|
297 |
+
color: var(--primary-color); /* ์ฃผํฉ์ ๊ฐ ํ์ */
|
298 |
+
}
|
299 |
+
.filter-buttons { display: flex; justify-content: center; margin-top: 15px; }
|
300 |
+
#reset-filter-btn { width: auto; padding: 8px 15px; flex-grow: 1; max-width: 200px; }
|
301 |
+
|
302 |
+
/* ๋ฏธ๋ฆฌ๋ณด๊ธฐ ์น์
*/
|
303 |
+
.preview-section {
|
304 |
+
flex: 2;
|
305 |
+
display: flex;
|
306 |
+
flex-direction: column;
|
307 |
+
align-items: center;
|
308 |
+
min-width: 0;
|
309 |
+
}
|
310 |
+
|
311 |
+
.preview-container {
|
312 |
+
width: 100%;
|
313 |
+
margin-top: 0;
|
314 |
+
display: none;
|
315 |
+
flex-direction: column;
|
316 |
+
align-items: center;
|
317 |
+
padding: 10px;
|
318 |
+
border: 1px dashed #ccc;
|
319 |
+
border-radius: 4px;
|
320 |
+
background-color: #f9f9f9;
|
321 |
+
}
|
322 |
+
|
323 |
+
.preview-container h3 {
|
324 |
+
margin-bottom: 10px;
|
325 |
+
color: var(--primary-color); /* ์ฃผํฉ์ ์ ๋ชฉ */
|
326 |
+
}
|
327 |
+
|
328 |
+
#preview-img {
|
329 |
+
max-width: 100%;
|
330 |
+
max-height: 400px;
|
331 |
+
border: 2px solid #333;
|
332 |
+
border-radius: 4px;
|
333 |
+
object-fit: contain;
|
334 |
+
}
|
335 |
+
|
336 |
+
/* ํ๋จ ๋ฒํผ ์ปจํ
์ด๋ */
|
337 |
+
.button-container {
|
338 |
+
display: flex;
|
339 |
+
justify-content: center;
|
340 |
+
gap: 15px;
|
341 |
+
margin-top: 20px;
|
342 |
+
flex-wrap: wrap;
|
343 |
+
}
|
344 |
+
|
345 |
+
button {
|
346 |
+
padding: 10px 20px;
|
347 |
+
border: none;
|
348 |
+
border-radius: 5px;
|
349 |
+
cursor: pointer;
|
350 |
+
font-weight: bold;
|
351 |
+
transition: background-color 0.3s;
|
352 |
+
}
|
353 |
+
|
354 |
+
.primary-btn { background-color: var(--primary-color); color: white; } /* ์ฃผํฉ์ ๋ฒํผ */
|
355 |
+
.primary-btn:hover { background-color: #E67300; } /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
356 |
+
.danger-btn { background-color: #e74c3c; color: white; }
|
357 |
+
.danger-btn:hover { background-color: #c0392b; }
|
358 |
+
.info-btn { background-color: var(--primary-color); color: white; } /* ์ฃผํฉ์ ๋ฒํผ */
|
359 |
+
.info-btn:hover { background-color: #E67300; } /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
360 |
+
|
361 |
+
/* ์์ ์ด๋ฏธ์ง ์คํ์ผ */
|
362 |
+
#example-images-container img {
|
363 |
+
width: 160px;
|
364 |
+
height: 160px;
|
365 |
+
cursor: pointer;
|
366 |
+
border: 1px solid #ccc;
|
367 |
+
transition: border-color 0.3s;
|
368 |
+
}
|
369 |
+
|
370 |
+
#example-images-container img:hover {
|
371 |
+
border-color: var(--primary-color); /* ์ฃผํฉ์ ํ
๋๋ฆฌ ํธ๋ฒ */
|
372 |
+
}
|
373 |
+
|
374 |
+
/* ์คํฌ๋กค๋ฐ ์คํ์ผ๋ง */
|
375 |
+
::-webkit-scrollbar {
|
376 |
+
width: 8px;
|
377 |
+
height: 8px;
|
378 |
+
}
|
379 |
+
|
380 |
+
::-webkit-scrollbar-track {
|
381 |
+
background: rgba(0, 0, 0, 0.05);
|
382 |
+
border-radius: 10px;
|
383 |
+
}
|
384 |
+
|
385 |
+
::-webkit-scrollbar-thumb {
|
386 |
+
background: var(--primary-color); /* ์ฃผํฉ์ ์คํฌ๋กค๋ฐ */
|
387 |
+
border-radius: 10px;
|
388 |
+
}
|
389 |
+
|
390 |
+
/* ๋ชจ๋ฐ์ผ ๋์ */
|
391 |
+
@media (max-width: 900px) {
|
392 |
+
.workspace-wrapper {
|
393 |
+
flex-direction: column;
|
394 |
+
align-items: center;
|
395 |
+
}
|
396 |
+
.canvas-and-controls, .preview-section {
|
397 |
+
flex-basis: auto;
|
398 |
+
width: 100%;
|
399 |
+
max-width: 600px;
|
400 |
+
}
|
401 |
+
.control-panel-sidebar {
|
402 |
+
width: 100%;
|
403 |
+
}
|
404 |
+
.filter-sliders {
|
405 |
+
grid-template-columns: 1fr;
|
406 |
+
}
|
407 |
+
}
|
408 |
+
|
409 |
+
@media (max-width: 768px) {
|
410 |
+
.upload-container {
|
411 |
+
flex-direction: column;
|
412 |
+
}
|
413 |
+
.upload-box {
|
414 |
+
width: 100%;
|
415 |
+
margin-bottom: 10px;
|
416 |
+
}
|
417 |
}
|