iimran commited on
Commit
f8d9ebf
·
verified ·
1 Parent(s): 37941d7

Create custom_styles.css

Browse files
Files changed (1) hide show
  1. custom_styles.css +238 -0
custom_styles.css ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Main theme colors */
2
+ :root {
3
+ --primary-color: #3a506b;
4
+ --secondary-color: #5bc0be;
5
+ --accent-color: #ffd166;
6
+ --background-color: #f8f9fa;
7
+ --text-color: #1c2541;
8
+ --border-radius: 8px;
9
+ --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
10
+ }
11
+
12
+ /* Global styles */
13
+ body {
14
+ font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
15
+ background-color: var(--background-color);
16
+ color: var(--text-color);
17
+ }
18
+
19
+ /* Header styling */
20
+ .app-header {
21
+ display: flex;
22
+ align-items: center;
23
+ gap: 20px;
24
+ padding: 16px 24px;
25
+ background: linear-gradient(135deg, var(--primary-color), #1c2541);
26
+ color: white;
27
+ border-radius: var(--border-radius);
28
+ margin-bottom: 24px;
29
+ box-shadow: var(--box-shadow);
30
+ }
31
+
32
+ .app-header img {
33
+ width: 48px;
34
+ height: 48px;
35
+ border-radius: 50%;
36
+ background-color: white;
37
+ padding: 6px;
38
+ }
39
+
40
+ .app-header h1 {
41
+ margin: 0;
42
+ font-size: 1.8rem;
43
+ font-weight: 700;
44
+ }
45
+
46
+ .app-header p {
47
+ margin: 4px 0 0 0;
48
+ opacity: 0.9;
49
+ font-size: 0.9rem;
50
+ }
51
+
52
+ .app-header a {
53
+ color: var(--accent-color);
54
+ text-decoration: none;
55
+ transition: opacity 0.2s;
56
+ }
57
+
58
+ .app-header a:hover {
59
+ opacity: 0.8;
60
+ text-decoration: underline;
61
+ }
62
+
63
+ /* Accordion styling */
64
+ .accordion-container {
65
+ margin-bottom: 20px;
66
+ border: 1px solid rgba(0, 0, 0, 0.1);
67
+ border-radius: var(--border-radius);
68
+ overflow: hidden;
69
+ }
70
+
71
+ .accordion-header {
72
+ background-color: var(--primary-color);
73
+ color: white;
74
+ padding: 12px 16px;
75
+ font-weight: 600;
76
+ }
77
+
78
+ .accordion-content {
79
+ padding: 16px;
80
+ background-color: white;
81
+ }
82
+
83
+ /* Main content area */
84
+ .main-container {
85
+ display: flex;
86
+ gap: 24px;
87
+ margin-bottom: 24px;
88
+ }
89
+
90
+ /* Input column */
91
+ .input-column {
92
+ flex: 1;
93
+ background-color: white;
94
+ padding: 20px;
95
+ border-radius: var(--border-radius);
96
+ box-shadow: var(--box-shadow);
97
+ }
98
+
99
+ /* Output column */
100
+ .output-column {
101
+ flex: 1;
102
+ background-color: white;
103
+ padding: 20px;
104
+ border-radius: var(--border-radius);
105
+ box-shadow: var(--box-shadow);
106
+ }
107
+
108
+ /* Button styling */
109
+ .generate-button {
110
+ background-color: var(--secondary-color);
111
+ color: white;
112
+ border: none;
113
+ border-radius: var(--border-radius);
114
+ padding: 12px 24px;
115
+ font-weight: 600;
116
+ cursor: pointer;
117
+ transition: background-color 0.2s;
118
+ width: 100%;
119
+ margin-top: 16px;
120
+ }
121
+
122
+ .generate-button:hover {
123
+ background-color: #4ca8a6;
124
+ }
125
+
126
+ /* Image upload area */
127
+ .image-upload {
128
+ border: 2px dashed rgba(0, 0, 0, 0.1);
129
+ border-radius: var(--border-radius);
130
+ padding: 20px;
131
+ text-align: center;
132
+ transition: border-color 0.2s;
133
+ }
134
+
135
+ .image-upload:hover {
136
+ border-color: var(--secondary-color);
137
+ }
138
+
139
+ /* Input fields */
140
+ input[type="text"], input[type="password"], textarea {
141
+ width: 100%;
142
+ padding: 10px 12px;
143
+ border: 1px solid rgba(0, 0, 0, 0.1);
144
+ border-radius: var(--border-radius);
145
+ margin-bottom: 16px;
146
+ font-family: inherit;
147
+ }
148
+
149
+ input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
150
+ border-color: var(--secondary-color);
151
+ outline: none;
152
+ }
153
+
154
+ /* Gallery output */
155
+ .gallery-container {
156
+ min-height: 300px;
157
+ border-radius: var(--border-radius);
158
+ overflow: hidden;
159
+ background-color: #f5f5f5;
160
+ }
161
+
162
+ /* Examples section */
163
+ .examples-header {
164
+ margin: 32px 0 16px 0;
165
+ font-weight: 600;
166
+ color: var(--primary-color);
167
+ }
168
+
169
+ .examples-grid {
170
+ display: grid;
171
+ grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
172
+ gap: 16px;
173
+ margin-top: 16px;
174
+ }
175
+
176
+ .example-item {
177
+ background-color: white;
178
+ border-radius: var(--border-radius);
179
+ padding: 12px;
180
+ box-shadow: var(--box-shadow);
181
+ cursor: pointer;
182
+ transition: transform 0.2s;
183
+ }
184
+
185
+ .example-item:hover {
186
+ transform: translateY(-4px);
187
+ }
188
+
189
+ .example-item img {
190
+ width: 100%;
191
+ border-radius: 4px;
192
+ margin-bottom: 8px;
193
+ }
194
+
195
+ .example-item p {
196
+ margin: 0;
197
+ font-size: 0.9rem;
198
+ }
199
+
200
+ /* Responsive adjustments */
201
+ @media (max-width: 768px) {
202
+ .main-container {
203
+ flex-direction: column;
204
+ }
205
+
206
+ .app-header {
207
+ flex-direction: column;
208
+ text-align: center;
209
+ }
210
+
211
+ .examples-grid {
212
+ grid-template-columns: 1fr 1fr;
213
+ }
214
+ }
215
+
216
+ /* Loading indicator */
217
+ .loading-spinner {
218
+ display: inline-block;
219
+ width: 40px;
220
+ height: 40px;
221
+ border: 4px solid rgba(0, 0, 0, 0.1);
222
+ border-radius: 50%;
223
+ border-top-color: var(--secondary-color);
224
+ animation: spin 1s ease-in-out infinite;
225
+ }
226
+
227
+ @keyframes spin {
228
+ to { transform: rotate(360deg); }
229
+ }
230
+
231
+ /* Footer */
232
+ .app-footer {
233
+ text-align: center;
234
+ padding: 16px;
235
+ margin-top: 32px;
236
+ color: rgba(0, 0, 0, 0.5);
237
+ font-size: 0.8rem;
238
+ }