@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
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
// ============================================================ //
|
|
12
12
|
|
|
13
13
|
// Base
|
|
14
|
-
--#{$table}--BackgroundColor: var(
|
|
15
|
-
--#{$table}--BorderColor: var(
|
|
16
|
-
--#{$table}--border-width--base: var(
|
|
14
|
+
--#{$table}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
15
|
+
--#{$table}--BorderColor: var(--pf-t--global--border--color--default);
|
|
16
|
+
--#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
17
17
|
|
|
18
18
|
// Caption
|
|
19
|
-
--#{$table}__caption--FontSize: var(
|
|
20
|
-
--#{$table}__caption--Color: var(
|
|
19
|
+
--#{$table}__caption--FontSize: var(--pf-t--global--font--size--body);
|
|
20
|
+
--#{$table}__caption--Color: var(--pf-t--global--text--color--subtle);
|
|
21
21
|
--#{$table}__caption--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
22
22
|
--#{$table}__caption--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
23
23
|
--#{$table}__caption--PaddingBottom: var(--#{$pf-global}--spacer--md);
|
|
@@ -31,21 +31,21 @@
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
// Thead
|
|
34
|
-
--#{$table}__thead--cell--FontSize: var(
|
|
35
|
-
--#{$table}__thead--cell--FontWeight: var(
|
|
34
|
+
--#{$table}__thead--cell--FontSize: var(--pf-t--global--font--size--body);
|
|
35
|
+
--#{$table}__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
36
36
|
|
|
37
37
|
// Tbody cell
|
|
38
|
-
--#{$table}__tbody--cell--PaddingTop: var(
|
|
39
|
-
--#{$table}__tbody--cell--PaddingBottom: var(
|
|
38
|
+
--#{$table}__tbody--cell--PaddingTop: var(--pf-t--global--spacer--md);
|
|
39
|
+
--#{$table}__tbody--cell--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
40
40
|
|
|
41
41
|
// Tr
|
|
42
42
|
--#{$table}__tr--BoxShadow--top--base: 0 #{pf-size-prem(-3px)} #{pf-size-prem(4px)} #{pf-size-prem(-2px)} rgba(3,3,3,.08);
|
|
43
43
|
|
|
44
44
|
// Th / td shared variables
|
|
45
45
|
--#{$table}--cell--Padding--base: var(--#{$pf-global}--spacer--md);
|
|
46
|
-
--#{$table}--cell--FontSize: var(
|
|
47
|
-
--#{$table}--cell--FontWeight: var(
|
|
48
|
-
--#{$table}--cell--Color: var(
|
|
46
|
+
--#{$table}--cell--FontSize: var(--pf-t--global--font--size--body);
|
|
47
|
+
--#{$table}--cell--FontWeight: var(--pf-t--global--font--weight--body);
|
|
48
|
+
--#{$table}--cell--Color: var(--pf-t--global--text--color--regular);
|
|
49
49
|
--#{$table}--cell--PaddingTop: var(--#{$table}--cell--Padding--base);
|
|
50
50
|
--#{$table}--cell--PaddingRight: var(--#{$table}--cell--Padding--base);
|
|
51
51
|
--#{$table}--cell--PaddingBottom: var(--#{$table}--cell--Padding--base);
|
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
--#{$table}--cell--WordBreak: normal;
|
|
67
67
|
|
|
68
68
|
// Border
|
|
69
|
-
--#{$table}--cell--m-border-right--before--BorderRightWidth: var(
|
|
70
|
-
--#{$table}--cell--m-border-right--before--BorderRightColor: var(
|
|
71
|
-
--#{$table}--cell--m-border-left--before--BorderLeftWidth: var(
|
|
72
|
-
--#{$table}--cell--m-border-left--before--BorderLeftColor: var(
|
|
69
|
+
--#{$table}--cell--m-border-right--before--BorderRightWidth: var(--pf-t--global--border--width--divider--default);
|
|
70
|
+
--#{$table}--cell--m-border-right--before--BorderRightColor: var(--pf-t--global--border--color--default);
|
|
71
|
+
--#{$table}--cell--m-border-left--before--BorderLeftWidth: var(--pf-t--global--border--width--divider--default);
|
|
72
|
+
--#{$table}--cell--m-border-left--before--BorderLeftColor: var(--pf-t--global--border--color--default);
|
|
73
73
|
|
|
74
74
|
// Help
|
|
75
75
|
--#{$table}--cell--m-help--MinWidth: 11ch;
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
|
|
96
96
|
// Button
|
|
97
97
|
--#{$table}__button--BackgroundColor: transparent;
|
|
98
|
-
--#{$table}__button--Color: var(
|
|
99
|
-
--#{$table}__button--hover--Color: var(
|
|
100
|
-
--#{$table}__button--focus--Color: var(
|
|
101
|
-
--#{$table}__button--active--Color: var(
|
|
98
|
+
--#{$table}__button--Color: var(--pf-t--global--text--color--regular);
|
|
99
|
+
--#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
100
|
+
--#{$table}__button--focus--Color: var(--pf-t--global--text--color--regular);
|
|
101
|
+
--#{$table}__button--active--Color: var(--pf-t--global--text--color--regular);
|
|
102
102
|
--#{$table}__button--OutlineOffset: calc(var(--#{$pf-global}--BorderWidth--lg) * -1);
|
|
103
103
|
|
|
104
104
|
// Compact
|
|
@@ -106,23 +106,22 @@
|
|
|
106
106
|
--#{$table}--m-compact__toggle--PaddingBottom: 0;
|
|
107
107
|
|
|
108
108
|
// Check
|
|
109
|
-
--#{$table}__check--input--MarginTop: #{pf-size-prem(
|
|
110
|
-
--#{$table}
|
|
111
|
-
--#{$table}__check--input--FontSize: var(--#{$pf-global}--FontSize--md);
|
|
109
|
+
--#{$table}__check--input--MarginTop: #{pf-size-prem(4px)};
|
|
110
|
+
--#{$table}__check--input--FontSize: var(--pf-t--global--font--size--body);
|
|
112
111
|
|
|
113
112
|
// Favorite
|
|
114
|
-
--#{$table}--cell--m-favorite--Color: var(
|
|
115
|
-
--#{$table}__favorite--c-button--Color: var(
|
|
116
|
-
--#{$table}__favorite--c-button--FontSize: var(
|
|
113
|
+
--#{$table}--cell--m-favorite--Color: var(--pf-t--global--text--color--subtle);
|
|
114
|
+
--#{$table}__favorite--c-button--Color: var(--pf-t--global--text--color--subtle);
|
|
115
|
+
--#{$table}__favorite--c-button--FontSize: var(--pf-t--global--font--size--body);
|
|
117
116
|
--#{$table}__favorite--c-button--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
118
117
|
--#{$table}__favorite--c-button--MarginRight: calc(var(--#{$pf-global}--spacer--md) * -1);
|
|
119
118
|
--#{$table}__favorite--c-button--MarginBottom: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
120
119
|
--#{$table}__favorite--c-button--MarginLeft: calc(var(--#{$pf-global}--spacer--md) * -1);
|
|
121
120
|
--#{$table}__favorite--m-favorited--c-button--Color: var(--#{$pf-global}--palette--gold-400);
|
|
122
|
-
--#{$table}__sort--m-favorite__button__text--Color: var(
|
|
123
|
-
--#{$table}__sort--m-favorite__button--hover__text--Color: var(
|
|
124
|
-
--#{$table}__sort--m-favorite__button--focus__text--Color: var(
|
|
125
|
-
--#{$table}__sort--m-favorite__button--active__text--Color: var(
|
|
121
|
+
--#{$table}__sort--m-favorite__button__text--Color: var(--pf-t--global--text--color--subtle);
|
|
122
|
+
--#{$table}__sort--m-favorite__button--hover__text--Color: var(--pf-t--global--text--color--regular);
|
|
123
|
+
--#{$table}__sort--m-favorite__button--focus__text--Color: var(--pf-t--global--text--color--regular);
|
|
124
|
+
--#{$table}__sort--m-favorite__button--active__text--Color: var(--pf-t--global--text--color--regular);
|
|
126
125
|
|
|
127
126
|
// Draggable
|
|
128
127
|
--#{$table}__draggable--c-button--MarginTop: calc(var(--#{$pf-global}--spacer--form-element) * -1);
|
|
@@ -132,7 +131,7 @@
|
|
|
132
131
|
|
|
133
132
|
// Ghost row
|
|
134
133
|
--#{$table}__tr--m-ghost-row--Opacity: .4;
|
|
135
|
-
--#{$table}__tr--m-ghost-row--BackgroundColor: var(
|
|
134
|
+
--#{$table}__tr--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
136
135
|
|
|
137
136
|
// Action
|
|
138
137
|
--#{$table}__action--PaddingTop: 0;
|
|
@@ -159,7 +158,7 @@
|
|
|
159
158
|
--#{$table}__expandable-row--after--Bottom: calc(var(--#{$table}--border-width--base) * -1);
|
|
160
159
|
--#{$table}__expandable-row--after--border-width--base: var(--#{$pf-global}--BorderWidth--lg);
|
|
161
160
|
--#{$table}__expandable-row--after--BorderLeftWidth: 0;
|
|
162
|
-
--#{$table}__expandable-row--after--BorderColor: var(
|
|
161
|
+
--#{$table}__expandable-row--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
163
162
|
|
|
164
163
|
// Icon inline
|
|
165
164
|
--#{$table}__icon-inline--MarginRight: var(--#{$pf-global}--spacer--sm);
|
|
@@ -175,8 +174,8 @@
|
|
|
175
174
|
--#{$table}__sort__button--MarginTop: calc(var(--#{$table}__sort__button--PaddingTop) * -1);
|
|
176
175
|
--#{$table}__sort__button--MarginBottom: calc(var(--#{$table}__sort__button--PaddingBottom) * -1);
|
|
177
176
|
--#{$table}__sort__button--MarginLeft: calc(var(--#{$table}__sort__button--PaddingLeft) * -1);
|
|
178
|
-
--#{$table}__sort__button--Color: var(
|
|
179
|
-
--#{$table}__sort--m-selected__button--Color: var(
|
|
177
|
+
--#{$table}__sort__button--Color: var(--pf-t--global--text--color--regular);
|
|
178
|
+
--#{$table}__sort--m-selected__button--Color: var(--pf-t--global--border--color--active);
|
|
180
179
|
--#{$table}__sort--m-help--MinWidth: 15ch;
|
|
181
180
|
|
|
182
181
|
// Sort text
|
|
@@ -186,12 +185,12 @@
|
|
|
186
185
|
--#{$table}__sort__button--active__text--Color: currentcolor;
|
|
187
186
|
|
|
188
187
|
// Sort indicator
|
|
189
|
-
--#{$table}__sort-indicator--Color: var(
|
|
188
|
+
--#{$table}__sort-indicator--Color: var(--pf-t--global--icon--color--subtle);
|
|
190
189
|
--#{$table}__sort-indicator--MarginLeft: var(--#{$pf-global}--spacer--md);
|
|
191
|
-
--#{$table}__sort--m-selected__sort-indicator--Color: var(
|
|
192
|
-
--#{$table}__sort__button--hover__sort-indicator--Color: var(
|
|
193
|
-
--#{$table}__sort__button--active__sort-indicator--Color: var(
|
|
194
|
-
--#{$table}__sort__button--focus__sort-indicator--Color: var(
|
|
190
|
+
--#{$table}__sort--m-selected__sort-indicator--Color: var(--pf-t--global--border--color--active);
|
|
191
|
+
--#{$table}__sort__button--hover__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
192
|
+
--#{$table}__sort__button--active__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
193
|
+
--#{$table}__sort__button--focus__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
195
194
|
|
|
196
195
|
// Help
|
|
197
196
|
--#{$table}__th--m-help--MinWidth: 11ch;
|
|
@@ -205,14 +204,14 @@
|
|
|
205
204
|
--#{$table}__column-help--c-button--PaddingLeft: var(--#{$pf-global}--spacer--sm);
|
|
206
205
|
|
|
207
206
|
// Compound expansion toggle button
|
|
208
|
-
--#{$table}__compound-expansion-toggle__button--Color: var(
|
|
209
|
-
--#{$table}__compound-expansion-toggle__button--hover--Color: var(
|
|
210
|
-
--#{$table}__compound-expansion-toggle__button--focus--Color: var(
|
|
211
|
-
--#{$table}__compound-expansion-toggle__button--active--Color: var(
|
|
207
|
+
--#{$table}__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
208
|
+
--#{$table}__compound-expansion-toggle__button--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
209
|
+
--#{$table}__compound-expansion-toggle__button--focus--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
210
|
+
--#{$table}__compound-expansion-toggle__button--active--Color: var(--pf-t--global--icon--color--brand--active);
|
|
212
211
|
|
|
213
212
|
// ::before border treatment
|
|
214
|
-
--#{$table}__compound-expansion-toggle__button--before--border-width--base: var(
|
|
215
|
-
--#{$table}__compound-expansion-toggle__button--before--BorderColor: var(
|
|
213
|
+
--#{$table}__compound-expansion-toggle__button--before--border-width--base: var(--pf-t--global--border--width--button--default);
|
|
214
|
+
--#{$table}__compound-expansion-toggle__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
216
215
|
--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth: 0;
|
|
217
216
|
--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth: 0;
|
|
218
217
|
--#{$table}__compound-expansion-toggle__button--before--Bottom: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
@@ -220,7 +219,7 @@
|
|
|
220
219
|
|
|
221
220
|
// ::before border treatment
|
|
222
221
|
--#{$table}__compound-expansion-toggle__button--after--border-width--base: var(--#{$pf-global}--BorderWidth--lg);
|
|
223
|
-
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(
|
|
222
|
+
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
224
223
|
--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth: 0;
|
|
225
224
|
--#{$table}__compound-expansion-toggle__button--after--Top: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
226
225
|
--#{$table}__compound-expansion-toggle__button--after--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
@@ -236,7 +235,7 @@
|
|
|
236
235
|
--#{$table}--m-compact--cell--first-last-child--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
237
236
|
--#{$table}--m-compact--cell--first-last-child--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
238
237
|
--#{$table}--m-compact--cell--first-last-child--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
239
|
-
--#{$table}--m-compact--FontSize: var(
|
|
238
|
+
--#{$table}--m-compact--FontSize: var(--pf-t--global--font--size--body);
|
|
240
239
|
--#{$table}--m-compact__expandable-row-content--PaddingTop: var(--#{$pf-global}--spacer--lg);
|
|
241
240
|
--#{$table}--m-compact__expandable-row-content--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
242
241
|
--#{$table}--m-compact__expandable-row-content--PaddingBottom: var(--#{$pf-global}--spacer--lg);
|
|
@@ -247,56 +246,59 @@
|
|
|
247
246
|
--#{$table}--nested--first-last-child--PaddingLeft: var(--#{$table}--m-compact--cell--first-last-child--PaddingRight);
|
|
248
247
|
|
|
249
248
|
// Modifier - expandable row expanded
|
|
250
|
-
--#{$table}__expandable-row--m-expanded--BorderBottomColor: var(
|
|
249
|
+
--#{$table}__expandable-row--m-expanded--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
251
250
|
|
|
252
251
|
// tr clickable
|
|
253
252
|
--#{$table}__tr--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
254
253
|
--#{$table}__tr--m-clickable--BackgroundColor: transparent;
|
|
255
254
|
--#{$table}__tr--m-clickable--BoxShadow: none;
|
|
255
|
+
--#{$table}__tr--m-clickable--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
256
256
|
--#{$table}__tr--m-clickable--OutlineOffset: calc(-1 * var(--#{$pf-global}--spacer--xs));
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
--#{$table}__tr--m-clickable--
|
|
260
|
-
--#{$table}__tr--m-clickable--
|
|
261
|
-
--#{$table}__tr--m-clickable--
|
|
262
|
-
--#{$table}__tr--m-clickable--
|
|
263
|
-
--#{$table}__tr--m-clickable--
|
|
257
|
+
|
|
258
|
+
// TODO Shadow tokens START HERE AGAIN
|
|
259
|
+
--#{$table}__tr--m-clickable--hover--BoxShadow: var(--#{$table}__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
260
|
+
--#{$table}__tr--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
261
|
+
--#{$table}__tr--m-clickable--focus--BoxShadow: var(--#{$table}__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
262
|
+
--#{$table}__tr--m-clickable--focus--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
263
|
+
--#{$table}__tr--m-clickable--active--BoxShadow: var(--#{$table}__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
264
|
+
--#{$table}__tr--m-clickable--active--BackgroundColor: var(--pf-t--global--background--color--primary--selected);
|
|
265
|
+
--#{$table}__tr--m-clickable--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
264
266
|
|
|
265
267
|
// tr selected
|
|
266
268
|
--#{$table}__tr--m-selected--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
267
|
-
--#{$table}__tr--m-selected--BackgroundColor: var(
|
|
268
|
-
--#{$table}__tr--m-selected--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(
|
|
269
|
-
--#{$table}__tr--m-selected--OutlineOffset: calc(-1 * var(
|
|
269
|
+
--#{$table}__tr--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
270
|
+
--#{$table}__tr--m-selected--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
271
|
+
--#{$table}__tr--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
270
272
|
--#{$table}__tr--m-selected--after--BorderLeftWidth: calc(2 * var(--#{$table}__expandable-row--after--border-width--base));
|
|
271
273
|
--#{$table}__tr--m-selected--after--BorderLeftColor: var(--#{$pf-global}--active-color--100);
|
|
272
|
-
--#{$table}__tr--m-selected--m-selected--BoxShadow: var(
|
|
273
|
-
--#{$table}__tr--m-selected--hover__tr--m-selected--BoxShadow: var(
|
|
274
|
-
--#{$table}__tr--m-selected__tr--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(
|
|
274
|
+
--#{$table}__tr--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
275
|
+
--#{$table}__tr--m-selected--hover__tr--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
276
|
+
--#{$table}__tr--m-selected__tr--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
275
277
|
|
|
276
278
|
// tbody clickable
|
|
277
279
|
--#{$table}__tbody--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
278
280
|
--#{$table}__tbody--m-clickable--BoxShadow: none;
|
|
279
281
|
--#{$table}__tbody--m-clickable--BackgroundColor: transparent;
|
|
280
282
|
--#{$table}__tbody--m-clickable--OutlineOffset: calc(-1 * var(--#{$pf-global}--spacer--xs));
|
|
281
|
-
--#{$table}__tbody--m-clickable--hover--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(
|
|
282
|
-
--#{$table}__tbody--m-clickable--hover--BackgroundColor: var(
|
|
283
|
-
--#{$table}__tbody--m-clickable--focus--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(
|
|
284
|
-
--#{$table}__tbody--m-clickable--focus--BackgroundColor: var(
|
|
285
|
-
--#{$table}__tbody--m-clickable--active--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(
|
|
286
|
-
--#{$table}__tbody--m-clickable--active--BackgroundColor: var(
|
|
287
|
-
--#{$table}__tbody--m-clickable--m-expanded--BorderColor: var(
|
|
288
|
-
--#{$table}__tbody--m-clickable--m-selected--hover__tr--BoxShadow: var(
|
|
283
|
+
--#{$table}__tbody--m-clickable--hover--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
284
|
+
--#{$table}__tbody--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
285
|
+
--#{$table}__tbody--m-clickable--focus--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
286
|
+
--#{$table}__tbody--m-clickable--focus--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
287
|
+
--#{$table}__tbody--m-clickable--active--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
288
|
+
--#{$table}__tbody--m-clickable--active--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
289
|
+
--#{$table}__tbody--m-clickable--m-expanded--BorderColor: var(--pf-t--global--border--color--active);
|
|
290
|
+
--#{$table}__tbody--m-clickable--m-selected--hover__tr--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
289
291
|
|
|
290
292
|
// tbody selected
|
|
291
|
-
--#{$table}__tbody--m-selected--BackgroundColor: var(
|
|
293
|
+
--#{$table}__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
292
294
|
--#{$table}__tbody--m-selected--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
293
|
-
--#{$table}__tbody--m-selected--BoxShadow: var(--#{$table}__tbody--m-selected--BoxShadow--top), var(
|
|
295
|
+
--#{$table}__tbody--m-selected--BoxShadow: var(--#{$table}__tbody--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
294
296
|
--#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(--#{$pf-global}--spacer--xs));
|
|
295
297
|
--#{$table}__tbody--m-selected--after--BorderLeftWidth: calc(2 * var(--#{$table}__expandable-row--after--border-width--base));
|
|
296
|
-
--#{$table}__tbody--m-selected--after--BorderLeftColor: var(
|
|
297
|
-
--#{$table}__tbody--m-selected--m-selected--BoxShadow: var(
|
|
298
|
-
--#{$table}__tbody--m-selected--hover__tbody--m-selected--BoxShadow: var(
|
|
299
|
-
--#{$table}__tbody--m-selected__tbody--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(
|
|
298
|
+
--#{$table}__tbody--m-selected--after--BorderLeftColor: var(--pf-t--global--border--color--active);
|
|
299
|
+
--#{$table}__tbody--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
300
|
+
--#{$table}__tbody--m-selected--hover__tbody--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
301
|
+
--#{$table}__tbody--m-selected__tbody--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
300
302
|
|
|
301
303
|
// Nested column header
|
|
302
304
|
--#{$table}__thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
|
|
@@ -304,10 +306,10 @@
|
|
|
304
306
|
--#{$table}__thead--m-nested-column-header__tr--PaddingBottom: var(--#{$pf-global}--spacer--xs);
|
|
305
307
|
|
|
306
308
|
// Subhead
|
|
307
|
-
--#{$table}__subhead--Color: var(
|
|
309
|
+
--#{$table}__subhead--Color: var(--pf-t--global--text--color--subtle);
|
|
308
310
|
|
|
309
311
|
// Striped
|
|
310
|
-
--#{$table}--m-striped__tr--BackgroundColor: var(
|
|
312
|
+
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
311
313
|
|
|
312
314
|
// Sticky
|
|
313
315
|
--#{$table}--m-sticky-header--cell--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
@@ -682,38 +684,32 @@
|
|
|
682
684
|
}
|
|
683
685
|
}
|
|
684
686
|
|
|
687
|
+
tr.pf-m-clickable:last-child {
|
|
688
|
+
border-block-end-color: transparent;
|
|
689
|
+
}
|
|
690
|
+
|
|
685
691
|
// tr clickable
|
|
686
692
|
tr:where(.#{$table}__tr) {
|
|
693
|
+
position: relative;
|
|
694
|
+
|
|
695
|
+
&::before {
|
|
696
|
+
position: absolute;
|
|
697
|
+
inset:0;
|
|
698
|
+
content: "";
|
|
699
|
+
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
700
|
+
border-radius: var(--#{$table}__tr--m-clickable--BorderRadius);
|
|
701
|
+
}
|
|
702
|
+
|
|
687
703
|
&.pf-m-clickable {
|
|
688
704
|
cursor: pointer;
|
|
689
|
-
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
690
705
|
outline-offset: var(--#{$table}__tr--m-clickable--OutlineOffset);
|
|
691
706
|
box-shadow: var(--#{$table}__tr--m-clickable--BoxShadow);
|
|
692
707
|
|
|
693
708
|
&:hover,
|
|
694
709
|
&:focus,
|
|
695
710
|
&:active {
|
|
696
|
-
// stylelint-disable max-nesting-depth
|
|
697
|
-
&:not(.pf-m-selected) + tr:where(.#{$table}__tr).pf-m-selected {
|
|
698
|
-
box-shadow: var(--#{$table}__tr--m-clickable--m-selected--BoxShadow);
|
|
699
|
-
}
|
|
700
|
-
// stylelint-enable
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
&:hover {
|
|
704
|
-
--#{$table}__tr--m-clickable--BoxShadow: var(--#{$table}__tr--m-clickable--hover--BoxShadow);
|
|
705
711
|
--#{$table}__tr--m-clickable--BackgroundColor: var(--#{$table}__tr--m-clickable--hover--BackgroundColor);
|
|
706
712
|
}
|
|
707
|
-
|
|
708
|
-
&:focus {
|
|
709
|
-
--#{$table}__tr--m-clickable--BoxShadow: var(--#{$table}__tr--m-clickable--focus--BoxShadow);
|
|
710
|
-
--#{$table}__tr--m-clickable--BackgroundColor: var(--#{$table}__tr--m-clickable--focus--BackgroundColor);
|
|
711
|
-
}
|
|
712
|
-
|
|
713
|
-
&:active {
|
|
714
|
-
--#{$table}__tr--m-clickable--BoxShadow: var(--#{$table}__tr--m-clickable--active--BoxShadow);
|
|
715
|
-
--#{$table}__tr--m-clickable--BackgroundColor: var(--#{$table}__tr--m-clickable--active--BackgroundColor);
|
|
716
|
-
}
|
|
717
713
|
}
|
|
718
714
|
|
|
719
715
|
// tr selected
|
|
@@ -993,17 +989,12 @@
|
|
|
993
989
|
}
|
|
994
990
|
|
|
995
991
|
label {
|
|
996
|
-
display:
|
|
992
|
+
display: block;
|
|
997
993
|
padding: inherit;
|
|
998
994
|
margin-block-start: calc(var(--#{$table}--cell--PaddingTop) * -1);
|
|
999
995
|
margin-block-end: calc(var(--#{$table}--cell--PaddingBottom) * -1);
|
|
1000
996
|
margin-inline-start: calc(var(--#{$table}--cell--PaddingLeft) * -1);
|
|
1001
997
|
margin-inline-end: calc(var(--#{$table}--cell--PaddingRight) * -1);
|
|
1002
|
-
|
|
1003
|
-
}
|
|
1004
|
-
|
|
1005
|
-
@at-root .#{$table}__thead .#{$check}.pf-m-standalone {
|
|
1006
|
-
--#{$check}__input--TranslateY: var(--#{$table}__thead__check--input--TranslateY);
|
|
1007
998
|
}
|
|
1008
999
|
}
|
|
1009
1000
|
|
|
@@ -47,9 +47,8 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
:root {
|
|
51
51
|
--pf-v5-c-toolbar--AlignItems--base: flex-start;
|
|
52
|
-
--pf-v5-c-toolbar--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
|
53
52
|
--pf-v5-c-toolbar--RowGap--base: var(--pf-v5-global--spacer--lg);
|
|
54
53
|
--pf-v5-c-toolbar--RowGap: var(--pf-v5-c-toolbar--RowGap--base);
|
|
55
54
|
--pf-v5-c-toolbar--PaddingTop: var(--pf-v5-global--spacer--md);
|
|
@@ -115,9 +114,6 @@
|
|
|
115
114
|
--pf-v5-c-toolbar__item--m-label--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
116
115
|
--pf-v5-c-toolbar__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
117
116
|
--pf-v5-c-toolbar__item--m-label--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
118
|
-
--pf-v5-c-toolbar__item--m-form-element--spacer: var(--pf-v5-c-toolbar__item--spacer);
|
|
119
|
-
--pf-v5-c-toolbar__item--m-form-element--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
120
|
-
--pf-v5-c-toolbar__item--m-form-element--FontWeight: var(--pf-v5-global--FontWeight--bold);
|
|
121
117
|
--pf-v5-c-toolbar__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
122
118
|
--pf-v5-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-v5-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-v5-global--spacer--sm));
|
|
123
119
|
--pf-v5-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-v5-global--FontSize--sm);
|
|
@@ -127,6 +123,9 @@
|
|
|
127
123
|
--pf-v5-c-toolbar--m-full-height--PaddingBottom: 0;
|
|
128
124
|
--pf-v5-c-toolbar--m-full-height__item--Display: flex;
|
|
129
125
|
--pf-v5-c-toolbar--m-full-height__item--AlignItems: center;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.pf-v5-c-toolbar {
|
|
130
129
|
position: relative;
|
|
131
130
|
display: grid;
|
|
132
131
|
row-gap: var(--pf-v5-c-toolbar--RowGap);
|
|
@@ -364,12 +363,7 @@
|
|
|
364
363
|
.pf-v5-c-toolbar__item.pf-m-label {
|
|
365
364
|
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-label--spacer);
|
|
366
365
|
font-weight: var(--pf-v5-c-toolbar__item--m-label--FontWeight);
|
|
367
|
-
transform: translateY(var(--pf-v5-
|
|
368
|
-
}
|
|
369
|
-
.pf-v5-c-toolbar__item.pf-m-form-element {
|
|
370
|
-
--pf-v5-c-toolbar--spacer: var(--pf-v5-c-toolbar__item--m-form-element--spacer);
|
|
371
|
-
font-weight: var(--pf-v5-c-toolbar__item--m-form-element--FontWeight);
|
|
372
|
-
transform: translateY(var(--pf-v5-c-toolbar__item--m-form-element--TranslateY));
|
|
366
|
+
transform: translateY(var(--pf-v5-global--spacer--form-element));
|
|
373
367
|
}
|
|
374
368
|
.pf-v5-c-toolbar__item.pf-m-pagination {
|
|
375
369
|
margin-inline-start: auto;
|
|
@@ -5,9 +5,8 @@ $pf-v5-c-toolbar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg",
|
|
|
5
5
|
$pf-v5-c-toolbar--spacer-map: build-spacer-map("none", "sm", "md", "lg");
|
|
6
6
|
$pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
:root {
|
|
9
9
|
--#{$toolbar}--AlignItems--base: flex-start;
|
|
10
|
-
--#{$toolbar}--BackgroundColor: var(--#{$pf-global}--BackgroundColor--100);
|
|
11
10
|
--#{$toolbar}--RowGap--base: var(--#{$pf-global}--spacer--lg); // row-gap between toolbar content elements
|
|
12
11
|
--#{$toolbar}--RowGap: var(--#{$toolbar}--RowGap--base);
|
|
13
12
|
--#{$toolbar}--PaddingTop: var(--#{$pf-global}--spacer--md);
|
|
@@ -117,16 +116,11 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
117
116
|
|
|
118
117
|
// Label
|
|
119
118
|
--#{$toolbar}__item--m-label--spacer: var(--#{$toolbar}__item--spacer);
|
|
120
|
-
--#{$toolbar}__item--m-label--TranslateY: var(
|
|
119
|
+
--#{$toolbar}__item--m-label--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
121
120
|
--#{$toolbar}__item--m-label--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
122
121
|
|
|
123
|
-
// Form control inline
|
|
124
|
-
--#{$toolbar}__item--m-form-element--spacer: var(--#{$toolbar}__item--spacer);
|
|
125
|
-
--#{$toolbar}__item--m-form-element--TranslateY: var(--#{$pf-global}--spacer--form-element);
|
|
126
|
-
--#{$toolbar}__item--m-form-element--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
127
|
-
|
|
128
122
|
// Input
|
|
129
|
-
--#{$toolbar}__item--m-form-control--TranslateY: var(
|
|
123
|
+
--#{$toolbar}__item--m-form-control--TranslateY: var(--pf-v5-global--spacer--form-element);
|
|
130
124
|
|
|
131
125
|
// Label in expanded content
|
|
132
126
|
--#{$toolbar}__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--#{$toolbar}__expandable-content--m-expanded--GridRowGap) + var(--#{$pf-global}--spacer--sm));
|
|
@@ -143,7 +137,9 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
143
137
|
--#{$toolbar}--m-full-height--PaddingBottom: 0;
|
|
144
138
|
--#{$toolbar}--m-full-height__item--Display: flex;
|
|
145
139
|
--#{$toolbar}--m-full-height__item--AlignItems: center;
|
|
140
|
+
}
|
|
146
141
|
|
|
142
|
+
.#{$toolbar} {
|
|
147
143
|
@media screen and (min-width: $pf-v5-global--breakpoint--lg) {
|
|
148
144
|
--#{$toolbar}__expandable-content--PaddingRight: var(--#{$toolbar}__expandable-content--lg--PaddingRight);
|
|
149
145
|
--#{$toolbar}__expandable-content--PaddingBottom: var(--#{$toolbar}__expandable-content--lg--PaddingBottom);
|
|
@@ -168,7 +164,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
168
164
|
|
|
169
165
|
&.pf-m-sticky {
|
|
170
166
|
position: sticky;
|
|
171
|
-
|
|
167
|
+
inset-block-start: 0;
|
|
172
168
|
z-index: var(--#{$toolbar}--m-sticky--ZIndex);
|
|
173
169
|
box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
|
|
174
170
|
}
|
|
@@ -384,15 +380,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
384
380
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-label--spacer);
|
|
385
381
|
|
|
386
382
|
font-weight: var(--#{$toolbar}__item--m-label--FontWeight);
|
|
387
|
-
transform: translateY(var(--#{$
|
|
388
|
-
}
|
|
389
|
-
|
|
390
|
-
// Form element
|
|
391
|
-
&.pf-m-form-element {
|
|
392
|
-
--#{$toolbar}--spacer: var(--#{$toolbar}__item--m-form-element--spacer);
|
|
393
|
-
|
|
394
|
-
font-weight: var(--#{$toolbar}__item--m-form-element--FontWeight);
|
|
395
|
-
transform: translateY(var(--#{$toolbar}__item--m-form-element--TranslateY));
|
|
383
|
+
transform: translateY(var(--#{$pf-global}--spacer--form-element));
|
|
396
384
|
}
|
|
397
385
|
|
|
398
386
|
// Total items
|
|
@@ -1,91 +1,48 @@
|
|
|
1
1
|
---
|
|
2
2
|
id: Brand
|
|
3
3
|
section: components
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## Examples
|
|
4
|
+
---## Examples
|
|
7
5
|
|
|
8
6
|
### Basic
|
|
9
7
|
|
|
10
8
|
```html
|
|
11
|
-
<
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/>
|
|
17
|
-
</div>
|
|
18
|
-
|
|
19
|
-
<div class="show-dark">
|
|
20
|
-
<img
|
|
21
|
-
class="pf-v5-c-brand"
|
|
22
|
-
src="/assets/images/pf_logo_white.svg"
|
|
23
|
-
alt="PatternFly logo"
|
|
24
|
-
/>
|
|
25
|
-
</div>
|
|
9
|
+
<img
|
|
10
|
+
class="pf-v5-c-brand"
|
|
11
|
+
src="/assets/images/pf_logo.svg"
|
|
12
|
+
alt="PatternFly logo"
|
|
13
|
+
/>
|
|
26
14
|
|
|
27
15
|
```
|
|
28
16
|
|
|
29
17
|
### Responsive
|
|
30
18
|
|
|
31
19
|
```html
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</picture>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
<div class="show-dark">
|
|
62
|
-
<picture
|
|
63
|
-
class="pf-v5-c-brand pf-m-picture"
|
|
64
|
-
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-sm: 60px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
65
|
-
>
|
|
66
|
-
<source
|
|
67
|
-
media="(min-width: 1200px)"
|
|
68
|
-
srcset="/assets/images/pf-c-brand__logo-on-xl-white.svg"
|
|
69
|
-
/>
|
|
70
|
-
<source
|
|
71
|
-
media="(min-width: 992px)"
|
|
72
|
-
srcset="/assets/images/pf-c-brand__logo-on-lg-white.svg"
|
|
73
|
-
/>
|
|
74
|
-
<source
|
|
75
|
-
media="(min-width: 768px)"
|
|
76
|
-
srcset="/assets/images/pf-c-brand__logo-on-md-white.svg"
|
|
77
|
-
/>
|
|
78
|
-
<source
|
|
79
|
-
media="(min-width: 576px)"
|
|
80
|
-
srcset="/assets/images/pf-c-brand__logo-on-sm-white.svg"
|
|
81
|
-
/>
|
|
82
|
-
<source srcset="/assets/images/pf-c-brand__logo-white.svg" />
|
|
83
|
-
<img
|
|
84
|
-
src="/assets/images/pf_logo-white.svg"
|
|
85
|
-
alt="Fallback patternFly default logo"
|
|
86
|
-
/>
|
|
87
|
-
</picture>
|
|
88
|
-
</div>
|
|
20
|
+
<picture
|
|
21
|
+
class="pf-v5-c-brand pf-m-picture"
|
|
22
|
+
style="--pf-v5-c-brand--Width: 40px; --pf-v5-c-brand--Width-on-sm: 60px; --pf-v5-c-brand--Width-on-md: 220px;"
|
|
23
|
+
>
|
|
24
|
+
<source
|
|
25
|
+
media="(min-width: 1200px)"
|
|
26
|
+
srcset="/assets/images/pf-c-brand__logo-on-xl.svg"
|
|
27
|
+
/>
|
|
28
|
+
<source
|
|
29
|
+
media="(min-width: 992px)"
|
|
30
|
+
srcset="/assets/images/pf-c-brand__logo-on-lg.svg"
|
|
31
|
+
/>
|
|
32
|
+
<source
|
|
33
|
+
media="(min-width: 768px)"
|
|
34
|
+
srcset="/assets/images/pf-c-brand__logo-on-md.svg"
|
|
35
|
+
/>
|
|
36
|
+
<source
|
|
37
|
+
media="(min-width: 576px)"
|
|
38
|
+
srcset="/assets/images/pf-c-brand__logo-on-sm.svg"
|
|
39
|
+
/>
|
|
40
|
+
<source srcset="/assets/images/pf-c-brand__logo.svg" />
|
|
41
|
+
<img
|
|
42
|
+
src="/assets/images/pf-c-brand__logo-base.jpg"
|
|
43
|
+
alt="Fallback patternFly default logo"
|
|
44
|
+
/>
|
|
45
|
+
</picture>
|
|
89
46
|
|
|
90
47
|
```
|
|
91
48
|
|