mypgs 1.6.0 → 2.0.0
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/AGENTS.md +2 -2
- package/assets/javascript/components/_accordion.js +2 -2
- package/assets/javascript/components/_modals.js +159 -136
- package/assets/javascript/components/_notifications.js +19 -9
- package/assets/javascript/components/_search.js +2 -2
- package/assets/javascript/components/_slides.js +66 -32
- package/assets/javascript/components/_stepTabs.js +4 -4
- package/assets/javascript/components/_steps.js +2 -2
- package/assets/javascript/components/_summary.js +2 -2
- package/assets/javascript/functions/_formValidate.js +97 -53
- package/assets/javascript/functions/_scrollY.js +10 -10
- package/assets/javascript/layout/_header.js +3 -0
- package/assets/scss/base/_html.scss +2 -2
- package/assets/scss/base/_variables.scss +2 -2
- package/assets/scss/components/_form.scss +2 -2
- package/assets/scss/components/_notification.scss +23 -30
- package/assets/scss/components/_search.scss +27 -21
- package/assets/scss/layout/_pageShell.scss +18 -15
- package/assets/scss/mixin/_mx-form.scss +7 -7
- package/{templates/html → demo}/demo.html +1 -1
- package/demo/demo.js +240 -0
- package/dist/css/index.css +86 -92
- package/dist/css/index.css.map +1 -1
- package/dist/css/index.min.css +1 -1
- package/dist/javascript/index.js +356 -255
- package/dist/javascript/index.js.map +1 -1
- package/dist/javascript/index.min.js +1 -1
- package/docs/componenti-e-markup.md +26 -27
- package/docs/components/accordion.md +61 -0
- package/docs/components/badges.md +67 -0
- package/docs/components/breadcumbs.md +43 -0
- package/docs/components/button.md +59 -0
- package/docs/components/card.md +50 -0
- package/docs/components/dropdown.md +135 -0
- package/docs/components/form.md +113 -0
- package/docs/components/logo.md +36 -0
- package/docs/components/menu.md +90 -0
- package/docs/components/modal.md +131 -0
- package/docs/components/notification.md +81 -0
- package/docs/components/search.md +117 -0
- package/docs/components/slides.md +85 -0
- package/docs/components/stepTabs.md +93 -0
- package/docs/components/steps.md +56 -0
- package/docs/components/summary.md +49 -0
- package/docs/components/table.md +42 -0
- package/docs/components/tooltip.md +53 -0
- package/docs/helper-javascript.md +68 -3
- package/docs/layout/body.md +41 -0
- package/docs/layout/flex.md +116 -0
- package/docs/layout/footer.md +71 -0
- package/docs/layout/grid.md +116 -0
- package/docs/layout/header.md +116 -0
- package/docs/layout/pageShell.md +94 -0
- package/docs/layout/section.md +69 -0
- package/docs/patterns/cookieConsent.md +89 -0
- package/package.json +2 -1
- package/scripts/generate-component-docs.js +557 -0
- package/templates/html/components/accordion.html +33 -4
- package/templates/html/components/badges.html +23 -0
- package/templates/html/components/breadcumbs.html +14 -0
- package/templates/html/components/button.html +22 -0
- package/templates/html/components/card.html +20 -0
- package/templates/html/components/dropdown.html +34 -0
- package/templates/html/components/form.html +82 -4
- package/templates/html/components/logo.html +21 -0
- package/templates/html/components/menu.html +33 -6
- package/templates/html/components/modal.html +44 -0
- package/templates/html/components/notification.html +68 -32
- package/templates/html/components/search.html +76 -0
- package/templates/html/components/slides.html +43 -0
- package/templates/html/components/stepTabs.html +47 -0
- package/templates/html/components/steps.html +24 -0
- package/templates/html/components/summary.html +27 -0
- package/templates/html/components/table.html +12 -0
- package/templates/html/components/tooltip.html +35 -0
- package/templates/html/layout/body.html +20 -5
- package/templates/html/layout/flex.html +20 -0
- package/templates/html/layout/footer.html +29 -1
- package/templates/html/layout/grid.html +20 -0
- package/templates/html/layout/header.html +41 -0
- package/templates/html/layout/pageShell.html +19 -0
- package/templates/html/layout/section.html +32 -10
- package/templates/html/patterns/cookieConsent.html +31 -0
- package/templates/react/components/form.jsx +3 -3
- package/templates/react/components/notification.jsx +4 -4
- package/templates/react/patterns/footer.jsx +1 -1
- package/templates/html/demo.js +0 -130
- /package/{templates/html → demo}/demo.css +0 -0
package/dist/css/index.css
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/*!*****************************************************************************************************************!*\
|
|
2
2
|
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./assets/scss/index.scss ***!
|
|
3
3
|
\*****************************************************************************************************************/
|
|
4
|
-
@charset "UTF-8";
|
|
5
4
|
/*
|
|
6
5
|
|--------------------------------------------------------------------------
|
|
7
6
|
| Base
|
|
@@ -24,8 +23,8 @@
|
|
|
24
23
|
--text-shadow: 0px 0px 50px #000000;
|
|
25
24
|
--backdrop: #0000003e;
|
|
26
25
|
--blur: blur(20px);
|
|
27
|
-
--page-top: calc(var(--heightOfHeader) +
|
|
28
|
-
--page-topScroll: calc(var(--heightOfHeaderScroll) +
|
|
26
|
+
--page-top: calc(var(--heightOfHeader) + var(--heightOfHeader));
|
|
27
|
+
--page-topScroll: calc(var(--heightOfHeaderScroll) + var(--heightOfHeader));
|
|
29
28
|
--page-width: 1280px;
|
|
30
29
|
--page-space: clamp(var(--padding-page), calc((100% - var(--section-width)) / 2 + var(--padding-page)), 100%);
|
|
31
30
|
--gap-texts: 1.0rem;
|
|
@@ -107,14 +106,14 @@
|
|
|
107
106
|
margin: 0;
|
|
108
107
|
padding: 0;
|
|
109
108
|
box-sizing: border-box;
|
|
110
|
-
scroll-margin-top:
|
|
109
|
+
scroll-margin-top: var(--page-topScroll);
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
[pgs~=htmlBase] * {
|
|
114
113
|
margin: 0;
|
|
115
114
|
padding: 0;
|
|
116
115
|
box-sizing: border-box;
|
|
117
|
-
scroll-margin-top:
|
|
116
|
+
scroll-margin-top: var(--page-topScroll);
|
|
118
117
|
}
|
|
119
118
|
|
|
120
119
|
[pgs~=htmlBase]:root,
|
|
@@ -2139,9 +2138,12 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2139
2138
|
}
|
|
2140
2139
|
}
|
|
2141
2140
|
[pgs~=initP] [pgs~=pageShell] {
|
|
2142
|
-
--pageShell-
|
|
2141
|
+
--pageShell-width: calc(var(--pageShell-content-width) + (var(--padding-page) * 2));
|
|
2142
|
+
--pageShell-content-width: var(--page-width);
|
|
2143
2143
|
--pageShell-aside-width: 400px;
|
|
2144
|
-
--pageShell-
|
|
2144
|
+
--pageShell-aside-sticky-top: 0;
|
|
2145
|
+
--pageShell-paddingInline: var(--padding-page);
|
|
2146
|
+
--pageShell-paddingTop: var(--page-top);
|
|
2145
2147
|
--pageShell-gap: var(--gap-elements);
|
|
2146
2148
|
display: flex;
|
|
2147
2149
|
flex-wrap: wrap;
|
|
@@ -2150,17 +2152,17 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2150
2152
|
align-items: start;
|
|
2151
2153
|
justify-content: center;
|
|
2152
2154
|
width: 100%;
|
|
2153
|
-
max-width:
|
|
2154
|
-
padding-inline: var(--
|
|
2155
|
+
max-width: var(--pageShell-width);
|
|
2156
|
+
padding-inline: var(--pageShell-paddingInline);
|
|
2155
2157
|
container-type: inline-size;
|
|
2156
2158
|
}
|
|
2157
2159
|
[pgs~=initP] [pgs~=pageShell] [pgs~=pageShell-content] {
|
|
2158
2160
|
grid-area: content;
|
|
2159
|
-
flex: 999 1
|
|
2160
|
-
min-width: min(100%,
|
|
2161
|
-
width: min(100%, var(--
|
|
2162
|
-
max-width: var(--
|
|
2163
|
-
padding-top: var(--
|
|
2161
|
+
flex: 999 1 500px;
|
|
2162
|
+
min-width: min(100%, 500px);
|
|
2163
|
+
width: min(100%, var(--pageShell-content-width));
|
|
2164
|
+
max-width: var(--pageShell-content-width);
|
|
2165
|
+
padding-top: var(--pageShell-paddingTop);
|
|
2164
2166
|
padding-bottom: var(--gap-elements);
|
|
2165
2167
|
}
|
|
2166
2168
|
[pgs~=initP] [pgs~=pageShell] [pgs~=pageShell-aside] {
|
|
@@ -2178,7 +2180,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2178
2180
|
overscroll-behavior: contain;
|
|
2179
2181
|
scrollbar-gutter: stable;
|
|
2180
2182
|
scrollbar-width: none;
|
|
2181
|
-
padding-top: var(--
|
|
2183
|
+
padding-top: var(--pageShell-paddingTop);
|
|
2182
2184
|
padding-bottom: var(--gap-elements);
|
|
2183
2185
|
flex: 1 1 var(--pageShell-aside-width);
|
|
2184
2186
|
min-width: min(100%, var(--pageShell-aside-width));
|
|
@@ -2203,7 +2205,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2203
2205
|
overscroll-behavior: contain;
|
|
2204
2206
|
scrollbar-gutter: stable;
|
|
2205
2207
|
scrollbar-width: none;
|
|
2206
|
-
padding-top: var(--
|
|
2208
|
+
padding-top: var(--pageShell-paddingTop);
|
|
2207
2209
|
padding-bottom: calc(var(--gap-elements) * 2);
|
|
2208
2210
|
}
|
|
2209
2211
|
[pgs~=initP] [pgs~=pageShell] [pgs~=pageShell-aside] [pgs~=pageShell-aside-scroll]::-webkit-scrollbar {
|
|
@@ -2230,10 +2232,10 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2230
2232
|
grid-area: asideRight;
|
|
2231
2233
|
}
|
|
2232
2234
|
[pgs~=initP] [pgs~=pageShell]:has(> [pgs~=pageShell-aside]) {
|
|
2233
|
-
|
|
2235
|
+
--pageShell-width: calc(var(--pageShell-content-width) + var(--pageShell-aside-width) + var(--pageShell-gap) + (var(--padding-page) * 2));
|
|
2234
2236
|
}
|
|
2235
2237
|
[pgs~=initP] [pgs~=pageShell]:has(> [pgs~=pageShell-aside] ~ [pgs~=pageShell-aside]) {
|
|
2236
|
-
|
|
2238
|
+
--pageShell-width: calc(var(--pageShell-content-width) + (var(--pageShell-aside-width) * 2) + (var(--pageShell-gap) * 2) + (var(--padding-page) * 2));
|
|
2237
2239
|
}
|
|
2238
2240
|
@container (max-width: calc(400px + 500px + 4rem)) {
|
|
2239
2241
|
[pgs~=initP] [pgs~=pageShell]:has(> [pgs~=pageShell-aside]) [pgs~=pageShell-aside] {
|
|
@@ -2272,7 +2274,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2272
2274
|
@container (max-width: calc(400px + 500px + 400px + (4rem * 2))) {
|
|
2273
2275
|
[pgs~=initP] [pgs~=pageShell]:has(> [pgs~=pageShell-aside]):has(> [pgs~=pageShell-content] + [pgs~=pageShell-aside]) {
|
|
2274
2276
|
display: grid;
|
|
2275
|
-
grid-template-columns: var(--pageShell-aside-width) minmax(0, var(--
|
|
2277
|
+
grid-template-columns: var(--pageShell-aside-width) minmax(0, var(--pageShell-content-width));
|
|
2276
2278
|
grid-template-areas: "asideLeft content" "asideLeft asideRight";
|
|
2277
2279
|
justify-content: center;
|
|
2278
2280
|
}
|
|
@@ -2315,7 +2317,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
2315
2317
|
}
|
|
2316
2318
|
@container (max-width: 500px) {
|
|
2317
2319
|
[pgs~=initP] [pgs~=pageShell] {
|
|
2318
|
-
padding-top: var(--
|
|
2320
|
+
padding-top: var(--pageShell-paddingTop);
|
|
2319
2321
|
}
|
|
2320
2322
|
[pgs~=initP] [pgs~=pageShell] [pgs~=pageShell-content],
|
|
2321
2323
|
[pgs~=initP] [pgs~=pageShell] [pgs~=pageShell-aside] {
|
|
@@ -5021,22 +5023,22 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
5021
5023
|
background-color: var(--color-primary);
|
|
5022
5024
|
color: var(--color-white);
|
|
5023
5025
|
}
|
|
5024
|
-
[pgs~=initP] [pgs~=
|
|
5026
|
+
[pgs~=initP] [pgs~=formValidate][pgs-option~=error] [pgs-option~=error]:not([type=checkbox], [type=radio]) {
|
|
5025
5027
|
outline: solid 3px var(--color-error) !important;
|
|
5026
5028
|
}
|
|
5027
|
-
[pgs~=initP] [pgs~=
|
|
5028
|
-
content: "
|
|
5029
|
+
[pgs~=initP] [pgs~=formValidate][pgs-option~=error] [pgs-option~=error]:not([type=checkbox], [type=radio])::before {
|
|
5030
|
+
content: "This field is required";
|
|
5029
5031
|
color: var(--color-error);
|
|
5030
5032
|
font-weight: 500;
|
|
5031
5033
|
font-size: 1.7rem;
|
|
5032
5034
|
}
|
|
5033
|
-
[pgs~=initP] [pgs~=
|
|
5035
|
+
[pgs~=initP] [pgs~=formValidate][pgs-option~=error] label:has(+ [pgs-option~=error], [pgs-option~=error]):has(input[type=checkbox]) {
|
|
5034
5036
|
background-color: var(--color-error) !important;
|
|
5035
5037
|
padding: 6px;
|
|
5036
5038
|
margin-left: -6px;
|
|
5037
5039
|
border-radius: 10px;
|
|
5038
5040
|
}
|
|
5039
|
-
[pgs~=initP] [pgs~=
|
|
5041
|
+
[pgs~=initP] [pgs~=formValidate][pgs-option~=error] fieldset:has(input[type=radio][pgs-option~=error]) legend {
|
|
5040
5042
|
--label-background: var(--color-error) !important;
|
|
5041
5043
|
}
|
|
5042
5044
|
[pgs~=initP] [pgs~=menu] ul {
|
|
@@ -6346,8 +6348,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6346
6348
|
border-radius: 50%;
|
|
6347
6349
|
background: currentColor;
|
|
6348
6350
|
}
|
|
6349
|
-
[pgs~=initP] [pgs~=notification]
|
|
6350
|
-
[pgs~=initP] [pgs~=toast] {
|
|
6351
|
+
[pgs~=initP] [pgs~=notification] {
|
|
6351
6352
|
display: flex;
|
|
6352
6353
|
flex-direction: column;
|
|
6353
6354
|
gap: var(--gap-texts);
|
|
@@ -6357,8 +6358,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6357
6358
|
isolation: isolate;
|
|
6358
6359
|
max-height: 80vh;
|
|
6359
6360
|
}
|
|
6360
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]
|
|
6361
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] {
|
|
6361
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] {
|
|
6362
6362
|
--notification-background: var(--color-box);
|
|
6363
6363
|
--notification-background-timer: color-mix(in srgb, var(--color-box) 95%, var(--color-black) 5%);
|
|
6364
6364
|
--notification-color: unset;
|
|
@@ -6383,22 +6383,18 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6383
6383
|
position: relative;
|
|
6384
6384
|
}
|
|
6385
6385
|
@media (max-width: 430px) {
|
|
6386
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]
|
|
6387
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] {
|
|
6386
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] {
|
|
6388
6387
|
padding: calc(var(--padding) / 1.5);
|
|
6389
6388
|
}
|
|
6390
6389
|
}
|
|
6391
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] [pgs~=notification-element-title]
|
|
6392
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] [pgs~=notification-element-title] {
|
|
6390
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] [pgs~=notification-element-title] {
|
|
6393
6391
|
font-weight: 700;
|
|
6394
6392
|
}
|
|
6395
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] [pgs~=notification-element-content]
|
|
6396
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] [pgs~=notification-element-content] {
|
|
6393
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] [pgs~=notification-element-content] {
|
|
6397
6394
|
font-weight: 400;
|
|
6398
6395
|
font-size: 1.4rem;
|
|
6399
6396
|
}
|
|
6400
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]::before
|
|
6401
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element]::before {
|
|
6397
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]::before {
|
|
6402
6398
|
content: "";
|
|
6403
6399
|
width: 0%;
|
|
6404
6400
|
height: 100%;
|
|
@@ -6427,9 +6423,7 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6427
6423
|
}
|
|
6428
6424
|
}
|
|
6429
6425
|
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] p,
|
|
6430
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] > i
|
|
6431
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] p,
|
|
6432
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] > i {
|
|
6426
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] > i {
|
|
6433
6427
|
--fa-primary-color: var(--notification-shadow-color);
|
|
6434
6428
|
--fa-secondary-color: color-mix(in srgb, var(--notification-shadow-color) 50%, var(--color-white) 50%);
|
|
6435
6429
|
color: var(--notification-color);
|
|
@@ -6438,14 +6432,11 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6438
6432
|
line-height: unset;
|
|
6439
6433
|
}
|
|
6440
6434
|
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] p:is(i),
|
|
6441
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] > i:is(i)
|
|
6442
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] p:is(i),
|
|
6443
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] > i:is(i) {
|
|
6435
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] > i:is(i) {
|
|
6444
6436
|
color: var(--notification-shadow-color);
|
|
6445
6437
|
font-size: 2.5rem;
|
|
6446
6438
|
}
|
|
6447
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] button
|
|
6448
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] button {
|
|
6439
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] button {
|
|
6449
6440
|
opacity: 0;
|
|
6450
6441
|
position: absolute;
|
|
6451
6442
|
right: 2px;
|
|
@@ -6453,61 +6444,46 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6453
6444
|
scale: 0.75;
|
|
6454
6445
|
z-index: 1;
|
|
6455
6446
|
}
|
|
6456
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] button:focus
|
|
6457
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element] button:focus {
|
|
6447
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element] button:focus {
|
|
6458
6448
|
opacity: 1;
|
|
6459
6449
|
}
|
|
6460
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]:is(a)
|
|
6461
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element]:is(a) {
|
|
6450
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]:is(a) {
|
|
6462
6451
|
border-color: var(--color-primary-soft);
|
|
6463
6452
|
border: var(--border);
|
|
6464
6453
|
}
|
|
6465
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]:is(a):hover
|
|
6466
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element]:is(a):hover {
|
|
6454
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]:is(a):hover {
|
|
6467
6455
|
background-color: var(--color-white);
|
|
6468
6456
|
text-decoration: none;
|
|
6469
6457
|
color: var(--color-black);
|
|
6470
6458
|
}
|
|
6471
|
-
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]:focus-visible button, [pgs~=initP] [pgs~=notification] [pgs~=notification-element]:hover button
|
|
6472
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element]:focus-visible button,
|
|
6473
|
-
[pgs~=initP] [pgs~=toast] [pgs~=notification-element]:hover button {
|
|
6459
|
+
[pgs~=initP] [pgs~=notification] [pgs~=notification-element]:focus-visible button, [pgs~=initP] [pgs~=notification] [pgs~=notification-element]:hover button {
|
|
6474
6460
|
opacity: 1;
|
|
6475
6461
|
}
|
|
6476
|
-
[pgs~=initP] [pgs~=notification] [pgs-state~=success]
|
|
6477
|
-
[pgs~=initP] [pgs~=toast] [pgs-state~=success] {
|
|
6462
|
+
[pgs~=initP] [pgs~=notification] [pgs-state~=success] {
|
|
6478
6463
|
--notification-background: var(--color-success-background);
|
|
6479
6464
|
--notification-background-timer: color-mix(in srgb, var(--color-success-background) 70%, var(--color-white) 30%);
|
|
6480
6465
|
--notification-shadow-color: var(--color-success);
|
|
6481
6466
|
}
|
|
6482
|
-
[pgs~=initP] [pgs~=notification] [pgs-state~=error]
|
|
6483
|
-
[pgs~=initP] [pgs~=toast] [pgs-state~=error] {
|
|
6467
|
+
[pgs~=initP] [pgs~=notification] [pgs-state~=error] {
|
|
6484
6468
|
--notification-background: var(--color-error-background);
|
|
6485
6469
|
--notification-background-timer: color-mix(in srgb, var(--color-error-background) 70%, var(--color-white) 30%);
|
|
6486
6470
|
--notification-shadow-color: var(--color-error);
|
|
6487
6471
|
}
|
|
6488
|
-
[pgs~=initP] [pgs~=notification] [pgs-state~=warning]
|
|
6489
|
-
[pgs~=initP] [pgs~=toast] [pgs-state~=warning] {
|
|
6472
|
+
[pgs~=initP] [pgs~=notification] [pgs-state~=warning] {
|
|
6490
6473
|
--notification-background: var(--color-warning-background);
|
|
6491
6474
|
--notification-background-timer: color-mix(in srgb, var(--color-warning-background) 70%, var(--color-white) 30%);
|
|
6492
6475
|
--notification-shadow-color: var(--color-warning);
|
|
6493
6476
|
}
|
|
6494
|
-
[pgs~=initP] [pgs~=notification] [pgs-state~=info]
|
|
6495
|
-
[pgs~=initP] [pgs~=toast] [pgs-state~=info] {
|
|
6477
|
+
[pgs~=initP] [pgs~=notification] [pgs-state~=info] {
|
|
6496
6478
|
--notification-background: var(--color-box);
|
|
6497
6479
|
}
|
|
6498
|
-
[pgs~=initP] [pgs~=notification] {
|
|
6499
|
-
top: calc(var(--
|
|
6500
|
-
right:
|
|
6501
|
-
}
|
|
6502
|
-
[pgs~=initP] body:has(header[data-header-scroll=true]) [pgs~=notification] {
|
|
6503
|
-
top: 0;
|
|
6480
|
+
[pgs~=initP] [pgs~=notification]:not([pgs-option~=toast]) {
|
|
6481
|
+
top: calc(var(--heightOfHeaderScroll) + 1rem);
|
|
6482
|
+
right: 1rem;
|
|
6504
6483
|
}
|
|
6505
|
-
[pgs~=initP] [pgs~=toast] {
|
|
6484
|
+
[pgs~=initP] [pgs~=notification][pgs-option~=toast] {
|
|
6506
6485
|
inset-inline: 0;
|
|
6507
|
-
top: calc(var(--
|
|
6508
|
-
}
|
|
6509
|
-
[pgs~=initP] body:has(header[data-header-scroll=true]) [pgs~=toast] {
|
|
6510
|
-
top: 10px;
|
|
6486
|
+
top: calc(var(--heightOfHeaderScroll) + 1rem);
|
|
6511
6487
|
}
|
|
6512
6488
|
[pgs~=initP] [pgs~=tooltip][pgs~=dropdown] {
|
|
6513
6489
|
--dropdown-position-right: center;
|
|
@@ -6522,9 +6498,9 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6522
6498
|
--search-suggestions-color: var(--color-text);
|
|
6523
6499
|
--search-suggestions-border: var(--border-complete);
|
|
6524
6500
|
--search-suggestions-borderRadius: var(--border-radius-input);
|
|
6525
|
-
--search-suggestions-
|
|
6501
|
+
--search-suggestions-boxShadow: var(--box-shadow);
|
|
6526
6502
|
--search-suggestions-gap: 0;
|
|
6527
|
-
--search-suggestions-
|
|
6503
|
+
--search-suggestions-maxHeight: 32rem;
|
|
6528
6504
|
--search-suggestions-offset: .5rem;
|
|
6529
6505
|
--search-suggestions-padding: .5rem;
|
|
6530
6506
|
--search-suggestions-item-padding: 1rem;
|
|
@@ -6535,15 +6511,15 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6535
6511
|
gap: var(--gap-texts);
|
|
6536
6512
|
flex-direction: row;
|
|
6537
6513
|
flex-wrap: nowrap;
|
|
6514
|
+
--button-size: 1.2rem;
|
|
6515
|
+
--button-border: unset;
|
|
6516
|
+
overflow-wrap: break-word;
|
|
6517
|
+
height: calc(var(--button-size) * 4);
|
|
6538
6518
|
flex: 1;
|
|
6539
6519
|
width: 100%;
|
|
6540
6520
|
overflow: visible;
|
|
6541
6521
|
margin-inline: auto;
|
|
6542
6522
|
padding: 0;
|
|
6543
|
-
--button-size: 1.2rem;
|
|
6544
|
-
--button-border: unset;
|
|
6545
|
-
overflow-wrap: break-word;
|
|
6546
|
-
height: calc(var(--button-size) * 4);
|
|
6547
6523
|
}
|
|
6548
6524
|
@media (min-width: 430px) {
|
|
6549
6525
|
[pgs~=initP] [pgs~=search] {
|
|
@@ -6586,51 +6562,69 @@ body [pgs~=bodyImg] img, [pgs~=bodyImg] object, [pgs~=bodyImg] lottie-player {
|
|
|
6586
6562
|
[pgs~=initP] [pgs~=search]:has(input:focus-visible) {
|
|
6587
6563
|
outline: var(--focus-visible);
|
|
6588
6564
|
}
|
|
6589
|
-
[pgs~=initP] [pgs~=search]
|
|
6565
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions] {
|
|
6590
6566
|
display: none;
|
|
6591
|
-
}
|
|
6592
|
-
[pgs~=initP] [pgs~=search][pgs-state~=open] > [pgs~=search-suggestions] {
|
|
6593
|
-
display: flex;
|
|
6594
|
-
}
|
|
6595
|
-
[pgs~=initP] [pgs~=search] > [pgs~=search-suggestions] {
|
|
6596
6567
|
position: absolute;
|
|
6597
6568
|
inset: calc(100% + var(--search-suggestions-offset)) 0 auto;
|
|
6598
6569
|
z-index: 1000;
|
|
6599
6570
|
flex-direction: column;
|
|
6600
6571
|
gap: var(--search-suggestions-gap);
|
|
6601
|
-
max-height: var(--search-suggestions-
|
|
6572
|
+
max-height: var(--search-suggestions-maxHeight);
|
|
6602
6573
|
overflow-y: auto;
|
|
6603
6574
|
padding: var(--search-suggestions-padding);
|
|
6604
6575
|
margin: 0;
|
|
6605
6576
|
list-style: none;
|
|
6606
6577
|
border: var(--search-suggestions-border);
|
|
6607
6578
|
border-radius: calc(var(--search-suggestions-borderRadius) + var(--search-suggestions-padding));
|
|
6579
|
+
box-shadow: var(--search-suggestions-boxShadow);
|
|
6608
6580
|
background: var(--search-suggestions-background);
|
|
6609
6581
|
color: var(--search-suggestions-color);
|
|
6610
|
-
box-shadow: var(--search-suggestions-box-shadow);
|
|
6611
6582
|
}
|
|
6612
|
-
[pgs~=initP] [pgs~=search]
|
|
6583
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions] i {
|
|
6584
|
+
color: var(--search-suggestions-color);
|
|
6585
|
+
--fa-primary-color: var(--search-suggestions-color);
|
|
6586
|
+
--fa-secondary-color: var(--search-suggestions-color);
|
|
6587
|
+
}
|
|
6588
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions] [pgs~=search-suggestions-item] {
|
|
6613
6589
|
padding: var(--search-suggestions-item-padding);
|
|
6614
6590
|
border-radius: var(--search-suggestions-borderRadius);
|
|
6615
6591
|
cursor: pointer;
|
|
6616
6592
|
flex-wrap: nowrap;
|
|
6617
6593
|
}
|
|
6618
|
-
[pgs~=initP] [pgs~=search]
|
|
6594
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions] [pgs~=search-suggestions-item][aria-selected=true], [pgs~=initP] [pgs~=search] [pgs~=search-suggestions] [pgs~=search-suggestions-item]:hover {
|
|
6619
6595
|
background: var(--search-suggestions-item-selected-background);
|
|
6620
6596
|
color: var(--search-suggestions-item-selected-color);
|
|
6621
6597
|
}
|
|
6622
|
-
[pgs~=initP] [pgs~=search]
|
|
6598
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions] [pgs~=search-suggestions-item][aria-selected=true] i, [pgs~=initP] [pgs~=search] [pgs~=search-suggestions] [pgs~=search-suggestions-item]:hover i {
|
|
6599
|
+
color: var(--search-suggestions-item-selected-color);
|
|
6600
|
+
--fa-primary-color: var(--search-suggestions-item-selected-color);
|
|
6601
|
+
--fa-secondary-color: var(--search-suggestions-item-selected-color);
|
|
6602
|
+
}
|
|
6603
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions] [pgs~=search-suggestions-item][aria-disabled=true] {
|
|
6623
6604
|
cursor: not-allowed;
|
|
6624
6605
|
opacity: 0.5;
|
|
6625
6606
|
}
|
|
6626
|
-
[pgs~=initP] [pgs~=search]
|
|
6607
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions]:has([pgs~=search-suggestions-item]:hover) [pgs~=search-suggestions-item][aria-selected=true] {
|
|
6627
6608
|
background: var(--search-suggestions-background);
|
|
6628
6609
|
color: var(--search-suggestions-color);
|
|
6629
6610
|
}
|
|
6630
|
-
[pgs~=initP] [pgs~=search]
|
|
6611
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions]:has([pgs~=search-suggestions-item]:hover) [pgs~=search-suggestions-item][aria-selected=true] i {
|
|
6612
|
+
color: var(--search-suggestions-color);
|
|
6613
|
+
--fa-primary-color: var(--search-suggestions-color);
|
|
6614
|
+
--fa-secondary-color: var(--search-suggestions-color);
|
|
6615
|
+
}
|
|
6616
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions]:has([pgs~=search-suggestions-item]:hover) [pgs~=search-suggestions-item][aria-selected=true]:hover {
|
|
6631
6617
|
background: var(--search-suggestions-item-selected-background);
|
|
6632
6618
|
color: var(--search-suggestions-item-selected-color);
|
|
6633
6619
|
}
|
|
6620
|
+
[pgs~=initP] [pgs~=search] [pgs~=search-suggestions]:has([pgs~=search-suggestions-item]:hover) [pgs~=search-suggestions-item][aria-selected=true]:hover i {
|
|
6621
|
+
color: var(--search-suggestions-item-selected-color);
|
|
6622
|
+
--fa-primary-color: var(--search-suggestions-item-selected-color);
|
|
6623
|
+
--fa-secondary-color: var(--search-suggestions-item-selected-color);
|
|
6624
|
+
}
|
|
6625
|
+
[pgs~=initP] [pgs~=search][pgs-state~=open] [pgs~=search-suggestions] {
|
|
6626
|
+
display: flex;
|
|
6627
|
+
}
|
|
6634
6628
|
[pgs~=initP] dialog [pgs~=search] {
|
|
6635
6629
|
max-width: calc(100% - var(--padding-page) * 2);
|
|
6636
6630
|
height: max-content;
|