@patternfly/react-styles 6.0.0-alpha.1 → 6.0.0-alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +48 -0
- package/README.md +1 -1
- package/css/assets/images/PF-Backdrop.svg +1 -0
- package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/css/assets/images/PF-IconLogo.svg +17 -0
- package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/css/assets/images/pf_logo_white.hbs +35 -0
- package/css/assets/images/pf_logo_white.svg +38 -0
- package/css/components/AboutModalBox/about-modal-box.css +59 -98
- package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
- package/css/components/AboutModalBox/about-modal-box.js +1 -2
- package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
- package/css/components/Accordion/accordion.css +85 -177
- package/css/components/Accordion/accordion.d.ts +3 -2
- package/css/components/Accordion/accordion.js +3 -2
- package/css/components/Accordion/accordion.mjs +3 -2
- package/css/components/Alert/alert-group.css +20 -16
- package/css/components/Alert/alert.css +57 -84
- package/css/components/Alert/alert.d.ts +1 -2
- package/css/components/Alert/alert.js +1 -2
- package/css/components/Alert/alert.mjs +1 -2
- package/css/components/BackToTop/back-to-top.css +17 -15
- package/css/components/Badge/badge.css +23 -15
- package/css/components/Badge/badge.d.ts +2 -2
- package/css/components/Badge/badge.js +2 -2
- package/css/components/Badge/badge.mjs +2 -2
- package/css/components/Banner/banner.css +86 -64
- package/css/components/Banner/banner.d.ts +11 -4
- package/css/components/Banner/banner.js +11 -4
- package/css/components/Banner/banner.mjs +11 -4
- package/css/components/Button/button.css +142 -179
- package/css/components/Button/button.d.ts +1 -2
- package/css/components/Button/button.js +1 -2
- package/css/components/Button/button.mjs +1 -2
- package/css/components/Check/check.css +10 -8
- package/css/components/Content/content.css +67 -67
- package/css/components/Drawer/drawer.css +0 -1
- package/css/components/Dropdown/dropdown.css +1 -3
- package/css/components/Dropdown/dropdown.d.ts +0 -1
- package/css/components/Dropdown/dropdown.js +0 -1
- package/css/components/Dropdown/dropdown.mjs +0 -1
- package/css/components/ExpandableSection/expandable-section.css +64 -55
- package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
- package/css/components/ExpandableSection/expandable-section.js +1 -3
- package/css/components/ExpandableSection/expandable-section.mjs +1 -3
- package/css/components/Hint/hint.css +28 -21
- package/css/components/Hint/hint.d.ts +1 -2
- package/css/components/Hint/hint.js +1 -2
- package/css/components/Hint/hint.mjs +1 -2
- package/css/components/List/list.css +16 -16
- package/css/components/Login/login.css +70 -97
- package/css/components/Login/login.d.ts +0 -2
- package/css/components/Login/login.js +0 -2
- package/css/components/Login/login.mjs +0 -2
- package/css/components/Masthead/masthead.css +49 -103
- package/css/components/Masthead/masthead.d.ts +1 -6
- package/css/components/Masthead/masthead.js +1 -6
- package/css/components/Masthead/masthead.mjs +1 -6
- package/css/components/Menu/menu.css +3 -0
- package/css/components/Menu/menu.d.ts +1 -0
- package/css/components/Menu/menu.js +1 -0
- package/css/components/Menu/menu.mjs +1 -0
- package/css/components/MenuToggle/menu-toggle.css +57 -80
- package/css/components/ModalBox/modal-box.css +59 -52
- package/css/components/ModalBox/modal-box.d.ts +1 -2
- package/css/components/ModalBox/modal-box.js +1 -2
- package/css/components/ModalBox/modal-box.mjs +1 -2
- package/css/components/Nav/nav.css +42 -40
- package/css/components/NotificationBadge/notification-badge.css +56 -81
- package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
- package/css/components/NotificationBadge/notification-badge.js +1 -5
- package/css/components/NotificationBadge/notification-badge.mjs +1 -5
- package/css/components/Page/page.css +112 -209
- package/css/components/Page/page.d.ts +5 -12
- package/css/components/Page/page.js +5 -12
- package/css/components/Page/page.mjs +5 -12
- package/css/components/Popover/popover.css +42 -51
- package/css/components/Popover/popover.d.ts +1 -2
- package/css/components/Popover/popover.js +1 -2
- package/css/components/Popover/popover.mjs +1 -2
- package/css/components/Radio/radio.css +13 -10
- package/css/components/SkipToContent/skip-to-content.css +6 -3
- package/css/components/Switch/switch.css +1 -1
- package/css/components/Table/table-grid.css +8 -8
- package/css/components/Table/table.css +85 -90
- package/css/components/Table/table.d.ts +2 -0
- package/css/components/Table/table.js +2 -0
- package/css/components/Table/table.mjs +2 -0
- package/css/components/Title/title.css +70 -19
- package/css/components/Title/title.d.ts +7 -1
- package/css/components/Title/title.js +7 -1
- package/css/components/Title/title.mjs +7 -1
- package/css/components/Toolbar/toolbar.css +13 -3
- package/css/components/Toolbar/toolbar.d.ts +1 -0
- package/css/components/Toolbar/toolbar.js +1 -0
- package/css/components/Toolbar/toolbar.mjs +1 -0
- package/css/components/Tooltip/tooltip.css +16 -16
- package/css/components/Tooltip/tooltip.d.ts +0 -1
- package/css/components/Tooltip/tooltip.js +0 -1
- package/css/components/Tooltip/tooltip.mjs +0 -1
- package/css/docs/components/Brand/examples/Brand.css +12 -0
- package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
- package/css/docs/components/Brand/examples/Brand.js +11 -0
- package/css/docs/components/Brand/examples/Brand.mjs +9 -0
- package/css/docs/components/Nav/examples/Navigation.css +2 -1
- package/css/docs/components/Page/examples/Page.css +0 -8
- package/css/docs/components/Page/examples/Page.d.ts +0 -7
- package/css/docs/components/Page/examples/Page.js +0 -7
- package/css/docs/components/Page/examples/Page.mjs +0 -7
- package/css/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
- package/package.json +3 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -1,145 +1,99 @@
|
|
1
|
-
|
2
|
-
--pf-v5-
|
3
|
-
--pf-v5-
|
4
|
-
--pf-v5-
|
5
|
-
--pf-v5-
|
6
|
-
--pf-v5-
|
7
|
-
--pf-v5-
|
8
|
-
--pf-v5-
|
9
|
-
--pf-v5-
|
10
|
-
--pf-v5-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
--pf-v5-c-
|
15
|
-
--pf-v5-c-
|
16
|
-
--pf-v5-c-accordion__toggle--
|
17
|
-
--pf-v5-c-accordion__toggle--
|
18
|
-
--pf-v5-c-accordion__toggle--
|
19
|
-
--pf-v5-c-accordion__toggle--before--Top: 0;
|
20
|
-
--pf-v5-c-accordion__toggle--after--Top: 0;
|
21
|
-
--pf-v5-c-accordion__toggle--after--BackgroundColor: transparent;
|
22
|
-
--pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
|
23
|
-
--pf-v5-c-accordion__toggle--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
|
24
|
-
--pf-v5-c-accordion__toggle--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--200);
|
25
|
-
--pf-v5-c-accordion__toggle--before--Width: var(--pf-v5-global--BorderWidth--lg);
|
26
|
-
--pf-v5-c-accordion__toggle--after--Width: var(--pf-v5-global--BorderWidth--lg);
|
27
|
-
--pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--100);
|
28
|
-
--pf-v5-c-accordion__toggle--BackgroundColor: transparent;
|
29
|
-
--pf-v5-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-v5-global--spacer--lg));
|
30
|
-
--pf-v5-c-accordion__toggle--hover__toggle-text--Color: var(--pf-v5-global--link--Color);
|
31
|
-
--pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-global--link--Color);
|
32
|
-
--pf-v5-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
33
|
-
--pf-v5-c-accordion__toggle--focus__toggle-text--Color: var(--pf-v5-global--link--Color);
|
34
|
-
--pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
35
|
-
--pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-v5-global--link--Color);
|
36
|
-
--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
1
|
+
:root {
|
2
|
+
--pf-v5-c-accordion--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
3
|
+
--pf-v5-c-accordion--RowGap: var(--pf-t--global--spacer--xs);
|
4
|
+
--pf-v5-c-accordion__item--BorderRadius: var(--pf-t--global--border--radius--200);
|
5
|
+
--pf-v5-c-accordion__item--m-expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--selected);
|
6
|
+
--pf-v5-c-accordion__toggle--ColumnGap: var(--pf-t--global--spacer--sm);
|
7
|
+
--pf-v5-c-accordion__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
8
|
+
--pf-v5-c-accordion__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
9
|
+
--pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
10
|
+
--pf-v5-c-accordion__toggle--m-expanded--PaddingBottom: var(--pf-t--global--spacer--sm);
|
11
|
+
--pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-t--global--spacer--md);
|
12
|
+
--pf-v5-c-accordion__toggle--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
13
|
+
--pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
14
|
+
--pf-v5-c-accordion__toggle--BorderRadius: var(--pf-t--global--border--radius--small);
|
15
|
+
--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap: var(--pf-t--global--spacer--md);
|
16
|
+
--pf-v5-c-accordion__toggle-text--Color: var(--pf-t--global--text--color--regular);
|
17
|
+
--pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-t--global--font--weight--body);
|
18
|
+
--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
37
19
|
--pf-v5-c-accordion__toggle-icon--Transition: .2s ease-in 0s;
|
38
20
|
--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate: 90deg;
|
39
|
-
--pf-v5-c-accordion__expandable-content--
|
40
|
-
--pf-v5-c-accordion__expandable-content--
|
41
|
-
--pf-v5-c-accordion__expandable-content--
|
21
|
+
--pf-v5-c-accordion__expandable-content--MarginRight: var(--pf-t--global--spacer--md);
|
22
|
+
--pf-v5-c-accordion__expandable-content--MarginBottom: var(--pf-t--global--spacer--md);
|
23
|
+
--pf-v5-c-accordion__expandable-content--MarginLeft: var(--pf-t--global--spacer--md);
|
24
|
+
--pf-v5-c-accordion__expandable-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
25
|
+
--pf-v5-c-accordion__expandable-content--BorderRadius: var(--pf-t--global--border--radius--small);
|
26
|
+
--pf-v5-c-accordion__expandable-content--Color: var(--pf-t--global--text--color--regular);
|
27
|
+
--pf-v5-c-accordion__expandable-content--FontSize: var(--pf-t--global--font--size--body--md);
|
42
28
|
--pf-v5-c-accordion__expandable-content--m-fixed--MaxHeight: 9.375rem;
|
43
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-
|
44
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-
|
45
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-
|
46
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-
|
29
|
+
--pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-t--global--spacer--sm);
|
30
|
+
--pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-t--global--spacer--sm);
|
31
|
+
--pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-t--global--spacer--sm);
|
32
|
+
--pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-t--global--spacer--sm);
|
47
33
|
--pf-v5-c-accordion__expandable-content-body--expandable-content-body--PaddingTop: 0;
|
48
|
-
--pf-v5-c-
|
49
|
-
--pf-v5-c-
|
50
|
-
--pf-v5-c-
|
51
|
-
--pf-v5-c-accordion--m-display-lg__toggle--
|
52
|
-
--pf-v5-c-accordion--m-display-lg__toggle--
|
53
|
-
--pf-v5-c-accordion--m-display-lg__toggle--
|
54
|
-
--pf-v5-c-accordion--m-display-lg__toggle--
|
55
|
-
--pf-v5-c-accordion--m-display-lg__toggle--
|
56
|
-
--pf-v5-c-accordion--m-display-lg__toggle--
|
57
|
-
--pf-v5-c-accordion--m-display-
|
58
|
-
--pf-v5-c-accordion--m-display-
|
59
|
-
--pf-v5-c-accordion--m-
|
60
|
-
--pf-v5-c-
|
61
|
-
--pf-v5-c-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingBottom: var(--pf-v5-global--spacer--md);
|
69
|
-
--pf-v5-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom: var(--pf-v5-global--spacer--lg);
|
70
|
-
--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
71
|
-
--pf-v5-c-accordion--m-bordered--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
|
72
|
-
--pf-v5-c-accordion--m-bordered--BorderTopColor: var(--pf-v5-global--BorderColor--100);
|
73
|
-
--pf-v5-c-accordion--m-bordered__toggle--after--Top: calc(-1 * var(--pf-v5-global--BorderWidth--sm));
|
74
|
-
--pf-v5-c-accordion--m-bordered__toggle--before--BorderColor: var(--pf-v5-global--BorderColor--100);
|
75
|
-
--pf-v5-c-accordion--m-bordered__toggle--before--BorderTopWidth: 0;
|
76
|
-
--pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
77
|
-
--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
78
|
-
--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor: var(--pf-v5-global--BorderColor--100);
|
79
|
-
color: var(--pf-v5-global--Color--100);
|
34
|
+
--pf-v5-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-t--global--spacer--md);
|
35
|
+
--pf-v5-c-accordion--m-display-lg__toggle--PaddingRight: var(--pf-t--global--spacer--md);
|
36
|
+
--pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom: var(--pf-t--global--spacer--md);
|
37
|
+
--pf-v5-c-accordion--m-display-lg__toggle--m-expanded--PaddingBottom: var(--pf-t--global--spacer--sm);
|
38
|
+
--pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft: var(--pf-t--global--spacer--md);
|
39
|
+
--pf-v5-c-accordion--m-display-lg__toggle--FontFamily: var(--pf-t--global--font--family--heading);
|
40
|
+
--pf-v5-c-accordion--m-display-lg__toggle--FontSize: var(--pf-t--global--font--size--heading--sm);
|
41
|
+
--pf-v5-c-accordion--m-display-lg__toggle-text--FontWeight: var(--pf-t--global--font--weight--heading);
|
42
|
+
--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
43
|
+
--pf-v5-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-t--global--font--size--body--lg);
|
44
|
+
--pf-v5-c-accordion--m-display-lg__expandable-content--Color: var(--pf-t--global--text--color--regular);
|
45
|
+
--pf-v5-c-accordion--m-bordered--RowGap: 0;
|
46
|
+
--pf-v5-c-accordion__item--m-bordered--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
47
|
+
--pf-v5-c-accordion__item--m-bordered--BorderBottomColor: var(--pf-t--global--border--color--default);
|
48
|
+
}
|
49
|
+
|
50
|
+
.pf-v5-c-accordion {
|
51
|
+
display: flex;
|
52
|
+
flex-direction: column;
|
53
|
+
row-gap: var(--pf-v5-c-accordion--RowGap);
|
80
54
|
background-color: var(--pf-v5-c-accordion--BackgroundColor);
|
81
55
|
}
|
56
|
+
.pf-v5-c-accordion.pf-m-toggle-start {
|
57
|
+
--pf-v5-c-accordion__toggle--ColumnGap: var(--pf-v5-c-accordion--m-toggle-start__toggle--ColumnGap);
|
58
|
+
}
|
82
59
|
.pf-v5-c-accordion.pf-m-display-lg {
|
83
60
|
--pf-v5-c-accordion__toggle--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingTop);
|
84
61
|
--pf-v5-c-accordion__toggle--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingRight);
|
85
62
|
--pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingBottom);
|
63
|
+
--pf-v5-c-accordion__toggle--m-expanded--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded--PaddingBottom);
|
86
64
|
--pf-v5-c-accordion__toggle--PaddingLeft: var(--pf-v5-c-accordion--m-display-lg__toggle--PaddingLeft);
|
87
65
|
--pf-v5-c-accordion__toggle--FontFamily: var(--pf-v5-c-accordion--m-display-lg__toggle--FontFamily);
|
88
66
|
--pf-v5-c-accordion__toggle--FontSize: var(--pf-v5-c-accordion--m-display-lg__toggle--FontSize);
|
89
|
-
--pf-v5-c-accordion__toggle
|
90
|
-
--pf-v5-c-accordion__toggle--active__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--Color);
|
91
|
-
--pf-v5-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--active__toggle-text--FontWeight);
|
92
|
-
--pf-v5-c-accordion__toggle--focus__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--Color);
|
93
|
-
--pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight);
|
94
|
-
--pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color);
|
67
|
+
--pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle-text--FontWeight);
|
95
68
|
--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-v5-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight);
|
96
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingTop);
|
97
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingRight: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingRight);
|
98
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingBottom);
|
99
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingLeft: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--PaddingLeft);
|
100
69
|
--pf-v5-c-accordion__expandable-content--FontSize: var(--pf-v5-c-accordion--m-display-lg__expandable-content--FontSize);
|
101
70
|
--pf-v5-c-accordion__expandable-content--Color: var(--pf-v5-c-accordion--m-display-lg__expandable-content--Color);
|
102
71
|
}
|
103
|
-
.pf-v5-c-accordion.pf-m-display-lg .pf-v5-c-accordion__expandable-content-body:last-child {
|
104
|
-
--pf-v5-c-accordion__expandable-content-body--PaddingBottom: var(--pf-v5-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom);
|
105
|
-
}
|
106
72
|
.pf-v5-c-accordion.pf-m-bordered {
|
107
|
-
--pf-v5-c-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
--pf-v5-c-accordion--m-bordered__toggle--before--BorderBottomWidth: 0;
|
126
|
-
}
|
127
|
-
.pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__expandable-content.pf-m-expanded .pf-v5-c-accordion__expandable-content-body:last-child::before {
|
128
|
-
position: absolute;
|
129
|
-
inset-block-start: 0;
|
130
|
-
inset-block-end: 0;
|
131
|
-
inset-inline-start: 0;
|
132
|
-
inset-inline-end: 0;
|
133
|
-
pointer-events: none;
|
134
|
-
content: "";
|
135
|
-
border-block-end: var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--pf-v5-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
|
73
|
+
--pf-v5-c-accordion--RowGap: var(--pf-v5-c-accordion--m-bordered--RowGap);
|
74
|
+
--pf-v5-c-accordion__item--BorderRadius: 0;
|
75
|
+
--pf-v5-c-accordion__toggle--BorderRadius: 0;
|
76
|
+
}
|
77
|
+
.pf-v5-c-accordion.pf-m-bordered .pf-v5-c-accordion__item {
|
78
|
+
border-block-end: var(--pf-v5-c-accordion__item--m-bordered--BorderBottomWidth) solid var(--pf-v5-c-accordion__item--m-bordered--BorderBottomColor);
|
79
|
+
}
|
80
|
+
|
81
|
+
.pf-v5-c-accordion__item {
|
82
|
+
border-radius: var(--pf-v5-c-accordion__item--BorderRadius);
|
83
|
+
}
|
84
|
+
.pf-v5-c-accordion__item.pf-m-expanded {
|
85
|
+
--pf-v5-c-accordion__toggle--PaddingBottom: var(--pf-v5-c-accordion__toggle--m-expanded--PaddingBottom);
|
86
|
+
--pf-v5-c-accordion__toggle-text--FontWeight: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
|
87
|
+
background-color: var(--pf-v5-c-accordion__item--m-expanded--BackgroundColor);
|
88
|
+
}
|
89
|
+
.pf-v5-c-accordion__item.pf-m-expanded .pf-v5-c-accordion__toggle-icon {
|
90
|
+
transform: rotate(var(--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
|
136
91
|
}
|
137
92
|
|
138
93
|
.pf-v5-c-accordion__toggle {
|
139
|
-
position: relative;
|
140
94
|
display: flex;
|
95
|
+
column-gap: var(--pf-v5-c-accordion__toggle--ColumnGap);
|
141
96
|
align-items: center;
|
142
|
-
justify-content: space-between;
|
143
97
|
width: 100%;
|
144
98
|
padding-block-start: var(--pf-v5-c-accordion__toggle--PaddingTop);
|
145
99
|
padding-block-end: var(--pf-v5-c-accordion__toggle--PaddingBottom);
|
@@ -147,54 +101,22 @@
|
|
147
101
|
padding-inline-end: var(--pf-v5-c-accordion__toggle--PaddingRight);
|
148
102
|
font-family: var(--pf-v5-c-accordion__toggle--FontFamily, inherit);
|
149
103
|
font-size: var(--pf-v5-c-accordion__toggle--FontSize, inherit);
|
104
|
+
text-align: start;
|
150
105
|
background-color: var(--pf-v5-c-accordion__toggle--BackgroundColor);
|
151
106
|
border: 0;
|
107
|
+
border-radius: var(--pf-v5-c-accordion__toggle--BorderRadius);
|
152
108
|
}
|
153
|
-
.pf-v5-c-accordion__toggle
|
154
|
-
|
155
|
-
inset-block-start: var(--pf-v5-c-accordion__toggle--after--Top);
|
156
|
-
inset-block-end: 0;
|
157
|
-
inset-inline-start: 0;
|
158
|
-
width: var(--pf-v5-c-accordion__toggle--after--Width);
|
159
|
-
content: "";
|
160
|
-
background-color: var(--pf-v5-c-accordion__toggle--after--BackgroundColor);
|
161
|
-
}
|
162
|
-
.pf-v5-c-accordion__toggle.pf-m-expanded {
|
163
|
-
--pf-v5-c-accordion__toggle--after--BackgroundColor: var(--pf-v5-c-accordion__toggle--m-expanded--after--BackgroundColor);
|
164
|
-
}
|
165
|
-
.pf-v5-c-accordion__toggle.pf-m-expanded .pf-v5-c-accordion__toggle-text {
|
166
|
-
font-weight: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
|
167
|
-
color: var(--pf-v5-c-accordion__toggle--m-expanded__toggle-text--Color);
|
168
|
-
}
|
169
|
-
.pf-v5-c-accordion__toggle.pf-m-expanded .pf-v5-c-accordion__toggle-icon {
|
170
|
-
transform: rotate(var(--pf-v5-c-accordion__toggle--m-expanded__toggle-icon--Rotate));
|
171
|
-
}
|
172
|
-
.pf-v5-c-accordion__toggle:hover {
|
173
|
-
background-color: var(--pf-v5-c-accordion__toggle--hover--BackgroundColor);
|
174
|
-
}
|
175
|
-
.pf-v5-c-accordion__toggle:hover .pf-v5-c-accordion__toggle-text {
|
176
|
-
color: var(--pf-v5-c-accordion__toggle--hover__toggle-text--Color);
|
177
|
-
}
|
178
|
-
.pf-v5-c-accordion__toggle:focus {
|
179
|
-
background-color: var(--pf-v5-c-accordion__toggle--focus--BackgroundColor);
|
180
|
-
}
|
181
|
-
.pf-v5-c-accordion__toggle:focus .pf-v5-c-accordion__toggle-text {
|
182
|
-
font-weight: var(--pf-v5-c-accordion__toggle--focus__toggle-text--FontWeight);
|
183
|
-
color: var(--pf-v5-c-accordion__toggle--focus__toggle-text--Color);
|
184
|
-
}
|
185
|
-
.pf-v5-c-accordion__toggle:active {
|
186
|
-
background-color: var(--pf-v5-c-accordion__toggle--active--BackgroundColor);
|
187
|
-
}
|
188
|
-
.pf-v5-c-accordion__toggle:active .pf-v5-c-accordion__toggle-text {
|
189
|
-
font-weight: var(--pf-v5-c-accordion__toggle--active__toggle-text--FontWeight);
|
190
|
-
color: var(--pf-v5-c-accordion__toggle--active__toggle-text--Color);
|
109
|
+
.pf-v5-c-accordion__toggle:is(:hover, :focus) {
|
110
|
+
--pf-v5-c-accordion__toggle--BackgroundColor: var(--pf-v5-c-accordion__toggle--hover--BackgroundColor);
|
191
111
|
}
|
192
112
|
|
193
113
|
.pf-v5-c-accordion__toggle-text {
|
194
114
|
overflow: hidden;
|
195
115
|
text-overflow: ellipsis;
|
196
116
|
white-space: nowrap;
|
197
|
-
|
117
|
+
flex-grow: 1;
|
118
|
+
font-weight: var(--pf-v5-c-accordion__toggle-text--FontWeight);
|
119
|
+
color: var(--pf-v5-c-accordion__toggle-text--Color);
|
198
120
|
}
|
199
121
|
|
200
122
|
.pf-v5-c-accordion__toggle-icon {
|
@@ -205,39 +127,25 @@
|
|
205
127
|
}
|
206
128
|
|
207
129
|
.pf-v5-c-accordion__expandable-content {
|
130
|
+
margin-block-end: var(--pf-v5-c-accordion__expandable-content--MarginBottom);
|
131
|
+
margin-inline-start: var(--pf-v5-c-accordion__expandable-content--MarginLeft);
|
132
|
+
margin-inline-end: var(--pf-v5-c-accordion__expandable-content--MarginRight);
|
208
133
|
font-size: var(--pf-v5-c-accordion__expandable-content--FontSize);
|
209
134
|
color: var(--pf-v5-c-accordion__expandable-content--Color);
|
135
|
+
background-color: var(--pf-v5-c-accordion__expandable-content--BackgroundColor);
|
136
|
+
border-radius: var(--pf-v5-c-accordion__expandable-content--BorderRadius);
|
210
137
|
}
|
211
138
|
.pf-v5-c-accordion__expandable-content.pf-m-fixed {
|
212
139
|
max-height: var(--pf-v5-c-accordion__expandable-content--m-fixed--MaxHeight);
|
213
140
|
overflow-y: auto;
|
214
141
|
}
|
215
|
-
.pf-v5-c-accordion__expandable-content.pf-m-expanded {
|
216
|
-
--pf-v5-c-accordion__expandable-content-body--after--BackgroundColor: var(--pf-v5-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor);
|
217
|
-
}
|
218
142
|
|
219
143
|
.pf-v5-c-accordion__expandable-content-body {
|
220
|
-
position: relative;
|
221
144
|
padding-block-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingTop);
|
222
145
|
padding-block-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingBottom);
|
223
146
|
padding-inline-start: var(--pf-v5-c-accordion__expandable-content-body--PaddingLeft);
|
224
147
|
padding-inline-end: var(--pf-v5-c-accordion__expandable-content-body--PaddingRight);
|
225
148
|
}
|
226
|
-
.pf-v5-c-accordion__expandable-content-body::after {
|
227
|
-
position: absolute;
|
228
|
-
inset-block-start: 0;
|
229
|
-
inset-block-end: 0;
|
230
|
-
inset-inline-start: 0;
|
231
|
-
width: var(--pf-v5-c-accordion__expandable-content-body--after--Width);
|
232
|
-
content: "";
|
233
|
-
background-color: var(--pf-v5-c-accordion__expandable-content-body--after--BackgroundColor);
|
234
|
-
}
|
235
149
|
.pf-v5-c-accordion__expandable-content-body + .pf-v5-c-accordion__expandable-content-body {
|
236
150
|
--pf-v5-c-accordion__expandable-content-body--PaddingTop: var(--pf-v5-c-accordion__expandable-content-body--expandable-content-body--PaddingTop);
|
237
|
-
}
|
238
|
-
|
239
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-accordion {
|
240
|
-
--pf-v5-c-accordion__toggle--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
241
|
-
--pf-v5-c-accordion__toggle--focus--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
242
|
-
--pf-v5-c-accordion__toggle--active--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
243
151
|
}
|
@@ -3,16 +3,17 @@ declare const _default: {
|
|
3
3
|
"accordion": "pf-v5-c-accordion",
|
4
4
|
"accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
|
5
5
|
"accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
|
6
|
+
"accordionItem": "pf-v5-c-accordion__item",
|
6
7
|
"accordionToggle": "pf-v5-c-accordion__toggle",
|
7
8
|
"accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
|
8
9
|
"accordionToggleText": "pf-v5-c-accordion__toggle-text",
|
9
10
|
"dirRtl": "pf-v5-m-dir-rtl",
|
10
11
|
"modifiers": {
|
12
|
+
"toggleStart": "pf-m-toggle-start",
|
11
13
|
"displayLg": "pf-m-display-lg",
|
12
14
|
"bordered": "pf-m-bordered",
|
13
15
|
"expanded": "pf-m-expanded",
|
14
16
|
"fixed": "pf-m-fixed"
|
15
|
-
}
|
16
|
-
"themeDark": "pf-v5-theme-dark"
|
17
|
+
}
|
17
18
|
};
|
18
19
|
export default _default;
|
@@ -5,15 +5,16 @@ exports.default = {
|
|
5
5
|
"accordion": "pf-v5-c-accordion",
|
6
6
|
"accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
|
7
7
|
"accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
|
8
|
+
"accordionItem": "pf-v5-c-accordion__item",
|
8
9
|
"accordionToggle": "pf-v5-c-accordion__toggle",
|
9
10
|
"accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
|
10
11
|
"accordionToggleText": "pf-v5-c-accordion__toggle-text",
|
11
12
|
"dirRtl": "pf-v5-m-dir-rtl",
|
12
13
|
"modifiers": {
|
14
|
+
"toggleStart": "pf-m-toggle-start",
|
13
15
|
"displayLg": "pf-m-display-lg",
|
14
16
|
"bordered": "pf-m-bordered",
|
15
17
|
"expanded": "pf-m-expanded",
|
16
18
|
"fixed": "pf-m-fixed"
|
17
|
-
}
|
18
|
-
"themeDark": "pf-v5-theme-dark"
|
19
|
+
}
|
19
20
|
};
|
@@ -3,15 +3,16 @@ export default {
|
|
3
3
|
"accordion": "pf-v5-c-accordion",
|
4
4
|
"accordionExpandableContent": "pf-v5-c-accordion__expandable-content",
|
5
5
|
"accordionExpandableContentBody": "pf-v5-c-accordion__expandable-content-body",
|
6
|
+
"accordionItem": "pf-v5-c-accordion__item",
|
6
7
|
"accordionToggle": "pf-v5-c-accordion__toggle",
|
7
8
|
"accordionToggleIcon": "pf-v5-c-accordion__toggle-icon",
|
8
9
|
"accordionToggleText": "pf-v5-c-accordion__toggle-text",
|
9
10
|
"dirRtl": "pf-v5-m-dir-rtl",
|
10
11
|
"modifiers": {
|
12
|
+
"toggleStart": "pf-m-toggle-start",
|
11
13
|
"displayLg": "pf-m-display-lg",
|
12
14
|
"bordered": "pf-m-bordered",
|
13
15
|
"expanded": "pf-m-expanded",
|
14
16
|
"fixed": "pf-m-fixed"
|
15
|
-
}
|
16
|
-
"themeDark": "pf-v5-theme-dark"
|
17
|
+
}
|
17
18
|
};
|
@@ -1,23 +1,25 @@
|
|
1
1
|
.pf-v5-c-alert-group {
|
2
|
-
--pf-v5-c-alert-group__item--MarginTop: var(--pf-
|
3
|
-
--pf-v5-c-alert-group--m-toast--Top: var(--pf-
|
4
|
-
--pf-v5-c-alert-group--m-toast--Right: var(--pf-
|
2
|
+
--pf-v5-c-alert-group__item--MarginTop: var(--pf-t--global--spacer--md);
|
3
|
+
--pf-v5-c-alert-group--m-toast--Top: var(--pf-t--global--spacer--2xl);
|
4
|
+
--pf-v5-c-alert-group--m-toast--Right: var(--pf-t--global--spacer--xl);
|
5
5
|
--pf-v5-c-alert-group--m-toast--MaxWidth: 37.5rem;
|
6
6
|
--pf-v5-c-alert-group--m-toast--ZIndex: var(--pf-v5-global--ZIndex--2xl);
|
7
7
|
--pf-v5-c-alert-group__overflow-button--BorderWidth: 0;
|
8
|
-
--pf-v5-c-alert-group__overflow-button--
|
9
|
-
--pf-v5-c-alert-group__overflow-button--
|
10
|
-
--pf-v5-c-alert-group__overflow-button--
|
11
|
-
--pf-v5-c-alert-group__overflow-button--
|
12
|
-
--pf-v5-c-alert-group__overflow-button--
|
13
|
-
--pf-v5-c-alert-group__overflow-button--
|
14
|
-
--pf-v5-c-alert-group__overflow-button--
|
15
|
-
--pf-v5-c-alert-group__overflow-button--
|
16
|
-
--pf-v5-c-alert-group__overflow-button--hover--
|
17
|
-
--pf-v5-c-alert-group__overflow-button--
|
18
|
-
--pf-v5-c-alert-group__overflow-button--
|
19
|
-
--pf-v5-c-alert-group__overflow-button--
|
20
|
-
--pf-v5-c-alert-group__overflow-button--
|
8
|
+
--pf-v5-c-alert-group__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
9
|
+
--pf-v5-c-alert-group__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
|
10
|
+
--pf-v5-c-alert-group__overflow-button--PaddingRight: var(--pf-t--global--spacer--md);
|
11
|
+
--pf-v5-c-alert-group__overflow-button--PaddingBottom: var(--pf-t--global--spacer--md);
|
12
|
+
--pf-v5-c-alert-group__overflow-button--PaddingLeft: var(--pf-t--global--spacer--md);
|
13
|
+
--pf-v5-c-alert-group__overflow-button--Color: var(--pf-t--global--text--color--link--default);
|
14
|
+
--pf-v5-c-alert-group__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
15
|
+
--pf-v5-c-alert-group__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
16
|
+
--pf-v5-c-alert-group__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
|
17
|
+
--pf-v5-c-alert-group__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
|
18
|
+
--pf-v5-c-alert-group__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
19
|
+
--pf-v5-c-alert-group__overflow-button--focus--Color: var(--pf-t--global--text--color--link--hover);
|
20
|
+
--pf-v5-c-alert-group__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
21
|
+
--pf-v5-c-alert-group__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
|
22
|
+
--pf-v5-c-alert-group__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
21
23
|
}
|
22
24
|
.pf-v5-c-alert-group > * + * {
|
23
25
|
margin-block-start: var(--pf-v5-c-alert-group__item--MarginTop);
|
@@ -41,10 +43,12 @@
|
|
41
43
|
color: var(--pf-v5-c-alert-group__overflow-button--Color);
|
42
44
|
background-color: var(--pf-v5-c-alert-group__overflow-button--BackgroundColor);
|
43
45
|
border-width: var(--pf-v5-c-alert-group__overflow-button--BorderWidth);
|
46
|
+
border-radius: var(--pf-v5-c-alert-group__overflow-button--BorderRadius);
|
44
47
|
box-shadow: var(--pf-v5-c-alert-group__overflow-button--BoxShadow);
|
45
48
|
}
|
46
49
|
.pf-v5-c-alert-group__overflow-button:hover {
|
47
50
|
--pf-v5-c-alert-group__overflow-button--Color: var(--pf-v5-c-alert-group__overflow-button--hover--Color);
|
51
|
+
--pf-v5-c-alert-group__overflow-button--BackgroundColor: var(--pf-v5-c-alert-group__overflow-button--hover--BackgroundColor);
|
48
52
|
--pf-v5-c-alert-group__overflow-button--BoxShadow: var(--pf-v5-c-alert-group__overflow-button--hover--BoxShadow);
|
49
53
|
}
|
50
54
|
.pf-v5-c-alert-group__overflow-button:focus {
|