optimized-react-component-library-xyz123 0.1.78 → 0.1.81
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 +842 -0
- package/dist/index.js +233 -153
- package/dist/index.mjs +295 -215
- package/package.json +1 -1
- package/src/css/darkMode.css +1 -25
- package/src/css/styles.css +62 -57
package/package.json
CHANGED
package/src/css/darkMode.css
CHANGED
|
@@ -34,14 +34,6 @@
|
|
|
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
|
-
|
|
45
37
|
.pts-cookieBanner-Links svg rect{
|
|
46
38
|
fill:var(--dark-action);
|
|
47
39
|
}
|
|
@@ -76,8 +68,7 @@
|
|
|
76
68
|
|
|
77
69
|
/*-----------QUESTIONS--------------*/
|
|
78
70
|
|
|
79
|
-
.pts-root-about
|
|
80
|
-
.pts-about {
|
|
71
|
+
.pts-root-about {
|
|
81
72
|
color: var(--dark-info);
|
|
82
73
|
}
|
|
83
74
|
|
|
@@ -129,21 +120,6 @@
|
|
|
129
120
|
|
|
130
121
|
/* ---------- SERVICE HEADLINE AND BODY ---------- */
|
|
131
122
|
|
|
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
|
-
|
|
147
123
|
.pts-moreinfo-list a {
|
|
148
124
|
color: var(--dark-action);
|
|
149
125
|
}
|
package/src/css/styles.css
CHANGED
|
@@ -74,26 +74,6 @@ section {
|
|
|
74
74
|
margin-left: 0.8rem;
|
|
75
75
|
margin-right: 0.8rem;
|
|
76
76
|
}
|
|
77
|
-
/* ?? Make changes in html ?? ----
|
|
78
|
-
.pts-button{
|
|
79
|
-
background-color: #6e3282;
|
|
80
|
-
border: 2px solid #6e3282;
|
|
81
|
-
color: #ffffff;
|
|
82
|
-
padding: 8px 20px;
|
|
83
|
-
border-radius: 8px;
|
|
84
|
-
font-size: 16px;
|
|
85
|
-
cursor: pointer;
|
|
86
|
-
margin-left: 1.6rem;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.pts-button:focus,
|
|
90
|
-
.pts-button:hover{
|
|
91
|
-
background-color: #ffffff;
|
|
92
|
-
border: 2px solid #6e3282;
|
|
93
|
-
color: #6e3282;
|
|
94
|
-
transition: 0.2s;
|
|
95
|
-
}
|
|
96
|
-
--- ?? Make changes in html ?? */
|
|
97
77
|
|
|
98
78
|
.pts-first-category-section {
|
|
99
79
|
padding-top: 0;
|
|
@@ -138,7 +118,7 @@ fieldset {
|
|
|
138
118
|
margin-bottom: 3.6rem;
|
|
139
119
|
}
|
|
140
120
|
|
|
141
|
-
.pts-root-question legend
|
|
121
|
+
.pts-root-question legend{
|
|
142
122
|
font-family: Arial;
|
|
143
123
|
font-size: 1.6rem;
|
|
144
124
|
font-style: normal;
|
|
@@ -146,6 +126,7 @@ fieldset {
|
|
|
146
126
|
line-height: 20px;
|
|
147
127
|
}
|
|
148
128
|
|
|
129
|
+
|
|
149
130
|
.pts-root-question legend,
|
|
150
131
|
.pts-root-question label,
|
|
151
132
|
.pts-radio-option {
|
|
@@ -245,7 +226,7 @@ textarea:focus-visible,
|
|
|
245
226
|
height: 4.8rem;
|
|
246
227
|
}
|
|
247
228
|
|
|
248
|
-
/* ----------
|
|
229
|
+
/* ---------- SCOOKIE BANNER ---------- */
|
|
249
230
|
|
|
250
231
|
.pts-cookieBanner {
|
|
251
232
|
position: relative;
|
|
@@ -267,12 +248,24 @@ textarea:focus-visible,
|
|
|
267
248
|
margin: 1.6rem 0;
|
|
268
249
|
}
|
|
269
250
|
|
|
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
|
+
|
|
270
260
|
.pts-cookieBanner p {
|
|
271
|
-
|
|
261
|
+
font-family: Arial, sans-serif;
|
|
262
|
+
font-size: 1.6rem;
|
|
263
|
+
font-weight: 400;
|
|
264
|
+
line-height: 24px;
|
|
272
265
|
margin: 0 0 15px 0;
|
|
273
|
-
|
|
266
|
+
text-align: left;
|
|
274
267
|
}
|
|
275
|
-
.pts-cookieBanner-Links
|
|
268
|
+
.pts-cookieBanner-Links{
|
|
276
269
|
margin-bottom: 1.6rem;
|
|
277
270
|
}
|
|
278
271
|
|
|
@@ -285,31 +278,41 @@ textarea:focus-visible,
|
|
|
285
278
|
padding: 0.8rem 2rem;
|
|
286
279
|
}
|
|
287
280
|
|
|
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
|
+
|
|
288
304
|
/* Button styles */
|
|
289
305
|
.pts-cookieBanner button {
|
|
290
306
|
min-width: 140px;
|
|
291
307
|
text-align: center;
|
|
308
|
+
font-family: Arial, sans-serif;
|
|
292
309
|
font-size: 1.4rem;
|
|
293
310
|
padding: 8px 15px;
|
|
311
|
+
border-radius: 4px;
|
|
294
312
|
background-color: #6e3282;
|
|
295
|
-
border:
|
|
313
|
+
border-color: #6e3282;
|
|
296
314
|
color: white;
|
|
297
315
|
cursor: pointer;
|
|
298
|
-
border-radius: 8px;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
.pts-cookieBanner button:focus,
|
|
302
|
-
.pts-cookieBanner button:hover{
|
|
303
|
-
background-color: #eaf1f9;
|
|
304
|
-
border: 2px solid #6e3282;
|
|
305
|
-
color: #6e3282;
|
|
306
|
-
transition: 0.2s;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.pts-cookieBanner a {
|
|
310
|
-
padding-left: 10px;
|
|
311
|
-
position: relative;
|
|
312
|
-
top: -0.7rem;
|
|
313
316
|
}
|
|
314
317
|
|
|
315
318
|
/* ---------- SERVICE HEADLINE AND BODY ---------- */
|
|
@@ -326,8 +329,7 @@ textarea:focus-visible,
|
|
|
326
329
|
margin-bottom: 2.8rem;
|
|
327
330
|
}
|
|
328
331
|
|
|
329
|
-
.pts-
|
|
330
|
-
.MoreInfoIcon svg{
|
|
332
|
+
.pts-main-service-headline a svg{
|
|
331
333
|
width: 1.6rem;
|
|
332
334
|
height: 1.6rem;
|
|
333
335
|
background-color: #6e3282;
|
|
@@ -337,8 +339,7 @@ textarea:focus-visible,
|
|
|
337
339
|
margin-right: 1.6rem;
|
|
338
340
|
}
|
|
339
341
|
|
|
340
|
-
.pts-
|
|
341
|
-
.MoreInfoIcon svg path{
|
|
342
|
+
.pts-main-service-headline a svg path{
|
|
342
343
|
fill:#ffffff;
|
|
343
344
|
}
|
|
344
345
|
|
|
@@ -605,6 +606,7 @@ textarea:focus-visible,
|
|
|
605
606
|
/* ---------- TEXTFIELD / TEXTAREA ABOUT ---------- */
|
|
606
607
|
|
|
607
608
|
.pts-question-hasAbout label {
|
|
609
|
+
margin-bottom: 0rem;
|
|
608
610
|
line-height: 0.4rem;
|
|
609
611
|
}
|
|
610
612
|
|
|
@@ -614,7 +616,7 @@ textarea:focus-visible,
|
|
|
614
616
|
font-size: 1.4rem;
|
|
615
617
|
}
|
|
616
618
|
|
|
617
|
-
.textfield-about
|
|
619
|
+
.textfield-about{
|
|
618
620
|
margin-bottom: 0.4rem;
|
|
619
621
|
color: #545454;
|
|
620
622
|
font-size: 1.4rem;
|
|
@@ -737,39 +739,40 @@ textarea:focus-visible,
|
|
|
737
739
|
width: 100%;
|
|
738
740
|
}
|
|
739
741
|
|
|
740
|
-
dl
|
|
742
|
+
dl{
|
|
741
743
|
display: grid;
|
|
742
744
|
grid-template-columns: 50% 50%;
|
|
745
|
+
|
|
743
746
|
}
|
|
744
747
|
|
|
745
|
-
dt,
|
|
746
|
-
dd {
|
|
748
|
+
dt , dd{
|
|
747
749
|
padding: 16px 0px 4px 0px;
|
|
748
750
|
margin-inline-start: 0px;
|
|
749
|
-
border-bottom: 1px solid #
|
|
751
|
+
border-bottom: 1px solid #DDD;
|
|
750
752
|
line-height: 2.4rem;
|
|
751
753
|
margin: 0 !important;
|
|
752
754
|
width: 100% !important;
|
|
753
755
|
}
|
|
754
756
|
|
|
755
|
-
dt
|
|
757
|
+
dt{
|
|
756
758
|
font-size: 1.6rem !important;
|
|
757
759
|
font-weight: 600 !important;
|
|
758
760
|
}
|
|
759
761
|
|
|
760
|
-
dd
|
|
762
|
+
dd{
|
|
761
763
|
padding-left: 36px;
|
|
762
764
|
}
|
|
763
765
|
|
|
764
|
-
.preview-undefined
|
|
765
|
-
display:
|
|
766
|
+
.preview-undefined{
|
|
767
|
+
display:none;
|
|
766
768
|
}
|
|
767
769
|
|
|
768
|
-
|
|
769
|
-
|
|
770
|
+
|
|
771
|
+
.pts-addFiles-preview{
|
|
772
|
+
display:flex;
|
|
770
773
|
}
|
|
771
774
|
|
|
772
|
-
.pts-addFiles-preview
|
|
775
|
+
.pts-addFiles-preview .no-answer-preview-page{
|
|
773
776
|
display: inline-block;
|
|
774
777
|
padding: 16px 0px 0px 8px;
|
|
775
778
|
text-align: center;
|
|
@@ -1905,6 +1908,8 @@ dd {
|
|
|
1905
1908
|
margin-bottom: 0px;
|
|
1906
1909
|
}
|
|
1907
1910
|
|
|
1911
|
+
|
|
1912
|
+
|
|
1908
1913
|
/* preview */
|
|
1909
1914
|
|
|
1910
1915
|
/* .addFilesPreviewContainer {
|