Rename style.css to styles.css
Browse files- style.css +0 -28
- styles.css +356 -0
style.css
DELETED
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
body {
|
| 2 |
-
padding: 2rem;
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
-
|
| 6 |
-
h1 {
|
| 7 |
-
font-size: 16px;
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
-
|
| 11 |
-
p {
|
| 12 |
-
color: rgb(107, 114, 128);
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.card {
|
| 19 |
-
max-width: 620px;
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
.card p:last-child {
|
| 27 |
-
margin-bottom: 0;
|
| 28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
styles.css
ADDED
|
@@ -0,0 +1,356 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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'Roboto', sans-serif;
|
| 12 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 13 |
+
min-height: 100vh;
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
/* Header */
|
| 17 |
+
.header {
|
| 18 |
+
background: linear-gradient(90deg, #1e3a8a 0%, #3b82f6 100%);
|
| 19 |
+
padding: 1.5rem 2rem;
|
| 20 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
| 21 |
+
border-radius: 0 0 15px 15px;
|
| 22 |
+
position: sticky;
|
| 23 |
+
top: 0;
|
| 24 |
+
z-index: 10;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.logo-container {
|
| 28 |
+
display: flex;
|
| 29 |
+
align-items: center;
|
| 30 |
+
gap: 2rem;
|
| 31 |
+
max-width: 1200px;
|
| 32 |
+
margin: 0 auto;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.logo-img {
|
| 36 |
+
height: 70px;
|
| 37 |
+
width: auto;
|
| 38 |
+
transition: transform 0.3s ease;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.logo-img:hover {
|
| 42 |
+
transform: scale(1.05);
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.header h1 {
|
| 46 |
+
font-size: 2rem;
|
| 47 |
+
color: #fff;
|
| 48 |
+
font-weight: 700;
|
| 49 |
+
text-transform: uppercase;
|
| 50 |
+
letter-spacing: 1px;
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
/* Tabs */
|
| 54 |
+
.tabs {
|
| 55 |
+
display: flex;
|
| 56 |
+
gap: 10px;
|
| 57 |
+
margin: 20px auto;
|
| 58 |
+
max-width: 500px;
|
| 59 |
+
justify-content: center;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.tab-button {
|
| 63 |
+
padding: 12px 20px;
|
| 64 |
+
background-color: #e5e7eb;
|
| 65 |
+
color: #4b5563;
|
| 66 |
+
border: none;
|
| 67 |
+
border-radius: 8px;
|
| 68 |
+
cursor: pointer;
|
| 69 |
+
font-size: 1rem;
|
| 70 |
+
font-weight: 500;
|
| 71 |
+
font-family: 'Roboto', sans-serif;
|
| 72 |
+
transition: background-color 0.3s ease, transform 0.2s ease;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.tab-button.active {
|
| 76 |
+
background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
|
| 77 |
+
color: #ffffff;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.tab-button:hover:not(.active) {
|
| 81 |
+
background-color: #d1d5db;
|
| 82 |
+
transform: translateY(-2px);
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.tab-button.active:hover {
|
| 86 |
+
background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
/* Section */
|
| 90 |
+
.section {
|
| 91 |
+
margin: 30px 0;
|
| 92 |
+
padding: 25px;
|
| 93 |
+
background: #ffffff;
|
| 94 |
+
border-radius: 12px;
|
| 95 |
+
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
|
| 96 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.section:hover {
|
| 100 |
+
transform: translateY(-5px);
|
| 101 |
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
h2 {
|
| 105 |
+
color: #1e3a8a;
|
| 106 |
+
font-size: 1.5rem;
|
| 107 |
+
font-weight: 700;
|
| 108 |
+
margin-bottom: 20px;
|
| 109 |
+
letter-spacing: 0.5px;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
/* Form */
|
| 113 |
+
form {
|
| 114 |
+
display: grid;
|
| 115 |
+
gap: 20px;
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
label {
|
| 119 |
+
font-weight: 500;
|
| 120 |
+
color: #2d3748;
|
| 121 |
+
font-size: 1rem;
|
| 122 |
+
margin-bottom: 5px;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
input, select {
|
| 126 |
+
padding: 12px 15px;
|
| 127 |
+
margin: 0;
|
| 128 |
+
border: 1px solid #e2e8f0;
|
| 129 |
+
border-radius: 8px;
|
| 130 |
+
width: 100%;
|
| 131 |
+
max-width: 500px;
|
| 132 |
+
font-size: 1rem;
|
| 133 |
+
font-family: 'Roboto', sans-serif;
|
| 134 |
+
transition: border-color 0.3s ease, box-shadow 0.3s ease;
|
| 135 |
+
background-color: #f8fafc;
|
| 136 |
+
}
|
| 137 |
+
|
| 138 |
+
input:focus, select:focus {
|
| 139 |
+
border-color: #3b82f6;
|
| 140 |
+
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
|
| 141 |
+
outline: none;
|
| 142 |
+
}
|
| 143 |
+
|
| 144 |
+
/* Product Buttons Container */
|
| 145 |
+
.product-buttons {
|
| 146 |
+
display: grid;
|
| 147 |
+
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
| 148 |
+
gap: 15px;
|
| 149 |
+
max-height: 200px;
|
| 150 |
+
overflow-y: auto;
|
| 151 |
+
padding: 10px 0;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
/* Product Button */
|
| 155 |
+
.product-button {
|
| 156 |
+
padding: 12px 15px;
|
| 157 |
+
background-color: #6b7280;
|
| 158 |
+
color: #ffffff;
|
| 159 |
+
border: none;
|
| 160 |
+
border-radius: 8px;
|
| 161 |
+
cursor: pointer;
|
| 162 |
+
font-size: 0.9rem;
|
| 163 |
+
font-weight: 500;
|
| 164 |
+
font-family: 'Roboto', sans-serif;
|
| 165 |
+
text-align: center;
|
| 166 |
+
height: 48px;
|
| 167 |
+
display: flex;
|
| 168 |
+
align-items: center;
|
| 169 |
+
justify-content: center;
|
| 170 |
+
transition: background-color 0.3s ease, transform 0.2s ease;
|
| 171 |
+
white-space: nowrap;
|
| 172 |
+
overflow: hidden;
|
| 173 |
+
text-overflow: ellipsis;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
.product-button.selected {
|
| 177 |
+
background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
|
| 178 |
+
color: #ffffff;
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
.product-button:hover:not(.selected) {
|
| 182 |
+
background-color: #4b5563;
|
| 183 |
+
transform: translateY(-2px);
|
| 184 |
+
}
|
| 185 |
+
|
| 186 |
+
.product-button.selected:hover {
|
| 187 |
+
background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
/* Button */
|
| 191 |
+
button {
|
| 192 |
+
padding: 12px 25px;
|
| 193 |
+
background: linear-gradient(90deg, #3b82f6 0%, #60a5fa 100%);
|
| 194 |
+
color: #fff;
|
| 195 |
+
border: none;
|
| 196 |
+
border-radius: 8px;
|
| 197 |
+
cursor: pointer;
|
| 198 |
+
font-size: 1rem;
|
| 199 |
+
font-weight: 500;
|
| 200 |
+
font-family: 'Roboto', sans-serif;
|
| 201 |
+
max-width: 200px;
|
| 202 |
+
transition: background 0.3s ease, transform 0.2s ease;
|
| 203 |
+
}
|
| 204 |
+
|
| 205 |
+
button:hover:not(:disabled) {
|
| 206 |
+
background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
|
| 207 |
+
transform: translateY(-2px);
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
button:disabled {
|
| 211 |
+
background: #d1d5db;
|
| 212 |
+
cursor: not-allowed;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
/* Dropzone */
|
| 216 |
+
.dropzone {
|
| 217 |
+
border: 2px dashed #93c5fd;
|
| 218 |
+
padding: 30px;
|
| 219 |
+
text-align: center;
|
| 220 |
+
cursor: pointer;
|
| 221 |
+
margin: 15px 0;
|
| 222 |
+
background-color: #f0f7ff;
|
| 223 |
+
border-radius: 10px;
|
| 224 |
+
transition: border-color 0.3s ease, background-color 0.3s ease;
|
| 225 |
+
}
|
| 226 |
+
|
| 227 |
+
.dropzone:hover {
|
| 228 |
+
border-color: #3b82f6;
|
| 229 |
+
background-color: #e0f2fe;
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
.dropzone p {
|
| 233 |
+
color: #4b5563;
|
| 234 |
+
font-size: 1rem;
|
| 235 |
+
font-family: 'Roboto', sans-serif;
|
| 236 |
+
}
|
| 237 |
+
|
| 238 |
+
/* Preview Image */
|
| 239 |
+
.preview-image {
|
| 240 |
+
max-width: 200px;
|
| 241 |
+
margin-top: 15px;
|
| 242 |
+
border-radius: 8px;
|
| 243 |
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
| 244 |
+
transition: transform 0.3s ease;
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
.preview-image:hover {
|
| 248 |
+
transform: scale(1.05);
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
/* Generated Image */
|
| 252 |
+
.generated-image {
|
| 253 |
+
margin-top: 25px;
|
| 254 |
+
border-radius: 10px;
|
| 255 |
+
border: none;
|
| 256 |
+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
| 257 |
+
max-width: 100%;
|
| 258 |
+
transition: transform 0.3s ease;
|
| 259 |
+
}
|
| 260 |
+
|
| 261 |
+
.generated-image:hover {
|
| 262 |
+
transform: scale(1.02);
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
a {
|
| 266 |
+
display: inline-block;
|
| 267 |
+
margin-top: 15px;
|
| 268 |
+
padding: 10px 20px;
|
| 269 |
+
background-color: #10b981;
|
| 270 |
+
color: #fff;
|
| 271 |
+
text-decoration: none;
|
| 272 |
+
border-radius: 8px;
|
| 273 |
+
font-weight: 500;
|
| 274 |
+
font-family: 'Roboto', sans-serif;
|
| 275 |
+
transition: background-color 0.3s ease;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
a:hover {
|
| 279 |
+
background-color: #059669;
|
| 280 |
+
}
|
| 281 |
+
|
| 282 |
+
/* Loading Spinner */
|
| 283 |
+
.loading-spinner {
|
| 284 |
+
border: 4px solid #e5e7eb;
|
| 285 |
+
border-top: 4px solid #3b82f6;
|
| 286 |
+
border-radius: 50%;
|
| 287 |
+
width: 24px;
|
| 288 |
+
height: 24px;
|
| 289 |
+
animation: spin 1s linear infinite;
|
| 290 |
+
margin: 0 auto;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
@keyframes spin {
|
| 294 |
+
0% { transform: rotate(0deg); }
|
| 295 |
+
100% { transform: rotate(360deg); }
|
| 296 |
+
}
|
| 297 |
+
|
| 298 |
+
/* Responsive Design */
|
| 299 |
+
@media (max-width: 768px) {
|
| 300 |
+
.App {
|
| 301 |
+
padding: 15px;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
.header {
|
| 305 |
+
padding: 1rem;
|
| 306 |
+
}
|
| 307 |
+
|
| 308 |
+
.logo-img {
|
| 309 |
+
height: 50px;
|
| 310 |
+
}
|
| 311 |
+
|
| 312 |
+
.header h1 {
|
| 313 |
+
font-size: 1.5rem;
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
.section {
|
| 317 |
+
padding: 15px;
|
| 318 |
+
margin: 20px 0;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
h2 {
|
| 322 |
+
font-size: 1.25rem;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
.tabs {
|
| 326 |
+
max-width: 100%;
|
| 327 |
+
flex-direction: column;
|
| 328 |
+
gap: 5px;
|
| 329 |
+
}
|
| 330 |
+
|
| 331 |
+
.tab-button {
|
| 332 |
+
width: 100%;
|
| 333 |
+
padding: 10px;
|
| 334 |
+
}
|
| 335 |
+
|
| 336 |
+
input, select {
|
| 337 |
+
max-width: 100%;
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
button {
|
| 341 |
+
max-width: 100%;
|
| 342 |
+
}
|
| 343 |
+
|
| 344 |
+
.product-buttons {
|
| 345 |
+
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
|
| 346 |
+
}
|
| 347 |
+
|
| 348 |
+
.product-button {
|
| 349 |
+
font-size: 0.85rem;
|
| 350 |
+
height: 44px;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.preview-image {
|
| 354 |
+
max-width: 150px;
|
| 355 |
+
}
|
| 356 |
+
}
|