@patternfly/patternfly 5.2.0-prerelease.3 → 6.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/CODE_OF_CONDUCT.md +2 -1
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/base/_globals.scss +13 -13
- package/base/_variables.scss +5 -0
- package/base/patternfly-globals.css +12 -13
- package/base/patternfly-variables.css +860 -0
- package/base/tokens/_tokens-dark.scss +331 -0
- package/base/tokens/_tokens-default.scss +379 -0
- package/base/tokens/_tokens-font.scss +96 -0
- package/base/tokens/_tokens-palette.scss +75 -0
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +57 -84
- package/components/Alert/alert.scss +60 -78
- package/components/Button/button.css +142 -179
- package/components/Button/button.scss +161 -141
- package/components/Check/check.css +8 -10
- package/components/Check/check.scss +10 -15
- package/components/Content/content.css +67 -67
- package/components/Content/content.scss +68 -68
- package/components/Dropdown/dropdown.css +3 -1
- package/components/Dropdown/dropdown.scss +6 -2
- package/components/Masthead/masthead.css +49 -103
- package/components/Masthead/masthead.scss +105 -132
- package/components/Menu/menu.css +0 -3
- package/components/Menu/menu.scss +3 -7
- package/components/MenuToggle/menu-toggle.css +59 -80
- package/components/MenuToggle/menu-toggle.scss +65 -89
- package/components/Nav/nav.css +42 -40
- package/components/Nav/nav.scss +42 -42
- package/components/NotificationBadge/notification-badge.css +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- package/components/Page/page.css +80 -70
- package/components/Page/page.scss +80 -68
- package/components/Radio/radio.css +10 -13
- package/components/Radio/radio.scss +11 -17
- package/components/Switch/switch.css +1 -1
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-grid.css +8 -8
- package/components/Table/table-grid.scss +8 -8
- package/components/Table/table.css +92 -95
- package/components/Table/table.scss +94 -103
- package/components/Toolbar/toolbar.css +5 -11
- package/components/Toolbar/toolbar.scss +7 -19
- package/docs/components/Alert/examples/Alert.md +1 -1
- package/docs/components/Brand/examples/Brand.md +32 -75
- package/docs/components/Card/examples/Card.md +2 -110
- package/docs/components/Masthead/examples/masthead.md +7 -54
- package/docs/components/MenuToggle/examples/MenuToggle.md +42 -42
- package/docs/components/Nav/examples/Navigation.css +2 -1
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/Toolbar/examples/Toolbar.md +9 -11
- package/docs/demos/AboutModal/examples/AboutModal.md +83 -8
- package/docs/demos/Alert/examples/Alert.md +249 -24
- package/docs/demos/BackToTop/examples/BackToTop.md +83 -8
- package/docs/demos/Banner/examples/Banner.md +168 -16
- package/docs/demos/CardView/examples/CardView.md +83 -8
- package/docs/demos/ContextSelector/examples/ContextSelector.md +332 -32
- package/docs/demos/Dashboard/examples/Dashboard.md +83 -8
- package/docs/demos/DataList/examples/DataList.md +332 -32
- package/docs/demos/DescriptionList/examples/DescriptionList.md +249 -24
- package/docs/demos/Drawer/examples/Drawer.md +415 -40
- package/docs/demos/JumpLinks/examples/JumpLinks.md +498 -48
- package/docs/demos/Masthead/examples/Masthead.md +742 -67
- package/docs/demos/Modal/examples/Modal.md +498 -48
- package/docs/demos/Nav/examples/Nav.md +664 -64
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +415 -40
- package/docs/demos/Page/examples/Page.md +747 -72
- package/docs/demos/Page/examples/Penta.md +746 -0
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +581 -56
- package/docs/demos/Skeleton/examples/Skeleton.md +83 -8
- package/docs/demos/Table/examples/Table.md +1245 -120
- package/docs/demos/Tabs/examples/Tabs.md +498 -48
- package/docs/demos/Toolbar/examples/Toolbar.md +166 -16
- package/docs/demos/Wizard/examples/Wizard.md +747 -72
- package/package.json +4 -3
- package/patternfly-base-no-globals-theme-dark-unversioned.css +860 -0
- package/patternfly-base-no-globals.css +860 -0
- package/patternfly-base-theme-dark-unversioned.css +872 -13
- package/patternfly-base.css +872 -13
- package/patternfly-no-globals.css +1609 -897
- package/patternfly-theme-dark-unversioned.css +1621 -910
- package/patternfly.css +1621 -910
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +0 -32
- package/assets/images/pf-c-brand__logo-on-md-white.svg +0 -42
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +0 -17
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +0 -39
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pf_logo_white.svg +0 -38
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/docs/components/Brand/examples/Brand.css +0 -12
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -3,29 +3,31 @@
|
|
|
3
3
|
// Tabs
|
|
4
4
|
.#{$alert-group} {
|
|
5
5
|
// Alert group variables
|
|
6
|
-
--#{$alert-group}__item--MarginTop: var(
|
|
6
|
+
--#{$alert-group}__item--MarginTop: var(--pf-t--global--spacer--md);
|
|
7
7
|
|
|
8
8
|
// Toast variables
|
|
9
|
-
--#{$alert-group}--m-toast--Top: var(
|
|
10
|
-
--#{$alert-group}--m-toast--Right: var(
|
|
9
|
+
--#{$alert-group}--m-toast--Top: var(--pf-t--global--spacer--2xl);
|
|
10
|
+
--#{$alert-group}--m-toast--Right: var(--pf-t--global--spacer--xl);
|
|
11
11
|
--#{$alert-group}--m-toast--MaxWidth: #{pf-size-prem(600px)};
|
|
12
12
|
--#{$alert-group}--m-toast--ZIndex: var(--#{$pf-global}--ZIndex--2xl);
|
|
13
13
|
|
|
14
14
|
// Overflow button
|
|
15
15
|
--#{$alert-group}__overflow-button--BorderWidth: 0;
|
|
16
|
-
--#{$alert-group}__overflow-button--
|
|
17
|
-
--#{$alert-group}__overflow-button--
|
|
18
|
-
--#{$alert-group}__overflow-button--
|
|
19
|
-
--#{$alert-group}__overflow-button--
|
|
20
|
-
--#{$alert-group}__overflow-button--
|
|
21
|
-
--#{$alert-group}__overflow-button--
|
|
22
|
-
--#{$alert-group}__overflow-button--
|
|
23
|
-
--#{$alert-group}__overflow-button--
|
|
24
|
-
--#{$alert-group}__overflow-button--hover--
|
|
25
|
-
--#{$alert-group}__overflow-button--
|
|
26
|
-
--#{$alert-group}__overflow-button--
|
|
27
|
-
--#{$alert-group}__overflow-button--
|
|
28
|
-
--#{$alert-group}__overflow-button--
|
|
16
|
+
--#{$alert-group}__overflow-button--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
17
|
+
--#{$alert-group}__overflow-button--PaddingTop: var(--pf-t--global--spacer--md);
|
|
18
|
+
--#{$alert-group}__overflow-button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
19
|
+
--#{$alert-group}__overflow-button--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
20
|
+
--#{$alert-group}__overflow-button--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
21
|
+
--#{$alert-group}__overflow-button--Color: var(--pf-t--global--text--color--link--default);
|
|
22
|
+
--#{$alert-group}__overflow-button--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
23
|
+
--#{$alert-group}__overflow-button--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
24
|
+
--#{$alert-group}__overflow-button--hover--Color: var(--pf-t--global--text--color--link--hover);
|
|
25
|
+
--#{$alert-group}__overflow-button--hover--BackgroundColor: var(--pf-t--global--background--color--floating--hover);
|
|
26
|
+
--#{$alert-group}__overflow-button--hover--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
27
|
+
--#{$alert-group}__overflow-button--focus--Color: var(--pf-t--global--text--color--link--hover);
|
|
28
|
+
--#{$alert-group}__overflow-button--focus--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
29
|
+
--#{$alert-group}__overflow-button--active--Color: var(--pf-t--global--text--color--link--hover);
|
|
30
|
+
--#{$alert-group}__overflow-button--active--BoxShadow: var(--pf-t--global--box-shadow--lg), var(--pf-t--global--box-shadow--lg--bottom);
|
|
29
31
|
|
|
30
32
|
// Spacing between alerts
|
|
31
33
|
> * + * {
|
|
@@ -53,10 +55,12 @@
|
|
|
53
55
|
color: var(--#{$alert-group}__overflow-button--Color);
|
|
54
56
|
background-color: var(--#{$alert-group}__overflow-button--BackgroundColor);
|
|
55
57
|
border-width: var(--#{$alert-group}__overflow-button--BorderWidth);
|
|
58
|
+
border-radius: var(--#{$alert-group}__overflow-button--BorderRadius);
|
|
56
59
|
box-shadow: var(--#{$alert-group}__overflow-button--BoxShadow);
|
|
57
60
|
|
|
58
61
|
&:hover {
|
|
59
62
|
--#{$alert-group}__overflow-button--Color: var(--#{$alert-group}__overflow-button--hover--Color);
|
|
63
|
+
--#{$alert-group}__overflow-button--BackgroundColor: var(--#{$alert-group}__overflow-button--hover--BackgroundColor);
|
|
60
64
|
--#{$alert-group}__overflow-button--BoxShadow: var(--#{$alert-group}__overflow-button--hover--BoxShadow);
|
|
61
65
|
}
|
|
62
66
|
|
|
@@ -1,74 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
--pf-v5-
|
|
3
|
-
--pf-v5-
|
|
4
|
-
--pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--dark-100);
|
|
5
|
-
--pf-v5-global--primary-color--100: var(--pf-v5-global--primary-color--dark-100);
|
|
6
|
-
--pf-v5-global--link--Color: var(--pf-v5-global--link--Color--dark);
|
|
7
|
-
--pf-v5-global--link--Color--hover: var(--pf-v5-global--link--Color--dark--hover);
|
|
8
|
-
--pf-v5-global--BackgroundColor--100: var(--pf-v5-global--BackgroundColor--light-100);
|
|
9
|
-
--pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--dark);
|
|
10
|
-
--pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.pf-v5-c-alert {
|
|
14
|
-
--pf-v5-c-alert--BoxShadow: var(--pf-v5-global--BoxShadow--lg);
|
|
15
|
-
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-alert--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
3
|
+
--pf-v5-c-alert--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
16
4
|
--pf-v5-c-alert--GridTemplateColumns: max-content 1fr max-content;
|
|
17
5
|
--pf-v5-c-alert--GridTemplateAreas:
|
|
18
6
|
"icon title action"
|
|
19
7
|
". description description"
|
|
20
8
|
". actiongroup actiongroup";
|
|
21
|
-
--pf-v5-c-alert--
|
|
22
|
-
--pf-v5-c-alert--
|
|
23
|
-
--pf-v5-c-alert--
|
|
24
|
-
--pf-v5-c-alert--
|
|
25
|
-
--pf-v5-c-alert--
|
|
26
|
-
--pf-v5-c-alert--
|
|
27
|
-
--pf-v5-c-
|
|
9
|
+
--pf-v5-c-alert--BorderWidth: var(--pf-t--global--border--width--200);
|
|
10
|
+
--pf-v5-c-alert--BorderColor: transparent;
|
|
11
|
+
--pf-v5-c-alert--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
12
|
+
--pf-v5-c-alert--PaddingTop: var(--pf-t--global--spacer--md);
|
|
13
|
+
--pf-v5-c-alert--PaddingRight: var(--pf-t--global--spacer--md);
|
|
14
|
+
--pf-v5-c-alert--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
15
|
+
--pf-v5-c-alert--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
16
|
+
--pf-v5-c-alert--FontSize: var(--pf-t--global--font--size--body);
|
|
28
17
|
--pf-v5-c-alert__toggle--MarginTop: calc(-1 * var(--pf-v5-global--spacer--form-element) - 0.0625rem);
|
|
29
18
|
--pf-v5-c-alert__toggle--MarginBottom: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
|
30
|
-
--pf-v5-c-alert__toggle--
|
|
19
|
+
--pf-v5-c-alert__toggle--MarginRight: var(--pf-t--global--spacer--sm);
|
|
31
20
|
--pf-v5-c-alert__toggle-icon--Rotate: 0;
|
|
32
21
|
--pf-v5-c-alert__toggle-icon--Transition: var(--pf-v5-global--Transition);
|
|
33
|
-
--pf-v5-c-alert__icon--Color: var(--pf-
|
|
34
|
-
--pf-v5-c-alert__icon--MarginTop: 0.
|
|
35
|
-
--pf-v5-c-alert__icon--MarginRight: var(--pf-
|
|
36
|
-
--pf-v5-c-alert__icon--FontSize: var(--pf-
|
|
37
|
-
--pf-v5-c-alert__title--
|
|
38
|
-
--pf-v5-c-alert__title--
|
|
22
|
+
--pf-v5-c-alert__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
23
|
+
--pf-v5-c-alert__icon--MarginTop: 0.25rem;
|
|
24
|
+
--pf-v5-c-alert__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
25
|
+
--pf-v5-c-alert__icon--FontSize: var(--pf-t--global--icon--size--md);
|
|
26
|
+
--pf-v5-c-alert__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
27
|
+
--pf-v5-c-alert__title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
28
|
+
--pf-v5-c-alert__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
29
|
+
--pf-v5-c-alert__title--Color: var(--pf-t--global--text--color--regular);
|
|
39
30
|
--pf-v5-c-alert__title--max-lines: 1;
|
|
40
31
|
--pf-v5-c-alert__action--MarginTop: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
41
32
|
--pf-v5-c-alert__action--MarginBottom: calc(var(--pf-v5-global--spacer--form-element) * -1);
|
|
42
33
|
--pf-v5-c-alert__action--TranslateY: 0.125rem;
|
|
43
|
-
--pf-v5-c-alert__action--MarginRight: calc(var(--pf-
|
|
44
|
-
--pf-v5-c-alert__description--PaddingTop: var(--pf-
|
|
45
|
-
--pf-v5-c-alert__action-group--PaddingTop-base: var(--pf-
|
|
34
|
+
--pf-v5-c-alert__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
35
|
+
--pf-v5-c-alert__description--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
36
|
+
--pf-v5-c-alert__action-group--PaddingTop-base: var(--pf-t--global--spacer--xs);
|
|
46
37
|
--pf-v5-c-alert__action-group--PaddingTop: var(--pf-v5-c-alert__action-group--PaddingTop-base);
|
|
47
|
-
--pf-v5-c-alert__description--action-group--PaddingTop-base: var(--pf-
|
|
38
|
+
--pf-v5-c-alert__description--action-group--PaddingTop-base: var(--pf-t--global--spacer--sm);
|
|
48
39
|
--pf-v5-c-alert__description--action-group--PaddingTop: var(--pf-v5-c-alert__description--action-group--PaddingTop-base);
|
|
49
|
-
--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-
|
|
50
|
-
--pf-v5-c-alert--m-custom--
|
|
51
|
-
--pf-v5-c-alert--m-custom__icon--Color: var(--pf-
|
|
52
|
-
--pf-v5-c-alert--m-custom__title--Color: var(--pf-
|
|
53
|
-
--pf-v5-c-alert--m-success--
|
|
54
|
-
--pf-v5-c-alert--m-success__icon--Color: var(--pf-
|
|
55
|
-
--pf-v5-c-alert--m-success__title--Color: var(--pf-
|
|
56
|
-
--pf-v5-c-alert--m-danger--
|
|
57
|
-
--pf-v5-c-alert--m-danger__icon--Color: var(--pf-
|
|
58
|
-
--pf-v5-c-alert--m-danger__title--Color: var(--pf-
|
|
59
|
-
--pf-v5-c-alert--m-warning--
|
|
60
|
-
--pf-v5-c-alert--m-warning__icon--Color: var(--pf-
|
|
61
|
-
--pf-v5-c-alert--m-warning__title--Color: var(--pf-
|
|
62
|
-
--pf-v5-c-alert--m-info--
|
|
63
|
-
--pf-v5-c-alert--m-info__icon--Color: var(--pf-
|
|
64
|
-
--pf-v5-c-alert--m-info__title--Color: var(--pf-
|
|
40
|
+
--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight: var(--pf-t--global--spacer--lg);
|
|
41
|
+
--pf-v5-c-alert--m-custom--BorderColor: var(--pf-t--global--border--color--status--custom--default);
|
|
42
|
+
--pf-v5-c-alert--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
43
|
+
--pf-v5-c-alert--m-custom__title--Color: var(--pf-t--global--text--color--regular);
|
|
44
|
+
--pf-v5-c-alert--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
45
|
+
--pf-v5-c-alert--m-success__icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
46
|
+
--pf-v5-c-alert--m-success__title--Color: var(--pf-t--global--text--color--regular);
|
|
47
|
+
--pf-v5-c-alert--m-danger--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
|
48
|
+
--pf-v5-c-alert--m-danger__icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
49
|
+
--pf-v5-c-alert--m-danger__title--Color: var(--pf-t--global--text--color--regular);
|
|
50
|
+
--pf-v5-c-alert--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
|
51
|
+
--pf-v5-c-alert--m-warning__icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
52
|
+
--pf-v5-c-alert--m-warning__title--Color: var(--pf-t--global--text--color--regular);
|
|
53
|
+
--pf-v5-c-alert--m-info--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
54
|
+
--pf-v5-c-alert--m-info__icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
55
|
+
--pf-v5-c-alert--m-info__title--Color: var(--pf-t--global--text--color--regular);
|
|
56
|
+
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
65
57
|
--pf-v5-c-alert--m-inline--BoxShadow: none;
|
|
66
|
-
--pf-v5-c-alert--m-inline--m-
|
|
67
|
-
--pf-v5-c-alert--m-inline--m-success--BackgroundColor: var(--pf-v5-global--palette--green-50);
|
|
68
|
-
--pf-v5-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-v5-global--palette--red-50);
|
|
69
|
-
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--palette--gold-50);
|
|
70
|
-
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--palette--blue-50);
|
|
71
|
-
--pf-v5-c-alert--m-inline--m-plain--BorderTopWidth: 0;
|
|
58
|
+
--pf-v5-c-alert--m-inline--m-plain--BorderWidth: 0;
|
|
72
59
|
--pf-v5-c-alert--m-inline--m-plain--BackgroundColor: transparent;
|
|
73
60
|
--pf-v5-c-alert--m-inline--m-plain--PaddingTop: 0;
|
|
74
61
|
--pf-v5-c-alert--m-inline--m-plain--PaddingRight: 0;
|
|
@@ -82,7 +69,9 @@
|
|
|
82
69
|
--pf-v5-c-alert--m-expandable__description--action-group--PaddingTop: var(--pf-v5-c-alert__action-group--PaddingTop-base);
|
|
83
70
|
--pf-v5-c-alert--m-expanded__toggle-icon--Rotate: 90deg;
|
|
84
71
|
--pf-v5-c-alert--m-expanded__description--action-group--PaddingTop: var(--pf-v5-c-alert__description--action-group--PaddingTop-base);
|
|
85
|
-
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.pf-v5-c-alert {
|
|
86
75
|
position: relative;
|
|
87
76
|
display: grid;
|
|
88
77
|
grid-template-areas: var(--pf-v5-c-alert--GridTemplateAreas);
|
|
@@ -91,47 +80,43 @@
|
|
|
91
80
|
padding-block-end: var(--pf-v5-c-alert--PaddingBottom);
|
|
92
81
|
padding-inline-start: var(--pf-v5-c-alert--PaddingLeft);
|
|
93
82
|
padding-inline-end: var(--pf-v5-c-alert--PaddingRight);
|
|
94
|
-
font-size: var(--pf-v5-c-
|
|
83
|
+
font-size: var(--pf-v5-c-alert--FontSize);
|
|
95
84
|
background-color: var(--pf-v5-c-alert--BackgroundColor);
|
|
96
|
-
border
|
|
85
|
+
border: var(--pf-v5-c-alert--BorderWidth) solid var(--pf-v5-c-alert--BorderColor);
|
|
86
|
+
border-radius: var(--pf-v5-c-alert--BorderRadius);
|
|
97
87
|
box-shadow: var(--pf-v5-c-alert--BoxShadow);
|
|
98
88
|
}
|
|
99
89
|
.pf-v5-c-alert.pf-m-custom {
|
|
100
|
-
--pf-v5-c-alert--
|
|
90
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-custom--BorderColor);
|
|
101
91
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-custom__icon--Color);
|
|
102
92
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-custom__title--Color);
|
|
103
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-custom--BackgroundColor);
|
|
104
93
|
}
|
|
105
94
|
.pf-v5-c-alert.pf-m-success {
|
|
106
|
-
--pf-v5-c-alert--
|
|
95
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-success--BorderColor);
|
|
107
96
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-success__icon--Color);
|
|
108
97
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-success__title--Color);
|
|
109
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-success--BackgroundColor);
|
|
110
98
|
}
|
|
111
99
|
.pf-v5-c-alert.pf-m-danger {
|
|
112
|
-
--pf-v5-c-alert--
|
|
100
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-danger--BorderColor);
|
|
113
101
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-danger__icon--Color);
|
|
114
102
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-danger__title--Color);
|
|
115
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-danger--BackgroundColor);
|
|
116
103
|
}
|
|
117
104
|
.pf-v5-c-alert.pf-m-warning {
|
|
118
|
-
--pf-v5-c-alert--
|
|
105
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-warning--BorderColor);
|
|
119
106
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-warning__icon--Color);
|
|
120
107
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-warning__title--Color);
|
|
121
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-warning--BackgroundColor);
|
|
122
108
|
}
|
|
123
109
|
.pf-v5-c-alert.pf-m-info {
|
|
124
|
-
--pf-v5-c-alert--
|
|
110
|
+
--pf-v5-c-alert--BorderColor: var(--pf-v5-c-alert--m-info--BorderColor);
|
|
125
111
|
--pf-v5-c-alert__icon--Color: var(--pf-v5-c-alert--m-info__icon--Color);
|
|
126
112
|
--pf-v5-c-alert__title--Color: var(--pf-v5-c-alert--m-info__title--Color);
|
|
127
|
-
--pf-v5-c-alert--m-inline--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-info--BackgroundColor);
|
|
128
113
|
}
|
|
129
114
|
.pf-v5-c-alert.pf-m-inline {
|
|
130
115
|
--pf-v5-c-alert--BoxShadow: var(--pf-v5-c-alert--m-inline--BoxShadow);
|
|
131
116
|
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-c-alert--m-inline--BackgroundColor);
|
|
132
117
|
}
|
|
133
118
|
.pf-v5-c-alert.pf-m-plain {
|
|
134
|
-
--pf-v5-c-alert--
|
|
119
|
+
--pf-v5-c-alert--BorderWidth: var(--pf-v5-c-alert--m-inline--m-plain--BorderWidth);
|
|
135
120
|
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-c-alert--m-inline--m-plain--BackgroundColor);
|
|
136
121
|
--pf-v5-c-alert--PaddingTop: var(--pf-v5-c-alert--m-inline--m-plain--PaddingTop);
|
|
137
122
|
--pf-v5-c-alert--PaddingRight: var(--pf-v5-c-alert--m-inline--m-plain--PaddingRight);
|
|
@@ -151,7 +136,7 @@
|
|
|
151
136
|
.pf-v5-c-alert__toggle {
|
|
152
137
|
margin-block-start: var(--pf-v5-c-alert__toggle--MarginTop);
|
|
153
138
|
margin-block-end: var(--pf-v5-c-alert__toggle--MarginBottom);
|
|
154
|
-
margin-inline-
|
|
139
|
+
margin-inline-end: var(--pf-v5-c-alert__toggle--MarginRight);
|
|
155
140
|
}
|
|
156
141
|
|
|
157
142
|
.pf-v5-c-alert__toggle-icon {
|
|
@@ -174,7 +159,9 @@
|
|
|
174
159
|
|
|
175
160
|
.pf-v5-c-alert__title {
|
|
176
161
|
grid-area: title;
|
|
162
|
+
font-size: var(--pf-v5-c-alert__title--FontSize);
|
|
177
163
|
font-weight: var(--pf-v5-c-alert__title--FontWeight);
|
|
164
|
+
line-height: var(--pf-v5-c-alert__title--LineHeight);
|
|
178
165
|
color: var(--pf-v5-c-alert__title--Color);
|
|
179
166
|
word-break: break-word;
|
|
180
167
|
}
|
|
@@ -214,18 +201,4 @@
|
|
|
214
201
|
}
|
|
215
202
|
.pf-v5-c-alert__action-group > .pf-v5-c-button:not(:last-child) {
|
|
216
203
|
margin-inline-end: var(--pf-v5-c-alert__action-group__c-button--not-last-child--MarginRight);
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-alert {
|
|
220
|
-
--pf-v5-c-alert--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
221
|
-
--pf-v5-c-alert--m-custom__title--Color: var(--pf-v5-global--custom-color--200);
|
|
222
|
-
--pf-v5-c-alert--m-success__title--Color: var(--pf-v5-global--success-color--100);
|
|
223
|
-
--pf-v5-c-alert--m-danger__title--Color: var(--pf-v5-global--danger-color--100);
|
|
224
|
-
--pf-v5-c-alert--m-warning__title--Color: var(--pf-v5-global--warning-color--100);
|
|
225
|
-
--pf-v5-c-alert--m-info__title--Color: var(--pf-v5-global--info-color--100);
|
|
226
|
-
--pf-v5-c-alert--m-inline--m-custom--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
227
|
-
--pf-v5-c-alert--m-inline--m-success--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
228
|
-
--pf-v5-c-alert--m-inline--m-danger--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
229
|
-
--pf-v5-c-alert--m-inline--m-warning--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
230
|
-
--pf-v5-c-alert--m-inline--m-info--BackgroundColor: var(--pf-v5-global--BackgroundColor--300);
|
|
231
204
|
}
|
|
@@ -1,103 +1,94 @@
|
|
|
1
1
|
// @debug $alert; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// TODO create a token for --#{$pf-global}--spacer--form-element ?
|
|
4
|
+
|
|
5
|
+
:root {
|
|
4
6
|
// Alert variables
|
|
5
|
-
--#{$alert}--BoxShadow: var(
|
|
6
|
-
--#{$alert}--BackgroundColor: var(
|
|
7
|
+
--#{$alert}--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
8
|
+
--#{$alert}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
7
9
|
--#{$alert}--GridTemplateColumns: max-content 1fr max-content;
|
|
8
10
|
--#{$alert}--GridTemplateAreas:
|
|
9
11
|
"icon title action"
|
|
10
12
|
". description description"
|
|
11
13
|
". actiongroup actiongroup";
|
|
12
|
-
--#{$alert}--
|
|
13
|
-
--#{$alert}--
|
|
14
|
-
--#{$alert}--
|
|
15
|
-
--#{$alert}--
|
|
16
|
-
--#{$alert}--
|
|
17
|
-
--#{$alert}--
|
|
18
|
-
--#{$alert}
|
|
14
|
+
--#{$alert}--BorderWidth: var(--pf-t--global--border--width--200);
|
|
15
|
+
--#{$alert}--BorderColor: transparent;
|
|
16
|
+
--#{$alert}--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
17
|
+
--#{$alert}--PaddingTop: var(--pf-t--global--spacer--md);
|
|
18
|
+
--#{$alert}--PaddingRight: var(--pf-t--global--spacer--md);
|
|
19
|
+
--#{$alert}--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
20
|
+
--#{$alert}--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
21
|
+
--#{$alert}--FontSize: var(--pf-t--global--font--size--body);
|
|
19
22
|
|
|
20
23
|
// Toggle
|
|
21
24
|
--#{$alert}__toggle--MarginTop: calc(-1 * var(--#{$pf-global}--spacer--form-element) - #{pf-size-prem(1px)});
|
|
22
25
|
--#{$alert}__toggle--MarginBottom: calc(-1 * var(--#{$pf-global}--spacer--form-element));
|
|
23
|
-
--#{$alert}__toggle--
|
|
26
|
+
--#{$alert}__toggle--MarginRight: var(--pf-t--global--spacer--sm);
|
|
24
27
|
|
|
25
28
|
// Toggle icon
|
|
26
29
|
--#{$alert}__toggle-icon--Rotate: 0;
|
|
27
30
|
--#{$alert}__toggle-icon--Transition: var(--#{$pf-global}--Transition);
|
|
28
31
|
|
|
29
32
|
// Icon
|
|
30
|
-
--#{$alert}__icon--Color: var(
|
|
31
|
-
--#{$alert}__icon--MarginTop: #{pf-size-prem(
|
|
32
|
-
--#{$alert}__icon--MarginRight: var(
|
|
33
|
-
--#{$alert}__icon--FontSize: var(
|
|
33
|
+
--#{$alert}__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
34
|
+
--#{$alert}__icon--MarginTop: #{pf-size-prem(4px)};
|
|
35
|
+
--#{$alert}__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
36
|
+
--#{$alert}__icon--FontSize: var(--pf-t--global--icon--size--md);
|
|
34
37
|
|
|
35
38
|
// Title
|
|
36
|
-
--#{$alert}__title--
|
|
37
|
-
--#{$alert}__title--
|
|
39
|
+
--#{$alert}__title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
40
|
+
--#{$alert}__title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
41
|
+
--#{$alert}__title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
42
|
+
--#{$alert}__title--Color: var(--pf-t--global--text--color--regular);
|
|
38
43
|
--#{$alert}__title--max-lines: 1;
|
|
39
44
|
|
|
40
45
|
// Action
|
|
41
46
|
--#{$alert}__action--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
42
47
|
--#{$alert}__action--MarginBottom: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
43
48
|
--#{$alert}__action--TranslateY: #{pf-size-prem(2px)};
|
|
44
|
-
--#{$alert}__action--MarginRight: calc(var(
|
|
49
|
+
--#{$alert}__action--MarginRight: calc(var(--pf-t--global--spacer--sm) * -1);
|
|
45
50
|
|
|
46
51
|
// Description
|
|
47
|
-
--#{$alert}__description--PaddingTop: var(
|
|
52
|
+
--#{$alert}__description--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
48
53
|
|
|
49
54
|
// Action group
|
|
50
|
-
--#{$alert}__action-group--PaddingTop-base: var(
|
|
55
|
+
--#{$alert}__action-group--PaddingTop-base: var(--pf-t--global--spacer--xs);
|
|
51
56
|
--#{$alert}__action-group--PaddingTop: var(--#{$alert}__action-group--PaddingTop-base);
|
|
52
|
-
--#{$alert}__description--action-group--PaddingTop-base: var(
|
|
57
|
+
--#{$alert}__description--action-group--PaddingTop-base: var(--pf-t--global--spacer--sm);
|
|
53
58
|
--#{$alert}__description--action-group--PaddingTop: var(--#{$alert}__description--action-group--PaddingTop-base);
|
|
54
|
-
--#{$alert}__action-group__c-button--not-last-child--MarginRight: var(
|
|
59
|
+
--#{$alert}__action-group__c-button--not-last-child--MarginRight: var(--pf-t--global--spacer--lg);
|
|
55
60
|
|
|
56
61
|
// Custom
|
|
57
|
-
--#{$alert}--m-custom--
|
|
58
|
-
--#{$alert}--m-custom__icon--Color: var(
|
|
59
|
-
--#{$alert}--m-custom__title--Color: var(
|
|
62
|
+
--#{$alert}--m-custom--BorderColor: var(--pf-t--global--border--color--status--custom--default);
|
|
63
|
+
--#{$alert}--m-custom__icon--Color: var(--pf-t--global--icon--color--status--custom--default);
|
|
64
|
+
--#{$alert}--m-custom__title--Color: var(--pf-t--global--text--color--regular);
|
|
60
65
|
|
|
61
66
|
// Success
|
|
62
|
-
--#{$alert}--m-success--
|
|
63
|
-
--#{$alert}--m-success__icon--Color: var(
|
|
64
|
-
--#{$alert}--m-success__title--Color: var(
|
|
67
|
+
--#{$alert}--m-success--BorderColor: var(--pf-t--global--border--color--status--success--default);
|
|
68
|
+
--#{$alert}--m-success__icon--Color: var(--pf-t--global--icon--color--status--success--default);
|
|
69
|
+
--#{$alert}--m-success__title--Color: var(--pf-t--global--text--color--regular);
|
|
65
70
|
|
|
66
71
|
// Danger
|
|
67
|
-
--#{$alert}--m-danger--
|
|
68
|
-
--#{$alert}--m-danger__icon--Color: var(
|
|
69
|
-
--#{$alert}--m-danger__title--Color: var(
|
|
72
|
+
--#{$alert}--m-danger--BorderColor: var(--pf-t--global--border--color--status--danger--default);
|
|
73
|
+
--#{$alert}--m-danger__icon--Color: var(--pf-t--global--icon--color--status--danger--default);
|
|
74
|
+
--#{$alert}--m-danger__title--Color: var(--pf-t--global--text--color--regular);
|
|
70
75
|
|
|
71
76
|
// Warning
|
|
72
|
-
--#{$alert}--m-warning--
|
|
73
|
-
--#{$alert}--m-warning__icon--Color: var(
|
|
74
|
-
--#{$alert}--m-warning__title--Color: var(
|
|
77
|
+
--#{$alert}--m-warning--BorderColor: var(--pf-t--global--border--color--status--warning--default);
|
|
78
|
+
--#{$alert}--m-warning__icon--Color: var(--pf-t--global--icon--color--status--warning--default);
|
|
79
|
+
--#{$alert}--m-warning__title--Color: var(--pf-t--global--text--color--regular);
|
|
75
80
|
|
|
76
81
|
// Info
|
|
77
|
-
--#{$alert}--m-info--
|
|
78
|
-
--#{$alert}--m-info__icon--Color: var(
|
|
79
|
-
--#{$alert}--m-info__title--Color: var(
|
|
82
|
+
--#{$alert}--m-info--BorderColor: var(--pf-t--global--border--color--status--info--default);
|
|
83
|
+
--#{$alert}--m-info__icon--Color: var(--pf-t--global--icon--color--status--info--default);
|
|
84
|
+
--#{$alert}--m-info__title--Color: var(--pf-t--global--text--color--regular);
|
|
80
85
|
|
|
81
86
|
// Inline
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// Inline custom
|
|
85
|
-
--#{$alert}--m-inline--m-custom--BackgroundColor: var(--#{$pf-global}--palette--cyan-50);
|
|
86
|
-
|
|
87
|
-
// Inline success
|
|
88
|
-
--#{$alert}--m-inline--m-success--BackgroundColor: var(--#{$pf-global}--palette--green-50);
|
|
89
|
-
|
|
90
|
-
// Inline danger
|
|
91
|
-
--#{$alert}--m-inline--m-danger--BackgroundColor: var(--#{$pf-global}--palette--red-50);
|
|
92
|
-
|
|
93
|
-
// Inline warning
|
|
94
|
-
--#{$alert}--m-inline--m-warning--BackgroundColor: var(--#{$pf-global}--palette--gold-50);
|
|
95
|
-
|
|
96
|
-
// Inline info
|
|
97
|
-
--#{$alert}--m-inline--m-info--BackgroundColor: var(--#{$pf-global}--palette--blue-50);
|
|
87
|
+
--#{$alert}--m-inline--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
88
|
+
--#{$alert}--m-inline--BoxShadow: none;
|
|
98
89
|
|
|
99
90
|
// Inline plain
|
|
100
|
-
--#{$alert}--m-inline--m-plain--
|
|
91
|
+
--#{$alert}--m-inline--m-plain--BorderWidth: 0;
|
|
101
92
|
--#{$alert}--m-inline--m-plain--BackgroundColor: transparent;
|
|
102
93
|
--#{$alert}--m-inline--m-plain--PaddingTop: 0;
|
|
103
94
|
--#{$alert}--m-inline--m-plain--PaddingRight: 0;
|
|
@@ -115,9 +106,9 @@
|
|
|
115
106
|
// Expanded
|
|
116
107
|
--#{$alert}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
117
108
|
--#{$alert}--m-expanded__description--action-group--PaddingTop: var(--#{$alert}__description--action-group--PaddingTop-base);
|
|
109
|
+
}
|
|
118
110
|
|
|
119
|
-
|
|
120
|
-
|
|
111
|
+
.#{$alert} {
|
|
121
112
|
position: relative;
|
|
122
113
|
display: grid;
|
|
123
114
|
grid-template-areas: var(--#{$alert}--GridTemplateAreas);
|
|
@@ -126,44 +117,40 @@
|
|
|
126
117
|
padding-block-end: var(--#{$alert}--PaddingBottom);
|
|
127
118
|
padding-inline-start: var(--#{$alert}--PaddingLeft);
|
|
128
119
|
padding-inline-end: var(--#{$alert}--PaddingRight);
|
|
129
|
-
font-size: var(--#{$alert}
|
|
120
|
+
font-size: var(--#{$alert}--FontSize);
|
|
130
121
|
background-color: var(--#{$alert}--BackgroundColor);
|
|
131
|
-
border
|
|
122
|
+
border: var(--#{$alert}--BorderWidth) solid var(--#{$alert}--BorderColor);
|
|
123
|
+
border-radius: var(--#{$alert}--BorderRadius);
|
|
132
124
|
box-shadow: var(--#{$alert}--BoxShadow);
|
|
133
125
|
|
|
134
126
|
&.pf-m-custom {
|
|
135
|
-
--#{$alert}--
|
|
127
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-custom--BorderColor);
|
|
136
128
|
--#{$alert}__icon--Color: var(--#{$alert}--m-custom__icon--Color);
|
|
137
129
|
--#{$alert}__title--Color: var(--#{$alert}--m-custom__title--Color);
|
|
138
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-custom--BackgroundColor);
|
|
139
130
|
}
|
|
140
131
|
|
|
141
132
|
&.pf-m-success {
|
|
142
|
-
--#{$alert}--
|
|
133
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-success--BorderColor);
|
|
143
134
|
--#{$alert}__icon--Color: var(--#{$alert}--m-success__icon--Color);
|
|
144
135
|
--#{$alert}__title--Color: var(--#{$alert}--m-success__title--Color);
|
|
145
|
-
|
|
146
|
-
}
|
|
136
|
+
}
|
|
147
137
|
|
|
148
138
|
&.pf-m-danger {
|
|
149
|
-
--#{$alert}--
|
|
139
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-danger--BorderColor);
|
|
150
140
|
--#{$alert}__icon--Color: var(--#{$alert}--m-danger__icon--Color);
|
|
151
141
|
--#{$alert}__title--Color: var(--#{$alert}--m-danger__title--Color);
|
|
152
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-danger--BackgroundColor);
|
|
153
142
|
}
|
|
154
143
|
|
|
155
144
|
&.pf-m-warning {
|
|
156
|
-
--#{$alert}--
|
|
145
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-warning--BorderColor);
|
|
157
146
|
--#{$alert}__icon--Color: var(--#{$alert}--m-warning__icon--Color);
|
|
158
147
|
--#{$alert}__title--Color: var(--#{$alert}--m-warning__title--Color);
|
|
159
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-warning--BackgroundColor);
|
|
160
148
|
}
|
|
161
149
|
|
|
162
150
|
&.pf-m-info {
|
|
163
|
-
--#{$alert}--
|
|
151
|
+
--#{$alert}--BorderColor: var(--#{$alert}--m-info--BorderColor);
|
|
164
152
|
--#{$alert}__icon--Color: var(--#{$alert}--m-info__icon--Color);
|
|
165
153
|
--#{$alert}__title--Color: var(--#{$alert}--m-info__title--Color);
|
|
166
|
-
--#{$alert}--m-inline--BackgroundColor: var(--#{$alert}--m-inline--m-info--BackgroundColor);
|
|
167
154
|
}
|
|
168
155
|
|
|
169
156
|
&.pf-m-inline {
|
|
@@ -172,7 +159,7 @@
|
|
|
172
159
|
}
|
|
173
160
|
|
|
174
161
|
&.pf-m-plain {
|
|
175
|
-
--#{$alert}--
|
|
162
|
+
--#{$alert}--BorderWidth: var(--#{$alert}--m-inline--m-plain--BorderWidth);
|
|
176
163
|
--#{$alert}--BackgroundColor: var(--#{$alert}--m-inline--m-plain--BackgroundColor);
|
|
177
164
|
--#{$alert}--PaddingTop: var(--#{$alert}--m-inline--m-plain--PaddingTop);
|
|
178
165
|
--#{$alert}--PaddingRight: var(--#{$alert}--m-inline--m-plain--PaddingRight);
|
|
@@ -195,7 +182,7 @@
|
|
|
195
182
|
.#{$alert}__toggle {
|
|
196
183
|
margin-block-start: var(--#{$alert}__toggle--MarginTop);
|
|
197
184
|
margin-block-end: var(--#{$alert}__toggle--MarginBottom);
|
|
198
|
-
margin-inline-
|
|
185
|
+
margin-inline-end: var(--#{$alert}__toggle--MarginRight);
|
|
199
186
|
}
|
|
200
187
|
|
|
201
188
|
.#{$alert}__toggle-icon {
|
|
@@ -217,7 +204,9 @@
|
|
|
217
204
|
|
|
218
205
|
.#{$alert}__title {
|
|
219
206
|
grid-area: title;
|
|
207
|
+
font-size: var(--#{$alert}__title--FontSize);
|
|
220
208
|
font-weight: var(--#{$alert}__title--FontWeight);
|
|
209
|
+
line-height: var(--#{$alert}__title--LineHeight);
|
|
221
210
|
color: var(--#{$alert}__title--Color);
|
|
222
211
|
word-break: break-word;
|
|
223
212
|
|
|
@@ -260,10 +249,3 @@
|
|
|
260
249
|
}
|
|
261
250
|
}
|
|
262
251
|
}
|
|
263
|
-
|
|
264
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
265
|
-
@import "themes/dark/alert";
|
|
266
|
-
|
|
267
|
-
@include pf-v5-theme-dark {
|
|
268
|
-
@include pf-v5-theme-dark-alert;
|
|
269
|
-
}
|