optimized-react-component-library-xyz123 0.1.136 → 0.1.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,8 +2,17 @@
2
2
  @import url('https://assets.soracom.io/fonts/aeonik/Aeonik.css');
3
3
 
4
4
  /* ---------- GENERAL ---------- */
5
+ :root{
6
+ --background:#dddddd;
7
+ --text:#000000;
8
+ --action:#6e3282;
9
+ --error:#8e0039;
10
+ --main:#ffffff;
11
+ --info: #545454;
12
+ --orientation-active:#dc7d0a;
13
+ --background-second:#200827;
14
+ }
5
15
 
6
- html,
7
16
  body,
8
17
  #root {
9
18
  min-height: 100vh;
@@ -20,7 +29,7 @@ body {
20
29
  font-family: Arial;
21
30
  font-size: 1.6rem;
22
31
  font-weight: 400;
23
- background-color: #dddddd;
32
+ background-color: var(--background);
24
33
  display: flex;
25
34
  flex-direction: column;
26
35
  min-height: 100vh;
@@ -32,7 +41,7 @@ body a {
32
41
 
33
42
  display: inline-flex;
34
43
  align-items: center;
35
- color: #6e3282;
44
+ color: var(--action);
36
45
  }
37
46
 
38
47
  body a:hover {
@@ -86,7 +95,7 @@ h4 {
86
95
  section {
87
96
  display: flex;
88
97
  flex-direction: column;
89
- background-color: #ffffff;
98
+ background-color: var(--main);
90
99
  padding: 3.6rem;
91
100
  margin-bottom: 1.6rem;
92
101
  border-radius: 0.4rem;
@@ -95,9 +104,9 @@ section {
95
104
  }
96
105
  /* ?? Make changes in html ?? ----
97
106
  .pts-button{
98
- background-color: #6e3282;
99
- border: 2px solid #6e3282;
100
- color: #ffffff;
107
+ background-color: var(--action);
108
+ border: 2px solid var(--action);
109
+ color: var(--main);
101
110
  padding: 8px 20px;
102
111
  border-radius: 8px;
103
112
  font-size: 16px;
@@ -107,9 +116,9 @@ section {
107
116
 
108
117
  .pts-button:focus,
109
118
  .pts-button:hover{
110
- background-color: #ffffff;
111
- border: 2px solid #6e3282;
112
- color: #6e3282;
119
+ background-color: var(--main);
120
+ border: 2px solid var(--action);
121
+ color: var(--action);
113
122
  transition: 0.2s;
114
123
  }
115
124
  --- ?? Make changes in html ?? */
@@ -123,7 +132,7 @@ section {
123
132
  .pts-form-step-header {
124
133
  display: flex;
125
134
  flex-direction: column;
126
- background-color: #ffffff;
135
+ background-color: var(--main);
127
136
  padding: 3.6rem;
128
137
  margin-bottom: 0;
129
138
  border-radius: 0.4rem;
@@ -176,7 +185,7 @@ fieldset {
176
185
 
177
186
  .pts-root-about {
178
187
  font-size: 1.4rem;
179
- color: #545454;
188
+ color: var(--info);
180
189
  margin: 0;
181
190
  margin-bottom: 0.4rem;
182
191
  }
@@ -184,7 +193,7 @@ fieldset {
184
193
  .pts-root-question input[type='text']:focus,
185
194
  .pts-root-question input[type='email']:focus,
186
195
  .pts-root-question input[type='tel']:focus {
187
- border: 0.2rem solid #6e3282;
196
+ border: 0.2rem solid var(--action);
188
197
  }
189
198
 
190
199
  .pts-root-error {
@@ -200,14 +209,14 @@ fieldset {
200
209
  height: 1.8rem;
201
210
  border-radius: 1rem;
202
211
  justify-content: center;
203
- color: #ffffff;
204
- background-color: #8e0039;
212
+ color: var(--main);
213
+ background-color: var(--error);
205
214
  margin-right: 9px;
206
215
  }
207
216
 
208
217
  .errorText,
209
218
  .pts-root-mandatoryAsterisk {
210
- color: #8e0039;
219
+ color: var(--error);
211
220
  }
212
221
 
213
222
  .pts-root-mandatoryAsterisk {
@@ -218,7 +227,7 @@ fieldset {
218
227
  .pts-root-question-input-error-border,
219
228
  .pts-root-question-input-error-border,
220
229
  .pts-root-question-input-error-border {
221
- border: 0.2rem solid #8e0039 !important;
230
+ border: 0.2rem solid var(--error) !important;
222
231
  }
223
232
 
224
233
  .sr-only {
@@ -268,7 +277,7 @@ textarea:focus-visible,
268
277
  padding-left: 1.6rem;
269
278
  padding-right: 1.6rem;
270
279
  border-radius: 0.8rem;
271
- border: 1px solid #545454;
280
+ border: 1px solid var(--info);
272
281
  height: 4.8rem;
273
282
  }
274
283
 
@@ -280,7 +289,7 @@ textarea:focus-visible,
280
289
  left: 0;
281
290
  padding: 15px 20px;
282
291
  background: #eaf1f9;
283
- border-bottom: 4px solid #6e3282;
292
+ border-bottom: 4px solid var(--action);
284
293
  z-index: 9999;
285
294
  width: 100vw;
286
295
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
@@ -317,8 +326,8 @@ textarea:focus-visible,
317
326
  text-align: center;
318
327
  font-size: 1.4rem;
319
328
  padding: 8px 15px;
320
- background-color: #6e3282;
321
- border: 2px solid #6e3282;
329
+ background-color: var(--action);
330
+ border: 2px solid var(--action);
322
331
  color: white;
323
332
  cursor: pointer;
324
333
  border-radius: 8px;
@@ -327,8 +336,8 @@ textarea:focus-visible,
327
336
  .pts-cookieBanner button:focus,
328
337
  .pts-cookieBanner button:hover {
329
338
  background-color: #eaf1f9;
330
- border: 2px solid #6e3282;
331
- color: #6e3282;
339
+ border: 2px solid var(--action);
340
+ color: var(--action);
332
341
  transition: 0.2s;
333
342
  }
334
343
 
@@ -356,7 +365,7 @@ textarea:focus-visible,
356
365
  .MoreInfoIcon svg {
357
366
  width: 1.6rem;
358
367
  height: 1.6rem;
359
- background-color: #6e3282;
368
+ background-color: var(--action);
360
369
  border-radius: 50%;
361
370
  padding: 0.4rem;
362
371
  flex-shrink: 0;
@@ -365,7 +374,7 @@ textarea:focus-visible,
365
374
 
366
375
  .pts-serviceHeadlineAndBody-container a svg path,
367
376
  .MoreInfoIcon svg path {
368
- fill: #ffffff;
377
+ fill: var(--main);
369
378
  }
370
379
 
371
380
  .pts-moreinfo-list {
@@ -377,7 +386,7 @@ textarea:focus-visible,
377
386
  .pts-moreinfo-list svg {
378
387
  width: 1.6rem;
379
388
  height: 1.6rem;
380
- background-color: #6e3282;
389
+ background-color: var(--action);
381
390
  border-radius: 50%;
382
391
  padding: 0.4rem;
383
392
  flex-shrink: 0;
@@ -405,7 +414,7 @@ textarea:focus-visible,
405
414
  line-height: 2.4rem;
406
415
  font-size: 1.8rem;
407
416
  background-color: #747474;
408
- color: #ffffff;
417
+ color: var(--main);
409
418
  border-radius: 50%;
410
419
  margin-bottom: 1.2rem;
411
420
  display: flex;
@@ -414,11 +423,11 @@ textarea:focus-visible,
414
423
  }
415
424
 
416
425
  .pts-stepperDotActive {
417
- background-color: #dc7d0a;
426
+ background-color: var(--orientation-active);
418
427
  }
419
428
 
420
429
  .pts-stepperDotDone {
421
- background-color: #6e3282;
430
+ background-color: var(--action);
422
431
  }
423
432
 
424
433
  .pts-stepper-step:not(:last-child)::after {
@@ -444,9 +453,9 @@ textarea:focus-visible,
444
453
 
445
454
  .pts-forwardButton,
446
455
  .pts-backButton {
447
- background-color: #6e3282;
448
- border: 2px solid #6e3282;
449
- color: #ffffff;
456
+ background-color: var(--action);
457
+ border: 2px solid var(--action);
458
+ color: var(--main);
450
459
  padding: 8px 20px;
451
460
  border-radius: 8px;
452
461
  font-size: 1.6rem;
@@ -457,6 +466,7 @@ textarea:focus-visible,
457
466
  .pts-start-applicationButton {
458
467
  align-self: start !important;
459
468
  margin-left: 0px !important;
469
+ margin-top: 3.6rem;
460
470
  }
461
471
 
462
472
  .pts-backButton:focus,
@@ -465,9 +475,9 @@ textarea:focus-visible,
465
475
  .pts-forwardButton:hover,
466
476
  .btn-upload:focus,
467
477
  .btn-upload:hover {
468
- background-color: #ffffff;
469
- border: 2px solid #6e3282;
470
- color: #6e3282;
478
+ background-color: var(--main);
479
+ border: 2px solid var(--action);
480
+ color: var(--action);
471
481
  transition: 0.2s;
472
482
  }
473
483
 
@@ -477,7 +487,7 @@ textarea:focus-visible,
477
487
  appearance: none;
478
488
  width: 1.8rem;
479
489
  height: 1.8rem;
480
- border: 1.5px solid #545454;
490
+ border: 1.5px solid var(--info);
481
491
  border-radius: 3.1rem;
482
492
  margin: 0;
483
493
  margin-right: 0.8rem;
@@ -495,7 +505,7 @@ textarea:focus-visible,
495
505
  width: 1rem;
496
506
  height: 1rem;
497
507
  border-radius: 50%;
498
- background-color: #6e3282;
508
+ background-color: var(--action);
499
509
  }
500
510
 
501
511
  .pts-radioMultiple-container label {
@@ -514,15 +524,15 @@ textarea:focus-visible,
514
524
  margin-right: 0.8rem;
515
525
  flex-shrink: 0;
516
526
 
517
- background-color: #ffffff;
518
- border: 0.15rem solid #545454;
527
+ background-color: var(--main);
528
+ border: 0.15rem solid var(--info);
519
529
  border-radius: 0.2rem;
520
530
 
521
531
  cursor: pointer;
522
532
  }
523
533
 
524
534
  .pts-multipleCheckboxes-container input[type='checkbox']:checked {
525
- background-color: #6e3282;
535
+ background-color: var(--action);
526
536
  border: none;
527
537
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
528
538
  }
@@ -557,8 +567,8 @@ textarea:focus-visible,
557
567
  top: -1000px;
558
568
  left: 1.8rem;
559
569
  transition: top 0.3s ease-in-out;
560
- background-color: #ffffff;
561
- color: #6e3282;
570
+ background-color: var(--main);
571
+ color: var(--action);
562
572
  }
563
573
 
564
574
  .pts-skipLink-container a:focus {
@@ -571,14 +581,14 @@ textarea:focus-visible,
571
581
  padding: 0px 70px;
572
582
  align-items: center;
573
583
  justify-content: space-between;
574
- background-color: #ffffff;
584
+ background-color: var(--main);
575
585
  }
576
586
 
577
587
  .pts-languageButton {
578
588
  display: flex;
579
589
  background: transparent;
580
590
  border: transparent;
581
- color: #6e3282;
591
+ color: var(--action);
582
592
  cursor: pointer;
583
593
  }
584
594
 
@@ -594,7 +604,13 @@ textarea:focus-visible,
594
604
  min-height: 14rem;
595
605
  align-items: center;
596
606
  width: 100%;
597
- background-color: #200827;
607
+ background-color: var(--ackground-second);
608
+ }
609
+
610
+ .pts-footer-content{
611
+ display: flex;
612
+ align-items: center;
613
+ width: 100%;
598
614
  }
599
615
 
600
616
  .pts-footer-logo {
@@ -608,6 +624,7 @@ textarea:focus-visible,
608
624
  .pts-footer-linkList {
609
625
  flex: 1;
610
626
  justify-content: center;
627
+ margin-left: -160px;
611
628
  }
612
629
 
613
630
  .pts-footer-linkList ul {
@@ -621,7 +638,7 @@ textarea:focus-visible,
621
638
  }
622
639
 
623
640
  .pts-footer-linkList a {
624
- color: #ffffff;
641
+ color: var(--main);
625
642
  text-underline-offset: 3px;
626
643
  white-space: nowrap;
627
644
  }
@@ -629,7 +646,7 @@ textarea:focus-visible,
629
646
  .pts-footer-linkList a span {
630
647
  padding-left: 36px;
631
648
  padding-right: 36px;
632
- color: #ffffff;
649
+ color: var(--main);
633
650
  }
634
651
 
635
652
  .pts-footer-container .pts-footer-linkList ul li:not(:last-child)::after {
@@ -637,7 +654,7 @@ textarea:focus-visible,
637
654
  width: 1px;
638
655
  height: 24px;
639
656
  border: 0.5px solid;
640
- color: #ffffff;
657
+ color: var(--main);
641
658
  position: absolute;
642
659
  box-sizing: border-box;
643
660
  }
@@ -650,13 +667,13 @@ textarea:focus-visible,
650
667
 
651
668
  .pts-about {
652
669
  margin-bottom: 0.4rem;
653
- color: #545454;
670
+ color: var(--info);
654
671
  font-size: 1.4rem;
655
672
  }
656
673
 
657
674
  .textfield-about {
658
675
  margin-bottom: 0.4rem;
659
- color: #545454;
676
+ color: var(--info);
660
677
  font-size: 1.4rem;
661
678
  }
662
679
 
@@ -669,11 +686,11 @@ textarea:focus-visible,
669
686
  font-family: arial;
670
687
  font-size: 1.6rem;
671
688
  border-radius: 8px;
672
- border: 0.1px solid #545454;
689
+ border: 0.1px solid var(--info);
673
690
  }
674
691
 
675
692
  .pts-textArea-container textarea:focus {
676
- border: 0.2rem solid #6e3282;
693
+ border: 0.2rem solid var(--action);
677
694
  }
678
695
 
679
696
  .pts-textarea-counter-error-container {
@@ -704,7 +721,7 @@ textarea:focus-visible,
704
721
  display: flex;
705
722
  align-items: center;
706
723
  background-color: transparent;
707
- color: #6e3282;
724
+ color: var(--action);
708
725
  border: none;
709
726
  cursor: pointer;
710
727
  font-size: 1.3rem;
@@ -737,8 +754,6 @@ textarea:focus-visible,
737
754
 
738
755
  .pts-root-answer,
739
756
  .answer {
740
- width: 66%;
741
- margin-bottom: 8px;
742
757
  }
743
758
 
744
759
  .pts-root-answer ul {
@@ -767,7 +782,7 @@ textarea:focus-visible,
767
782
  }
768
783
 
769
784
  .no-answer-preview-page {
770
- color: #545454;
785
+ color: var(--info);
771
786
  }
772
787
 
773
788
  .pts-preview-header {
@@ -889,8 +904,8 @@ textarea:focus-visible,
889
904
  padding: 1.6rem 2.4rem 1.6rem 2.4rem;
890
905
  margin-top: 3.6rem;
891
906
  border-radius: 0.8rem;
892
- border: 0.1rem solid #8e0039;
893
- border-left: 4rem solid #8e0039;
907
+ border: 0.1rem solid var(--error);
908
+ border-left: 4rem solid var(--error);
894
909
  position: relative;
895
910
  }
896
911
 
@@ -901,8 +916,8 @@ textarea:focus-visible,
901
916
  width: 1.6rem;
902
917
  height: 1.6rem;
903
918
  border-radius: 50%;
904
- background-color: #ffffff;
905
- color: #8e0039;
919
+ background-color: var(--main);
920
+ color: var(--error);
906
921
  align-items: center;
907
922
  font-size: 1.4rem;
908
923
  }
@@ -923,7 +938,7 @@ textarea:focus-visible,
923
938
  }
924
939
 
925
940
  .errorSummary-text {
926
- color: #8e0039;
941
+ color: var(--error);
927
942
  }
928
943
 
929
944
  /* ---------- FILE UPLOAD ---------- */
@@ -936,7 +951,7 @@ textarea:focus-visible,
936
951
 
937
952
  /* Drop Zone */
938
953
  .files-drop-zone {
939
- border: 2px dashed #6e3282;
954
+ border: 2px dashed var(--action);
940
955
  border-radius: 12px;
941
956
  padding: 3rem 2rem;
942
957
  text-align: center;
@@ -948,31 +963,31 @@ textarea:focus-visible,
948
963
  }
949
964
 
950
965
  .files-drop-zone:hover {
951
- border-color: #6e3282;
966
+ border-color: var(--action);
952
967
  background-color: #f5ebf8;
953
968
  transform: translateY(-2px);
954
969
  box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
955
970
  }
956
971
 
957
972
  .files-drop-zone.drag-active {
958
- border-color: #6e3282;
973
+ border-color: var(--action);
959
974
  background-color: #f5ebf8;
960
975
  transform: scale(1.02);
961
976
  box-shadow: 0 8px 25px rgba(30, 167, 253, 0.2);
962
977
  }
963
978
 
964
979
  .files-drop-zone:focus {
965
- /* border-color: #6e3282;
980
+ /* border-color: var(--action);
966
981
  background-color: #f5ebf8;
967
982
  transform: translateY(-2px);
968
983
  box-shadow: 0 4px 12px rgba(220, 148, 253, 0.15);
969
984
  transform: translateY(-3px);
970
985
 
971
986
  animation: focusPulse 1s ease-in-out infinite;
972
- box-shadow: inset 0 0 0 4px #6e3282;
987
+ box-shadow: inset 0 0 0 4px var(--action);
973
988
 
974
989
  border: none; */
975
- border: 0.2rem solid #6e3282;
990
+ border: 0.2rem solid var(--action);
976
991
  }
977
992
 
978
993
  .files-drop-zone:focus-visible {
@@ -1028,7 +1043,7 @@ textarea:focus-visible,
1028
1043
  }
1029
1044
 
1030
1045
  .files-allowed-types strong {
1031
- color: #6e3282;
1046
+ color: var(--action);
1032
1047
  }
1033
1048
 
1034
1049
  .files-input-hidden {
@@ -1263,12 +1278,12 @@ textarea:focus-visible,
1263
1278
  }
1264
1279
 
1265
1280
  .action-btn.remove {
1266
- color: #6e3282;
1267
- border-color: #6e3282;
1281
+ color: var(--action);
1282
+ border-color: var(--action);
1268
1283
  }
1269
1284
 
1270
1285
  .action-btn.remove:hover {
1271
- background-color: #6e3282;
1286
+ background-color: var(--action);
1272
1287
  color: white;
1273
1288
  }
1274
1289
 
@@ -1367,7 +1382,7 @@ textarea:focus-visible,
1367
1382
  }
1368
1383
 
1369
1384
  .filePickButton.error {
1370
- background: #8e0039 !important;
1385
+ background: var(--error) !important;
1371
1386
  color: #fff !important;
1372
1387
  }
1373
1388
 
@@ -1404,7 +1419,7 @@ textarea:focus-visible,
1404
1419
  }
1405
1420
 
1406
1421
  /* .uploadedDot.uploadFailed {
1407
- background: var(--red-green-red, #8e0039);
1422
+ background: var(--red-green-red, var(--error));
1408
1423
 
1409
1424
  color: var(--neutral-300, #fff);
1410
1425
  } */
@@ -1497,8 +1512,8 @@ textarea:focus-visible,
1497
1512
 
1498
1513
  .DropZone svg {
1499
1514
  border-radius: 55%;
1500
- background: var(--purple-purple-900-primary, #6e3282);
1501
- border: 6px solid #6e3282;
1515
+ background: var(--purple-purple-900-primary, var(--action));
1516
+ border: 6px solid var(--action);
1502
1517
  margin-top: 17px;
1503
1518
  margin-right: 16px;
1504
1519
  height: 1.5rem;
@@ -1553,7 +1568,7 @@ textarea:focus-visible,
1553
1568
 
1554
1569
  .fileItem {
1555
1570
  display: grid !important;
1556
- grid-template-columns: 1fr 85% 1fr;
1571
+ grid-template-columns: 26px 1fr 60px;
1557
1572
  margin: 0 1px 1.3rem 0;
1558
1573
  }
1559
1574
 
@@ -1568,11 +1583,10 @@ textarea:focus-visible,
1568
1583
 
1569
1584
  .selectedFilesLinkButton {
1570
1585
  display: flex;
1571
- align-items: center;
1572
1586
  padding: 0;
1573
1587
  stroke-width: 2px;
1574
- stroke: var(--purple-900-primary, #6e3282);
1575
- color: var(--purple-900-primary, #6e3282);
1588
+ stroke: var(--purple-900-primary, var(--action));
1589
+ color: var(--purple-900-primary, var(--action));
1576
1590
  font-size: 1.6rem;
1577
1591
  line-height: 24px;
1578
1592
  text-decoration: none;
@@ -1582,7 +1596,7 @@ textarea:focus-visible,
1582
1596
  }
1583
1597
 
1584
1598
  .selectedFilesLinkButton:hover {
1585
- color: var(--purple-900-primary, #6e3282);
1599
+ color: var(--purple-900-primary, var(--action));
1586
1600
  text-decoration: underline;
1587
1601
  }
1588
1602
 
@@ -1624,7 +1638,7 @@ textarea:focus-visible,
1624
1638
  }
1625
1639
 
1626
1640
  .errorMessageAddingFile {
1627
- color: var(--red-green-red, #8e0039);
1641
+ color: var(--red-green-red, var(--error));
1628
1642
  font-size: 1.3rem;
1629
1643
  line-height: 1.6rem;
1630
1644
  padding-top: 0.8rem !important;
@@ -1663,7 +1677,7 @@ textarea:focus-visible,
1663
1677
  }
1664
1678
  .uploadIndicator.uploadFailed {
1665
1679
  width: 10%;
1666
- background: var(--red-green-red, #8e0039);
1680
+ background: var(--red-green-red, var(--error));
1667
1681
  }
1668
1682
  .uploadIndicator.uploadLoading {
1669
1683
  width: 50%;