optimized-react-component-library-xyz123 0.1.81 → 0.1.83
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.
- package/dist/index.css +0 -842
- package/dist/index.js +153 -233
- package/dist/index.mjs +215 -295
- package/package.json +1 -1
- package/src/css/darkMode.css +25 -1
- package/src/css/styles.css +78 -65
package/package.json
CHANGED
package/src/css/darkMode.css
CHANGED
|
@@ -34,6 +34,14 @@
|
|
|
34
34
|
color: var(--dark-main)!important;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
+
.pts-cookieBanner button:focus,
|
|
38
|
+
.pts-cookieBanner button:hover{
|
|
39
|
+
background-color: var(--dark-main)!important;;
|
|
40
|
+
border: 2px solid var(--dark-action)!important;;
|
|
41
|
+
color: var(--dark-action)!important;;
|
|
42
|
+
transition: 0.2s;
|
|
43
|
+
}
|
|
44
|
+
|
|
37
45
|
.pts-cookieBanner-Links svg rect{
|
|
38
46
|
fill:var(--dark-action);
|
|
39
47
|
}
|
|
@@ -68,7 +76,8 @@
|
|
|
68
76
|
|
|
69
77
|
/*-----------QUESTIONS--------------*/
|
|
70
78
|
|
|
71
|
-
.pts-root-about
|
|
79
|
+
.pts-root-about,
|
|
80
|
+
.pts-about {
|
|
72
81
|
color: var(--dark-info);
|
|
73
82
|
}
|
|
74
83
|
|
|
@@ -120,6 +129,21 @@
|
|
|
120
129
|
|
|
121
130
|
/* ---------- SERVICE HEADLINE AND BODY ---------- */
|
|
122
131
|
|
|
132
|
+
.pts-serviceHeadlineAndBody-container a {
|
|
133
|
+
color: var(--dark-action);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.pts-serviceHeadlineAndBody-container a svg,
|
|
137
|
+
.MoreInfoIcon svg {
|
|
138
|
+
background-color: var(--dark-action);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.pts-serviceHeadlineAndBody-container a svg path,
|
|
142
|
+
.MoreInfoIcon svg path {
|
|
143
|
+
fill: var(--dark-main);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
123
147
|
.pts-moreinfo-list a {
|
|
124
148
|
color: var(--dark-action);
|
|
125
149
|
}
|
package/src/css/styles.css
CHANGED
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
/* ---------- GENERAL ---------- */
|
|
5
5
|
|
|
6
|
+
html, body, #root{
|
|
7
|
+
min-height: 100vh;
|
|
8
|
+
margin: 0;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height:100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
6
13
|
html {
|
|
7
14
|
font-size: 62.5%; /* 1rem = 10px */
|
|
8
15
|
}
|
|
9
16
|
|
|
10
17
|
body {
|
|
11
|
-
margin: 0;
|
|
12
18
|
font-family: Arial;
|
|
13
19
|
font-size: 1.6rem;
|
|
14
20
|
font-weight: 400;
|
|
@@ -31,6 +37,17 @@ body a:hover {
|
|
|
31
37
|
text-decoration: underline 0.2rem;
|
|
32
38
|
}
|
|
33
39
|
|
|
40
|
+
#root {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
width: 100%;
|
|
44
|
+
margin:0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
main{
|
|
48
|
+
flex:1;
|
|
49
|
+
}
|
|
50
|
+
|
|
34
51
|
h1,
|
|
35
52
|
h2,
|
|
36
53
|
h3 {
|
|
@@ -74,6 +91,26 @@ section {
|
|
|
74
91
|
margin-left: 0.8rem;
|
|
75
92
|
margin-right: 0.8rem;
|
|
76
93
|
}
|
|
94
|
+
/* ?? Make changes in html ?? ----
|
|
95
|
+
.pts-button{
|
|
96
|
+
background-color: #6e3282;
|
|
97
|
+
border: 2px solid #6e3282;
|
|
98
|
+
color: #ffffff;
|
|
99
|
+
padding: 8px 20px;
|
|
100
|
+
border-radius: 8px;
|
|
101
|
+
font-size: 16px;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
margin-left: 1.6rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.pts-button:focus,
|
|
107
|
+
.pts-button:hover{
|
|
108
|
+
background-color: #ffffff;
|
|
109
|
+
border: 2px solid #6e3282;
|
|
110
|
+
color: #6e3282;
|
|
111
|
+
transition: 0.2s;
|
|
112
|
+
}
|
|
113
|
+
--- ?? Make changes in html ?? */
|
|
77
114
|
|
|
78
115
|
.pts-first-category-section {
|
|
79
116
|
padding-top: 0;
|
|
@@ -118,7 +155,7 @@ fieldset {
|
|
|
118
155
|
margin-bottom: 3.6rem;
|
|
119
156
|
}
|
|
120
157
|
|
|
121
|
-
.pts-root-question legend{
|
|
158
|
+
.pts-root-question legend {
|
|
122
159
|
font-family: Arial;
|
|
123
160
|
font-size: 1.6rem;
|
|
124
161
|
font-style: normal;
|
|
@@ -126,7 +163,6 @@ fieldset {
|
|
|
126
163
|
line-height: 20px;
|
|
127
164
|
}
|
|
128
165
|
|
|
129
|
-
|
|
130
166
|
.pts-root-question legend,
|
|
131
167
|
.pts-root-question label,
|
|
132
168
|
.pts-radio-option {
|
|
@@ -226,7 +262,7 @@ textarea:focus-visible,
|
|
|
226
262
|
height: 4.8rem;
|
|
227
263
|
}
|
|
228
264
|
|
|
229
|
-
/* ----------
|
|
265
|
+
/* ---------- COOKIE BANNER ---------- */
|
|
230
266
|
|
|
231
267
|
.pts-cookieBanner {
|
|
232
268
|
position: relative;
|
|
@@ -248,24 +284,12 @@ textarea:focus-visible,
|
|
|
248
284
|
margin: 1.6rem 0;
|
|
249
285
|
}
|
|
250
286
|
|
|
251
|
-
.pts-cookieBanner h3 {
|
|
252
|
-
font-family: Arial, sans-serif;
|
|
253
|
-
font-size: 1.6rem;
|
|
254
|
-
font-weight: 700;
|
|
255
|
-
line-height: 21px;
|
|
256
|
-
margin: 0 0 10px 0;
|
|
257
|
-
text-align: left;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
287
|
.pts-cookieBanner p {
|
|
261
|
-
|
|
262
|
-
font-size: 1.6rem;
|
|
263
|
-
font-weight: 400;
|
|
264
|
-
line-height: 24px;
|
|
288
|
+
line-height: 2.4rem;
|
|
265
289
|
margin: 0 0 15px 0;
|
|
266
|
-
|
|
290
|
+
|
|
267
291
|
}
|
|
268
|
-
.pts-cookieBanner-Links{
|
|
292
|
+
.pts-cookieBanner-Links {
|
|
269
293
|
margin-bottom: 1.6rem;
|
|
270
294
|
}
|
|
271
295
|
|
|
@@ -278,41 +302,31 @@ textarea:focus-visible,
|
|
|
278
302
|
padding: 0.8rem 2rem;
|
|
279
303
|
}
|
|
280
304
|
|
|
281
|
-
.pts-cookieBanner button {
|
|
282
|
-
border-radius: 8px;
|
|
283
|
-
display: flex;
|
|
284
|
-
gap: 10px;
|
|
285
|
-
justify-content: flex-end; /* Always justify buttons to the end/right */
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
.pts-cookieBanner a {
|
|
289
|
-
padding-left: 10px;
|
|
290
|
-
font-family: Arial, sans-serif;
|
|
291
|
-
font-size: 1.6rem;
|
|
292
|
-
font-weight: 400;
|
|
293
|
-
line-height: 24px;
|
|
294
|
-
color: #6e3282;
|
|
295
|
-
text-decoration: none;
|
|
296
|
-
position: relative;
|
|
297
|
-
top: -0.7rem;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.pts-cookieBanner a:hover {
|
|
301
|
-
text-decoration: underline;
|
|
302
|
-
}
|
|
303
|
-
|
|
304
305
|
/* Button styles */
|
|
305
306
|
.pts-cookieBanner button {
|
|
306
307
|
min-width: 140px;
|
|
307
308
|
text-align: center;
|
|
308
|
-
font-family: Arial, sans-serif;
|
|
309
309
|
font-size: 1.4rem;
|
|
310
310
|
padding: 8px 15px;
|
|
311
|
-
border-radius: 4px;
|
|
312
311
|
background-color: #6e3282;
|
|
313
|
-
border
|
|
312
|
+
border: 2px solid #6e3282;
|
|
314
313
|
color: white;
|
|
315
314
|
cursor: pointer;
|
|
315
|
+
border-radius: 8px;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.pts-cookieBanner button:focus,
|
|
319
|
+
.pts-cookieBanner button:hover{
|
|
320
|
+
background-color: #eaf1f9;
|
|
321
|
+
border: 2px solid #6e3282;
|
|
322
|
+
color: #6e3282;
|
|
323
|
+
transition: 0.2s;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.pts-cookieBanner a {
|
|
327
|
+
padding-left: 10px;
|
|
328
|
+
position: relative;
|
|
329
|
+
top: -0.7rem;
|
|
316
330
|
}
|
|
317
331
|
|
|
318
332
|
/* ---------- SERVICE HEADLINE AND BODY ---------- */
|
|
@@ -329,7 +343,8 @@ textarea:focus-visible,
|
|
|
329
343
|
margin-bottom: 2.8rem;
|
|
330
344
|
}
|
|
331
345
|
|
|
332
|
-
.pts-
|
|
346
|
+
.pts-serviceHeadlineAndBody-container a svg,
|
|
347
|
+
.MoreInfoIcon svg{
|
|
333
348
|
width: 1.6rem;
|
|
334
349
|
height: 1.6rem;
|
|
335
350
|
background-color: #6e3282;
|
|
@@ -339,7 +354,8 @@ textarea:focus-visible,
|
|
|
339
354
|
margin-right: 1.6rem;
|
|
340
355
|
}
|
|
341
356
|
|
|
342
|
-
.pts-
|
|
357
|
+
.pts-serviceHeadlineAndBody-container a svg path,
|
|
358
|
+
.MoreInfoIcon svg path{
|
|
343
359
|
fill:#ffffff;
|
|
344
360
|
}
|
|
345
361
|
|
|
@@ -564,7 +580,7 @@ textarea:focus-visible,
|
|
|
564
580
|
height: 40px;
|
|
565
581
|
padding-left: 70px;
|
|
566
582
|
flex-shrink: 0;
|
|
567
|
-
position:
|
|
583
|
+
position: relative;
|
|
568
584
|
}
|
|
569
585
|
|
|
570
586
|
.pts-footer-linkList {
|
|
@@ -585,6 +601,7 @@ textarea:focus-visible,
|
|
|
585
601
|
.pts-footer-linkList a {
|
|
586
602
|
color: #ffffff;
|
|
587
603
|
text-underline-offset: 3px;
|
|
604
|
+
white-space: nowrap;
|
|
588
605
|
}
|
|
589
606
|
|
|
590
607
|
.pts-footer-linkList a span {
|
|
@@ -606,8 +623,7 @@ textarea:focus-visible,
|
|
|
606
623
|
/* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
|
|
607
624
|
|
|
608
625
|
.pts-question-hasAbout label {
|
|
609
|
-
margin-bottom:
|
|
610
|
-
line-height: 0.4rem;
|
|
626
|
+
margin-bottom: 4px;
|
|
611
627
|
}
|
|
612
628
|
|
|
613
629
|
.pts-about {
|
|
@@ -616,7 +632,7 @@ textarea:focus-visible,
|
|
|
616
632
|
font-size: 1.4rem;
|
|
617
633
|
}
|
|
618
634
|
|
|
619
|
-
.textfield-about{
|
|
635
|
+
.textfield-about {
|
|
620
636
|
margin-bottom: 0.4rem;
|
|
621
637
|
color: #545454;
|
|
622
638
|
font-size: 1.4rem;
|
|
@@ -739,40 +755,39 @@ textarea:focus-visible,
|
|
|
739
755
|
width: 100%;
|
|
740
756
|
}
|
|
741
757
|
|
|
742
|
-
dl{
|
|
758
|
+
dl {
|
|
743
759
|
display: grid;
|
|
744
760
|
grid-template-columns: 50% 50%;
|
|
745
|
-
|
|
746
761
|
}
|
|
747
762
|
|
|
748
|
-
dt
|
|
763
|
+
dt,
|
|
764
|
+
dd {
|
|
749
765
|
padding: 16px 0px 4px 0px;
|
|
750
766
|
margin-inline-start: 0px;
|
|
751
|
-
border-bottom: 1px solid #
|
|
767
|
+
border-bottom: 1px solid #ddd;
|
|
752
768
|
line-height: 2.4rem;
|
|
753
769
|
margin: 0 !important;
|
|
754
770
|
width: 100% !important;
|
|
755
771
|
}
|
|
756
772
|
|
|
757
|
-
dt{
|
|
773
|
+
dt {
|
|
758
774
|
font-size: 1.6rem !important;
|
|
759
775
|
font-weight: 600 !important;
|
|
760
776
|
}
|
|
761
777
|
|
|
762
|
-
dd{
|
|
778
|
+
dd {
|
|
763
779
|
padding-left: 36px;
|
|
764
780
|
}
|
|
765
781
|
|
|
766
|
-
.preview-undefined{
|
|
767
|
-
display:none;
|
|
782
|
+
.preview-undefined {
|
|
783
|
+
display: none;
|
|
768
784
|
}
|
|
769
785
|
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
display:flex;
|
|
786
|
+
.pts-addFiles-preview {
|
|
787
|
+
display: flex;
|
|
773
788
|
}
|
|
774
789
|
|
|
775
|
-
.pts-addFiles-preview
|
|
790
|
+
.pts-addFiles-preview .no-answer-preview-page {
|
|
776
791
|
display: inline-block;
|
|
777
792
|
padding: 16px 0px 0px 8px;
|
|
778
793
|
text-align: center;
|
|
@@ -1908,8 +1923,6 @@ dd{
|
|
|
1908
1923
|
margin-bottom: 0px;
|
|
1909
1924
|
}
|
|
1910
1925
|
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
1926
|
/* preview */
|
|
1914
1927
|
|
|
1915
1928
|
/* .addFilesPreviewContainer {
|