Update style.css
Browse files
style.css
CHANGED
|
@@ -1,350 +1,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;
|
| 159 |
margin: 0 5px;
|
| 160 |
-
|
| 161 |
-
|
| 162 |
-
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
text-align: right;
|
| 166 |
-
flex-shrink: 0;
|
| 167 |
-
color: var(--primary-color); /* ์ฃผํฉ์ ๊ฐ ํ์ */
|
| 168 |
}
|
| 169 |
|
| 170 |
-
/*
|
| 171 |
-
.
|
| 172 |
width: 100%;
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
border:
|
| 176 |
-
border-radius: 4px;
|
| 177 |
}
|
| 178 |
|
| 179 |
-
|
| 180 |
-
|
| 181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 182 |
cursor: pointer;
|
| 183 |
-
|
| 184 |
-
|
| 185 |
-
align-items: center;
|
| 186 |
-
}
|
| 187 |
-
.layer-item:last-child { border-bottom: none; }
|
| 188 |
-
.layer-item:hover { background-color: #f5f5f5; }
|
| 189 |
-
.layer-item.active { background-color: #FFF0E6; font-weight: bold; color: var(--primary-color); } /* ์ฃผํฉ์ ๊ฐ์กฐ */
|
| 190 |
-
.layer-name { flex-grow: 1; padding-left: 5px; }
|
| 191 |
-
.layer-controls { display: flex; gap: 5px; }
|
| 192 |
-
.layer-button {
|
| 193 |
-
background-color: #f0f0f0;
|
| 194 |
-
border: 1px solid #ddd;
|
| 195 |
-
border-radius: 3px;
|
| 196 |
-
padding: 2px 5px;
|
| 197 |
-
cursor: pointer;
|
| 198 |
-
font-size: 11px;
|
| 199 |
-
color: #555;
|
| 200 |
-
transition: all 0.2s ease;
|
| 201 |
-
}
|
| 202 |
-
.layer-button:hover {
|
| 203 |
-
background-color: var(--primary-color); /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
| 204 |
-
color: white;
|
| 205 |
-
}
|
| 206 |
-
|
| 207 |
-
/* ํํฐ ํจ๋ ์คํ์ผ */
|
| 208 |
-
.filter-panel {
|
| 209 |
-
padding: 15px;
|
| 210 |
-
border: 1px solid #ddd;
|
| 211 |
-
border-radius: 5px;
|
| 212 |
-
background-color: #f9f9f9;
|
| 213 |
-
}
|
| 214 |
-
.filter-panel h3 {
|
| 215 |
-
margin: 0 0 15px 0;
|
| 216 |
-
text-align: center;
|
| 217 |
-
color: var(--primary-color); /* ์ฃผํฉ์ ์ ๋ชฉ */
|
| 218 |
}
|
| 219 |
-
.filter-sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 15px; }
|
| 220 |
-
.filter-slider-container { display: flex; flex-direction: column; gap: 5px; width: 100%; padding: 0 5px; box-sizing: border-box; }
|
| 221 |
-
.filter-slider-container label { font-size: 14px; margin-bottom: 5px; text-align: left; }
|
| 222 |
-
.large-slider {
|
| 223 |
-
width: 100%;
|
| 224 |
-
height: 20px;
|
| 225 |
-
accent-color: var(--primary-color); /* ์ฃผํฉ์ ์ฌ๋ผ์ด๋ */
|
| 226 |
-
}
|
| 227 |
-
.filter-slider-container .value-display {
|
| 228 |
-
text-align: right;
|
| 229 |
-
font-weight: bold;
|
| 230 |
-
color: var(--primary-color); /* ์ฃผํฉ์ ๊ฐ ํ์ */
|
| 231 |
-
}
|
| 232 |
-
.filter-buttons { display: flex; justify-content: center; margin-top: 15px; }
|
| 233 |
-
#reset-filter-btn { width: auto; padding: 8px 15px; flex-grow: 1; max-width: 200px; }
|
| 234 |
|
| 235 |
-
/*
|
| 236 |
-
.
|
| 237 |
-
flex: 2;
|
| 238 |
-
display: flex;
|
| 239 |
-
flex-direction: column;
|
| 240 |
-
align-items: center;
|
| 241 |
-
min-width: 0;
|
| 242 |
-
}
|
| 243 |
-
|
| 244 |
-
.preview-container {
|
| 245 |
width: 100%;
|
| 246 |
-
|
| 247 |
-
|
| 248 |
-
|
| 249 |
-
align-items: center;
|
| 250 |
-
padding: 10px;
|
| 251 |
-
border: 1px dashed #ccc;
|
| 252 |
-
border-radius: 4px;
|
| 253 |
-
background-color: #f9f9f9;
|
| 254 |
-
}
|
| 255 |
-
|
| 256 |
-
.preview-container h3 {
|
| 257 |
-
margin-bottom: 10px;
|
| 258 |
-
color: var(--primary-color); /* ์ฃผํฉ์ ์ ๋ชฉ */
|
| 259 |
-
}
|
| 260 |
-
|
| 261 |
-
#preview-img {
|
| 262 |
-
max-width: 100%;
|
| 263 |
-
max-height: 400px;
|
| 264 |
-
border: 2px solid #333;
|
| 265 |
-
border-radius: 4px;
|
| 266 |
-
object-fit: contain;
|
| 267 |
-
}
|
| 268 |
-
|
| 269 |
-
/* ํ๋จ ๋ฒํผ ์ปจํ
์ด๋ */
|
| 270 |
-
.button-container {
|
| 271 |
-
display: flex;
|
| 272 |
-
justify-content: center;
|
| 273 |
-
gap: 15px;
|
| 274 |
-
margin-top: 20px;
|
| 275 |
-
flex-wrap: wrap;
|
| 276 |
}
|
| 277 |
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
border-radius:
|
|
|
|
| 282 |
cursor: pointer;
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
}
|
| 286 |
-
|
| 287 |
-
.primary-btn { background-color: var(--primary-color); color: white; } /* ์ฃผํฉ์ ๋ฒํผ */
|
| 288 |
-
.primary-btn:hover { background-color: #E67300; } /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
| 289 |
-
.danger-btn { background-color: #e74c3c; color: white; }
|
| 290 |
-
.danger-btn:hover { background-color: #c0392b; }
|
| 291 |
-
.info-btn { background-color: var(--primary-color); color: white; } /* ์ฃผํฉ์ ๋ฒํผ */
|
| 292 |
-
.info-btn:hover { background-color: #E67300; } /* ์ฃผํฉ์ ๋ฒํผ ํธ๋ฒ */
|
| 293 |
-
|
| 294 |
-
/* ์์ ์ด๋ฏธ์ง ์คํ์ผ */
|
| 295 |
-
#example-images-container img {
|
| 296 |
-
width: 160px;
|
| 297 |
-
height: 160px;
|
| 298 |
-
cursor: pointer;
|
| 299 |
-
border: 1px solid #ccc;
|
| 300 |
-
transition: border-color 0.3s;
|
| 301 |
-
}
|
| 302 |
-
|
| 303 |
-
#example-images-container img:hover {
|
| 304 |
-
border-color: var(--primary-color); /* ์ฃผํฉ์ ํ
๋๋ฆฌ ํธ๋ฒ */
|
| 305 |
}
|
| 306 |
|
| 307 |
-
/*
|
| 308 |
-
::-
|
| 309 |
-
width:
|
| 310 |
-
height:
|
|
|
|
|
|
|
|
|
|
|
|
|
| 311 |
}
|
| 312 |
|
| 313 |
-
::-
|
| 314 |
-
background:
|
| 315 |
border-radius: 10px;
|
| 316 |
}
|
| 317 |
|
| 318 |
-
::-
|
| 319 |
-
background:
|
| 320 |
border-radius: 10px;
|
| 321 |
}
|
| 322 |
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
-
|
| 329 |
-
|
| 330 |
-
|
| 331 |
-
width: 100%;
|
| 332 |
-
max-width: 600px;
|
| 333 |
-
}
|
| 334 |
-
.control-panel-sidebar {
|
| 335 |
-
width: 100%;
|
| 336 |
-
}
|
| 337 |
-
.filter-sliders {
|
| 338 |
-
grid-template-columns: 1fr;
|
| 339 |
-
}
|
| 340 |
-
}
|
| 341 |
-
|
| 342 |
-
@media (max-width: 768px) {
|
| 343 |
-
.upload-container {
|
| 344 |
-
flex-direction: column;
|
| 345 |
-
}
|
| 346 |
-
.upload-box {
|
| 347 |
-
width: 100%;
|
| 348 |
-
margin-bottom: 10px;
|
| 349 |
-
}
|
| 350 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
.slider-container input[type="range"] {
|
| 2 |
flex-grow: 1;
|
| 3 |
width: auto;
|
| 4 |
margin: 0 5px;
|
| 5 |
+
-webkit-appearance: none;
|
| 6 |
+
background: white;
|
| 7 |
+
border-radius: 10px;
|
| 8 |
+
height: 6px;
|
| 9 |
+
border: 1px solid #ddd;
|
|
|
|
|
|
|
|
|
|
| 10 |
}
|
| 11 |
|
| 12 |
+
/* ์ฌ๋ผ์ด๋ ๋ฐ ์ฃผํฉ์ */
|
| 13 |
+
.slider-container input[type="range"]::-webkit-slider-runnable-track {
|
| 14 |
width: 100%;
|
| 15 |
+
height: 6px;
|
| 16 |
+
background: white;
|
| 17 |
+
border-radius: 10px;
|
|
|
|
| 18 |
}
|
| 19 |
|
| 20 |
+
/* ์ฌ๋ผ์ด๋ ๋๊ทธ๋ผ๋ฏธ ๋ถ๋ถ */
|
| 21 |
+
.slider-container input[type="range"]::-webkit-slider-thumb {
|
| 22 |
+
-webkit-appearance: none;
|
| 23 |
+
appearance: none;
|
| 24 |
+
width: 18px;
|
| 25 |
+
height: 18px;
|
| 26 |
+
border-radius: 50%;
|
| 27 |
+
background: var(--primary-color);
|
| 28 |
+
margin-top: -6px;
|
| 29 |
cursor: pointer;
|
| 30 |
+
border: 2px solid white;
|
| 31 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
|
| 34 |
+
/* Firefox ์ฌ๋ผ์ด๋ ์คํ์ผ */
|
| 35 |
+
.slider-container input[type="range"]::-moz-range-track {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
width: 100%;
|
| 37 |
+
height: 6px;
|
| 38 |
+
background: white;
|
| 39 |
+
border-radius: 10px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
}
|
| 41 |
|
| 42 |
+
.slider-container input[type="range"]::-moz-range-thumb {
|
| 43 |
+
width: 18px;
|
| 44 |
+
height: 18px;
|
| 45 |
+
border-radius: 50%;
|
| 46 |
+
background: var(--primary-color);
|
| 47 |
cursor: pointer;
|
| 48 |
+
border: 2px solid white;
|
| 49 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
}
|
| 51 |
|
| 52 |
+
/* Edge/IE ์ฌ๋ผ์ด๋ ์คํ์ผ */
|
| 53 |
+
.slider-container input[type="range"]::-ms-track {
|
| 54 |
+
width: 100%;
|
| 55 |
+
height: 6px;
|
| 56 |
+
background: transparent;
|
| 57 |
+
border-color: transparent;
|
| 58 |
+
border-width: 10px 0;
|
| 59 |
+
color: transparent;
|
| 60 |
}
|
| 61 |
|
| 62 |
+
.slider-container input[type="range"]::-ms-fill-lower {
|
| 63 |
+
background: white;
|
| 64 |
border-radius: 10px;
|
| 65 |
}
|
| 66 |
|
| 67 |
+
.slider-container input[type="range"]::-ms-fill-upper {
|
| 68 |
+
background: white;
|
| 69 |
border-radius: 10px;
|
| 70 |
}
|
| 71 |
|
| 72 |
+
.slider-container input[type="range"]::-ms-thumb {
|
| 73 |
+
width: 18px;
|
| 74 |
+
height: 18px;
|
| 75 |
+
border-radius: 50%;
|
| 76 |
+
background: var(--primary-color);
|
| 77 |
+
cursor: pointer;
|
| 78 |
+
border: 2px solid white;
|
| 79 |
+
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
}
|