@patternfly/patternfly 4.224.2 → 5.0.0-alpha.10
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/README.md +2 -2
- package/RELEASE-NOTES.md +0 -17
- package/assets/icons/iconUnicodes.json +0 -1
- package/assets/pficon/pficon.scss +0 -6
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/base/_chart-globals.scss +4 -0
- package/base/_common.scss +0 -22
- package/base/_fonts.scss +0 -188
- package/base/_globals.scss +0 -6
- package/base/_icons.scss +28 -0
- package/base/_variables.scss +0 -14
- package/base/patternfly-common.css +0 -10
- package/base/patternfly-fonts.css +0 -120
- package/base/patternfly-globals.css +0 -4
- package/base/patternfly-icons.css +1 -5
- package/base/patternfly-icons.scss +0 -28
- package/base/patternfly-pf-icons.css +1 -5
- package/base/patternfly-variables.css +6 -19
- package/components/AboutModalBox/about-modal-box.css +1 -28
- package/components/AboutModalBox/about-modal-box.scss +1 -27
- package/components/Accordion/accordion.css +64 -62
- package/components/Accordion/accordion.scss +62 -64
- package/components/Alert/alert.css +0 -4
- package/components/Alert/alert.scss +0 -7
- package/components/Banner/banner.css +1 -1
- package/components/Banner/banner.scss +1 -1
- package/components/Breadcrumb/breadcrumb.css +0 -6
- package/components/Breadcrumb/breadcrumb.scss +0 -9
- package/components/Button/button.css +0 -4
- package/components/Button/button.scss +0 -7
- package/components/CalendarMonth/calendar-month.css +1 -1
- package/components/CalendarMonth/calendar-month.scss +1 -1
- package/components/Card/card.css +9 -16
- package/components/Card/card.scss +11 -24
- package/components/Check/check.css +4 -2
- package/components/Check/check.scss +2 -2
- package/components/ChipGroup/chip-group.css +29 -17
- package/components/ChipGroup/chip-group.scss +39 -22
- package/components/Content/content.css +1 -17
- package/components/Content/content.scss +1 -23
- package/components/DataList/data-list.css +0 -15
- package/components/Divider/divider.css +0 -16
- package/components/Divider/divider.scss +0 -1
- package/components/Drawer/drawer.css +0 -15
- package/components/Drawer/drawer.scss +0 -6
- package/components/EmptyState/empty-state.css +46 -56
- package/components/EmptyState/empty-state.scss +58 -66
- package/components/ExpandableSection/expandable-section.css +0 -4
- package/components/ExpandableSection/expandable-section.scss +0 -7
- package/components/Form/form.css +0 -1
- package/components/Form/form.scss +0 -1
- package/components/InlineEdit/inline-edit.css +1 -12
- package/components/InlineEdit/inline-edit.scss +1 -10
- package/components/JumpLinks/jump-links.css +0 -43
- package/components/JumpLinks/jump-links.scss +0 -13
- package/components/Label/label.css +0 -3
- package/components/Label/label.scss +0 -4
- package/components/LabelGroup/label-group.css +26 -22
- package/components/LabelGroup/label-group.scss +31 -26
- package/components/Menu/menu.css +0 -16
- package/components/Menu/menu.scss +0 -1
- package/components/NotificationDrawer/notification-drawer.css +1 -0
- package/components/NotificationDrawer/notification-drawer.scss +1 -0
- package/components/Page/page.css +0 -15
- package/components/Pagination/pagination.css +108 -55
- package/components/Pagination/pagination.scss +6 -25
- package/components/Popover/popover.css +1 -6
- package/components/Popover/themes/dark/popover.scss +1 -7
- package/components/Progress/progress.css +0 -1
- package/components/Progress/progress.scss +0 -1
- package/components/Radio/radio.css +4 -2
- package/components/Radio/radio.scss +2 -2
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +1 -1
- package/components/SkipToContent/skip-to-content.css +1 -1
- package/components/SkipToContent/skip-to-content.scss +1 -1
- package/components/Switch/switch.css +0 -1
- package/components/Switch/switch.scss +0 -1
- package/components/Table/table-grid.css +0 -10
- package/components/Table/table-grid.scss +0 -2
- package/components/Table/table-tree-view.css +0 -16
- package/components/Table/table-tree-view.scss +0 -4
- package/components/Table/table.css +0 -16
- package/components/Table/table.scss +0 -1
- package/components/Tabs/tabs.css +5 -34
- package/components/Tabs/tabs.scss +7 -15
- package/components/Title/title.css +0 -5
- package/components/Title/title.scss +0 -8
- package/components/Toolbar/toolbar.css +30 -33
- package/components/Toolbar/toolbar.scss +37 -9
- package/components/Tooltip/themes/dark/tooltip.scss +3 -6
- package/components/Tooltip/tooltip.css +2 -5
- package/components/Wizard/wizard.css +0 -9
- package/components/Wizard/wizard.scss +0 -9
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +4 -15
- package/docs/components/Accordion/examples/Accordion.md +67 -67
- package/docs/components/Card/examples/Card.md +61 -44
- package/docs/components/CodeBlock/examples/CodeBlock.md +6 -6
- package/docs/components/CodeEditor/examples/CodeEditor.md +2 -6
- package/docs/components/Content/examples/Content.md +0 -28
- package/docs/components/EmptyState/examples/EmptyState.md +127 -79
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -5
- package/docs/components/Tabs/examples/Tabs.md +102 -103
- package/docs/components/Toolbar/examples/Toolbar.md +19 -16
- package/docs/components/Wizard/examples/Wizard.md +10 -13
- package/docs/demos/AboutModal/examples/AboutModal.md +53 -49
- package/docs/demos/Alert/examples/Alert.md +18 -12
- package/docs/demos/BackToTop/examples/BackToTop.md +6 -4
- package/docs/demos/Banner/examples/Banner.md +13 -8
- package/docs/demos/Card/examples/Card.md +145 -110
- package/docs/demos/CardView/examples/CardView.md +7 -7
- package/docs/demos/ContextSelector/examples/ContextSelector.md +24 -16
- package/docs/demos/Dashboard/examples/Dashboard.md +6 -4
- package/docs/demos/DataList/examples/DataList.md +26 -20
- package/docs/demos/DescriptionList/examples/DescriptionList.md +19 -12
- package/docs/demos/Drawer/examples/Drawer.md +30 -20
- package/docs/demos/HelperText/examples/HelperText.md +1 -0
- package/docs/demos/JumpLinks/examples/JumpLinks.md +36 -24
- package/docs/demos/Masthead/examples/Masthead.md +57 -42
- package/docs/demos/Modal/examples/Modal.md +36 -24
- package/docs/demos/Nav/examples/Nav.md +48 -32
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -20
- package/docs/demos/Page/examples/Page.md +55 -37
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +1 -0
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +51 -34
- package/docs/demos/Skeleton/examples/Skeleton.md +6 -4
- package/docs/demos/Table/examples/Table.md +102 -88
- package/docs/demos/Tabs/examples/Tabs.md +40 -28
- package/docs/demos/Toolbar/examples/Toolbar.md +1648 -66
- package/docs/demos/Wizard/examples/Wizard.md +232 -222
- package/icons/pf-icons.json +0 -1
- package/package.json +4 -3
- package/patternfly-base-no-reset.css +31 -154
- package/patternfly-base.css +31 -158
- package/patternfly-charts.css +1 -1
- package/patternfly-no-reset.css +367 -650
- package/patternfly.css +367 -654
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +0 -6
- package/sass-utilities/placeholders.scss +0 -7
- package/sass-utilities/scss-variables.scss +6 -13
- package/assets/fonts/overpass-mono-webfont/example.html +0 -15
- package/assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-bold.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-light.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-light.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-regular.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono-semibold.woff2 +0 -0
- package/assets/fonts/overpass-mono-webfont/overpass-mono.css +0 -39
- package/assets/fonts/overpass-webfont/example.html +0 -18
- package/assets/fonts/overpass-webfont/overpass-bold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-bold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extrabold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-extralight.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-heavy.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-light-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-light-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-light.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-light.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-regular.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-regular.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-semibold.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin-italic.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin-italic.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin.woff +0 -0
- package/assets/fonts/overpass-webfont/overpass-thin.woff2 +0 -0
- package/assets/fonts/overpass-webfont/overpass.css +0 -141
|
@@ -7,41 +7,43 @@
|
|
|
7
7
|
--pf-c-accordion__toggle--PaddingRight: var(--pf-global--spacer--md);
|
|
8
8
|
--pf-c-accordion__toggle--PaddingBottom: var(--pf-global--spacer--sm);
|
|
9
9
|
--pf-c-accordion__toggle--PaddingLeft: var(--pf-global--spacer--md);
|
|
10
|
-
--pf-c-accordion__toggle--before--BackgroundColor: transparent;
|
|
11
10
|
--pf-c-accordion__toggle--before--Top: 0;
|
|
11
|
+
--pf-c-accordion__toggle--after--Top: 0;
|
|
12
|
+
--pf-c-accordion__toggle--after--BackgroundColor: transparent;
|
|
12
13
|
--pf-c-accordion__toggle--hover--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
13
14
|
--pf-c-accordion__toggle--focus--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
14
15
|
--pf-c-accordion__toggle--active--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
15
16
|
--pf-c-accordion__toggle--before--Width: var(--pf-global--BorderWidth--lg);
|
|
16
|
-
--pf-c-accordion__toggle--
|
|
17
|
+
--pf-c-accordion__toggle--after--Width: var(--pf-global--BorderWidth--lg);
|
|
18
|
+
--pf-c-accordion__toggle--m-expanded--after--BackgroundColor: var(--pf-global--primary-color--100);
|
|
17
19
|
|
|
18
20
|
// accordion toggle text
|
|
19
21
|
--pf-c-accordion__toggle-text--MaxWidth: calc(100% - var(--pf-global--spacer--lg));
|
|
20
22
|
--pf-c-accordion__toggle--hover__toggle-text--Color: var(--pf-global--link--Color);
|
|
21
23
|
--pf-c-accordion__toggle--active__toggle-text--Color: var(--pf-global--link--Color);
|
|
22
|
-
--pf-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-global--FontWeight--
|
|
24
|
+
--pf-c-accordion__toggle--active__toggle-text--FontWeight: var(--pf-global--FontWeight--bold);
|
|
23
25
|
--pf-c-accordion__toggle--focus__toggle-text--Color: var(--pf-global--link--Color);
|
|
24
|
-
--pf-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-global--FontWeight--
|
|
26
|
+
--pf-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-global--FontWeight--bold);
|
|
25
27
|
--pf-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-global--link--Color);
|
|
26
|
-
--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-global--FontWeight--
|
|
28
|
+
--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-global--FontWeight--bold);
|
|
27
29
|
|
|
28
30
|
// accordion toggle icon
|
|
29
31
|
--pf-c-accordion__toggle-icon--Transition: .2s ease-in 0s;
|
|
30
32
|
--pf-c-accordion__toggle--m-expanded__toggle-icon--Rotate: 90deg;
|
|
31
33
|
|
|
32
34
|
// accordion expanded content
|
|
33
|
-
--pf-c-
|
|
34
|
-
--pf-c-
|
|
35
|
-
--pf-c-
|
|
36
|
-
--pf-c-
|
|
37
|
-
--pf-c-
|
|
38
|
-
--pf-c-
|
|
39
|
-
--pf-c-
|
|
40
|
-
--pf-c-
|
|
41
|
-
--pf-c-
|
|
42
|
-
--pf-c-
|
|
43
|
-
--pf-c-
|
|
44
|
-
--pf-c-
|
|
35
|
+
--pf-c-accordion__expandable-content--Color: var(--pf-global--Color--200);
|
|
36
|
+
--pf-c-accordion__expandable-content--FontSize: var(--pf-global--FontSize--sm);
|
|
37
|
+
--pf-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor: var(--pf-global--primary-color--100);
|
|
38
|
+
--pf-c-accordion__expandable-content--m-fixed--MaxHeight: #{pf-size-prem(150px)};
|
|
39
|
+
--pf-c-accordion__expandable-content-body--PaddingTop: var(--pf-global--spacer--sm);
|
|
40
|
+
--pf-c-accordion__expandable-content-body--PaddingRight: var(--pf-global--spacer--md);
|
|
41
|
+
--pf-c-accordion__expandable-content-body--PaddingBottom: var(--pf-global--spacer--sm);
|
|
42
|
+
--pf-c-accordion__expandable-content-body--PaddingLeft: var(--pf-global--spacer--md);
|
|
43
|
+
--pf-c-accordion__expandable-content-body--expandable-content-body--PaddingTop: 0;
|
|
44
|
+
--pf-c-accordion__expandable-content-body--after--BackgroundColor: transparent;
|
|
45
|
+
--pf-c-accordion__expandable-content-body--after--Width: var(--pf-global--BorderWidth--lg);
|
|
46
|
+
--pf-c-accordion__expandable-content-body--before--Top: 0;
|
|
45
47
|
|
|
46
48
|
// large
|
|
47
49
|
--pf-c-accordion--m-display-lg__toggle--PaddingTop: var(--pf-global--spacer--md);
|
|
@@ -57,23 +59,23 @@
|
|
|
57
59
|
--pf-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
58
60
|
--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color: var(--pf-global--Color--100);
|
|
59
61
|
--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight: var(--pf-global--FontWeight--normal);
|
|
60
|
-
--pf-c-accordion--m-display-
|
|
61
|
-
--pf-c-accordion--m-display-
|
|
62
|
-
--pf-c-accordion--m-display-
|
|
63
|
-
--pf-c-accordion--m-display-
|
|
64
|
-
--pf-c-accordion--m-display-
|
|
65
|
-
--pf-c-accordion--m-display-
|
|
66
|
-
--pf-c-accordion--m-display-
|
|
62
|
+
--pf-c-accordion--m-display-lg__expandable-content--FontSize: var(--pf-global--FontSize--md);
|
|
63
|
+
--pf-c-accordion--m-display-lg__expandable-content--Color: var(--pf-global--Color--100);
|
|
64
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingTop: 0;
|
|
65
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingRight: var(--pf-global--spacer--md);
|
|
66
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingBottom: var(--pf-global--spacer--md);
|
|
67
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom: var(--pf-global--spacer--lg);
|
|
68
|
+
--pf-c-accordion--m-display-lg__expandable-content-body--PaddingLeft: var(--pf-global--spacer--lg);
|
|
67
69
|
|
|
68
70
|
// bordered
|
|
69
71
|
--pf-c-accordion--m-bordered--BorderTopWidth: var(--pf-global--BorderWidth--sm);
|
|
70
72
|
--pf-c-accordion--m-bordered--BorderTopColor: var(--pf-global--BorderColor--100);
|
|
71
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
72
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
73
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
74
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
75
|
-
--pf-c-accordion--m-
|
|
76
|
-
--pf-c-accordion--m-
|
|
73
|
+
--pf-c-accordion--m-bordered__toggle--after--Top: calc(-1 * var(--pf-global--BorderWidth--sm));
|
|
74
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderColor: var(--pf-global--BorderColor--100);
|
|
75
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderTopWidth: 0;
|
|
76
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
77
|
+
--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth: var(--pf-global--BorderWidth--sm);
|
|
78
|
+
--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
77
79
|
|
|
78
80
|
// This component always needs to be light
|
|
79
81
|
@include pf-t-light;
|
|
@@ -94,24 +96,23 @@
|
|
|
94
96
|
--pf-c-accordion__toggle--focus__toggle-text--FontWeight: var(--pf-c-accordion--m-display-lg__toggle--focus__toggle-text--FontWeight);
|
|
95
97
|
--pf-c-accordion__toggle--m-expanded__toggle-text--Color: var(--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--Color);
|
|
96
98
|
--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight: var(--pf-c-accordion--m-display-lg__toggle--m-expanded__toggle-text--FontWeight);
|
|
97
|
-
--pf-c-
|
|
98
|
-
--pf-c-
|
|
99
|
-
--pf-c-
|
|
100
|
-
--pf-c-
|
|
101
|
-
--pf-c-
|
|
102
|
-
--pf-c-
|
|
103
|
-
|
|
104
|
-
.pf-c-
|
|
105
|
-
--pf-c-
|
|
99
|
+
--pf-c-accordion__expandable-content-body--PaddingTop: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingTop);
|
|
100
|
+
--pf-c-accordion__expandable-content-body--PaddingRight: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingRight);
|
|
101
|
+
--pf-c-accordion__expandable-content-body--PaddingBottom: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingBottom);
|
|
102
|
+
--pf-c-accordion__expandable-content-body--PaddingLeft: var(--pf-c-accordion--m-display-lg__expandable-content-body--PaddingLeft);
|
|
103
|
+
--pf-c-accordion__expandable-content--FontSize: var(--pf-c-accordion--m-display-lg__expandable-content--FontSize);
|
|
104
|
+
--pf-c-accordion__expandable-content--Color: var(--pf-c-accordion--m-display-lg__expandable-content--Color);
|
|
105
|
+
|
|
106
|
+
.pf-c-accordion__expandable-content-body:last-child {
|
|
107
|
+
--pf-c-accordion__expandable-content-body--PaddingBottom: var(--pf-c-accordion--m-display-lg__expandable-content-body--last-child--PaddingBottom);
|
|
106
108
|
}
|
|
107
109
|
}
|
|
108
110
|
|
|
109
111
|
&.pf-m-bordered {
|
|
110
|
-
--pf-c-accordion__toggle--
|
|
112
|
+
--pf-c-accordion__toggle--after--Top: var(--pf-c-accordion--m-bordered__toggle--after--Top);
|
|
111
113
|
|
|
112
114
|
border-top: var(--pf-c-accordion--m-bordered--BorderTopWidth) solid var(--pf-c-accordion--m-bordered--BorderTopColor);
|
|
113
115
|
|
|
114
|
-
// rename --after vars to --before in breaking change release
|
|
115
116
|
.pf-c-accordion__toggle {
|
|
116
117
|
&::before {
|
|
117
118
|
position: absolute;
|
|
@@ -120,20 +121,19 @@
|
|
|
120
121
|
bottom: 0;
|
|
121
122
|
left: 0;
|
|
122
123
|
content: "";
|
|
123
|
-
border: solid var(--pf-c-accordion--m-bordered__toggle--
|
|
124
|
-
border-width: var(--pf-c-accordion--m-bordered__toggle--
|
|
124
|
+
border: solid var(--pf-c-accordion--m-bordered__toggle--before--BorderColor);
|
|
125
|
+
border-width: var(--pf-c-accordion--m-bordered__toggle--before--BorderTopWidth) 0 var(--pf-c-accordion--m-bordered__toggle--before--BorderBottomWidth);
|
|
125
126
|
}
|
|
126
127
|
|
|
127
128
|
&.pf-m-expanded {
|
|
128
|
-
--pf-c-accordion--m-bordered__toggle--
|
|
129
|
+
--pf-c-accordion--m-bordered__toggle--before--BorderBottomWidth: 0;
|
|
129
130
|
}
|
|
130
131
|
}
|
|
131
132
|
|
|
132
|
-
// rename --after vars to --before in breaking change release
|
|
133
133
|
// stylelint-disable selector-max-class, max-nesting-depth
|
|
134
|
-
.pf-c-
|
|
134
|
+
.pf-c-accordion__expandable-content {
|
|
135
135
|
&.pf-m-expanded {
|
|
136
|
-
.pf-c-
|
|
136
|
+
.pf-c-accordion__expandable-content-body:last-child {
|
|
137
137
|
&::before {
|
|
138
138
|
position: absolute;
|
|
139
139
|
top: 0;
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
left: 0;
|
|
143
143
|
pointer-events: none;
|
|
144
144
|
content: "";
|
|
145
|
-
border-bottom: var(--pf-c-accordion--m-
|
|
145
|
+
border-bottom: var(--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomWidth) solid var(--pf-c-accordion--m-bordered__expandable-content--m-expanded__expandable-content-body--last-child--before--BorderBottomColor);
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -162,19 +162,18 @@
|
|
|
162
162
|
font-size: var(--pf-c-accordion__toggle--FontSize, inherit);
|
|
163
163
|
border: 0;
|
|
164
164
|
|
|
165
|
-
// rename --before vars to --after in breaking change release
|
|
166
165
|
&::after {
|
|
167
166
|
position: absolute;
|
|
168
|
-
top: var(--pf-c-accordion__toggle--
|
|
167
|
+
top: var(--pf-c-accordion__toggle--after--Top);
|
|
169
168
|
bottom: 0;
|
|
170
169
|
left: 0;
|
|
171
|
-
width: var(--pf-c-accordion__toggle--
|
|
170
|
+
width: var(--pf-c-accordion__toggle--after--Width);
|
|
172
171
|
content: "";
|
|
173
|
-
background-color: var(--pf-c-accordion__toggle--
|
|
172
|
+
background-color: var(--pf-c-accordion__toggle--after--BackgroundColor);
|
|
174
173
|
}
|
|
175
174
|
|
|
176
175
|
&.pf-m-expanded {
|
|
177
|
-
--pf-c-accordion__toggle--
|
|
176
|
+
--pf-c-accordion__toggle--after--BackgroundColor: var(--pf-c-accordion__toggle--m-expanded--after--BackgroundColor);
|
|
178
177
|
|
|
179
178
|
.pf-c-accordion__toggle-text {
|
|
180
179
|
font-weight: var(--pf-c-accordion__toggle--m-expanded__toggle-text--FontWeight);
|
|
@@ -223,37 +222,36 @@
|
|
|
223
222
|
transition: var(--pf-c-accordion__toggle-icon--Transition);
|
|
224
223
|
}
|
|
225
224
|
|
|
226
|
-
.pf-c-
|
|
227
|
-
font-size: var(--pf-c-
|
|
228
|
-
color: var(--pf-c-
|
|
225
|
+
.pf-c-accordion__expandable-content {
|
|
226
|
+
font-size: var(--pf-c-accordion__expandable-content--FontSize);
|
|
227
|
+
color: var(--pf-c-accordion__expandable-content--Color);
|
|
229
228
|
|
|
230
229
|
&.pf-m-fixed {
|
|
231
|
-
max-height: var(--pf-c-
|
|
230
|
+
max-height: var(--pf-c-accordion__expandable-content--m-fixed--MaxHeight);
|
|
232
231
|
overflow-y: auto;
|
|
233
232
|
}
|
|
234
233
|
|
|
235
234
|
&.pf-m-expanded {
|
|
236
|
-
--pf-c-
|
|
235
|
+
--pf-c-accordion__expandable-content-body--after--BackgroundColor: var(--pf-c-accordion__expandable-content--m-expanded__expandable-content-body--after--BackgroundColor);
|
|
237
236
|
}
|
|
238
237
|
}
|
|
239
238
|
|
|
240
|
-
.pf-c-
|
|
239
|
+
.pf-c-accordion__expandable-content-body {
|
|
241
240
|
position: relative;
|
|
242
|
-
padding: var(--pf-c-
|
|
241
|
+
padding: var(--pf-c-accordion__expandable-content-body--PaddingTop) var(--pf-c-accordion__expandable-content-body--PaddingRight) var(--pf-c-accordion__expandable-content-body--PaddingBottom) var(--pf-c-accordion__expandable-content-body--PaddingLeft);
|
|
243
242
|
|
|
244
|
-
// rename --before vars to --after in breaking change release
|
|
245
243
|
&::after {
|
|
246
244
|
position: absolute;
|
|
247
245
|
top: 0;
|
|
248
246
|
bottom: 0;
|
|
249
247
|
left: 0;
|
|
250
|
-
width: var(--pf-c-
|
|
248
|
+
width: var(--pf-c-accordion__expandable-content-body--after--Width);
|
|
251
249
|
content: "";
|
|
252
|
-
background-color: var(--pf-c-
|
|
250
|
+
background-color: var(--pf-c-accordion__expandable-content-body--after--BackgroundColor);
|
|
253
251
|
}
|
|
254
252
|
|
|
255
253
|
& + & {
|
|
256
|
-
--pf-c-
|
|
254
|
+
--pf-c-accordion__expandable-content-body--PaddingTop: var(--pf-c-accordion__expandable-content-body--expandable-content-body--PaddingTop);
|
|
257
255
|
}
|
|
258
256
|
}
|
|
259
257
|
|
|
@@ -199,10 +199,6 @@
|
|
|
199
199
|
margin-right: var(--pf-c-alert__action-group__c-button--not-last-child--MarginRight);
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
.pf-m-overpass-font .pf-c-alert__title {
|
|
203
|
-
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
204
|
-
}
|
|
205
|
-
|
|
206
202
|
:where(.pf-theme-dark) .pf-c-alert {
|
|
207
203
|
--pf-c-alert--BackgroundColor: var(--pf-global--palette--black-600);
|
|
208
204
|
--pf-c-alert__title--Color: var(--pf-global--default-color--200);
|
|
@@ -240,13 +240,6 @@
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
-
// RedHat Font overrides
|
|
244
|
-
@include pf-m-overpass-font {
|
|
245
|
-
.pf-c-alert__title {
|
|
246
|
-
--pf-c-alert__title--FontWeight: var(--pf-global--FontWeight--normal);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
243
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
251
244
|
@import "themes/dark/alert";
|
|
252
245
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
--pf-c-banner--link--Color: var(--pf-c-banner--Color);
|
|
53
53
|
--pf-c-banner--link--TextDecoration: underline;
|
|
54
54
|
--pf-c-banner--link--hover--Color: var(--pf-c-banner--Color);
|
|
55
|
-
--pf-c-banner--link--hover--FontWeight: var(--pf-global--FontWeight--
|
|
55
|
+
--pf-c-banner--link--hover--FontWeight: var(--pf-global--FontWeight--bold);
|
|
56
56
|
--pf-c-banner--link--disabled--Color: var(--pf-c-banner--Color);
|
|
57
57
|
--pf-c-banner--link--disabled--TextDecoration: none;
|
|
58
58
|
--pf-c-banner--m-info--BackgroundColor: var(--pf-global--palette--blue-200);
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
--pf-c-banner--link--Color: var(--pf-c-banner--Color);
|
|
19
19
|
--pf-c-banner--link--TextDecoration: underline;
|
|
20
20
|
--pf-c-banner--link--hover--Color: var(--pf-c-banner--Color);
|
|
21
|
-
--pf-c-banner--link--hover--FontWeight: var(--pf-global--FontWeight--
|
|
21
|
+
--pf-c-banner--link--hover--FontWeight: var(--pf-global--FontWeight--bold);
|
|
22
22
|
--pf-c-banner--link--disabled--Color: var(--pf-c-banner--Color);
|
|
23
23
|
--pf-c-banner--link--disabled--TextDecoration: none;
|
|
24
24
|
|
|
@@ -85,14 +85,8 @@ button.pf-c-breadcrumb__link {
|
|
|
85
85
|
white-space: normal;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
.pf-m-overpass-font .pf-c-breadcrumb__link,
|
|
89
|
-
.pf-m-overpass-font .pf-c-breadcrumb__item {
|
|
90
|
-
font-weight: var(--pf-global--FontWeight--semi-bold);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
88
|
.pf-c-breadcrumb__list > :first-child .pf-c-breadcrumb__item-divider {
|
|
94
89
|
display: none;
|
|
95
|
-
visibility: hidden;
|
|
96
90
|
}
|
|
97
91
|
|
|
98
92
|
:where(.pf-theme-dark) .pf-c-breadcrumb {
|
|
@@ -111,19 +111,10 @@
|
|
|
111
111
|
white-space: normal;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
// RedHat Font overrides
|
|
115
|
-
@include pf-m-overpass-font {
|
|
116
|
-
.pf-c-breadcrumb__link,
|
|
117
|
-
.pf-c-breadcrumb__item {
|
|
118
|
-
font-weight: var(--pf-global--FontWeight--semi-bold);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
114
|
// Hide divider of first child - required for react since dividers are included in each item
|
|
123
115
|
// Consider revisiting this in a breaking change release
|
|
124
116
|
.pf-c-breadcrumb__list > :first-child .pf-c-breadcrumb__item-divider {
|
|
125
117
|
display: none;
|
|
126
|
-
visibility: hidden;
|
|
127
118
|
}
|
|
128
119
|
|
|
129
120
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
@@ -501,10 +501,6 @@
|
|
|
501
501
|
margin-left: var(--pf-c-button__count--MarginLeft);
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
.pf-m-overpass-font .pf-c-button {
|
|
505
|
-
--pf-c-button--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
504
|
:where(.pf-theme-dark) .pf-c-button {
|
|
509
505
|
--pf-c-button--disabled--Color: var(--pf-global--disabled-color--300);
|
|
510
506
|
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
@@ -652,13 +652,6 @@
|
|
|
652
652
|
margin-left: var(--pf-c-button__count--MarginLeft);
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
// RedHat Font overrides
|
|
656
|
-
@include pf-m-overpass-font {
|
|
657
|
-
.pf-c-button {
|
|
658
|
-
--pf-c-button--FontWeight: var(--pf-global--FontWeight--semi-bold);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
655
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
663
656
|
@import "themes/dark/button";
|
|
664
657
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--pf-c-calendar-month--PaddingLeft: var(--pf-global--spacer--lg);
|
|
17
17
|
--pf-c-calendar-month--FontSize: var(--pf-global--FontSize--sm);
|
|
18
18
|
--pf-c-calendar-month__header--MarginBottom: var(--pf-global--spacer--md);
|
|
19
|
-
--pf-c-calendar-month__header-year--Width:
|
|
19
|
+
--pf-c-calendar-month__header-year--Width: 8ch;
|
|
20
20
|
--pf-c-calendar-month__header-nav-control--MarginRight: 0;
|
|
21
21
|
--pf-c-calendar-month__header-nav-control--MarginLeft: 0;
|
|
22
22
|
--pf-c-calendar-month__header-nav-control--m-prev-month--MarginRight: 0;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
// header
|
|
10
10
|
--pf-c-calendar-month__header--MarginBottom: var(--pf-global--spacer--md);
|
|
11
|
-
--pf-c-calendar-month__header-year--Width:
|
|
11
|
+
--pf-c-calendar-month__header-year--Width: 8ch;
|
|
12
12
|
--pf-c-calendar-month__header-nav-control--MarginRight: 0;
|
|
13
13
|
--pf-c-calendar-month__header-nav-control--MarginLeft: 0;
|
|
14
14
|
--pf-c-calendar-month__header-nav-control--m-prev-month--MarginRight: 0; // remove in breaking change
|
package/components/Card/card.css
CHANGED
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
--pf-c-card__body--FontSize: var(--pf-global--FontSize--md);
|
|
14
14
|
--pf-c-card__footer--FontSize: var(--pf-global--FontSize--md);
|
|
15
15
|
--pf-c-card__actions--PaddingLeft: var(--pf-global--spacer--md);
|
|
16
|
-
--pf-c-card__actions--
|
|
16
|
+
--pf-c-card__actions--Gap: var(--pf-global--spacer--sm);
|
|
17
|
+
--pf-c-card__actions--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
18
|
+
--pf-c-card__actions--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
|
|
17
19
|
--pf-c-card__header-toggle--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
18
20
|
--pf-c-card__header-toggle--MarginRight: var(--pf-global--spacer--xs);
|
|
19
21
|
--pf-c-card__header-toggle--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
|
|
@@ -84,7 +86,6 @@
|
|
|
84
86
|
--pf-c-card--m-plain--BackgroundColor: transparent;
|
|
85
87
|
--pf-c-card__header--m-toggle-right--toggle--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
|
|
86
88
|
--pf-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-global--spacer--xs);
|
|
87
|
-
--pf-c-card__header--m-toggle-right--actions--MarginRight: 0;
|
|
88
89
|
--pf-c-card__input--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
89
90
|
--pf-c-card__input--focus--BorderColor: var(--pf-global--primary-color--100);
|
|
90
91
|
display: flex;
|
|
@@ -230,13 +231,11 @@
|
|
|
230
231
|
--pf-c-card__header-toggle--MarginRight: var(--pf-c-card__header--m-toggle-right--toggle--MarginRight);
|
|
231
232
|
--pf-c-card__header-toggle--MarginLeft: var(--pf-c-card__header--m-toggle-right--toggle--MarginLeft);
|
|
232
233
|
}
|
|
233
|
-
.pf-c-card__header.pf-m-toggle-right .pf-c-card__actions {
|
|
234
|
-
--pf-c-card__header-toggle--MarginRight: var(--pf-c-card__header--m-toggle-right--actions--MarginRight);
|
|
235
|
-
}
|
|
236
234
|
.pf-c-card__header.pf-m-toggle-right .pf-c-card__header-toggle {
|
|
237
235
|
order: 2;
|
|
238
236
|
}
|
|
239
|
-
|
|
237
|
+
|
|
238
|
+
.pf-c-card__header-main {
|
|
240
239
|
flex: 1;
|
|
241
240
|
}
|
|
242
241
|
|
|
@@ -262,10 +261,8 @@
|
|
|
262
261
|
align-self: flex-start;
|
|
263
262
|
order: 1;
|
|
264
263
|
padding-left: var(--pf-c-card__actions--PaddingLeft);
|
|
265
|
-
margin: var(--pf-c-
|
|
266
|
-
|
|
267
|
-
.pf-c-card__actions > * + * {
|
|
268
|
-
margin-left: var(--pf-c-card__actions--child--MarginLeft);
|
|
264
|
+
margin: var(--pf-c-card__actions--MarginTop) 0 var(--pf-c-card__actions--MarginBottom) auto;
|
|
265
|
+
gap: var(--pf-c-card__actions--Gap);
|
|
269
266
|
}
|
|
270
267
|
.pf-c-card__actions + .pf-c-card__title,
|
|
271
268
|
.pf-c-card__actions + .pf-c-card__body,
|
|
@@ -273,8 +270,8 @@
|
|
|
273
270
|
padding: 0;
|
|
274
271
|
}
|
|
275
272
|
.pf-c-card__actions.pf-m-no-offset {
|
|
276
|
-
--pf-c-
|
|
277
|
-
--pf-c-
|
|
273
|
+
--pf-c-card__actions--MarginTop: 0;
|
|
274
|
+
--pf-c-card__actions--MarginBottom: 0;
|
|
278
275
|
}
|
|
279
276
|
|
|
280
277
|
.pf-c-card__header,
|
|
@@ -323,10 +320,6 @@
|
|
|
323
320
|
border: var(--pf-c-card__input--focus--BorderWidth) solid var(--pf-c-card__input--focus--BorderColor);
|
|
324
321
|
}
|
|
325
322
|
|
|
326
|
-
.pf-m-overpass-font .pf-c-card .pf-c-card__title {
|
|
327
|
-
font-weight: var(--pf-global--FontWeight--normal);
|
|
328
|
-
}
|
|
329
|
-
|
|
330
323
|
:where(.pf-theme-dark) .pf-c-card,
|
|
331
324
|
:where(.pf-theme-dark) .pf-c-card.pf-m-non-selectable-raised {
|
|
332
325
|
--pf-c-card--BoxShadow: var(--pf-global--BoxShadow--md);
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
--pf-c-card__body--FontSize: var(--pf-global--FontSize--md);
|
|
14
14
|
--pf-c-card__footer--FontSize: var(--pf-global--FontSize--md);
|
|
15
15
|
--pf-c-card__actions--PaddingLeft: var(--pf-global--spacer--md);
|
|
16
|
-
--pf-c-card__actions--
|
|
16
|
+
--pf-c-card__actions--Gap: var(--pf-global--spacer--sm);
|
|
17
|
+
--pf-c-card__actions--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
18
|
+
--pf-c-card__actions--MarginBottom: calc(var(--pf-global--spacer--form-element) * -1);
|
|
17
19
|
|
|
18
20
|
// Expandable
|
|
19
21
|
--pf-c-card__header-toggle--MarginTop: calc(var(--pf-global--spacer--form-element) * -1);
|
|
@@ -104,7 +106,6 @@
|
|
|
104
106
|
// Toggle right
|
|
105
107
|
--pf-c-card__header--m-toggle-right--toggle--MarginRight: calc(var(--pf-global--spacer--form-element) * -1);
|
|
106
108
|
--pf-c-card__header--m-toggle-right--toggle--MarginLeft: var(--pf-global--spacer--xs);
|
|
107
|
-
--pf-c-card__header--m-toggle-right--actions--MarginRight: 0;
|
|
108
109
|
|
|
109
110
|
// Card input
|
|
110
111
|
--pf-c-card__input--focus--BorderWidth: var(--pf-global--BorderWidth--md);
|
|
@@ -295,20 +296,16 @@
|
|
|
295
296
|
--pf-c-card__header-toggle--MarginRight: var(--pf-c-card__header--m-toggle-right--toggle--MarginRight);
|
|
296
297
|
--pf-c-card__header-toggle--MarginLeft: var(--pf-c-card__header--m-toggle-right--toggle--MarginLeft);
|
|
297
298
|
|
|
298
|
-
.pf-c-card__actions {
|
|
299
|
-
--pf-c-card__header-toggle--MarginRight: var(--pf-c-card__header--m-toggle-right--actions--MarginRight);
|
|
300
|
-
}
|
|
301
|
-
|
|
302
299
|
.pf-c-card__header-toggle {
|
|
303
300
|
order: 2;
|
|
304
301
|
}
|
|
305
|
-
|
|
306
|
-
.pf-c-card__title {
|
|
307
|
-
flex: 1;
|
|
308
|
-
}
|
|
309
302
|
}
|
|
310
303
|
}
|
|
311
304
|
|
|
305
|
+
.pf-c-card__header-main {
|
|
306
|
+
flex: 1;
|
|
307
|
+
}
|
|
308
|
+
|
|
312
309
|
.pf-c-card__header-toggle {
|
|
313
310
|
align-self: flex-start;
|
|
314
311
|
margin: var(--pf-c-card__header-toggle--MarginTop) var(--pf-c-card__header-toggle--MarginRight) var(--pf-c-card__header-toggle--MarginBottom) var(--pf-c-card__header-toggle--MarginLeft);
|
|
@@ -331,11 +328,8 @@
|
|
|
331
328
|
align-self: flex-start;
|
|
332
329
|
order: 1;
|
|
333
330
|
padding-left: var(--pf-c-card__actions--PaddingLeft);
|
|
334
|
-
margin: var(--pf-c-
|
|
335
|
-
|
|
336
|
-
> * + * {
|
|
337
|
-
margin-left: var(--pf-c-card__actions--child--MarginLeft);
|
|
338
|
-
}
|
|
331
|
+
margin: var(--pf-c-card__actions--MarginTop) 0 var(--pf-c-card__actions--MarginBottom) auto;
|
|
332
|
+
gap: var(--pf-c-card__actions--Gap);
|
|
339
333
|
|
|
340
334
|
+ .pf-c-card__title,
|
|
341
335
|
+ .pf-c-card__body,
|
|
@@ -344,8 +338,8 @@
|
|
|
344
338
|
}
|
|
345
339
|
|
|
346
340
|
&.pf-m-no-offset {
|
|
347
|
-
--pf-c-
|
|
348
|
-
--pf-c-
|
|
341
|
+
--pf-c-card__actions--MarginTop: 0;
|
|
342
|
+
--pf-c-card__actions--MarginBottom: 0;
|
|
349
343
|
}
|
|
350
344
|
}
|
|
351
345
|
|
|
@@ -395,13 +389,6 @@
|
|
|
395
389
|
border: var(--pf-c-card__input--focus--BorderWidth) solid var(--pf-c-card__input--focus--BorderColor);
|
|
396
390
|
}
|
|
397
391
|
|
|
398
|
-
// RedHat Font overrides
|
|
399
|
-
@include pf-m-overpass-font {
|
|
400
|
-
.pf-c-card .pf-c-card__title {
|
|
401
|
-
font-weight: var(--pf-global--FontWeight--normal);
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
|
|
405
392
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
406
393
|
@import "themes/dark/card";
|
|
407
394
|
|
|
@@ -16,8 +16,6 @@
|
|
|
16
16
|
display: grid;
|
|
17
17
|
grid-template-columns: auto 1fr;
|
|
18
18
|
grid-gap: var(--pf-c-check--GridGap);
|
|
19
|
-
align-items: start;
|
|
20
|
-
justify-items: start;
|
|
21
19
|
}
|
|
22
20
|
.pf-c-check.pf-m-standalone {
|
|
23
21
|
--pf-c-check--GridGap: 0;
|
|
@@ -50,6 +48,10 @@
|
|
|
50
48
|
margin-top: var(--pf-c-check__body--MarginTop);
|
|
51
49
|
}
|
|
52
50
|
|
|
51
|
+
.pf-c-check__label,
|
|
52
|
+
.pf-c-check__input {
|
|
53
|
+
justify-self: start;
|
|
54
|
+
}
|
|
53
55
|
label.pf-c-check, .pf-c-check__label,
|
|
54
56
|
.pf-c-check__input {
|
|
55
57
|
cursor: pointer;
|
|
@@ -19,8 +19,6 @@
|
|
|
19
19
|
display: grid;
|
|
20
20
|
grid-template-columns: auto 1fr;
|
|
21
21
|
grid-gap: var(--pf-c-check--GridGap);
|
|
22
|
-
align-items: start;
|
|
23
|
-
justify-items: start;
|
|
24
22
|
|
|
25
23
|
&.pf-m-standalone {
|
|
26
24
|
--pf-c-check--GridGap: 0;
|
|
@@ -57,6 +55,8 @@
|
|
|
57
55
|
|
|
58
56
|
.pf-c-check__label,
|
|
59
57
|
.pf-c-check__input {
|
|
58
|
+
justify-self: start;
|
|
59
|
+
|
|
60
60
|
@at-root label.pf-c-check,
|
|
61
61
|
& {
|
|
62
62
|
cursor: pointer;
|
|
@@ -10,28 +10,40 @@
|
|
|
10
10
|
|
|
11
11
|
.pf-c-chip-group {
|
|
12
12
|
color: var(--pf-global--Color--100);
|
|
13
|
-
--pf-c-chip-
|
|
14
|
-
--pf-c-chip-
|
|
13
|
+
--pf-c-chip-group--PaddingTop: 0;
|
|
14
|
+
--pf-c-chip-group--PaddingRight: 0;
|
|
15
|
+
--pf-c-chip-group--PaddingBottom: 0;
|
|
16
|
+
--pf-c-chip-group--PaddingLeft: 0;
|
|
17
|
+
--pf-c-chip-group--RowGap: var(--pf-global--spacer--sm);
|
|
18
|
+
--pf-c-chip-group--ColumnGap: var(--pf-global--spacer--sm);
|
|
19
|
+
--pf-c-chip-group__main--RowGap: var(--pf-global--spacer--xs);
|
|
20
|
+
--pf-c-chip-group__main--ColumnGap: var(--pf-global--spacer--sm);
|
|
21
|
+
--pf-c-chip-group__list--RowGap: var(--pf-global--spacer--xs);
|
|
22
|
+
--pf-c-chip-group__list--ColumnGap: var(--pf-global--spacer--xs);
|
|
15
23
|
--pf-c-chip-group--m-category--PaddingTop: var(--pf-global--spacer--xs);
|
|
16
24
|
--pf-c-chip-group--m-category--PaddingRight: var(--pf-global--spacer--xs);
|
|
17
25
|
--pf-c-chip-group--m-category--PaddingBottom: var(--pf-global--spacer--xs);
|
|
18
26
|
--pf-c-chip-group--m-category--PaddingLeft: var(--pf-global--spacer--sm);
|
|
19
27
|
--pf-c-chip-group--m-category--BorderRadius: var(--pf-global--BorderRadius--sm);
|
|
20
28
|
--pf-c-chip-group--m-category--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
21
|
-
--pf-c-chip-group__label--MarginRight: var(--pf-global--spacer--sm);
|
|
22
29
|
--pf-c-chip-group__label--FontSize: var(--pf-global--FontSize--sm);
|
|
23
30
|
--pf-c-chip-group__label--MaxWidth: 18ch;
|
|
24
31
|
--pf-c-chip-group__close--MarginTop: calc(var(--pf-global--spacer--xs) * -1);
|
|
25
32
|
--pf-c-chip-group__close--MarginBottom: calc(var(--pf-global--spacer--xs) * -1);
|
|
26
|
-
--pf-c-chip-
|
|
27
|
-
--pf-c-chip-group__list-item--MarginBottom: var(--pf-global--spacer--xs);
|
|
33
|
+
--pf-c-chip-group__close--MarginLeft: calc(var(--pf-global--spacer--sm) * -1);
|
|
28
34
|
max-width: 100%;
|
|
35
|
+
padding-top: var(--pf-c-chip-group--PaddingTop);
|
|
36
|
+
padding-right: var(--pf-c-chip-group--PaddingRight);
|
|
37
|
+
padding-bottom: var(--pf-c-chip-group--PaddingBottom);
|
|
38
|
+
padding-left: var(--pf-c-chip-group--PaddingLeft);
|
|
39
|
+
row-gap: var(--pf-c-chip-group--RowGap);
|
|
40
|
+
column-gap: var(--pf-c-chip-group--ColumnGap);
|
|
29
41
|
}
|
|
30
42
|
.pf-c-chip-group.pf-m-category {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
43
|
+
--pf-c-chip-group--PaddingTop: var(--pf-c-chip-group--m-category--PaddingTop);
|
|
44
|
+
--pf-c-chip-group--PaddingRight: var(--pf-c-chip-group--m-category--PaddingRight);
|
|
45
|
+
--pf-c-chip-group--PaddingBottom: var(--pf-c-chip-group--m-category--PaddingBottom);
|
|
46
|
+
--pf-c-chip-group--PaddingLeft: var(--pf-c-chip-group--m-category--PaddingLeft);
|
|
35
47
|
background-color: var(--pf-c-chip-group--m-category--BackgroundColor);
|
|
36
48
|
border-radius: var(--pf-c-chip-group--m-category--BorderRadius);
|
|
37
49
|
}
|
|
@@ -42,11 +54,8 @@
|
|
|
42
54
|
flex-wrap: wrap;
|
|
43
55
|
align-items: baseline;
|
|
44
56
|
min-width: 0;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
.pf-c-chip-group__list {
|
|
48
|
-
margin-right: var(--pf-c-chip-group__list--MarginRight);
|
|
49
|
-
margin-bottom: var(--pf-c-chip-group__list--MarginBottom);
|
|
57
|
+
row-gap: var(--pf-c-chip-group__main--RowGap);
|
|
58
|
+
column-gap: var(--pf-c-chip-group__main--ColumnGap);
|
|
50
59
|
}
|
|
51
60
|
|
|
52
61
|
.pf-c-chip-group,
|
|
@@ -57,11 +66,14 @@
|
|
|
57
66
|
min-width: 0;
|
|
58
67
|
}
|
|
59
68
|
|
|
69
|
+
.pf-c-chip-group__list {
|
|
70
|
+
row-gap: var(--pf-c-chip-group__list--RowGap);
|
|
71
|
+
column-gap: var(--pf-c-chip-group__list--ColumnGap);
|
|
72
|
+
}
|
|
73
|
+
|
|
60
74
|
.pf-c-chip-group__list-item {
|
|
61
75
|
display: inline-flex;
|
|
62
76
|
min-width: 0;
|
|
63
|
-
margin-right: var(--pf-c-chip-group__list-item--MarginRight);
|
|
64
|
-
margin-bottom: var(--pf-c-chip-group__list-item--MarginBottom);
|
|
65
77
|
}
|
|
66
78
|
|
|
67
79
|
.pf-c-chip-group__label {
|
|
@@ -69,7 +81,6 @@
|
|
|
69
81
|
text-overflow: ellipsis;
|
|
70
82
|
white-space: nowrap;
|
|
71
83
|
max-width: var(--pf-c-chip-group__label--MaxWidth);
|
|
72
|
-
margin-right: var(--pf-c-chip-group__label--MarginRight);
|
|
73
84
|
font-size: var(--pf-c-chip-group__label--FontSize);
|
|
74
85
|
}
|
|
75
86
|
|
|
@@ -78,4 +89,5 @@
|
|
|
78
89
|
align-self: flex-start;
|
|
79
90
|
margin-top: var(--pf-c-chip-group__close--MarginTop);
|
|
80
91
|
margin-bottom: var(--pf-c-chip-group__close--MarginBottom);
|
|
92
|
+
margin-left: var(--pf-c-chip-group__close--MarginLeft);
|
|
81
93
|
}
|