-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
402 lines (340 loc) · 8.01 KB
/
Copy pathstyles.css
File metadata and controls
402 lines (340 loc) · 8.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
/* Custom styles */
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
background-size: 400% 400%;
animation: gradientShift 15s ease infinite;
}
/* Animated gradient background */
@keyframes gradientShift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
/* Fade in animation */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Scale in animation */
@keyframes scaleIn {
from {
opacity: 0;
transform: scale(0.9);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Slide in from right */
@keyframes slideInRight {
from {
opacity: 0;
transform: translateX(30px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
/* Pulse animation */
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
/* Loading view animation */
#loading-view {
animation: fadeIn 0.5s ease;
}
#loading-view>div {
animation: pulse 2s ease infinite;
}
/* Auth view styling */
#auth-view {
animation: fadeIn 0.6s ease;
}
#auth-view .w-full.max-w-md {
animation: scaleIn 0.6s ease;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
/* Tab styling with animation */
#tab-login,
#tab-register {
transition: all 0.3s ease;
}
#tab-login:hover,
#tab-register:hover {
transform: translateY(-2px);
}
/* Input fields styling */
#auth-view input,
#resume-form input,
#resume-form textarea {
transition: all 0.3s ease;
}
#auth-view input:focus,
#resume-form input:focus,
#resume-form textarea:focus {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}
/* Button styling with hover effects */
button {
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
button::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 50%;
background: rgba(255, 255, 255, 0.3);
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
button:hover::before {
width: 300px;
height: 300px;
}
button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
button:active {
transform: translateY(-1px);
}
/* Google sign-in button special styling */
#google-signin-btn {
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}
#google-signin-btn:hover {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}
/* App view container */
#app-view {
animation: fadeIn 0.6s ease;
}
/* App header styling */
#app-header {
animation: slideInRight 0.6s ease;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.95);
border-radius: 12px;
padding: 1.5rem;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.3);
}
#welcome-msg {
font-size: 1.25rem;
font-weight: 600;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Print button container */
#print-button-container {
animation: slideInRight 0.7s ease;
}
#print-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
#print-btn:hover {
background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}
/* Form panel styling */
#form-panel {
animation: fadeIn 0.8s ease;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(255, 255, 255, 0.3);
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
#form-panel h1 {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Fieldset styling */
fieldset {
transition: all 0.3s ease;
border: 2px solid #e5e7eb;
}
fieldset:hover {
border-color: #667eea;
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
transform: translateY(-2px);
}
fieldset legend {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Add button styling */
#add-skill-btn,
#add-exp-btn,
#add-edu-btn,
#add-language-btn,
#add-ref-btn {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
#add-skill-btn:hover,
#add-exp-btn:hover,
#add-edu-btn:hover,
#add-language-btn:hover,
#add-ref-btn:hover {
background: linear-gradient(135deg, #059669 0%, #047857 100%);
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}
/* Remove button styling */
.remove-skill-btn,
.remove-exp-btn,
.remove-edu-btn,
.remove-language-btn,
.remove-ref-btn {
transition: all 0.3s ease;
}
.remove-skill-btn:hover,
.remove-exp-btn:hover,
.remove-edu-btn:hover,
.remove-language-btn:hover,
.remove-ref-btn:hover {
transform: scale(1.2) rotate(90deg);
}
/* List items animation */
#skills-list-form>div,
#exp-list-form>div,
#edu-list-form>div,
#languages-list-form>div,
#ref-list-form>div {
animation: slideInRight 0.3s ease;
}
/* Logout button */
#logout-btn {
background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}
#logout-btn:hover {
background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}
/* Google modal styling */
#google-modal {
backdrop-filter: blur(8px);
}
#google-modal>div {
animation: scaleIn 0.4s ease;
}
#google-modal button {
transition: all 0.3s ease;
}
#google-modal button:hover {
background-color: #f3f4f6;
transform: translateX(5px);
}
/* Container styling */
.container {
animation: fadeIn 0.6s ease;
}
/* Capitalize first letter of resume form inputs */
#resume-form input[type="text"],
#resume-form input[type="tel"],
#resume-form textarea {
text-transform: capitalize;
}
/* Keep email inputs lowercase */
#resume-form input[type="email"] {
text-transform: none;
}
/* Styles for the resume preview paper */
#resume-preview-wrapper {
background-color: #f8fafc;
/* Tailwind gray-50 */
}
#resume-preview {
background-color: #ffffff;
/* A4-like aspect ratio (approx) */
width: 21cm;
min-height: 29.7cm;
padding: 0;
margin: 2rem auto;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
max-width: 100%;
overflow-wrap: break-word;
}
/* Print styles */
@media print {
/* Remove browser default headers and footers */
@page {
margin: 0;
size: A4;
}
body {
margin: 0;
padding: 0;
background: white;
}
/* Hide the form panel, download buttons, and header */
#form-panel,
#download-buttons-container,
#app-header,
#auth-view,
#loading-view,
#google-modal {
display: none !important;
}
#app-view {
display: block !important;
}
/* Show the resume preview wrapper but remove styling */
#resume-preview-wrapper {
background-color: white !important;
padding: 0 !important;
margin: 0 !important;
}
/* Ensure the resume preview takes up the whole page */
#resume-preview {
width: 100%;
min-height: 0;
margin: 0;
padding: 0;
box-shadow: none;
border: none;
page-break-after: auto;
}
/* Prevent page breaks in sections */
#resume-preview section {
page-break-inside: avoid;
}
}