@posiwise/core-styles 1.0.6 → 1.0.8
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/scss/shared/_prime-ng.scss +27 -2
package/package.json
CHANGED
|
@@ -2243,7 +2243,7 @@ body {
|
|
|
2243
2243
|
|
|
2244
2244
|
&:not(.p-accordionpanel-active):not(.p-disabled) {
|
|
2245
2245
|
> .p-accordionheader:hover {
|
|
2246
|
-
border: 1px solid $
|
|
2246
|
+
border: 1px solid $ng-gray;
|
|
2247
2247
|
color: $font-color-main;
|
|
2248
2248
|
|
|
2249
2249
|
.p-accordionheader-toggle-icon {
|
|
@@ -2270,23 +2270,48 @@ body {
|
|
|
2270
2270
|
color: rgb(255 255 255);
|
|
2271
2271
|
}
|
|
2272
2272
|
}
|
|
2273
|
+
|
|
2274
|
+
> .p-accordioncontent {
|
|
2275
|
+
max-height: 9999px !important;
|
|
2276
|
+
overflow: visible !important;
|
|
2277
|
+
}
|
|
2273
2278
|
}
|
|
2274
2279
|
}
|
|
2275
2280
|
|
|
2281
|
+
.p-accordioncontent {
|
|
2282
|
+
max-height: 0 !important;
|
|
2283
|
+
overflow: hidden !important;
|
|
2284
|
+
transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2276
2287
|
.p-accordioncontent-content {
|
|
2277
2288
|
background-color: rgb(255 255 255);
|
|
2278
2289
|
border: 1px solid $ng-gray;
|
|
2279
2290
|
color: $font-color-main;
|
|
2280
2291
|
padding: 1.171em 1em;
|
|
2292
|
+
box-sizing: border-box;
|
|
2281
2293
|
}
|
|
2294
|
+
|
|
2282
2295
|
}
|
|
2283
2296
|
|
|
2284
|
-
/* PrimeNG 19 Accordion -
|
|
2297
|
+
/* PrimeNG 19 Accordion - icon then label on the left, rest of space empty (match design) */
|
|
2285
2298
|
.p-accordionheader {
|
|
2286
2299
|
color: var(--tabs_bg) !important;
|
|
2300
|
+
gap: 1.125rem;
|
|
2301
|
+
display: flex !important;
|
|
2302
|
+
flex-direction: row-reverse !important;
|
|
2303
|
+
align-items: center !important;
|
|
2304
|
+
justify-content: flex-end !important; /* in row-reverse: pack icon+label to the left */
|
|
2305
|
+
|
|
2306
|
+
/* Label/content: do not grow – stay next to icon so layout is [icon][Apple][empty space] */
|
|
2307
|
+
> *:not(.p-accordionheader-toggle-icon) {
|
|
2308
|
+
flex: 0 1 auto !important;
|
|
2309
|
+
}
|
|
2287
2310
|
|
|
2288
2311
|
.p-accordionheader-toggle-icon {
|
|
2289
2312
|
color: var(--tabs_bg) !important;
|
|
2313
|
+
margin-left: 0;
|
|
2314
|
+
margin-right: 6px; /* Small distinct gap between icon and label per design */
|
|
2290
2315
|
}
|
|
2291
2316
|
}
|
|
2292
2317
|
|