optimized-react-component-library-xyz123 0.1.77 → 0.1.78
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/package.json +1 -1
- package/src/css/darkMode.css +8 -0
- package/src/css/styles.css +39 -42
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
|
}
|
package/src/css/styles.css
CHANGED
|
@@ -74,6 +74,26 @@ 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 ?? */
|
|
77
97
|
|
|
78
98
|
.pts-first-category-section {
|
|
79
99
|
padding-top: 0;
|
|
@@ -225,7 +245,7 @@ textarea:focus-visible,
|
|
|
225
245
|
height: 4.8rem;
|
|
226
246
|
}
|
|
227
247
|
|
|
228
|
-
/* ----------
|
|
248
|
+
/* ---------- COOKIE BANNER ---------- */
|
|
229
249
|
|
|
230
250
|
.pts-cookieBanner {
|
|
231
251
|
position: relative;
|
|
@@ -247,22 +267,10 @@ textarea:focus-visible,
|
|
|
247
267
|
margin: 1.6rem 0;
|
|
248
268
|
}
|
|
249
269
|
|
|
250
|
-
.pts-cookieBanner h3 {
|
|
251
|
-
font-family: Arial, sans-serif;
|
|
252
|
-
font-size: 1.6rem;
|
|
253
|
-
font-weight: 700;
|
|
254
|
-
line-height: 21px;
|
|
255
|
-
margin: 0 0 10px 0;
|
|
256
|
-
text-align: left;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
270
|
.pts-cookieBanner p {
|
|
260
|
-
|
|
261
|
-
font-size: 1.6rem;
|
|
262
|
-
font-weight: 400;
|
|
263
|
-
line-height: 24px;
|
|
271
|
+
line-height: 2.4rem;
|
|
264
272
|
margin: 0 0 15px 0;
|
|
265
|
-
|
|
273
|
+
|
|
266
274
|
}
|
|
267
275
|
.pts-cookieBanner-Links {
|
|
268
276
|
margin-bottom: 1.6rem;
|
|
@@ -277,42 +285,31 @@ textarea:focus-visible,
|
|
|
277
285
|
padding: 0.8rem 2rem;
|
|
278
286
|
}
|
|
279
287
|
|
|
280
|
-
.pts-cookieBanner button {
|
|
281
|
-
border-radius: 8px;
|
|
282
|
-
display: flex;
|
|
283
|
-
gap: 10px;
|
|
284
|
-
justify-content: flex-end; /* Always justify buttons to the end/right */
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.pts-cookieBanner a {
|
|
288
|
-
padding-left: 10px;
|
|
289
|
-
font-family: Arial, sans-serif;
|
|
290
|
-
font-size: 1.6rem;
|
|
291
|
-
font-weight: 400;
|
|
292
|
-
line-height: 24px;
|
|
293
|
-
color: #6e3282;
|
|
294
|
-
text-decoration: none;
|
|
295
|
-
position: relative;
|
|
296
|
-
top: -0.7rem;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.pts-cookieBanner a:hover {
|
|
300
|
-
text-decoration: underline;
|
|
301
|
-
}
|
|
302
|
-
|
|
303
288
|
/* Button styles */
|
|
304
289
|
.pts-cookieBanner button {
|
|
305
290
|
min-width: 140px;
|
|
306
291
|
text-align: center;
|
|
307
|
-
font-family: Arial, sans-serif;
|
|
308
292
|
font-size: 1.4rem;
|
|
309
293
|
padding: 8px 15px;
|
|
310
|
-
border-radius: 4px;
|
|
311
294
|
background-color: #6e3282;
|
|
312
|
-
border
|
|
295
|
+
border: 2px solid #6e3282;
|
|
313
296
|
color: white;
|
|
314
297
|
cursor: pointer;
|
|
315
|
-
border-
|
|
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;
|
|
316
313
|
}
|
|
317
314
|
|
|
318
315
|
/* ---------- SERVICE HEADLINE AND BODY ---------- */
|