2
2
font-family : 'Inter' , sans-serif;
3
3
--color-primary : # 1d1283 ;
4
4
--color-primary-hover : # 11085c ;
5
+ --color-button-hover : # 2c1bc6 ;
5
6
--white : # fff ;
6
7
--color-gray : # 666 ;
7
8
--black-color : black;
48
49
.container {
49
50
max-width : 1100px ;
50
51
margin : 0 auto;
51
- padding : 2 rem ;
52
+ padding : 1 rem ;
52
53
overflow-y : auto;
53
54
}
54
55
@@ -145,7 +146,6 @@ body {
145
146
.application-container {
146
147
display : flex;
147
148
flex-wrap : wrap;
148
- justify-content : space-between;
149
149
padding-bottom : 10px ;
150
150
padding-top : 32px ;
151
151
gap : 25px ;
@@ -159,7 +159,10 @@ body {
159
159
border-radius : 15px ;
160
160
box-shadow : var (--elevation-1 );
161
161
padding : 24px ;
162
- width : 44% ;
162
+ width : 85% ;
163
+ max-width : 800px ;
164
+ box-sizing : border-box;
165
+ margin : 0 auto;
163
166
display : flex;
164
167
flex-direction : column;
165
168
gap : 2px ;
@@ -364,16 +367,57 @@ body {
364
367
365
368
.application-details .application-details-actions .application-details-reject {
366
369
color : var (--red-color );
367
- height : auto;
368
370
background-color : white;
369
- margin-left : auto;
370
- margin-right : auto;
371
- text-decoration : underline;
371
+ margin : 0 auto;
372
+ width : 40% ;
373
+ border : 2px solid var (--red-color );
374
+ }
375
+
376
+ .application-details
377
+ .application-details-actions
378
+ .application-details-reject : is (: hover , : active , : focus-visible ) {
379
+ background : var (--red-color );
380
+ color : var (--white );
381
+ transition : transform 0.2s ease;
382
+ will-change : transform;
383
+ }
384
+
385
+ .application-details
386
+ .application-details-actions
387
+ .application-details-reject : hover {
388
+ transform : scale (1.05 );
389
+ }
390
+
391
+ .application-details
392
+ .application-details-actions
393
+ .application-details-reject : active {
394
+ animation : bounceBackAnimation 0.4s ease forwards;
372
395
}
373
396
374
397
.application-details .application-details-actions .application-details-accept {
375
398
background : var (--color-primary );
376
- width : 50% ;
399
+ margin : 0 auto;
400
+ width : 40% ;
401
+ }
402
+
403
+ .application-details
404
+ .application-details-actions
405
+ .application-details-accept : is (: hover , : active , : focus-visible ) {
406
+ background : var (--color-button-hover );
407
+ transition : transform 0.2s ease;
408
+ will-change : transform;
409
+ }
410
+
411
+ .application-details
412
+ .application-details-actions
413
+ .application-details-accept : hover {
414
+ transform : scale (1.05 );
415
+ }
416
+
417
+ .application-details
418
+ .application-details-actions
419
+ .application-details-accept : active {
420
+ animation : bounceBackAnimation 0.4s ease forwards;
377
421
}
378
422
379
423
.application-details-actions .hidden {
@@ -442,6 +486,28 @@ body {
442
486
opacity : 0.2 ;
443
487
}
444
488
489
+ @keyframes bounceBackAnimation {
490
+ 0% {
491
+ transform : scale (1 );
492
+ }
493
+
494
+ 25% {
495
+ transform : scale (0.9 );
496
+ }
497
+
498
+ 55% {
499
+ transform : scale (1.1 );
500
+ }
501
+
502
+ 75% {
503
+ transform : scale (0.9 );
504
+ }
505
+
506
+ 100% {
507
+ transform : scale (1 );
508
+ }
509
+ }
510
+
445
511
@keyframes slideIn {
446
512
from {
447
513
right : -300px ;
@@ -463,10 +529,6 @@ body {
463
529
}
464
530
465
531
@media screen and (max-width : 850px ) {
466
- .application-card {
467
- width : 100% ;
468
- }
469
-
470
532
.container {
471
533
padding : 1rem ;
472
534
}
@@ -478,4 +540,8 @@ body {
478
540
height : 100% ;
479
541
border-radius : 0 ;
480
542
}
543
+
544
+ .application-card {
545
+ width : 90% ;
546
+ }
481
547
}
0 commit comments