@patternfly/patternfly 5.0.0-alpha.33 → 5.0.0-alpha.35
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/RELEASE-NOTES.md +1 -1
- package/assets/pficon/pficon.scss +1 -2
- package/base/_fa-icons.scss +1 -2
- package/base/_fonts.scss +5 -10
- package/base/_globals.scss +91 -85
- package/base/_variables.scss +3 -3
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fonts.css +5 -5
- package/base/patternfly-globals.css +35 -41
- package/base/patternfly-icons.css +2 -2
- package/base/patternfly-pf-icons.css +1 -1
- package/base/patternfly-themes.css +0 -42
- package/base/patternfly-variables.css +3 -3
- package/components/AboutModalBox/about-modal-box.css +0 -38
- package/components/Alert/alert.css +14 -5
- package/components/Alert/alert.scss +18 -4
- package/components/Alert/themes/dark/alert.scss +1 -1
- package/components/Banner/banner.css +0 -38
- package/components/ContextSelector/context-selector.css +8 -5
- package/components/ContextSelector/context-selector.scss +8 -5
- package/components/Dropdown/dropdown.css +14 -15
- package/components/Dropdown/dropdown.scss +15 -18
- package/components/Icon/icon.css +3 -3
- package/components/Icon/icon.scss +3 -3
- package/components/Label/label.css +6 -6
- package/components/Label/label.scss +4 -4
- package/components/Label/themes/dark/label.scss +2 -2
- package/components/LogViewer/log-viewer.css +0 -38
- package/components/Login/login.css +0 -40
- package/components/Masthead/masthead.css +0 -38
- package/components/ModalBox/modal-box.css +3 -3
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/NotificationDrawer/notification-drawer.css +5 -5
- package/components/NotificationDrawer/notification-drawer.scss +5 -5
- package/components/OptionsMenu/options-menu.css +8 -5
- package/components/OptionsMenu/options-menu.scss +9 -5
- package/components/Page/page.css +0 -42
- package/components/Popover/popover.css +6 -6
- package/components/Popover/popover.scss +5 -5
- package/components/Popover/themes/dark/popover.scss +1 -1
- package/components/Wizard/wizard.css +0 -38
- package/docs/components/Alert/examples/Alert.md +15 -15
- package/docs/components/AlertGroup/examples/AlertGroup.md +6 -6
- package/docs/components/AppLauncher/examples/application-launcher.md +1 -0
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/ContextSelector/examples/context-selector.md +1 -0
- package/docs/components/DatePicker/examples/DatePicker.md +1 -0
- package/docs/components/Dropdown/examples/Dropdown.md +1 -0
- package/docs/components/FileUpload/examples/FileUpload.md +2 -1
- package/docs/components/Form/examples/Form.md +1 -0
- package/docs/components/FormControl/examples/FormControl.md +1 -0
- package/docs/components/Icon/examples/Icon.md +2 -2
- package/docs/components/Menu/examples/Menu.md +1 -0
- package/docs/components/MenuToggle/examples/MenuToggle.md +1 -0
- package/docs/components/ModalBox/examples/ModalBox.md +8 -8
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +2 -1
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +22 -22
- package/docs/components/OptionsMenu/examples/options-menu.md +1 -0
- package/docs/components/Popover/examples/Popover.md +9 -9
- package/docs/components/Radio/examples/Radio.md +1 -0
- package/docs/components/Select/examples/Select.md +1 -0
- package/docs/demos/CardView/examples/CardView.md +1 -1
- package/docs/demos/Dashboard/examples/Dashboard.md +1 -1
- package/docs/demos/Form/examples/BasicForms.md +1 -0
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +30 -30
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +1 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1 -1
- package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
- package/docs/utilities/Alignment/examples/Alignment.md +1 -1
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
- package/docs/utilities/BoxShadow/examples/box-shadow.md +1 -1
- package/docs/utilities/Display/examples/Display.md +1 -1
- package/docs/utilities/Flex/examples/Flex.md +1 -1
- package/docs/utilities/Float/examples/Float.md +1 -1
- package/docs/utilities/Sizing/examples/Sizing.md +1 -1
- package/docs/utilities/Spacing/examples/Spacing.md +1 -1
- package/docs/utilities/Text/examples/Text.md +5 -5
- package/package.json +1 -1
- package/patternfly-addons.css +48 -48
- package/{patternfly-base-no-reset.css → patternfly-base-no-globals.css} +10 -31
- package/{patternfly-base-no-reset.scss → patternfly-base-no-globals.scss} +1 -0
- package/patternfly-base.css +45 -72
- package/{patternfly-no-reset.css → patternfly-no-globals.css} +81 -1261
- package/{patternfly-no-reset.scss → patternfly-no-globals.scss} +1 -0
- package/patternfly.css +112 -1298
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/placeholders.scss +0 -23
- package/sass-utilities/scss-variables.scss +4 -5
- package/sass-utilities/themes/dark/placeholders.scss +0 -22
- package/utilities/Text/text.css +48 -48
- package/utilities/Text/text.scss +6 -6
- package/utilities/Text/themes/dark/text.scss +2 -2
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Black.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BlackItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Bold.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Italic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Medium.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatDisplay/RedHatDisplay-Regular.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Bold.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-BoldItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Italic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Medium.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-MediumItalic.woff +0 -0
- package/assets/fonts/RedHatText/RedHatText-Regular.woff +0 -0
- package/assets/fonts/webfonts/fa-solid-900.woff +0 -0
- package/assets/pficon/pficon.woff +0 -0
- package/sass-utilities/bs-variables.scss +0 -709
|
@@ -7,27 +7,6 @@
|
|
|
7
7
|
--pf-global--link--Color--hover: var(--pf-global--link--Color--light);
|
|
8
8
|
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
9
9
|
}
|
|
10
|
-
.pf-c-login__footer .pf-c-card, .pf-c-login__header .pf-c-card {
|
|
11
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
12
|
-
}
|
|
13
|
-
.pf-c-login__footer .pf-c-button, .pf-c-login__header .pf-c-button {
|
|
14
|
-
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
15
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
16
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
17
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
18
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
19
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
20
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
21
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
22
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
23
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
24
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
25
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
26
|
-
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
27
|
-
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
28
|
-
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
29
|
-
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
30
|
-
}
|
|
31
10
|
|
|
32
11
|
.pf-c-login {
|
|
33
12
|
--pf-c-login--PaddingTop: var(--pf-global--spacer--lg);
|
|
@@ -306,25 +285,6 @@
|
|
|
306
285
|
--pf-global--link--Color--hover: #73bcf7;
|
|
307
286
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
308
287
|
}
|
|
309
|
-
:where(.pf-theme-dark) .pf-c-login__header .pf-c-card,
|
|
310
|
-
:where(.pf-theme-dark) .pf-c-login__footer .pf-c-card {
|
|
311
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
312
|
-
}
|
|
313
|
-
:where(.pf-theme-dark) .pf-c-login__header .pf-c-button,
|
|
314
|
-
:where(.pf-theme-dark) .pf-c-login__footer .pf-c-button {
|
|
315
|
-
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
316
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
317
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
318
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
319
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
320
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
321
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
322
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
323
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
324
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
325
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
326
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
327
|
-
}
|
|
328
288
|
|
|
329
289
|
:where(.pf-theme-dark) .pf-c-login__header,
|
|
330
290
|
:where(.pf-theme-dark) .pf-c-login__footer {
|
|
@@ -17,27 +17,6 @@
|
|
|
17
17
|
--pf-global--link--Color--hover: var(--pf-global--link--Color--light);
|
|
18
18
|
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
19
19
|
}
|
|
20
|
-
.pf-c-masthead .pf-c-button.pf-m-plain .pf-c-card, .pf-c-masthead .pf-c-card {
|
|
21
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
22
|
-
}
|
|
23
|
-
.pf-c-masthead .pf-c-button.pf-m-plain .pf-c-button, .pf-c-masthead .pf-c-button {
|
|
24
|
-
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
25
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
26
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
27
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
28
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
29
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
30
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
31
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
32
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
33
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
34
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
35
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
36
|
-
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
37
|
-
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
38
|
-
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
39
|
-
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
40
|
-
}
|
|
41
20
|
|
|
42
21
|
.pf-c-masthead {
|
|
43
22
|
--pf-c-masthead--PaddingLeft: var(--pf-c-masthead--inset);
|
|
@@ -668,23 +647,6 @@
|
|
|
668
647
|
--pf-global--link--Color--hover: #73bcf7;
|
|
669
648
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
670
649
|
}
|
|
671
|
-
:where(.pf-theme-dark) .pf-c-masthead .pf-c-card {
|
|
672
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
673
|
-
}
|
|
674
|
-
:where(.pf-theme-dark) .pf-c-masthead .pf-c-button {
|
|
675
|
-
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
676
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
677
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
678
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
679
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
680
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
681
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
682
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
683
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
684
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
685
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
686
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
687
|
-
}
|
|
688
650
|
|
|
689
651
|
:where(.pf-theme-dark) .pf-c-masthead {
|
|
690
652
|
--pf-c-masthead--BackgroundColor: var(--pf-global--palette--black-1000);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
--pf-c-modal-box--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
|
|
18
18
|
--pf-c-modal-box--m-success__title-icon--Color: var(--pf-global--success-color--100);
|
|
19
19
|
--pf-c-modal-box--m-info__title-icon--Color: var(--pf-global--info-color--100);
|
|
20
|
-
--pf-c-modal-box--m-
|
|
20
|
+
--pf-c-modal-box--m-custom__title-icon--Color: var(--pf-global--custom-color--200);
|
|
21
21
|
--pf-c-modal-box__header--PaddingTop: var(--pf-global--spacer--lg);
|
|
22
22
|
--pf-c-modal-box__header--PaddingRight: var(--pf-global--spacer--lg);
|
|
23
23
|
--pf-c-modal-box__header--PaddingLeft: var(--pf-global--spacer--lg);
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
.pf-c-modal-box.pf-m-success {
|
|
83
83
|
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-success__title-icon--Color);
|
|
84
84
|
}
|
|
85
|
-
.pf-c-modal-box.pf-m-
|
|
86
|
-
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-
|
|
85
|
+
.pf-c-modal-box.pf-m-custom {
|
|
86
|
+
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-custom__title-icon--Color);
|
|
87
87
|
}
|
|
88
88
|
.pf-c-modal-box.pf-m-info {
|
|
89
89
|
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-info__title-icon--Color);
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--pf-c-modal-box--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
|
|
20
20
|
--pf-c-modal-box--m-success__title-icon--Color: var(--pf-global--success-color--100);
|
|
21
21
|
--pf-c-modal-box--m-info__title-icon--Color: var(--pf-global--info-color--100);
|
|
22
|
-
--pf-c-modal-box--m-
|
|
22
|
+
--pf-c-modal-box--m-custom__title-icon--Color: var(--pf-global--custom-color--200);
|
|
23
23
|
|
|
24
24
|
@media (min-width: $pf-global--breakpoint--xl) {
|
|
25
25
|
--pf-c-modal-box--m-align-top--spacer: var(--pf-c-modal-box--m-align-top--xl--spacer);
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-success__title-icon--Color);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
&.pf-m-
|
|
111
|
-
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-
|
|
110
|
+
&.pf-m-custom {
|
|
111
|
+
--pf-c-modal-box__title-icon--Color: var(--pf-c-modal-box--m-custom__title-icon--Color);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
&.pf-m-info {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
--pf-c-notification-drawer__list-item--m-danger__list-item--before--BackgroundColor: var(--pf-global--danger-color--100);
|
|
31
31
|
--pf-c-notification-drawer__list-item--m-success__list-item-header-icon--Color: var(--pf-global--success-color--100);
|
|
32
32
|
--pf-c-notification-drawer__list-item--m-success__list-item--before--BackgroundColor: var(--pf-global--success-color--100);
|
|
33
|
-
--pf-c-notification-drawer__list-item--m-
|
|
34
|
-
--pf-c-notification-drawer__list-item--m-
|
|
33
|
+
--pf-c-notification-drawer__list-item--m-custom__list-item-header-icon--Color: var(--pf-global--custom-color--200);
|
|
34
|
+
--pf-c-notification-drawer__list-item--m-custom__list-item--before--BackgroundColor: var(--pf-global--custom-color--200);
|
|
35
35
|
--pf-c-notification-drawer__list-item--m-read--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
36
36
|
--pf-c-notification-drawer__list-item--m-read--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
37
37
|
--pf-c-notification-drawer__list-item--m-read--before--Top: calc(var(--pf-c-notification-drawer__list-item--BorderBottomWidth) * -1);
|
|
@@ -146,9 +146,9 @@
|
|
|
146
146
|
--pf-c-notification-drawer__list-item--before--BackgroundColor: var(--pf-c-notification-drawer__list-item--m-success__list-item--before--BackgroundColor);
|
|
147
147
|
--pf-c-notification-drawer__list-item-header-icon--Color: var(--pf-c-notification-drawer__list-item--m-success__list-item-header-icon--Color);
|
|
148
148
|
}
|
|
149
|
-
.pf-c-notification-drawer__list-item.pf-m-
|
|
150
|
-
--pf-c-notification-drawer__list-item--before--BackgroundColor: var(--pf-c-notification-drawer__list-item--m-
|
|
151
|
-
--pf-c-notification-drawer__list-item-header-icon--Color: var(--pf-c-notification-drawer__list-item--m-
|
|
149
|
+
.pf-c-notification-drawer__list-item.pf-m-custom {
|
|
150
|
+
--pf-c-notification-drawer__list-item--before--BackgroundColor: var(--pf-c-notification-drawer__list-item--m-custom__list-item--before--BackgroundColor);
|
|
151
|
+
--pf-c-notification-drawer__list-item-header-icon--Color: var(--pf-c-notification-drawer__list-item--m-custom__list-item-header-icon--Color);
|
|
152
152
|
}
|
|
153
153
|
.pf-c-notification-drawer__list-item.pf-m-read {
|
|
154
154
|
--pf-c-notification-drawer__list-item--BorderBottomColor: var(--pf-c-notification-drawer__list-item--m-read--BorderBottomColor);
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
--pf-c-notification-drawer__list-item--m-danger__list-item--before--BackgroundColor: var(--pf-global--danger-color--100);
|
|
39
39
|
--pf-c-notification-drawer__list-item--m-success__list-item-header-icon--Color: var(--pf-global--success-color--100);
|
|
40
40
|
--pf-c-notification-drawer__list-item--m-success__list-item--before--BackgroundColor: var(--pf-global--success-color--100);
|
|
41
|
-
--pf-c-notification-drawer__list-item--m-
|
|
42
|
-
--pf-c-notification-drawer__list-item--m-
|
|
41
|
+
--pf-c-notification-drawer__list-item--m-custom__list-item-header-icon--Color: var(--pf-global--custom-color--200);
|
|
42
|
+
--pf-c-notification-drawer__list-item--m-custom__list-item--before--BackgroundColor: var(--pf-global--custom-color--200);
|
|
43
43
|
--pf-c-notification-drawer__list-item--m-read--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
44
44
|
--pf-c-notification-drawer__list-item--m-read--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
45
45
|
--pf-c-notification-drawer__list-item--m-read--before--Top: calc(var(--pf-c-notification-drawer__list-item--BorderBottomWidth) * -1);
|
|
@@ -183,9 +183,9 @@
|
|
|
183
183
|
--pf-c-notification-drawer__list-item-header-icon--Color: var(--pf-c-notification-drawer__list-item--m-success__list-item-header-icon--Color);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
&.pf-m-
|
|
187
|
-
--pf-c-notification-drawer__list-item--before--BackgroundColor: var(--pf-c-notification-drawer__list-item--m-
|
|
188
|
-
--pf-c-notification-drawer__list-item-header-icon--Color: var(--pf-c-notification-drawer__list-item--m-
|
|
186
|
+
&.pf-m-custom {
|
|
187
|
+
--pf-c-notification-drawer__list-item--before--BackgroundColor: var(--pf-c-notification-drawer__list-item--m-custom__list-item--before--BackgroundColor);
|
|
188
|
+
--pf-c-notification-drawer__list-item-header-icon--Color: var(--pf-c-notification-drawer__list-item--m-custom__list-item-header-icon--Color);
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
&.pf-m-read {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--pf-c-options-menu__toggle--PaddingRight: var(--pf-global--spacer--sm);
|
|
5
5
|
--pf-c-options-menu__toggle--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
6
6
|
--pf-c-options-menu__toggle--PaddingLeft: var(--pf-global--spacer--sm);
|
|
7
|
+
--pf-c-options-menu__toggle--ColumnGap: var(--pf-global--spacer--sm);
|
|
7
8
|
--pf-c-options-menu__toggle--MinWidth: 0;
|
|
8
9
|
--pf-c-options-menu__toggle--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
9
10
|
--pf-c-options-menu__toggle--BorderTopColor: var(--pf-global--BorderColor--300);
|
|
@@ -24,8 +25,8 @@
|
|
|
24
25
|
--pf-c-options-menu__toggle--m-plain--disabled--Color: var(--pf-global--disabled-color--200);
|
|
25
26
|
--pf-c-options-menu__toggle--m-plain--PaddingRight: var(--pf-global--spacer--md);
|
|
26
27
|
--pf-c-options-menu__toggle--m-plain--PaddingLeft: var(--pf-global--spacer--md);
|
|
27
|
-
--pf-c-options-menu__toggle-icon--
|
|
28
|
-
--pf-c-options-menu__toggle-icon--
|
|
28
|
+
--pf-c-options-menu__toggle-icon--PaddingRight: var(--pf-global--spacer--sm);
|
|
29
|
+
--pf-c-options-menu__toggle-icon--PaddingLeft: var(--pf-global--spacer--sm);
|
|
29
30
|
--pf-c-options-menu--m-top--m-expanded__toggle-icon--Rotate: 180deg;
|
|
30
31
|
--pf-c-options-menu--m-plain__toggle-icon--Color: var(--pf-global--Color--200);
|
|
31
32
|
--pf-c-options-menu--m-plain--hover__toggle-icon--Color: var(--pf-global--Color--100);
|
|
@@ -107,8 +108,8 @@
|
|
|
107
108
|
.pf-c-options-menu__toggle {
|
|
108
109
|
position: relative;
|
|
109
110
|
display: flex;
|
|
111
|
+
column-gap: var(--pf-c-options-menu__toggle--ColumnGap);
|
|
110
112
|
align-items: center;
|
|
111
|
-
justify-content: space-between;
|
|
112
113
|
min-width: var(--pf-c-options-menu__toggle--MinWidth);
|
|
113
114
|
max-width: 100%;
|
|
114
115
|
padding: var(--pf-c-options-menu__toggle--PaddingTop) var(--pf-c-options-menu__toggle--PaddingRight) var(--pf-c-options-menu__toggle--PaddingBottom) var(--pf-c-options-menu__toggle--PaddingLeft);
|
|
@@ -160,6 +161,8 @@
|
|
|
160
161
|
overflow: hidden;
|
|
161
162
|
text-overflow: ellipsis;
|
|
162
163
|
white-space: nowrap;
|
|
164
|
+
flex: 1 1 auto;
|
|
165
|
+
text-align: left;
|
|
163
166
|
}
|
|
164
167
|
|
|
165
168
|
.pf-c-options-menu__toggle-icon,
|
|
@@ -168,8 +171,8 @@
|
|
|
168
171
|
}
|
|
169
172
|
|
|
170
173
|
.pf-c-options-menu__toggle-icon {
|
|
171
|
-
|
|
172
|
-
|
|
174
|
+
padding-right: var(--pf-c-options-menu__toggle-icon--PaddingRight);
|
|
175
|
+
padding-left: var(--pf-c-options-menu__toggle-icon--PaddingLeft);
|
|
173
176
|
}
|
|
174
177
|
.pf-c-options-menu.pf-m-top.pf-m-expanded .pf-c-options-menu__toggle-icon {
|
|
175
178
|
transform: rotate(var(--pf-c-options-menu--m-top--m-expanded__toggle-icon--Rotate));
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
--pf-c-options-menu__toggle--PaddingRight: var(--pf-global--spacer--sm);
|
|
6
6
|
--pf-c-options-menu__toggle--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
7
7
|
--pf-c-options-menu__toggle--PaddingLeft: var(--pf-global--spacer--sm);
|
|
8
|
+
--pf-c-options-menu__toggle--ColumnGap: var(--pf-global--spacer--sm);
|
|
8
9
|
--pf-c-options-menu__toggle--MinWidth: 0;
|
|
9
10
|
--pf-c-options-menu__toggle--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
10
11
|
--pf-c-options-menu__toggle--BorderTopColor: var(--pf-global--BorderColor--300);
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
--pf-c-options-menu__toggle--m-plain--PaddingLeft: var(--pf-global--spacer--md);
|
|
28
29
|
|
|
29
30
|
// Toggle arrow
|
|
30
|
-
--pf-c-options-menu__toggle-icon--
|
|
31
|
-
--pf-c-options-menu__toggle-icon--
|
|
31
|
+
--pf-c-options-menu__toggle-icon--PaddingRight: var(--pf-global--spacer--sm);
|
|
32
|
+
--pf-c-options-menu__toggle-icon--PaddingLeft: var(--pf-global--spacer--sm);
|
|
32
33
|
--pf-c-options-menu--m-top--m-expanded__toggle-icon--Rotate: 180deg;
|
|
33
34
|
--pf-c-options-menu--m-plain__toggle-icon--Color: var(--pf-global--Color--200);
|
|
34
35
|
--pf-c-options-menu--m-plain--hover__toggle-icon--Color: var(--pf-global--Color--100);
|
|
@@ -136,8 +137,8 @@
|
|
|
136
137
|
.pf-c-options-menu__toggle {
|
|
137
138
|
position: relative;
|
|
138
139
|
display: flex;
|
|
140
|
+
column-gap: var(--pf-c-options-menu__toggle--ColumnGap);
|
|
139
141
|
align-items: center;
|
|
140
|
-
justify-content: space-between;
|
|
141
142
|
min-width: var(--pf-c-options-menu__toggle--MinWidth);
|
|
142
143
|
max-width: 100%;
|
|
143
144
|
padding: var(--pf-c-options-menu__toggle--PaddingTop) var(--pf-c-options-menu__toggle--PaddingRight) var(--pf-c-options-menu__toggle--PaddingBottom) var(--pf-c-options-menu__toggle--PaddingLeft);
|
|
@@ -206,6 +207,9 @@
|
|
|
206
207
|
|
|
207
208
|
.pf-c-options-menu__toggle-text {
|
|
208
209
|
@include pf-text-overflow;
|
|
210
|
+
|
|
211
|
+
flex: 1 1 auto;
|
|
212
|
+
text-align: left;
|
|
209
213
|
}
|
|
210
214
|
|
|
211
215
|
.pf-c-options-menu__toggle-icon,
|
|
@@ -214,8 +218,8 @@
|
|
|
214
218
|
}
|
|
215
219
|
|
|
216
220
|
.pf-c-options-menu__toggle-icon {
|
|
217
|
-
|
|
218
|
-
|
|
221
|
+
padding-right: var(--pf-c-options-menu__toggle-icon--PaddingRight);
|
|
222
|
+
padding-left: var(--pf-c-options-menu__toggle-icon--PaddingLeft);
|
|
219
223
|
|
|
220
224
|
.pf-c-options-menu.pf-m-top.pf-m-expanded & {
|
|
221
225
|
transform: rotate(var(--pf-c-options-menu--m-top--m-expanded__toggle-icon--Rotate));
|
package/components/Page/page.css
CHANGED
|
@@ -17,27 +17,6 @@
|
|
|
17
17
|
--pf-global--link--Color--hover: var(--pf-global--link--Color--light);
|
|
18
18
|
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
19
19
|
}
|
|
20
|
-
.pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card, .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card, .pf-c-page__header .pf-c-card {
|
|
21
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
22
|
-
}
|
|
23
|
-
.pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button, .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button, .pf-c-page__header .pf-c-button {
|
|
24
|
-
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
25
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
26
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
27
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
28
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
29
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
30
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
31
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
32
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
33
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
34
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
35
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
36
|
-
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
37
|
-
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
38
|
-
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
39
|
-
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
40
|
-
}
|
|
41
20
|
|
|
42
21
|
.pf-c-page__header-tools-item, .pf-c-page__header-tools-group {
|
|
43
22
|
--pf-hidden-visible--hidden--Display: none;
|
|
@@ -963,27 +942,6 @@
|
|
|
963
942
|
--pf-global--link--Color--hover: #73bcf7;
|
|
964
943
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
965
944
|
}
|
|
966
|
-
:where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-card,
|
|
967
|
-
:where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-card,
|
|
968
|
-
:where(.pf-theme-dark) .pf-c-page__header .pf-c-card {
|
|
969
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
970
|
-
}
|
|
971
|
-
:where(.pf-theme-dark) .pf-c-page__sidebar-body.pf-m-menu .pf-c-context-selector .pf-c-button,
|
|
972
|
-
:where(.pf-theme-dark) .pf-c-page__main-section[class*=pf-m-dark-] .pf-c-button,
|
|
973
|
-
:where(.pf-theme-dark) .pf-c-page__header .pf-c-button {
|
|
974
|
-
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
975
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
976
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
977
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
978
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
979
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
980
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
981
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
982
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
983
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
984
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
985
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
986
|
-
}
|
|
987
945
|
|
|
988
946
|
:where(.pf-theme-dark) .pf-c-page {
|
|
989
947
|
--pf-c-page__main-section--BackgroundColor: var(--pf-global--BackgroundColor--200);
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
--pf-c-popover--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
|
|
8
8
|
--pf-c-popover--m-success__title-icon--Color: var(--pf-global--success-color--100);
|
|
9
9
|
--pf-c-popover--m-info__title-icon--Color: var(--pf-global--info-color--100);
|
|
10
|
-
--pf-c-popover--m-
|
|
10
|
+
--pf-c-popover--m-custom__title-icon--Color: var(--pf-global--custom-color--200);
|
|
11
11
|
--pf-c-popover--m-danger__title-text--Color: var(--pf-global--danger-color--200);
|
|
12
12
|
--pf-c-popover--m-warning__title-text--Color: var(--pf-global--warning-color--200);
|
|
13
13
|
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--200);
|
|
14
14
|
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--200);
|
|
15
|
-
--pf-c-popover--m-
|
|
15
|
+
--pf-c-popover--m-custom__title-text--Color: var(--pf-global--custom-color--300);
|
|
16
16
|
--pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
17
17
|
--pf-c-popover__content--PaddingTop: var(--pf-global--spacer--md);
|
|
18
18
|
--pf-c-popover__content--PaddingRight: var(--pf-global--spacer--md);
|
|
@@ -107,9 +107,9 @@
|
|
|
107
107
|
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-success__title-icon--Color);
|
|
108
108
|
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-success__title-text--Color);
|
|
109
109
|
}
|
|
110
|
-
.pf-c-popover.pf-m-
|
|
111
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-
|
|
112
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-
|
|
110
|
+
.pf-c-popover.pf-m-custom {
|
|
111
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-custom__title-icon--Color);
|
|
112
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-custom__title-text--Color);
|
|
113
113
|
}
|
|
114
114
|
.pf-c-popover.pf-m-info {
|
|
115
115
|
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-info__title-icon--Color);
|
|
@@ -173,7 +173,7 @@
|
|
|
173
173
|
:where(.pf-theme-dark) .pf-c-popover {
|
|
174
174
|
--pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
175
175
|
--pf-c-popover__arrow--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
176
|
-
--pf-c-popover--m-default__title-text--Color: var(--pf-global--
|
|
176
|
+
--pf-c-popover--m-default__title-text--Color: var(--pf-global--custom-color--200);
|
|
177
177
|
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
|
|
178
178
|
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
|
|
179
179
|
}
|
|
@@ -10,14 +10,14 @@
|
|
|
10
10
|
--pf-c-popover--m-warning__title-icon--Color: var(--pf-global--warning-color--100);
|
|
11
11
|
--pf-c-popover--m-success__title-icon--Color: var(--pf-global--success-color--100);
|
|
12
12
|
--pf-c-popover--m-info__title-icon--Color: var(--pf-global--info-color--100);
|
|
13
|
-
--pf-c-popover--m-
|
|
13
|
+
--pf-c-popover--m-custom__title-icon--Color: var(--pf-global--custom-color--200);
|
|
14
14
|
|
|
15
15
|
// Title text colors for states
|
|
16
16
|
--pf-c-popover--m-danger__title-text--Color: var(--pf-global--danger-color--200);
|
|
17
17
|
--pf-c-popover--m-warning__title-text--Color: var(--pf-global--warning-color--200);
|
|
18
18
|
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--200);
|
|
19
19
|
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--200);
|
|
20
|
-
--pf-c-popover--m-
|
|
20
|
+
--pf-c-popover--m-custom__title-text--Color: var(--pf-global--custom-color--300);
|
|
21
21
|
|
|
22
22
|
// Content
|
|
23
23
|
--pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
@@ -171,9 +171,9 @@
|
|
|
171
171
|
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-success__title-text--Color);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
&.pf-m-
|
|
175
|
-
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-
|
|
176
|
-
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-
|
|
174
|
+
&.pf-m-custom {
|
|
175
|
+
--pf-c-popover__title-icon--Color: var(--pf-c-popover--m-custom__title-icon--Color);
|
|
176
|
+
--pf-c-popover__title-text--Color: var(--pf-c-popover--m-custom__title-text--Color);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
&.pf-m-info {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
.pf-c-popover {
|
|
5
5
|
--pf-c-popover__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
6
6
|
--pf-c-popover__arrow--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
7
|
-
--pf-c-popover--m-default__title-text--Color: var(--pf-global--
|
|
7
|
+
--pf-c-popover--m-default__title-text--Color: var(--pf-global--custom-color--200);
|
|
8
8
|
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
|
|
9
9
|
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
|
|
10
10
|
}
|
|
@@ -7,27 +7,6 @@
|
|
|
7
7
|
--pf-global--link--Color--hover: var(--pf-global--link--Color--light);
|
|
8
8
|
--pf-global--BackgroundColor--100: var(--pf-global--BackgroundColor--dark-100);
|
|
9
9
|
}
|
|
10
|
-
.pf-c-wizard__header .pf-c-card {
|
|
11
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--dark-transparent-200);
|
|
12
|
-
}
|
|
13
|
-
.pf-c-wizard__header .pf-c-button {
|
|
14
|
-
--pf-c-button--m-primary--Color: var(--pf-global--primary-color--dark-100);
|
|
15
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--primary-color--dark-100);
|
|
16
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--primary-color--dark-100);
|
|
17
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--primary-color--dark-100);
|
|
18
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--BackgroundColor--light-100);
|
|
19
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
20
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
21
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--BackgroundColor--light-300);
|
|
22
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--Color--light-100);
|
|
23
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--Color--light-100);
|
|
24
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--Color--light-100);
|
|
25
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--Color--light-100);
|
|
26
|
-
--pf-c-button--m-secondary--BorderColor: var(--pf-global--Color--light-100);
|
|
27
|
-
--pf-c-button--m-secondary--hover--BorderColor: var(--pf-global--Color--light-100);
|
|
28
|
-
--pf-c-button--m-secondary--focus--BorderColor: var(--pf-global--Color--light-100);
|
|
29
|
-
--pf-c-button--m-secondary--active--BorderColor: var(--pf-global--Color--light-100);
|
|
30
|
-
}
|
|
31
10
|
|
|
32
11
|
.pf-c-wizard {
|
|
33
12
|
--pf-c-wizard--Height: 100%;
|
|
@@ -527,23 +506,6 @@
|
|
|
527
506
|
--pf-global--link--Color--hover: #73bcf7;
|
|
528
507
|
--pf-global--BackgroundColor--100: #1b1d21;
|
|
529
508
|
}
|
|
530
|
-
:where(.pf-theme-dark) .pf-c-wizard__header .pf-c-card {
|
|
531
|
-
--pf-c-card--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
532
|
-
}
|
|
533
|
-
:where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
|
|
534
|
-
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
535
|
-
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
536
|
-
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
537
|
-
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
538
|
-
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
539
|
-
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
540
|
-
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
541
|
-
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
542
|
-
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
543
|
-
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
544
|
-
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
545
|
-
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
546
|
-
}
|
|
547
509
|
|
|
548
510
|
:where(.pf-theme-dark) .pf-c-wizard {
|
|
549
511
|
--pf-c-wizard__header--BackgroundColor: var(--pf-global--palette--black-1000);
|
|
@@ -7,13 +7,13 @@ cssPrefix: pf-c-alert
|
|
|
7
7
|
### Types
|
|
8
8
|
|
|
9
9
|
```html
|
|
10
|
-
<div class="pf-c-alert" aria-label="
|
|
10
|
+
<div class="pf-c-alert pf-m-custom" aria-label="Custom alert">
|
|
11
11
|
<div class="pf-c-alert__icon">
|
|
12
12
|
<i class="fas fa-fw fa-bell" aria-hidden="true"></i>
|
|
13
13
|
</div>
|
|
14
14
|
<p class="pf-c-alert__title">
|
|
15
|
-
<span class="pf-screen-reader">
|
|
16
|
-
|
|
15
|
+
<span class="pf-screen-reader">Custom alert:</span>
|
|
16
|
+
Custom alert title
|
|
17
17
|
</p>
|
|
18
18
|
</div>
|
|
19
19
|
<br />
|
|
@@ -205,13 +205,16 @@ cssPrefix: pf-c-alert
|
|
|
205
205
|
### Inline types
|
|
206
206
|
|
|
207
207
|
```html
|
|
208
|
-
<div
|
|
208
|
+
<div
|
|
209
|
+
class="pf-c-alert pf-m-custom pf-m-inline"
|
|
210
|
+
aria-label="Inline custom alert"
|
|
211
|
+
>
|
|
209
212
|
<div class="pf-c-alert__icon">
|
|
210
213
|
<i class="fas fa-fw fa-bell" aria-hidden="true"></i>
|
|
211
214
|
</div>
|
|
212
215
|
<p class="pf-c-alert__title">
|
|
213
|
-
<span class="pf-screen-reader">
|
|
214
|
-
|
|
216
|
+
<span class="pf-screen-reader">Custom inline alert:</span>
|
|
217
|
+
Custom inline alert title
|
|
215
218
|
</p>
|
|
216
219
|
</div>
|
|
217
220
|
<br />
|
|
@@ -577,15 +580,11 @@ cssPrefix: pf-c-alert
|
|
|
577
580
|
|
|
578
581
|
## Documentation
|
|
579
582
|
|
|
580
|
-
### Overview
|
|
581
|
-
|
|
582
|
-
Add a modifier class to the default alert to change the color: `.pf-m-success`, `.pf-m-danger`, `.pf-m-warning`, or `.pf-m-info`.
|
|
583
|
-
|
|
584
583
|
### Usage
|
|
585
584
|
|
|
586
585
|
| Class | Applied to | Outcome |
|
|
587
586
|
| -- | -- | -- |
|
|
588
|
-
| `.pf-c-alert` | `<div>` |
|
|
587
|
+
| `.pf-c-alert` | `<div>` | Initiates the alert component. Always use with a status modifier class. **Required** |
|
|
589
588
|
| `.pf-c-alert__toggle` | `<div>` | Defines the expandable alert toggle icon. **Required for expandable alerts** |
|
|
590
589
|
| `.pf-c-alert__toggle-icon` | `<span>` | Defines the expandable alert toggle icon. **Required for expandable alerts** |
|
|
591
590
|
| `.pf-c-alert__icon` | `<div>` | Defines the alert icon. **Required** |
|
|
@@ -593,10 +592,11 @@ Add a modifier class to the default alert to change the color: `.pf-m-success`,
|
|
|
593
592
|
| `.pf-c-alert__description` | `<div>` | Defines the alert description area. |
|
|
594
593
|
| `.pf-c-alert__action` | `<div>` | Defines the action button wrapper. Should contain `.pf-c-button.pf-m-plain` for close action or `.pf-c-button.pf-m-link` for link text. It should only include one action. |
|
|
595
594
|
| `.pf-c-alert__action-group` | `<div>` | Defines the action button group. Should contain `.pf-c-button.pf-m-link.pf-m-inline` for inline link text. **Note:** only inline link buttons are supported in the alert action group. |
|
|
596
|
-
| `.pf-m-
|
|
597
|
-
| `.pf-m-
|
|
598
|
-
| `.pf-m-
|
|
599
|
-
| `.pf-m-
|
|
595
|
+
| `.pf-m-custom` | `.pf-c-alert` | Applies custom status styling. |
|
|
596
|
+
| `.pf-m-success` | `.pf-c-alert` | Applies success status styling. |
|
|
597
|
+
| `.pf-m-danger` | `.pf-c-alert` | Applies danger status styling. |
|
|
598
|
+
| `.pf-m-warning` | `.pf-c-alert` | Applies warning status styling. |
|
|
599
|
+
| `.pf-m-info` | `.pf-c-alert` | Applies info status styling. |
|
|
600
600
|
| `.pf-m-inline` | `.pf-c-alert` | Applies inline styling. |
|
|
601
601
|
| `.pf-m-plain` | `.pf-c-alert.pf-m-inline` | Applies plain styling to an inline alert. |
|
|
602
602
|
| `.pf-m-expandable` | `.pf-c-alert` | Applies expandable styles to the alert. |
|
|
@@ -160,15 +160,15 @@ For sighted users, interactive elements can be included in this message in one o
|
|
|
160
160
|
* Using a link to the Builds page: “The build is complete. Go to the [Builds]() page to download” using `<a href="url">Builds</a>`
|
|
161
161
|
* Using a button to download: “The build is complete. Go to the Builds page to [download]()" using `<button class="pf-c-button pf-m-link pf-m-inline type="button">download</button>`
|
|
162
162
|
|
|
163
|
+
## Documentation
|
|
164
|
+
|
|
165
|
+
### Overview
|
|
166
|
+
|
|
167
|
+
Alert groups are used to contain and align consecutive alerts. Groups can either be embedded alongside a page's content or in the top-right corner as a toast group using the `.pf-m-toast` modifier.
|
|
168
|
+
|
|
163
169
|
### Modifiers
|
|
164
170
|
|
|
165
171
|
| Class | Applied to | Outcome |
|
|
166
172
|
| -- | -- | -- |
|
|
167
173
|
| `.pf-m-toast`| `.pf-c-alert-group` | Applies toast alert styling to an alert group. |
|
|
168
174
|
| `.pf-c-alert-group__overflow-button` | `<button>` | Applies overflow button styling to an alert group overflow button. |
|
|
169
|
-
|
|
170
|
-
## Documentation
|
|
171
|
-
|
|
172
|
-
### Overview
|
|
173
|
-
|
|
174
|
-
Alert groups are used to contain and align consecutive alerts. Groups can either be embedded alongside a page's content or in the top-right corner as a toast group using the `.pf-m-toast` modifier.
|