Spaces:
Running
Running
Update styles.css
Browse files- styles.css +28 -44
styles.css
CHANGED
@@ -22,7 +22,7 @@ body {
|
|
22 |
}
|
23 |
|
24 |
.container {
|
25 |
-
max-width:
|
26 |
margin: 0 auto;
|
27 |
background: white;
|
28 |
border-radius: 8px;
|
@@ -87,13 +87,12 @@ h3 i {
|
|
87 |
|
88 |
.editor-container {
|
89 |
display: flex;
|
90 |
-
flex-
|
91 |
gap: 30px;
|
92 |
}
|
93 |
|
94 |
.image-preview {
|
95 |
-
|
96 |
-
min-width: 300px;
|
97 |
border: 1px solid var(--border-color);
|
98 |
border-radius: 4px;
|
99 |
overflow: hidden;
|
@@ -111,8 +110,7 @@ h3 i {
|
|
111 |
}
|
112 |
|
113 |
.controls {
|
114 |
-
|
115 |
-
min-width: 300px;
|
116 |
padding: 15px;
|
117 |
background: var(--light-color);
|
118 |
border-radius: 4px;
|
@@ -167,32 +165,18 @@ h3 i {
|
|
167 |
font-weight: 500;
|
168 |
}
|
169 |
|
170 |
-
.hsl-controls {
|
171 |
-
display: flex;
|
172 |
-
flex-direction: column;
|
173 |
-
gap: 15px;
|
174 |
-
}
|
175 |
-
|
176 |
-
.hsl-slider label {
|
177 |
-
display: block;
|
178 |
-
margin-bottom: 5px;
|
179 |
-
font-size: 0.9em;
|
180 |
-
}
|
181 |
-
|
182 |
-
.hsl-slider input[type="range"] {
|
183 |
-
width: 100%;
|
184 |
-
}
|
185 |
-
|
186 |
.curve-controls {
|
187 |
display: flex;
|
188 |
-
gap: 15px;
|
189 |
flex-wrap: wrap;
|
|
|
|
|
190 |
}
|
191 |
|
192 |
.curve-container {
|
193 |
-
flex: 1
|
194 |
-
min-width:
|
195 |
text-align: center;
|
|
|
196 |
}
|
197 |
|
198 |
.curve-container canvas {
|
@@ -200,17 +184,21 @@ h3 i {
|
|
200 |
border-radius: 4px;
|
201 |
background: white;
|
202 |
margin-bottom: 5px;
|
|
|
|
|
203 |
}
|
204 |
|
205 |
.curve-container label {
|
206 |
font-size: 0.9em;
|
207 |
color: var(--secondary-color);
|
|
|
208 |
}
|
209 |
|
210 |
.action-buttons {
|
211 |
display: flex;
|
212 |
gap: 15px;
|
213 |
margin-top: 25px;
|
|
|
214 |
}
|
215 |
|
216 |
.btn {
|
@@ -248,23 +236,6 @@ h3 i {
|
|
248 |
background-color: #e9ecef;
|
249 |
}
|
250 |
|
251 |
-
@media (max-width: 768px) {
|
252 |
-
.editor-container {
|
253 |
-
flex-direction: column;
|
254 |
-
}
|
255 |
-
|
256 |
-
.image-preview, .controls {
|
257 |
-
min-width: 100%;
|
258 |
-
}
|
259 |
-
|
260 |
-
.curve-controls {
|
261 |
-
flex-direction: column;
|
262 |
-
}
|
263 |
-
|
264 |
-
.curve-container {
|
265 |
-
min-width: 100%;
|
266 |
-
}
|
267 |
-
}
|
268 |
.loading-overlay {
|
269 |
position: fixed;
|
270 |
top: 0;
|
@@ -300,7 +271,6 @@ h3 i {
|
|
300 |
100% { transform: rotate(360deg); }
|
301 |
}
|
302 |
|
303 |
-
/* 適用ボタンのスタイルを微調整 */
|
304 |
#apply-btn {
|
305 |
background-color: #28a745;
|
306 |
}
|
@@ -309,7 +279,6 @@ h3 i {
|
|
309 |
background-color: #218838;
|
310 |
}
|
311 |
|
312 |
-
/* ダウンロードボタンのスタイル調整 */
|
313 |
#download-btn {
|
314 |
background-color: var(--secondary-color);
|
315 |
color: white;
|
@@ -317,4 +286,19 @@ h3 i {
|
|
317 |
|
318 |
#download-btn:hover {
|
319 |
background-color: #5a6268;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
}
|
|
|
22 |
}
|
23 |
|
24 |
.container {
|
25 |
+
max-width: 1000px;
|
26 |
margin: 0 auto;
|
27 |
background: white;
|
28 |
border-radius: 8px;
|
|
|
87 |
|
88 |
.editor-container {
|
89 |
display: flex;
|
90 |
+
flex-direction: column;
|
91 |
gap: 30px;
|
92 |
}
|
93 |
|
94 |
.image-preview {
|
95 |
+
width: 100%;
|
|
|
96 |
border: 1px solid var(--border-color);
|
97 |
border-radius: 4px;
|
98 |
overflow: hidden;
|
|
|
110 |
}
|
111 |
|
112 |
.controls {
|
113 |
+
width: 100%;
|
|
|
114 |
padding: 15px;
|
115 |
background: var(--light-color);
|
116 |
border-radius: 4px;
|
|
|
165 |
font-weight: 500;
|
166 |
}
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
.curve-controls {
|
169 |
display: flex;
|
|
|
170 |
flex-wrap: wrap;
|
171 |
+
gap: 15px;
|
172 |
+
justify-content: space-between;
|
173 |
}
|
174 |
|
175 |
.curve-container {
|
176 |
+
flex: 1 1 45%;
|
177 |
+
min-width: 200px;
|
178 |
text-align: center;
|
179 |
+
margin-bottom: 15px;
|
180 |
}
|
181 |
|
182 |
.curve-container canvas {
|
|
|
184 |
border-radius: 4px;
|
185 |
background: white;
|
186 |
margin-bottom: 5px;
|
187 |
+
width: 100%;
|
188 |
+
height: auto;
|
189 |
}
|
190 |
|
191 |
.curve-container label {
|
192 |
font-size: 0.9em;
|
193 |
color: var(--secondary-color);
|
194 |
+
display: block;
|
195 |
}
|
196 |
|
197 |
.action-buttons {
|
198 |
display: flex;
|
199 |
gap: 15px;
|
200 |
margin-top: 25px;
|
201 |
+
flex-wrap: wrap;
|
202 |
}
|
203 |
|
204 |
.btn {
|
|
|
236 |
background-color: #e9ecef;
|
237 |
}
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
.loading-overlay {
|
240 |
position: fixed;
|
241 |
top: 0;
|
|
|
271 |
100% { transform: rotate(360deg); }
|
272 |
}
|
273 |
|
|
|
274 |
#apply-btn {
|
275 |
background-color: #28a745;
|
276 |
}
|
|
|
279 |
background-color: #218838;
|
280 |
}
|
281 |
|
|
|
282 |
#download-btn {
|
283 |
background-color: var(--secondary-color);
|
284 |
color: white;
|
|
|
286 |
|
287 |
#download-btn:hover {
|
288 |
background-color: #5a6268;
|
289 |
+
}
|
290 |
+
|
291 |
+
@media (max-width: 768px) {
|
292 |
+
.curve-container {
|
293 |
+
flex: 1 1 100%;
|
294 |
+
}
|
295 |
+
|
296 |
+
.action-buttons {
|
297 |
+
flex-direction: column;
|
298 |
+
}
|
299 |
+
|
300 |
+
.btn {
|
301 |
+
width: 100%;
|
302 |
+
justify-content: center;
|
303 |
+
}
|
304 |
}
|