@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
|
@@ -1,39 +1,40 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--pf-v5-c-notification-badge--BackgroundColor: transparent;
|
|
3
|
+
--pf-v5-c-notification-badge--MinWidth: 40px;
|
|
4
|
+
--pf-v5-c-notification-badge--Gap: var(--pf-t--global--spacer--xs);
|
|
5
|
+
--pf-v5-c-notification-badge--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
6
|
+
--pf-v5-c-notification-badge--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
7
|
+
--pf-v5-c-notification-badge--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--pf-v5-c-notification-badge--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
9
|
+
--pf-v5-c-notification-badge--MarginTop: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
10
|
+
--pf-v5-c-notification-badge--MarginRight: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
11
|
+
--pf-v5-c-notification-badge--MarginBottom: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
12
|
+
--pf-v5-c-notification-badge--MarginLeft: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
13
|
+
--pf-v5-c-notification-badge--before--BorderColor: transparent;
|
|
14
|
+
--pf-v5-c-notification-badge--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
15
|
+
--pf-v5-c-notification-badge--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
16
|
+
--pf-v5-c-notification-badge--m-read--Color: var(--pf-t--global--text--color--regular);
|
|
17
|
+
--pf-v5-c-notification-badge--m-read--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
18
|
+
--pf-v5-c-notification-badge--m-read--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
|
|
19
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
|
20
|
+
--pf-v5-c-notification-badge--m-read--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
21
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
22
|
+
--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
|
23
|
+
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-t--global--icon--color--on-brand--default);
|
|
24
|
+
--pf-v5-c-notification-badge--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
25
|
+
--pf-v5-c-notification-badge--m-unread--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
|
|
26
|
+
--pf-v5-c-notification-badge--m-unread--m-expanded--BackgroundColor: var(--pf-t--global--color--brand--active);
|
|
27
|
+
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-t--global--icon--color--status--on-danger--default);
|
|
28
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-t--global--color--status--danger--default);
|
|
29
|
+
--pf-v5-c-notification-badge--m-attention--hover--BackgroundColor: var(--pf-t--global--color--status--danger--hover);
|
|
30
|
+
--pf-v5-c-notification-badge--m-attention--m-expanded--BackgroundColor: var(--pf-t--global--color--status--danger--active);
|
|
31
|
+
}
|
|
32
|
+
|
|
1
33
|
.pf-v5-c-notification-badge {
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-notification-badge--
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
--pf-v5-c-notification-badge--MarginTop: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
|
7
|
-
--pf-v5-c-notification-badge--MarginRight: calc(-1 * var(--pf-v5-global--spacer--md));
|
|
8
|
-
--pf-v5-c-notification-badge--MarginBottom: calc(-1 * var(--pf-v5-global--spacer--form-element));
|
|
9
|
-
--pf-v5-c-notification-badge--MarginLeft: calc(-1 * var(--pf-v5-global--spacer--md));
|
|
10
|
-
--pf-v5-c-notification-badge--after--BorderColor: transparent;
|
|
11
|
-
--pf-v5-c-notification-badge--after--BorderRadius: var(--pf-v5-global--BorderRadius--sm);
|
|
12
|
-
--pf-v5-c-notification-badge--after--BorderWidth: 0;
|
|
13
|
-
--pf-v5-c-notification-badge--after--Top: 0;
|
|
14
|
-
--pf-v5-c-notification-badge--after--Right: 0;
|
|
15
|
-
--pf-v5-c-notification-badge--after--Width: auto;
|
|
16
|
-
--pf-v5-c-notification-badge--after--Height: auto;
|
|
17
|
-
--pf-v5-c-notification-badge--after--BackgroundColor: transparent;
|
|
18
|
-
--pf-v5-c-notification-badge--after--TranslateX: 0;
|
|
19
|
-
--pf-v5-c-notification-badge--after--TranslateY: 0;
|
|
20
|
-
--pf-v5-c-notification-badge__i--Width: auto;
|
|
21
|
-
--pf-v5-c-notification-badge__i--Height: auto;
|
|
22
|
-
--pf-v5-c-notification-badge--m-read--after--BorderColor: transparent;
|
|
23
|
-
--pf-v5-c-notification-badge--m-read--after--BackgroundColor: transparent;
|
|
24
|
-
--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-200);
|
|
25
|
-
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-v5-global--Color--light-100);
|
|
26
|
-
--pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-global--active-color--100);
|
|
27
|
-
--pf-v5-c-notification-badge--m-unread--hover--after--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
|
28
|
-
--pf-v5-c-notification-badge--m-unread--m-expanded--after--BackgroundColor: var(--pf-v5-global--primary-color--200);
|
|
29
|
-
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-v5-global--Color--light-100);
|
|
30
|
-
--pf-v5-c-notification-badge--m-attention--after--BackgroundColor: var(--pf-v5-global--danger-color--100);
|
|
31
|
-
--pf-v5-c-notification-badge--m-attention--hover--after--BackgroundColor: var(--pf-v5-global--danger-color--200);
|
|
32
|
-
--pf-v5-c-notification-badge--m-attention--m-expanded--after--BackgroundColor: var(--pf-v5-global--danger-color--200);
|
|
33
|
-
--pf-v5-c-notification-badge__count--MarginLeft: var(--pf-v5-global--spacer--xs);
|
|
34
|
-
--pf-v5-c-notification-badge--pf-v5-pficon-attention-bell--LineHeight: var(--pf-v5-global--LineHeight--sm);
|
|
35
|
-
position: relative;
|
|
36
|
-
display: inline-block;
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
gap: var(--pf-v5-c-notification-badge--Gap);
|
|
36
|
+
align-items: center;
|
|
37
|
+
justify-content: center;
|
|
37
38
|
padding-block-start: var(--pf-v5-c-notification-badge--PaddingTop);
|
|
38
39
|
padding-block-end: var(--pf-v5-c-notification-badge--PaddingBottom);
|
|
39
40
|
padding-inline-start: var(--pf-v5-c-notification-badge--PaddingLeft);
|
|
@@ -42,71 +43,45 @@
|
|
|
42
43
|
margin-block-end: var(--pf-v5-c-notification-badge--MarginBottom);
|
|
43
44
|
margin-inline-start: var(--pf-v5-c-notification-badge--MarginLeft);
|
|
44
45
|
margin-inline-end: var(--pf-v5-c-notification-badge--MarginRight);
|
|
45
|
-
background-color: var(--pf-v5-c-notification-badge--
|
|
46
|
-
border-radius: var(--pf-v5-c-notification-badge--
|
|
46
|
+
background-color: var(--pf-v5-c-notification-badge--BackgroundColor);
|
|
47
|
+
border-radius: var(--pf-v5-c-notification-badge--BorderRadius);
|
|
47
48
|
}
|
|
48
49
|
.pf-v5-c-notification-badge::before {
|
|
49
50
|
position: absolute;
|
|
50
|
-
inset-block-start:
|
|
51
|
+
inset-block-start: 0;
|
|
51
52
|
inset-block-end: 0;
|
|
52
53
|
inset-inline-start: 0;
|
|
53
|
-
inset-inline-end:
|
|
54
|
-
width: var(--pf-v5-c-notification-badge--after--Width);
|
|
55
|
-
height: var(--pf-v5-c-notification-badge--after--Height);
|
|
54
|
+
inset-inline-end: 0;
|
|
56
55
|
content: "";
|
|
57
|
-
border: var(--pf-v5-c-notification-badge--
|
|
58
|
-
border-radius: var(--pf-v5-c-notification-badge--
|
|
59
|
-
transform: translate(var(--pf-v5-c-notification-badge--
|
|
60
|
-
}
|
|
61
|
-
.pf-v5-c-notification-badge > i {
|
|
62
|
-
width: var(--pf-v5-c-notification-badge__i--Width);
|
|
63
|
-
height: var(--pf-v5-c-notification-badge__i--Height);
|
|
64
|
-
}
|
|
65
|
-
.pf-v5-c-notification-badge > * {
|
|
66
|
-
position: relative;
|
|
67
|
-
}
|
|
68
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-attention-bell,
|
|
69
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-bell {
|
|
70
|
-
display: inline-block;
|
|
71
|
-
line-height: var(--pf-v5-c-notification-badge--pf-v5-pficon-attention-bell--LineHeight);
|
|
72
|
-
}
|
|
73
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-attention-bell::before,
|
|
74
|
-
.pf-v5-c-notification-badge .pf-v5-c-icon-bell::before {
|
|
75
|
-
vertical-align: bottom;
|
|
56
|
+
border: var(--pf-v5-c-notification-badge--before--BorderWidth) solid var(--pf-v5-c-notification-badge--before--BorderColor);
|
|
57
|
+
border-radius: var(--pf-v5-c-notification-badge--BorderRadius);
|
|
58
|
+
transform: translate(var(--pf-v5-c-notification-badge--before--TranslateX), var(--pf-v5-c-notification-badge--before--TranslateY));
|
|
76
59
|
}
|
|
77
60
|
.pf-v5-c-notification-badge.pf-m-read {
|
|
78
|
-
--pf-v5-c-notification-badge--
|
|
79
|
-
--pf-v5-c-notification-badge--
|
|
61
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--BackgroundColor);
|
|
62
|
+
--pf-v5-c-notification-badge--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--before--BorderColor);
|
|
80
63
|
color: var(--pf-v5-c-notification-badge--m-read--Color, inherit);
|
|
81
64
|
}
|
|
65
|
+
.pf-v5-c-notification-badge.pf-m-read:hover {
|
|
66
|
+
--pf-v5-c-notification-badge--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--hover--before--BorderColor);
|
|
67
|
+
}
|
|
82
68
|
.pf-v5-c-notification-badge.pf-m-unread {
|
|
83
|
-
--pf-v5-c-notification-badge--
|
|
69
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--BackgroundColor);
|
|
84
70
|
color: var(--pf-v5-c-notification-badge--m-unread--Color);
|
|
85
71
|
}
|
|
86
72
|
.pf-v5-c-notification-badge.pf-m-unread:hover {
|
|
87
|
-
--pf-v5-c-notification-badge--
|
|
73
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--hover--BackgroundColor);
|
|
88
74
|
}
|
|
89
75
|
.pf-v5-c-notification-badge.pf-m-attention {
|
|
90
|
-
--pf-v5-c-notification-badge--
|
|
76
|
+
--pf-v5-c-notification-badge--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--BackgroundColor);
|
|
91
77
|
color: var(--pf-v5-c-notification-badge--m-attention--Color);
|
|
92
78
|
}
|
|
93
79
|
.pf-v5-c-notification-badge.pf-m-attention:hover {
|
|
94
|
-
--pf-v5-c-notification-badge--m-attention--
|
|
80
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--hover--BackgroundColor);
|
|
95
81
|
}
|
|
96
82
|
.pf-v5-c-notification-badge.pf-m-expanded {
|
|
97
|
-
--pf-v5-c-notification-badge--m-read--
|
|
98
|
-
--pf-v5-c-notification-badge--m-read--
|
|
99
|
-
--pf-v5-c-notification-badge--m-unread--
|
|
100
|
-
--pf-v5-c-notification-badge--m-attention--
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.pf-v5-c-notification-badge__count {
|
|
104
|
-
margin-inline-start: var(--pf-v5-c-notification-badge__count--MarginLeft);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-notification-badge {
|
|
108
|
-
--pf-v5-c-notification-badge--m-read--m-expanded--after--BackgroundColor: var(--pf-v5-global--BackgroundColor--400);
|
|
109
|
-
--pf-v5-c-notification-badge--m-unread--Color: var(--pf-v5-global--primary-color--400);
|
|
110
|
-
--pf-v5-c-notification-badge--m-unread--after--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
|
111
|
-
--pf-v5-c-notification-badge--m-attention--Color: var(--pf-v5-global--palette--black-900);
|
|
83
|
+
--pf-v5-c-notification-badge--m-read--BackgroundColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--BackgroundColor);
|
|
84
|
+
--pf-v5-c-notification-badge--m-read--before--BorderColor: var(--pf-v5-c-notification-badge--m-read--m-expanded--before--BorderColor);
|
|
85
|
+
--pf-v5-c-notification-badge--m-unread--BackgroundColor: var(--pf-v5-c-notification-badge--m-unread--m-expanded--BackgroundColor);
|
|
86
|
+
--pf-v5-c-notification-badge--m-attention--BackgroundColor: var(--pf-v5-c-notification-badge--m-attention--m-expanded--BackgroundColor);
|
|
112
87
|
}
|
|
@@ -1,58 +1,50 @@
|
|
|
1
1
|
// @debug $notification-badge; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
--#{$notification-badge}--
|
|
5
|
-
--#{$notification-badge}--
|
|
6
|
-
--#{$notification-badge}--
|
|
7
|
-
--#{$notification-badge}--
|
|
8
|
-
--#{$notification-badge}--
|
|
9
|
-
--#{$notification-badge}--
|
|
10
|
-
--#{$notification-badge}--
|
|
11
|
-
--#{$notification-badge}--
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
--#{$notification-badge}--
|
|
18
|
-
--#{$notification-badge}--
|
|
19
|
-
--#{$notification-badge}--
|
|
20
|
-
--#{$notification-badge}--after--Width: auto; // remove at breaking change
|
|
21
|
-
--#{$notification-badge}--after--Height: auto; // remove at breaking change
|
|
22
|
-
--#{$notification-badge}--after--BackgroundColor: transparent;
|
|
23
|
-
|
|
24
|
-
// This translation works for the Bell icon, although adjusted for a happy medium between FF and Chrome.
|
|
25
|
-
// If other icons are used, a modifier may need to be created to allow for proper positioning on that icon.
|
|
26
|
-
--#{$notification-badge}--after--TranslateX: 0; // remove at breaking change
|
|
27
|
-
--#{$notification-badge}--after--TranslateY: 0; // remove at breaking change
|
|
28
|
-
|
|
29
|
-
// The icon is normalized to be square in order to facilitate consistency in positioning
|
|
30
|
-
--#{$notification-badge}__i--Width: auto; // remove at breaking change
|
|
31
|
-
--#{$notification-badge}__i--Height: auto; // remove at breaking change
|
|
3
|
+
:root {
|
|
4
|
+
--#{$notification-badge}--BackgroundColor: transparent;
|
|
5
|
+
--#{$notification-badge}--MinWidth: 40px;
|
|
6
|
+
--#{$notification-badge}--Gap: var(--pf-t--global--spacer--xs);
|
|
7
|
+
--#{$notification-badge}--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
8
|
+
--#{$notification-badge}--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
9
|
+
--#{$notification-badge}--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
10
|
+
--#{$notification-badge}--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
11
|
+
--#{$notification-badge}--MarginTop: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
12
|
+
--#{$notification-badge}--MarginRight: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
13
|
+
--#{$notification-badge}--MarginBottom: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
14
|
+
--#{$notification-badge}--MarginLeft: calc(-1 * var(--pf-t--global--spacer--sm));
|
|
15
|
+
|
|
16
|
+
// ::before border treatment
|
|
17
|
+
--#{$notification-badge}--before--BorderColor: transparent;
|
|
18
|
+
--#{$notification-badge}--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
19
|
+
--#{$notification-badge}--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
|
32
20
|
|
|
33
21
|
// Modifiers
|
|
34
|
-
--#{$notification-badge}--m-read--
|
|
35
|
-
--#{$notification-badge}--m-read--
|
|
36
|
-
--#{$notification-badge}--m-read--
|
|
22
|
+
--#{$notification-badge}--m-read--Color: var(--pf-t--global--text--color--regular);
|
|
23
|
+
--#{$notification-badge}--m-read--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
24
|
+
--#{$notification-badge}--m-read--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
|
|
25
|
+
--#{$notification-badge}--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
|
26
|
+
--#{$notification-badge}--m-read--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
27
|
+
--#{$notification-badge}--m-read--m-expanded--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
|
28
|
+
--#{$notification-badge}--m-read--m-expanded--before--BorderColor: var(--pf-t--global--border--color--active);
|
|
37
29
|
|
|
38
30
|
// Unread
|
|
39
|
-
--#{$notification-badge}--m-unread--Color: var(
|
|
40
|
-
--#{$notification-badge}--m-unread--
|
|
41
|
-
--#{$notification-badge}--m-unread--hover--
|
|
42
|
-
--#{$notification-badge}--m-unread--m-expanded--
|
|
31
|
+
--#{$notification-badge}--m-unread--Color: var(--pf-t--global--icon--color--on-brand--default);
|
|
32
|
+
--#{$notification-badge}--m-unread--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
33
|
+
--#{$notification-badge}--m-unread--hover--BackgroundColor: var(--pf-t--global--color--brand--hover);
|
|
34
|
+
--#{$notification-badge}--m-unread--m-expanded--BackgroundColor: var(--pf-t--global--color--brand--active);
|
|
43
35
|
|
|
44
36
|
// Attention
|
|
45
|
-
--#{$notification-badge}--m-attention--Color: var(
|
|
46
|
-
--#{$notification-badge}--m-attention--
|
|
47
|
-
--#{$notification-badge}--m-attention--hover--
|
|
48
|
-
--#{$notification-badge}--m-attention--m-expanded--
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
// Attention icon
|
|
52
|
-
--#{$notification-badge}--pf-v5-pficon-attention-bell--LineHeight: var(--#{$pf-global}--LineHeight--sm);
|
|
37
|
+
--#{$notification-badge}--m-attention--Color: var(--pf-t--global--icon--color--status--on-danger--default);
|
|
38
|
+
--#{$notification-badge}--m-attention--BackgroundColor: var(--pf-t--global--color--status--danger--default);
|
|
39
|
+
--#{$notification-badge}--m-attention--hover--BackgroundColor: var(--pf-t--global--color--status--danger--hover);
|
|
40
|
+
--#{$notification-badge}--m-attention--m-expanded--BackgroundColor: var(--pf-t--global--color--status--danger--active);
|
|
41
|
+
}
|
|
53
42
|
|
|
54
|
-
|
|
55
|
-
display: inline-
|
|
43
|
+
.#{$notification-badge} {
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
gap: var(--#{$notification-badge}--Gap);
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
56
48
|
padding-block-start: var(--#{$notification-badge}--PaddingTop);
|
|
57
49
|
padding-block-end: var(--#{$notification-badge}--PaddingBottom);
|
|
58
50
|
padding-inline-start: var(--#{$notification-badge}--PaddingLeft);
|
|
@@ -61,85 +53,56 @@
|
|
|
61
53
|
margin-block-end: var(--#{$notification-badge}--MarginBottom);
|
|
62
54
|
margin-inline-start: var(--#{$notification-badge}--MarginLeft);
|
|
63
55
|
margin-inline-end: var(--#{$notification-badge}--MarginRight);
|
|
64
|
-
background-color: var(--#{$notification-badge}--
|
|
65
|
-
border-radius: var(--#{$notification-badge}--
|
|
56
|
+
background-color: var(--#{$notification-badge}--BackgroundColor);
|
|
57
|
+
border-radius: var(--#{$notification-badge}--BorderRadius);
|
|
66
58
|
|
|
67
|
-
&::before {
|
|
59
|
+
&::before {
|
|
68
60
|
position: absolute;
|
|
69
|
-
inset-block-start:
|
|
61
|
+
inset-block-start: 0;
|
|
70
62
|
inset-block-end: 0;
|
|
71
63
|
inset-inline-start: 0;
|
|
72
|
-
inset-inline-end:
|
|
73
|
-
width: var(--#{$notification-badge}--after--Width); // remove at breaking change
|
|
74
|
-
height: var(--#{$notification-badge}--after--Height); // remove at breaking change
|
|
64
|
+
inset-inline-end: 0;
|
|
75
65
|
content: "";
|
|
76
|
-
border: var(--#{$notification-badge}--
|
|
77
|
-
border-radius: var(--#{$notification-badge}--
|
|
78
|
-
transform: translate(var(--#{$notification-badge}--
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
& > i {
|
|
82
|
-
width: var(--#{$notification-badge}__i--Width);
|
|
83
|
-
height: var(--#{$notification-badge}__i--Height);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
// set children to relative so they appear above ::before
|
|
87
|
-
& > * {
|
|
88
|
-
position: relative;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.#{$icon}-attention-bell,
|
|
92
|
-
.#{$icon}-bell {
|
|
93
|
-
display: inline-block;
|
|
94
|
-
line-height: var(--#{$notification-badge}--pf-v5-pficon-attention-bell--LineHeight);
|
|
95
|
-
|
|
96
|
-
&::before {
|
|
97
|
-
vertical-align: bottom;
|
|
98
|
-
}
|
|
66
|
+
border: var(--#{$notification-badge}--before--BorderWidth) solid var(--#{$notification-badge}--before--BorderColor);
|
|
67
|
+
border-radius: var(--#{$notification-badge}--BorderRadius);
|
|
68
|
+
transform: translate(var(--#{$notification-badge}--before--TranslateX), var(--#{$notification-badge}--before--TranslateY));
|
|
99
69
|
}
|
|
100
70
|
|
|
101
71
|
&.pf-m-read {
|
|
102
|
-
--#{$notification-badge}--
|
|
103
|
-
--#{$notification-badge}--
|
|
72
|
+
--#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-read--BackgroundColor);
|
|
73
|
+
--#{$notification-badge}--before--BorderColor: var(--#{$notification-badge}--m-read--before--BorderColor);
|
|
104
74
|
|
|
105
75
|
color: var(--#{$notification-badge}--m-read--Color, inherit);
|
|
76
|
+
|
|
77
|
+
&:hover {
|
|
78
|
+
--#{$notification-badge}--before--BorderColor: var(--#{$notification-badge}--m-read--hover--before--BorderColor);
|
|
79
|
+
}
|
|
106
80
|
}
|
|
107
81
|
|
|
108
82
|
&.pf-m-unread {
|
|
109
|
-
--#{$notification-badge}--
|
|
83
|
+
--#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-unread--BackgroundColor);
|
|
110
84
|
|
|
111
85
|
color: var(--#{$notification-badge}--m-unread--Color);
|
|
112
86
|
|
|
113
87
|
&:hover {
|
|
114
|
-
--#{$notification-badge}--
|
|
88
|
+
--#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-unread--hover--BackgroundColor);
|
|
115
89
|
}
|
|
116
90
|
}
|
|
117
91
|
|
|
118
92
|
&.pf-m-attention {
|
|
119
|
-
--#{$notification-badge}--
|
|
93
|
+
--#{$notification-badge}--BackgroundColor: var(--#{$notification-badge}--m-attention--BackgroundColor);
|
|
120
94
|
|
|
121
95
|
color: var(--#{$notification-badge}--m-attention--Color);
|
|
122
96
|
|
|
123
97
|
&:hover {
|
|
124
|
-
--#{$notification-badge}--m-attention--
|
|
98
|
+
--#{$notification-badge}--m-attention--BackgroundColor: var(--#{$notification-badge}--m-attention--hover--BackgroundColor);
|
|
125
99
|
}
|
|
126
100
|
}
|
|
127
101
|
|
|
128
102
|
&.pf-m-expanded {
|
|
129
|
-
--#{$notification-badge}--m-read--
|
|
130
|
-
--#{$notification-badge}--m-read--
|
|
131
|
-
--#{$notification-badge}--m-unread--
|
|
132
|
-
--#{$notification-badge}--m-attention--
|
|
103
|
+
--#{$notification-badge}--m-read--BackgroundColor: var(--#{$notification-badge}--m-read--m-expanded--BackgroundColor);
|
|
104
|
+
--#{$notification-badge}--m-read--before--BorderColor: var(--#{$notification-badge}--m-read--m-expanded--before--BorderColor);
|
|
105
|
+
--#{$notification-badge}--m-unread--BackgroundColor: var(--#{$notification-badge}--m-unread--m-expanded--BackgroundColor);
|
|
106
|
+
--#{$notification-badge}--m-attention--BackgroundColor: var(--#{$notification-badge}--m-attention--m-expanded--BackgroundColor);
|
|
133
107
|
}
|
|
134
108
|
}
|
|
135
|
-
|
|
136
|
-
.#{$notification-badge}__count {
|
|
137
|
-
margin-inline-start: var(--#{$notification-badge}__count--MarginLeft);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
141
|
-
@import "themes/dark/notification-badge";
|
|
142
|
-
|
|
143
|
-
@include pf-v5-theme-dark {
|
|
144
|
-
@include pf-v5-theme-dark-notification-badge;
|
|
145
|
-
}
|
package/components/Page/page.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--dark);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.pf-v5-c-page__main-section[class*=pf-m-dark-], .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector, .pf-v5-c-
|
|
13
|
+
.pf-v5-c-page__main-section[class*=pf-m-dark-], .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector, .pf-v5-c-page__header {
|
|
14
14
|
--pf-v5-global--Color--100: var(--pf-v5-global--Color--light-100);
|
|
15
15
|
--pf-v5-global--Color--200: var(--pf-v5-global--Color--light-200);
|
|
16
16
|
--pf-v5-global--BorderColor--100: var(--pf-v5-global--BorderColor--light-100);
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--pf-v5-global--icon--Color--light: var(--pf-v5-global--icon--Color--light--light);
|
|
22
22
|
--pf-v5-global--icon--Color--dark: var(--pf-v5-global--icon--Color--dark--light);
|
|
23
23
|
}
|
|
24
|
-
.pf-v5-c-page__main-section[class*=pf-m-dark-] .pf-v5-c-button, .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector .pf-v5-c-button, .pf-v5-c-
|
|
24
|
+
.pf-v5-c-page__main-section[class*=pf-m-dark-] .pf-v5-c-button, .pf-v5-c-page__sidebar-body.pf-m-menu .pf-v5-c-context-selector .pf-v5-c-button, .pf-v5-c-page__header .pf-v5-c-button {
|
|
25
25
|
--pf-v5-c-button--m-primary--BackgroundColor: var(--pf-v5-global--primary-color--dark-100);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -75,31 +75,31 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
:root {
|
|
78
|
-
--pf-v5-c-page--BackgroundColor: var(--pf-
|
|
79
|
-
--pf-v5-c-page--inset: var(--pf-
|
|
80
|
-
--pf-v5-c-page--xl--inset: var(--pf-
|
|
81
|
-
--pf-v5-c-page__header--BackgroundColor: var(--pf-
|
|
78
|
+
--pf-v5-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
79
|
+
--pf-v5-c-page--inset: var(--pf-t--global--spacer--md);
|
|
80
|
+
--pf-v5-c-page--xl--inset: var(--pf-t--global--spacer--xl);
|
|
81
|
+
--pf-v5-c-page__header--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
82
82
|
--pf-v5-c-page__header--ZIndex: var(--pf-v5-global--ZIndex--md);
|
|
83
83
|
--pf-v5-c-page__header--MinHeight: 4.75rem;
|
|
84
|
-
--pf-v5-c-page__header-brand--PaddingLeft: var(--pf-
|
|
85
|
-
--pf-v5-c-page__header-brand--xl--PaddingRight: var(--pf-
|
|
86
|
-
--pf-v5-c-page__header-brand--xl--PaddingLeft: var(--pf-
|
|
87
|
-
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingTop: var(--pf-
|
|
88
|
-
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingRight: var(--pf-
|
|
89
|
-
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingBottom: var(--pf-
|
|
90
|
-
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingLeft: var(--pf-
|
|
91
|
-
--pf-v5-c-page__header-sidebar-toggle__c-button--MarginRight: var(--pf-
|
|
84
|
+
--pf-v5-c-page__header-brand--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
85
|
+
--pf-v5-c-page__header-brand--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
86
|
+
--pf-v5-c-page__header-brand--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
87
|
+
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
88
|
+
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
89
|
+
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
90
|
+
--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
91
|
+
--pf-v5-c-page__header-sidebar-toggle__c-button--MarginRight: var(--pf-t--global--spacer--md);
|
|
92
92
|
--pf-v5-c-page__header-sidebar-toggle__c-button--MarginLeft: calc(var(--pf-v5-c-page__header-sidebar-toggle__c-button--PaddingLeft) * -1);
|
|
93
|
-
--pf-v5-c-page__header-sidebar-toggle__c-button--FontSize: var(--pf-
|
|
93
|
+
--pf-v5-c-page__header-sidebar-toggle__c-button--FontSize: var(--pf-t--global--icon--size--lg);
|
|
94
94
|
--pf-v5-c-page__header-brand-link--c-brand--MaxHeight: 3.75rem;
|
|
95
|
-
--pf-v5-c-page__header-nav--BackgroundColor: var(--pf-
|
|
95
|
+
--pf-v5-c-page__header-nav--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
96
96
|
--pf-v5-c-page__header-nav--xl--BackgroundColor: transparent;
|
|
97
|
-
--pf-v5-c-page__header-nav--xl--PaddingRight: var(--pf-
|
|
98
|
-
--pf-v5-c-page__header-nav--xl--PaddingLeft: var(--pf-
|
|
99
|
-
--pf-v5-c-page__header-tools--MarginRight: var(--pf-
|
|
100
|
-
--pf-v5-c-page__header-tools--xl--MarginRight: var(--pf-
|
|
101
|
-
--pf-v5-c-page__header-tools--c-avatar--MarginLeft: var(--pf-
|
|
102
|
-
--pf-v5-c-page__header-tools-group--MarginLeft: var(--pf-
|
|
97
|
+
--pf-v5-c-page__header-nav--xl--PaddingRight: var(--pf-t--global--spacer--xl);
|
|
98
|
+
--pf-v5-c-page__header-nav--xl--PaddingLeft: var(--pf-t--global--spacer--xl);
|
|
99
|
+
--pf-v5-c-page__header-tools--MarginRight: var(--pf-t--global--spacer--md);
|
|
100
|
+
--pf-v5-c-page__header-tools--xl--MarginRight: var(--pf-t--global--spacer--lg);
|
|
101
|
+
--pf-v5-c-page__header-tools--c-avatar--MarginLeft: var(--pf-t--global--spacer--md);
|
|
102
|
+
--pf-v5-c-page__header-tools-group--MarginLeft: var(--pf-t--global--spacer--xl);
|
|
103
103
|
--pf-v5-c-page__header-tools-group--Display: flex;
|
|
104
104
|
--pf-v5-c-page__header-tools-item--Display: block;
|
|
105
105
|
--pf-v5-c-page__header-tools-item--c-notification-badge--hover--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-200);
|
|
@@ -114,16 +114,24 @@
|
|
|
114
114
|
--pf-v5-c-page__header-tools--c-button--m-selected--c-notification-badge--m-unread--after--BorderColor: transparent;
|
|
115
115
|
--pf-v5-c-page__sidebar--ZIndex: var(--pf-v5-global--ZIndex--sm);
|
|
116
116
|
--pf-v5-c-page__sidebar--Width: 18.125rem;
|
|
117
|
-
--pf-v5-c-page__sidebar--BackgroundColor: var(--pf-
|
|
117
|
+
--pf-v5-c-page__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
118
118
|
--pf-v5-c-page__sidebar--m-light--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-100);
|
|
119
119
|
--pf-v5-c-page__sidebar--m-light--BorderRightWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
120
120
|
--pf-v5-c-page__sidebar--m-light--BorderRightColor: var(--pf-v5-global--BorderColor--100);
|
|
121
|
-
--pf-v5-c-page__sidebar--BoxShadow:
|
|
121
|
+
--pf-v5-c-page__sidebar--BoxShadow: none;
|
|
122
122
|
--pf-v5-c-page__sidebar--Transition: var(--pf-v5-global--Transition);
|
|
123
123
|
--pf-v5-c-page__sidebar--TranslateX: -100%;
|
|
124
124
|
--pf-v5-c-page__sidebar--TranslateZ: 0;
|
|
125
125
|
--pf-v5-c-page__sidebar--m-expanded--TranslateX: 0;
|
|
126
126
|
--pf-v5-c-page__sidebar--xl--TranslateX: 0;
|
|
127
|
+
--pf-v5-c-page__sidebar-header--BorderBottomWidth: var(--pf-t--global--border--width--divider--default);
|
|
128
|
+
--pf-v5-c-page__sidebar-header--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
129
|
+
--pf-v5-c-page__sidebar-header--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
130
|
+
--pf-v5-c-page__sidebar-header--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
131
|
+
--pf-v5-c-page__sidebar-title--FontSize: var(--pf-t--global--font--size--heading--xs);
|
|
132
|
+
--pf-v5-c-page__sidebar-title--LineHeight: var(--pf-t--global--font--line-height--heading);
|
|
133
|
+
--pf-v5-c-page__sidebar-title--FontFamily: var(--pf-t--global--font--family--heading);
|
|
134
|
+
--pf-v5-c-page__sidebar-title--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
127
135
|
--pf-v5-c-page__sidebar-body--PaddingRight: 0;
|
|
128
136
|
--pf-v5-c-page__sidebar-body--PaddingLeft: 0;
|
|
129
137
|
--pf-v5-c-page__sidebar-body--m-page-insets--PaddingRight: var(--pf-v5-c-page--inset);
|
|
@@ -132,22 +140,19 @@
|
|
|
132
140
|
--pf-v5-c-page__sidebar-body--m-menu--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
133
141
|
--pf-v5-c-page__sidebar-body--m-menu--c-context-selector--BorderBottomColor: var(--pf-v5-global--BackgroundColor--dark-200);
|
|
134
142
|
--pf-v5-c-page__main--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
|
135
|
-
--pf-v5-c-page__main-section--
|
|
136
|
-
--pf-v5-c-page__main-section--
|
|
137
|
-
--pf-v5-c-page__main-section--
|
|
138
|
-
--pf-v5-c-page__main-section--
|
|
139
|
-
--pf-v5-c-page__main-section--
|
|
140
|
-
--pf-v5-c-page__main-section--
|
|
141
|
-
--pf-v5-c-page__main-section--
|
|
142
|
-
--pf-v5-c-page__main-section--
|
|
143
|
-
--pf-v5-c-page__main-
|
|
144
|
-
--pf-v5-c-page__main-section--
|
|
145
|
-
--pf-v5-c-page__main-section--m-
|
|
146
|
-
--pf-v5-c-page__main-
|
|
147
|
-
--pf-v5-c-page__main-
|
|
148
|
-
--pf-v5-c-page__main-section--m-dark-200--BackgroundColor: var(--pf-v5-global--BackgroundColor--dark-transparent-200);
|
|
149
|
-
--pf-v5-c-page__main-breadcrumb--page__main-tabs--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
150
|
-
--pf-v5-c-page__main-nav--page__main-tabs--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
143
|
+
--pf-v5-c-page__main-section--MarginTop: var(--pf-t--global--spacer--md);
|
|
144
|
+
--pf-v5-c-page__main-section--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
145
|
+
--pf-v5-c-page__main-section--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
146
|
+
--pf-v5-c-page__main-section--PaddingBottom: 0;
|
|
147
|
+
--pf-v5-c-page__main-section--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
148
|
+
--pf-v5-c-page__main-breadcrumb--main-section--PaddingTop: var(--pf-t--global--spacer--md);
|
|
149
|
+
--pf-v5-c-page__main-section--BackgroundColor: transparent;
|
|
150
|
+
--pf-v5-c-page__main-section--m-light--BackgroundColor: transparent;
|
|
151
|
+
--pf-v5-c-page__main-section--m-light-100--BackgroundColor: transparent;
|
|
152
|
+
--pf-v5-c-page__main-section--m-dark-100--BackgroundColor: transparent;
|
|
153
|
+
--pf-v5-c-page__main-section--m-dark-200--BackgroundColor: transparent;
|
|
154
|
+
--pf-v5-c-page__main-breadcrumb--page__main-tabs--PaddingTop: var(--pf-t--global--spacer--md);
|
|
155
|
+
--pf-v5-c-page__main-nav--page__main-tabs--PaddingTop: var(--pf-t--global--spacer--md);
|
|
151
156
|
--pf-v5-c-page--section--m-limit-width--MaxWidth: calc(125rem - var(--pf-v5-c-page__sidebar--Width));
|
|
152
157
|
--pf-v5-c-page--section--m-sticky-top--ZIndex: var(--pf-v5-global--ZIndex--md);
|
|
153
158
|
--pf-v5-c-page--section--m-sticky-top--BoxShadow: var(--pf-v5-global--BoxShadow--sm-bottom);
|
|
@@ -171,19 +176,14 @@
|
|
|
171
176
|
--pf-v5-c-page__main-subnav--BorderLeftColor: var(--pf-v5-global--palette--black-800);
|
|
172
177
|
--pf-v5-c-page__sidebar--main__main-subnav--BorderLeftWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
173
178
|
--pf-v5-c-page__sidebar--m-collapsed--main__main-subnav--BorderLeftWidth: 0;
|
|
174
|
-
--pf-v5-c-page__main-breadcrumb--
|
|
175
|
-
--pf-v5-c-page__main-breadcrumb--
|
|
176
|
-
--pf-v5-c-page__main-breadcrumb--PaddingRight: var(--pf-v5-global--spacer--md);
|
|
179
|
+
--pf-v5-c-page__main-breadcrumb--PaddingTop: var(--pf-t--global--spacer--md);
|
|
180
|
+
--pf-v5-c-page__main-breadcrumb--PaddingRight: var(--pf-t--global--spacer--md);
|
|
177
181
|
--pf-v5-c-page__main-breadcrumb--PaddingBottom: 0;
|
|
178
|
-
--pf-v5-c-page__main-breadcrumb--PaddingLeft: var(--pf-
|
|
179
|
-
--pf-v5-c-page__main-breadcrumb--m-sticky-top--PaddingBottom: var(--pf-v5-global--spacer--md);
|
|
180
|
-
--pf-v5-c-page__main-breadcrumb--xl--PaddingRight: var(--pf-v5-global--spacer--lg);
|
|
181
|
-
--pf-v5-c-page__main-breadcrumb--xl--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
|
182
|
+
--pf-v5-c-page__main-breadcrumb--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
182
183
|
--pf-v5-c-page__main-tabs--PaddingTop: 0;
|
|
183
184
|
--pf-v5-c-page__main-tabs--PaddingRight: 0;
|
|
184
185
|
--pf-v5-c-page__main-tabs--PaddingBottom: 0;
|
|
185
186
|
--pf-v5-c-page__main-tabs--PaddingLeft: 0;
|
|
186
|
-
--pf-v5-c-page__main-tabs--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-100);
|
|
187
187
|
--pf-v5-c-page__main-wizard--BackgroundColor: var(--pf-v5-global--BackgroundColor--light-100);
|
|
188
188
|
--pf-v5-c-page__main-wizard--BorderTopColor: var(--pf-v5-global--BorderColor--100);
|
|
189
189
|
--pf-v5-c-page__main-wizard--BorderTopWidth: var(--pf-v5-global--BorderWidth--sm);
|
|
@@ -212,26 +212,6 @@
|
|
|
212
212
|
--pf-v5-c-page__sidebar--TranslateX: var(--pf-v5-c-page__sidebar--xl--TranslateX);
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
|
-
@media screen and (min-width: 1200px) {
|
|
216
|
-
:root {
|
|
217
|
-
--pf-v5-c-page__main-section--PaddingTop: var(--pf-v5-c-page__main-section--xl--PaddingTop);
|
|
218
|
-
--pf-v5-c-page__main-section--PaddingRight: var(--pf-v5-c-page__main-section--xl--PaddingRight);
|
|
219
|
-
--pf-v5-c-page__main-section--PaddingBottom: var(--pf-v5-c-page__main-section--xl--PaddingBottom);
|
|
220
|
-
--pf-v5-c-page__main-section--PaddingLeft: var(--pf-v5-c-page__main-section--xl--PaddingLeft);
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
@media screen and (min-width: 1200px) {
|
|
224
|
-
:root {
|
|
225
|
-
--pf-v5-c-page__main-nav--PaddingRight: var(--pf-v5-c-page__main-nav--xl--PaddingRight);
|
|
226
|
-
--pf-v5-c-page__main-nav--PaddingLeft: var(--pf-v5-c-page__main-nav--xl--PaddingLeft);
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
@media screen and (min-width: 1200px) {
|
|
230
|
-
:root {
|
|
231
|
-
--pf-v5-c-page__main-breadcrumb--PaddingRight: var(--pf-v5-c-page__main-breadcrumb--xl--PaddingRight);
|
|
232
|
-
--pf-v5-c-page__main-breadcrumb--PaddingLeft: var(--pf-v5-c-page__main-breadcrumb--xl--PaddingLeft);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
215
|
|
|
236
216
|
.pf-v5-c-page {
|
|
237
217
|
display: grid;
|
|
@@ -384,7 +364,6 @@
|
|
|
384
364
|
}
|
|
385
365
|
|
|
386
366
|
.pf-v5-c-page__sidebar {
|
|
387
|
-
color: var(--pf-v5-global--Color--100);
|
|
388
367
|
z-index: var(--pf-v5-c-page__sidebar--ZIndex);
|
|
389
368
|
display: flex;
|
|
390
369
|
flex-direction: column;
|
|
@@ -392,6 +371,10 @@
|
|
|
392
371
|
grid-row-start: 2;
|
|
393
372
|
grid-column-start: 1;
|
|
394
373
|
width: var(--pf-v5-c-page__sidebar--Width);
|
|
374
|
+
padding-block-start: 0;
|
|
375
|
+
padding-block-end: var(--pf-t--global--spacer--lg);
|
|
376
|
+
padding-inline-start: var(--pf-t--global--spacer--lg);
|
|
377
|
+
margin-inline-end: var(--pf-v5-c-page__sidebar--MarginRight);
|
|
395
378
|
overflow-x: hidden;
|
|
396
379
|
overflow-y: auto;
|
|
397
380
|
-webkit-overflow-scrolling: touch;
|
|
@@ -422,6 +405,19 @@
|
|
|
422
405
|
border-inline-end: var(--pf-v5-c-page__sidebar--m-light--BorderRightWidth) solid var(--pf-v5-c-page__sidebar--m-light--BorderRightColor);
|
|
423
406
|
}
|
|
424
407
|
|
|
408
|
+
.pf-v5-c-page__sidebar-header {
|
|
409
|
+
padding-block-start: var(--pf-v5-c-page__sidebar-header--PaddingTop);
|
|
410
|
+
padding-block-end: var(--pf-v5-c-page__sidebar-header--PaddingBottom);
|
|
411
|
+
border-block-end: var(--pf-v5-c-page__sidebar-header--BorderBottomWidth) solid var(--pf-v5-c-page__sidebar-header--BorderBottomColor);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.pf-v5-c-page__sidebar-title {
|
|
415
|
+
font-family: var(--pf-v5-c-page__sidebar-title--FontFamily);
|
|
416
|
+
font-size: var(--pf-v5-c-page__sidebar-title--FontSize);
|
|
417
|
+
font-weight: var(--pf-v5-c-page__sidebar-title--FontWeight);
|
|
418
|
+
line-height: var(--pf-v5-c-page__sidebar-title--LineHeight);
|
|
419
|
+
}
|
|
420
|
+
|
|
425
421
|
.pf-v5-c-page__sidebar-body {
|
|
426
422
|
padding-inline-start: var(--pf-v5-c-page__sidebar-body--PaddingLeft);
|
|
427
423
|
padding-inline-end: var(--pf-v5-c-page__sidebar-body--PaddingRight);
|
|
@@ -687,6 +683,19 @@
|
|
|
687
683
|
}
|
|
688
684
|
}
|
|
689
685
|
|
|
686
|
+
.pf-v5-c-page__main {
|
|
687
|
+
margin-block-start: 0;
|
|
688
|
+
margin-inline-start: var(--pf-t--global--spacer--lg);
|
|
689
|
+
margin-inline-end: var(--pf-t--global--spacer--lg);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.pf-v5-c-page__main-list {
|
|
693
|
+
padding-block-end: var(--pf-t--global--spacer--lg);
|
|
694
|
+
margin-block-end: var(--pf-t--global--spacer--lg);
|
|
695
|
+
background-color: var(--pf-t--global--background--color--primary--default);
|
|
696
|
+
border-radius: var(--pf-t--global--border--radius--large);
|
|
697
|
+
}
|
|
698
|
+
|
|
690
699
|
.pf-v5-c-page__main,
|
|
691
700
|
.pf-v5-c-page__drawer {
|
|
692
701
|
z-index: var(--pf-v5-c-page__main--ZIndex);
|
|
@@ -702,7 +711,8 @@
|
|
|
702
711
|
|
|
703
712
|
.pf-v5-c-page__main,
|
|
704
713
|
.pf-v5-c-page__main-drawer,
|
|
705
|
-
.pf-v5-c-page__main-group
|
|
714
|
+
.pf-v5-c-page__main-group,
|
|
715
|
+
.pf-v5-c-page__main-list {
|
|
706
716
|
display: flex;
|
|
707
717
|
flex-direction: column;
|
|
708
718
|
}
|