@patternfly/patternfly 4.176.2 → 4.178.0

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.
Files changed (67) hide show
  1. package/UPGRADE-GUIDE.md +3 -0
  2. package/components/Avatar/avatar.css +224 -0
  3. package/components/Avatar/avatar.scss +18 -0
  4. package/components/CodeEditor/code-editor.css +8 -0
  5. package/components/CodeEditor/code-editor.scss +11 -1
  6. package/components/Dropdown/dropdown.css +10 -9
  7. package/components/Dropdown/dropdown.scss +17 -16
  8. package/components/Nav/nav.css +3 -0
  9. package/components/Nav/nav.scss +4 -0
  10. package/components/Table/table.css +2 -1
  11. package/components/Table/table.scss +8 -5
  12. package/docs/components/Avatar/examples/Avatar.md +53 -5
  13. package/docs/components/Brand/examples/Brand.md +6 -6
  14. package/docs/components/CodeEditor/examples/CodeEditor.md +71 -10
  15. package/docs/components/DataList/examples/DataList.md +11 -11
  16. package/docs/components/DescriptionList/examples/DescriptionList.md +19 -19
  17. package/docs/components/Divider/examples/Divider.md +2 -2
  18. package/docs/components/Drawer/examples/Drawer.md +27 -27
  19. package/docs/components/Dropdown/examples/Dropdown.md +2 -2
  20. package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
  21. package/docs/components/LogViewer/examples/LogViewer.md +19 -19
  22. package/docs/components/Masthead/examples/masthead.md +10 -10
  23. package/docs/components/Menu/examples/Menu.md +2 -2
  24. package/docs/components/Nav/examples/Navigation.css +3 -1
  25. package/docs/components/Nav/examples/Navigation.md +79 -0
  26. package/docs/components/Page/examples/Page.md +4 -4
  27. package/docs/components/Pagination/examples/Pagination.md +2 -2
  28. package/docs/components/Sidebar/examples/Sidebar.md +14 -14
  29. package/docs/components/Table/examples/Table.md +20 -9
  30. package/docs/components/Tabs/examples/Tabs.md +27 -27
  31. package/docs/components/Toolbar/examples/Toolbar.md +31 -31
  32. package/docs/demos/Alert/examples/Alert.md +4 -5
  33. package/docs/demos/BackToTop/examples/BackToTop.md +2 -203
  34. package/docs/demos/Banner/examples/Banner.md +2 -2
  35. package/docs/demos/Card/examples/Card.md +42 -14
  36. package/docs/demos/CardView/examples/CardView.md +1 -1
  37. package/docs/demos/ContextSelector/examples/ContextSelector.md +32 -869
  38. package/docs/demos/DataList/examples/DataList.md +4 -4
  39. package/docs/demos/Drawer/examples/Drawer.md +6 -6
  40. package/docs/demos/JumpLinks/examples/JumpLinks.md +8 -12
  41. package/docs/demos/Masthead/examples/Masthead.md +1645 -1028
  42. package/docs/demos/Nav/examples/Nav.md +16 -17
  43. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +10 -10
  44. package/docs/demos/Page/examples/Page.md +4956 -989
  45. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +7 -7
  46. package/docs/demos/Skeleton/examples/Skeleton.md +1 -1
  47. package/docs/demos/Table/examples/Table.md +18950 -12842
  48. package/docs/demos/Tabs/examples/Tabs.md +8 -102
  49. package/docs/demos/Toolbar/examples/Toolbar.md +2 -3
  50. package/docs/demos/Wizard/examples/Wizard.md +4 -4
  51. package/docs/layouts/Flex/examples/Flex.md +1 -1
  52. package/docs/layouts/Gallery/examples/Gallery.md +2 -2
  53. package/docs/layouts/Grid/examples/Grid.md +9 -9
  54. package/docs/utilities/Accessibility/examples/Accessibility.md +1 -1
  55. package/docs/utilities/Alignment/examples/Alignment.md +1 -1
  56. package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +1 -1
  57. package/docs/utilities/Display/examples/Display.md +1 -1
  58. package/docs/utilities/Flex/examples/Flex.md +1 -1
  59. package/docs/utilities/Float/examples/Float.md +1 -1
  60. package/docs/utilities/Sizing/examples/Sizing.md +12 -0
  61. package/docs/utilities/Spacing/examples/Spacing.md +1 -1
  62. package/docs/utilities/Text/examples/Text.md +1 -1
  63. package/package.json +1 -1
  64. package/patternfly-no-reset.css +247 -10
  65. package/patternfly.css +247 -10
  66. package/patternfly.min.css +1 -1
  67. package/patternfly.min.css.map +1 -1
package/UPGRADE-GUIDE.md CHANGED
@@ -3,6 +3,9 @@ id: Upgrade guide
3
3
  section: developer-resources
4
4
  ---
5
5
 
6
+ **Note:** this guide details upgrading from PatternFly v3 to v4, and references [major release 2020.07](/developer-resources/release-notes/html/#2020.07-release-notes-2020-06-05) from 2020-06-05.
7
+ <hr/>
8
+
6
9
  Hey, Flyers! We've been busy for the past 12 weeks working on significant changes to PatternFly's HTML and CSS. We made our components mobile-first and changed colors and the default font. This upgrade guide details **what** was broken and **how** to fix it. To learn **why** a change was made, check out the linked pull requests.
7
10
 
8
11
  ## Global
@@ -4,6 +4,14 @@
4
4
  --pf-c-avatar--BorderRadius: var(--pf-global--BorderRadius--lg);
5
5
  --pf-c-avatar--Width: 2.25rem;
6
6
  --pf-c-avatar--Height: 2.25rem;
7
+ --pf-c-avatar--m-sm--Width: 1.5rem;
8
+ --pf-c-avatar--m-sm--Height: 1.5rem;
9
+ --pf-c-avatar--m-md--Width: 2.25rem;
10
+ --pf-c-avatar--m-md--Height: 2.25rem;
11
+ --pf-c-avatar--m-lg--Width: 4.5rem;
12
+ --pf-c-avatar--m-lg--Height: 4.5rem;
13
+ --pf-c-avatar--m-xl--Width: 8rem;
14
+ --pf-c-avatar--m-xl--Height: 8rem;
7
15
  --pf-c-avatar--m-light--BorderColor: var(--pf-global--BorderColor--dark-100);
8
16
  --pf-c-avatar--m-light--BorderWidth: var(--pf-global--BorderWidth--sm);
9
17
  --pf-c-avatar--m-dark--BorderColor: var(--pf-global--palette--black-700);
@@ -20,4 +28,220 @@
20
28
  .pf-c-avatar.pf-m-dark {
21
29
  --pf-c-avatar--BorderColor: var(--pf-c-avatar--m-dark--BorderColor);
22
30
  --pf-c-avatar--BorderWidth: var(--pf-c-avatar--m-dark--BorderWidth);
31
+ }
32
+ .pf-c-avatar.pf-m-sm {
33
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width);
34
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height);
35
+ }
36
+ @media (min-width: 576px) {
37
+ .pf-c-avatar.pf-m-sm {
38
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width));
39
+ }
40
+ }
41
+ @media (min-width: 768px) {
42
+ .pf-c-avatar.pf-m-sm {
43
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width)));
44
+ }
45
+ }
46
+ @media (min-width: 992px) {
47
+ .pf-c-avatar.pf-m-sm {
48
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width))));
49
+ }
50
+ }
51
+ @media (min-width: 1200px) {
52
+ .pf-c-avatar.pf-m-sm {
53
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-xl, var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width)))));
54
+ }
55
+ }
56
+ @media (min-width: 1450px) {
57
+ .pf-c-avatar.pf-m-sm {
58
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-sm--Width-on-2xl, var(--pf-c-avatar--m-sm--Width-on-xl, var(--pf-c-avatar--m-sm--Width-on-lg, var(--pf-c-avatar--m-sm--Width-on-md, var(--pf-c-avatar--m-sm--Width-on-sm, var(--pf-c-avatar--m-sm--Width))))));
59
+ }
60
+ }
61
+ @media (min-width: 576px) {
62
+ .pf-c-avatar.pf-m-sm {
63
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height));
64
+ }
65
+ }
66
+ @media (min-width: 768px) {
67
+ .pf-c-avatar.pf-m-sm {
68
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height)));
69
+ }
70
+ }
71
+ @media (min-width: 992px) {
72
+ .pf-c-avatar.pf-m-sm {
73
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height))));
74
+ }
75
+ }
76
+ @media (min-width: 1200px) {
77
+ .pf-c-avatar.pf-m-sm {
78
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-xl, var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height)))));
79
+ }
80
+ }
81
+ @media (min-width: 1450px) {
82
+ .pf-c-avatar.pf-m-sm {
83
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-sm--Height-on-2xl, var(--pf-c-avatar--m-sm--Height-on-xl, var(--pf-c-avatar--m-sm--Height-on-lg, var(--pf-c-avatar--m-sm--Height-on-md, var(--pf-c-avatar--m-sm--Height-on-sm, var(--pf-c-avatar--m-sm--Height))))));
84
+ }
85
+ }
86
+ .pf-c-avatar.pf-m-md {
87
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width);
88
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height);
89
+ }
90
+ @media (min-width: 576px) {
91
+ .pf-c-avatar.pf-m-md {
92
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width));
93
+ }
94
+ }
95
+ @media (min-width: 768px) {
96
+ .pf-c-avatar.pf-m-md {
97
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width)));
98
+ }
99
+ }
100
+ @media (min-width: 992px) {
101
+ .pf-c-avatar.pf-m-md {
102
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width))));
103
+ }
104
+ }
105
+ @media (min-width: 1200px) {
106
+ .pf-c-avatar.pf-m-md {
107
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-xl, var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width)))));
108
+ }
109
+ }
110
+ @media (min-width: 1450px) {
111
+ .pf-c-avatar.pf-m-md {
112
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-md--Width-on-2xl, var(--pf-c-avatar--m-md--Width-on-xl, var(--pf-c-avatar--m-md--Width-on-lg, var(--pf-c-avatar--m-md--Width-on-md, var(--pf-c-avatar--m-md--Width-on-sm, var(--pf-c-avatar--m-md--Width))))));
113
+ }
114
+ }
115
+ @media (min-width: 576px) {
116
+ .pf-c-avatar.pf-m-md {
117
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height));
118
+ }
119
+ }
120
+ @media (min-width: 768px) {
121
+ .pf-c-avatar.pf-m-md {
122
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height)));
123
+ }
124
+ }
125
+ @media (min-width: 992px) {
126
+ .pf-c-avatar.pf-m-md {
127
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height))));
128
+ }
129
+ }
130
+ @media (min-width: 1200px) {
131
+ .pf-c-avatar.pf-m-md {
132
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-xl, var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height)))));
133
+ }
134
+ }
135
+ @media (min-width: 1450px) {
136
+ .pf-c-avatar.pf-m-md {
137
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-md--Height-on-2xl, var(--pf-c-avatar--m-md--Height-on-xl, var(--pf-c-avatar--m-md--Height-on-lg, var(--pf-c-avatar--m-md--Height-on-md, var(--pf-c-avatar--m-md--Height-on-sm, var(--pf-c-avatar--m-md--Height))))));
138
+ }
139
+ }
140
+ .pf-c-avatar.pf-m-lg {
141
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width);
142
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height);
143
+ }
144
+ @media (min-width: 576px) {
145
+ .pf-c-avatar.pf-m-lg {
146
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width));
147
+ }
148
+ }
149
+ @media (min-width: 768px) {
150
+ .pf-c-avatar.pf-m-lg {
151
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width)));
152
+ }
153
+ }
154
+ @media (min-width: 992px) {
155
+ .pf-c-avatar.pf-m-lg {
156
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width))));
157
+ }
158
+ }
159
+ @media (min-width: 1200px) {
160
+ .pf-c-avatar.pf-m-lg {
161
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-xl, var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width)))));
162
+ }
163
+ }
164
+ @media (min-width: 1450px) {
165
+ .pf-c-avatar.pf-m-lg {
166
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-lg--Width-on-2xl, var(--pf-c-avatar--m-lg--Width-on-xl, var(--pf-c-avatar--m-lg--Width-on-lg, var(--pf-c-avatar--m-lg--Width-on-md, var(--pf-c-avatar--m-lg--Width-on-sm, var(--pf-c-avatar--m-lg--Width))))));
167
+ }
168
+ }
169
+ @media (min-width: 576px) {
170
+ .pf-c-avatar.pf-m-lg {
171
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height));
172
+ }
173
+ }
174
+ @media (min-width: 768px) {
175
+ .pf-c-avatar.pf-m-lg {
176
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height)));
177
+ }
178
+ }
179
+ @media (min-width: 992px) {
180
+ .pf-c-avatar.pf-m-lg {
181
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height))));
182
+ }
183
+ }
184
+ @media (min-width: 1200px) {
185
+ .pf-c-avatar.pf-m-lg {
186
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-xl, var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height)))));
187
+ }
188
+ }
189
+ @media (min-width: 1450px) {
190
+ .pf-c-avatar.pf-m-lg {
191
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-lg--Height-on-2xl, var(--pf-c-avatar--m-lg--Height-on-xl, var(--pf-c-avatar--m-lg--Height-on-lg, var(--pf-c-avatar--m-lg--Height-on-md, var(--pf-c-avatar--m-lg--Height-on-sm, var(--pf-c-avatar--m-lg--Height))))));
192
+ }
193
+ }
194
+ .pf-c-avatar.pf-m-xl {
195
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width);
196
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height);
197
+ }
198
+ @media (min-width: 576px) {
199
+ .pf-c-avatar.pf-m-xl {
200
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width));
201
+ }
202
+ }
203
+ @media (min-width: 768px) {
204
+ .pf-c-avatar.pf-m-xl {
205
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width)));
206
+ }
207
+ }
208
+ @media (min-width: 992px) {
209
+ .pf-c-avatar.pf-m-xl {
210
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width))));
211
+ }
212
+ }
213
+ @media (min-width: 1200px) {
214
+ .pf-c-avatar.pf-m-xl {
215
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-xl, var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width)))));
216
+ }
217
+ }
218
+ @media (min-width: 1450px) {
219
+ .pf-c-avatar.pf-m-xl {
220
+ --pf-c-avatar--Width: var(--pf-c-avatar--m-xl--Width-on-2xl, var(--pf-c-avatar--m-xl--Width-on-xl, var(--pf-c-avatar--m-xl--Width-on-lg, var(--pf-c-avatar--m-xl--Width-on-md, var(--pf-c-avatar--m-xl--Width-on-sm, var(--pf-c-avatar--m-xl--Width))))));
221
+ }
222
+ }
223
+ @media (min-width: 576px) {
224
+ .pf-c-avatar.pf-m-xl {
225
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height));
226
+ }
227
+ }
228
+ @media (min-width: 768px) {
229
+ .pf-c-avatar.pf-m-xl {
230
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height)));
231
+ }
232
+ }
233
+ @media (min-width: 992px) {
234
+ .pf-c-avatar.pf-m-xl {
235
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))));
236
+ }
237
+ }
238
+ @media (min-width: 1200px) {
239
+ .pf-c-avatar.pf-m-xl {
240
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height)))));
241
+ }
242
+ }
243
+ @media (min-width: 1450px) {
244
+ .pf-c-avatar.pf-m-xl {
245
+ --pf-c-avatar--Height: var(--pf-c-avatar--m-xl--Height-on-2xl, var(--pf-c-avatar--m-xl--Height-on-xl, var(--pf-c-avatar--m-xl--Height-on-lg, var(--pf-c-avatar--m-xl--Height-on-md, var(--pf-c-avatar--m-xl--Height-on-sm, var(--pf-c-avatar--m-xl--Height))))));
246
+ }
23
247
  }
@@ -1,9 +1,20 @@
1
+ $pf-c-avatar--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
2
+ $sizes: "sm", "md", "lg", "xl";
3
+
1
4
  .pf-c-avatar {
2
5
  --pf-c-avatar--BorderColor: transparent;
3
6
  --pf-c-avatar--BorderWidth: 0;
4
7
  --pf-c-avatar--BorderRadius: var(--pf-global--BorderRadius--lg);
5
8
  --pf-c-avatar--Width: #{pf-size-prem(36px)};
6
9
  --pf-c-avatar--Height: #{pf-size-prem(36px)};
10
+ --pf-c-avatar--m-sm--Width: #{pf-size-prem(24px)};
11
+ --pf-c-avatar--m-sm--Height: #{pf-size-prem(24px)};
12
+ --pf-c-avatar--m-md--Width: #{pf-size-prem(36px)};
13
+ --pf-c-avatar--m-md--Height: #{pf-size-prem(36px)};
14
+ --pf-c-avatar--m-lg--Width: #{pf-size-prem(72px)};
15
+ --pf-c-avatar--m-lg--Height: #{pf-size-prem(72px)};
16
+ --pf-c-avatar--m-xl--Width: #{pf-size-prem(128px)};
17
+ --pf-c-avatar--m-xl--Height: #{pf-size-prem(128px)};
7
18
 
8
19
  // Light
9
20
  --pf-c-avatar--m-light--BorderColor: var(--pf-global--BorderColor--dark-100);
@@ -27,4 +38,11 @@
27
38
  --pf-c-avatar--BorderColor: var(--pf-c-avatar--m-dark--BorderColor);
28
39
  --pf-c-avatar--BorderWidth: var(--pf-c-avatar--m-dark--BorderWidth);
29
40
  }
41
+
42
+ @each $size in $sizes {
43
+ &.pf-m-#{$size} {
44
+ @include pf-build-css-variable-stack("--pf-c-avatar--Width", "--pf-c-avatar--m-#{$size}--Width", $pf-c-avatar--breakpoint-map);
45
+ @include pf-build-css-variable-stack("--pf-c-avatar--Height", "--pf-c-avatar--m-#{$size}--Height", $pf-c-avatar--breakpoint-map);
46
+ }
47
+ }
30
48
  }
@@ -19,6 +19,8 @@
19
19
  --pf-c-code-editor__code--PaddingLeft: var(--pf-global--spacer--sm);
20
20
  --pf-c-code-editor__code-pre--FontSize: var(--pf-global--FontSize--sm);
21
21
  --pf-c-code-editor__code-pre--FontFamily: var(--pf-global--FontFamily--monospace);
22
+ --pf-c-code-editor__header-main--PaddingRight: var(--pf-global--spacer--sm);
23
+ --pf-c-code-editor__header-main--PaddingLeft: var(--pf-global--spacer--sm);
22
24
  --pf-c-code-editor__tab--BackgroundColor: var(--pf-global--BackgroundColor--100);
23
25
  --pf-c-code-editor__tab--Color: var(--pf-global--Color--200);
24
26
  --pf-c-code-editor__tab--PaddingTop: var(--pf-global--spacer--form-element);
@@ -67,6 +69,12 @@
67
69
  border-bottom-color: var(--pf-c-code-editor__controls--c-button--m-control--disabled--after--BorderBottomColor);
68
70
  }
69
71
 
72
+ .pf-c-code-editor__header-main {
73
+ flex-grow: 1;
74
+ padding-right: var(--pf-c-code-editor__header-main--PaddingRight);
75
+ padding-left: var(--pf-c-code-editor__header-main--PaddingLeft);
76
+ }
77
+
70
78
  .pf-c-code-editor__main {
71
79
  position: relative;
72
80
  background-color: var(--pf-c-code-editor__main--BackgroundColor);
@@ -27,6 +27,10 @@
27
27
  --pf-c-code-editor__code-pre--FontSize: var(--pf-global--FontSize--sm);
28
28
  --pf-c-code-editor__code-pre--FontFamily: var(--pf-global--FontFamily--monospace);
29
29
 
30
+ // content
31
+ --pf-c-code-editor__header-main--PaddingRight: var(--pf-global--spacer--sm);
32
+ --pf-c-code-editor__header-main--PaddingLeft: var(--pf-global--spacer--sm);
33
+
30
34
  // tab
31
35
  --pf-c-code-editor__tab--BackgroundColor: var(--pf-global--BackgroundColor--100);
32
36
  --pf-c-code-editor__tab--Color: var(--pf-global--Color--200);
@@ -86,6 +90,12 @@
86
90
  }
87
91
  }
88
92
 
93
+ .pf-c-code-editor__header-main {
94
+ flex-grow: 1;
95
+ padding-right: var(--pf-c-code-editor__header-main--PaddingRight);
96
+ padding-left: var(--pf-c-code-editor__header-main--PaddingLeft);
97
+ }
98
+
89
99
  .pf-c-code-editor__main {
90
100
  position: relative;
91
101
  background-color: var(--pf-c-code-editor__main--BackgroundColor);
@@ -142,7 +152,7 @@
142
152
  display: flex;
143
153
  align-items: center;
144
154
  padding: var(--pf-c-code-editor__tab--PaddingTop) var(--pf-c-code-editor__tab--PaddingRight) var(--pf-c-code-editor__tab--PaddingBottom) var(--pf-c-code-editor__tab--PaddingLeft);
145
- margin-left: auto;
155
+ margin-left: auto; // remove at breaking change
146
156
  color: var(--pf-c-code-editor__tab--Color);
147
157
  background-color: var(--pf-c-code-editor__tab--BackgroundColor);
148
158
  border-color: var(--pf-c-code-editor__tab--BorderColor);
@@ -35,6 +35,7 @@
35
35
  --pf-c-dropdown__toggle--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
36
36
  --pf-c-dropdown__toggle--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
37
37
  --pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--200);
38
+ --pf-c-dropdown__toggle--m-primary--disabled--Color: var(--pf-global--Color--100);
38
39
  --pf-c-dropdown__toggle--m-secondary--Color: var(--pf-global--primary-color--100);
39
40
  --pf-c-dropdown__toggle--m-secondary--BorderRadius: var(--pf-global--BorderRadius--sm);
40
41
  --pf-c-dropdown__toggle--m-secondary--BackgroundColor: transparent;
@@ -193,6 +194,7 @@
193
194
  border-color: var(--pf-c-dropdown__toggle--before--BorderTopColor) var(--pf-c-dropdown__toggle--before--BorderRightColor) var(--pf-c-dropdown__toggle--before--BorderBottomColor) var(--pf-c-dropdown__toggle--before--BorderLeftColor);
194
195
  }
195
196
  .pf-c-dropdown__toggle.pf-m-disabled, .pf-c-dropdown__toggle:disabled {
197
+ --pf-c-dropdown__toggle--m-primary--Color: var(--pf-c-dropdown__toggle--m-primary--disabled--Color);
196
198
  --pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
197
199
  pointer-events: none;
198
200
  }
@@ -285,14 +287,14 @@
285
287
  .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):hover::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:hover::before {
286
288
  --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--hover--before--BorderBottomColor);
287
289
  }
288
- .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):active::before, .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary).pf-m-active::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:active::before {
289
- --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
290
- border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
291
- }
292
290
  .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):focus::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:focus::before {
293
291
  --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);
294
292
  border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);
295
293
  }
294
+ .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary):active::before, .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary).pf-m-active::before, .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button:active::before {
295
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
296
+ border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
297
+ }
296
298
  .pf-m-expanded > .pf-c-dropdown__toggle:not(.pf-m-action):not(.pf-m-secondary)::before, .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-action .pf-c-dropdown__toggle-button::before {
297
299
  --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomColor);
298
300
  border-bottom-width: var(--pf-c-dropdown--m-expanded__toggle--before--BorderBottomWidth);
@@ -320,14 +322,13 @@
320
322
  --pf-c-dropdown__toggle--m-plain--Color: var(--pf-c-dropdown__toggle--m-plain--disabled--Color);
321
323
  }
322
324
  .pf-c-dropdown__toggle.pf-m-primary {
323
- border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
324
- }
325
- .pf-c-dropdown__toggle.pf-m-primary:not(.pf-m-disabled):not([disabled]) {
326
325
  --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
327
326
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
328
327
  --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
328
+ border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
329
329
  }
330
- .pf-c-dropdown__toggle.pf-m-primary::before {
330
+ .pf-c-dropdown__toggle.pf-m-primary::before,
331
+ .pf-c-dropdown__toggle.pf-m-primary .pf-c-dropdown__toggle-button::before {
331
332
  border: 0;
332
333
  }
333
334
  .pf-c-dropdown__toggle.pf-m-primary:hover {
@@ -339,7 +340,7 @@
339
340
  .pf-c-dropdown__toggle.pf-m-primary:active, .pf-c-dropdown__toggle.pf-m-primary.pf-m-active {
340
341
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
341
342
  }
342
- .pf-c-dropdown__toggle.pf-m-primary .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
343
+ .pf-m-expanded > .pf-c-dropdown__toggle.pf-m-primary {
343
344
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
344
345
  }
345
346
  .pf-c-dropdown__toggle.pf-m-secondary {
@@ -42,6 +42,7 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
42
42
  --pf-c-dropdown__toggle--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
43
43
  --pf-c-dropdown__toggle--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
44
44
  --pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--200);
45
+ --pf-c-dropdown__toggle--m-primary--disabled--Color: var(--pf-global--Color--100);
45
46
 
46
47
  // Secondary
47
48
  --pf-c-dropdown__toggle--m-secondary--Color: var(--pf-global--primary-color--100);
@@ -249,6 +250,7 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
249
250
 
250
251
  &.pf-m-disabled,
251
252
  &:disabled {
253
+ --pf-c-dropdown__toggle--m-primary--Color: var(--pf-c-dropdown__toggle--m-primary--disabled--Color);
252
254
  --pf-c-dropdown__toggle--before--BorderBottomColor: transparent;
253
255
 
254
256
  pointer-events: none;
@@ -380,22 +382,22 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
380
382
  }
381
383
  }
382
384
 
383
- &:not(.pf-m-action):not(.pf-m-secondary):active,
384
- &:not(.pf-m-action):not(.pf-m-secondary).pf-m-active,
385
- &.pf-m-action .pf-c-dropdown__toggle-button:active {
385
+ &:not(.pf-m-action):not(.pf-m-secondary):focus,
386
+ &.pf-m-action .pf-c-dropdown__toggle-button:focus {
386
387
  &::before {
387
- --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
388
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);
388
389
 
389
- border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
390
+ border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);
390
391
  }
391
392
  }
392
393
 
393
- &:not(.pf-m-action):not(.pf-m-secondary):focus,
394
- &.pf-m-action .pf-c-dropdown__toggle-button:focus {
394
+ &:not(.pf-m-action):not(.pf-m-secondary):active,
395
+ &:not(.pf-m-action):not(.pf-m-secondary).pf-m-active,
396
+ &.pf-m-action .pf-c-dropdown__toggle-button:active {
395
397
  &::before {
396
- --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--focus--before--BorderBottomColor);
398
+ --pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-c-dropdown__toggle--active--before--BorderBottomColor);
397
399
 
398
- border-bottom-width: var(--pf-c-dropdown__toggle--focus--before--BorderBottomWidth);
400
+ border-bottom-width: var(--pf-c-dropdown__toggle--active--before--BorderBottomWidth);
399
401
  }
400
402
  }
401
403
 
@@ -444,15 +446,14 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
444
446
  }
445
447
 
446
448
  &.pf-m-primary {
447
- &:not(.pf-m-disabled):not([disabled]) {
448
- --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
449
- --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
450
- --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
451
- }
449
+ --pf-c-dropdown__toggle--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
450
+ --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--BackgroundColor);
451
+ --pf-c-dropdown__toggle-button--Color: var(--pf-c-dropdown__toggle--m-primary--Color);
452
452
 
453
453
  border-radius: var(--pf-c-dropdown__toggle--m-primary--BorderRadius);
454
454
 
455
- &::before {
455
+ &::before,
456
+ .pf-c-dropdown__toggle-button::before {
456
457
  border: 0;
457
458
  }
458
459
 
@@ -469,7 +470,7 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
469
470
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown__toggle--m-primary--active--BackgroundColor);
470
471
  }
471
472
 
472
- .pf-m-expanded > :not(.pf-m-disabled):not([disabled]) {
473
+ .pf-m-expanded > & {
473
474
  --pf-c-dropdown__toggle--BackgroundColor: var(--pf-c-dropdown--m-expanded__toggle--m-primary--BackgroundColor);
474
475
  }
475
476
  }
@@ -868,6 +868,9 @@
868
868
  .pf-c-nav__section + .pf-c-nav__section {
869
869
  --pf-c-nav__section--MarginTop: var(--pf-c-nav__section--section--MarginTop);
870
870
  }
871
+ .pf-c-nav__section.pf-m-no-title {
872
+ --pf-c-nav__section--MarginTop: 0;
873
+ }
871
874
 
872
875
  .pf-c-nav__section-title {
873
876
  padding: var(--pf-c-nav__section-title--PaddingTop) var(--pf-c-nav__section-title--PaddingRight) var(--pf-c-nav__section-title--PaddingBottom) var(--pf-c-nav__section-title--PaddingLeft);
@@ -1077,6 +1077,10 @@
1077
1077
  & + & {
1078
1078
  --pf-c-nav__section--MarginTop: var(--pf-c-nav__section--section--MarginTop);
1079
1079
  }
1080
+
1081
+ &.pf-m-no-title {
1082
+ --pf-c-nav__section--MarginTop: 0;
1083
+ }
1080
1084
  }
1081
1085
 
1082
1086
  // Section title
@@ -967,7 +967,8 @@
967
967
  .pf-c-table.pf-m-compact tr:not(.pf-c-table__expandable-row) > *:last-child {
968
968
  --pf-c-table--cell--PaddingRight: var(--pf-c-table--m-compact--cell--first-last-child--PaddingRight);
969
969
  }
970
- .pf-c-table.pf-m-compact thead th {
970
+ .pf-c-table.pf-m-compact thead th,
971
+ .pf-c-table.pf-m-compact thead .pf-c-table__toggle {
971
972
  --pf-c-table--cell--PaddingTop: var(--pf-c-table--m-compact-th--PaddingTop);
972
973
  --pf-c-table--cell--PaddingBottom: var(--pf-c-table--m-compact-th--PaddingBottom);
973
974
  }
@@ -85,8 +85,8 @@
85
85
  // ============================================================ //
86
86
 
87
87
  // Table cell - toggle
88
- --pf-c-table__toggle--c-button--MarginTop: calc(#{pf-size-prem(6px)} * -1);
89
- --pf-c-table__toggle--c-button--MarginBottom: calc(#{pf-size-prem(6px)} * -1);
88
+ --pf-c-table__toggle--c-button--MarginTop: calc(#{pf-size-prem(6px)} * -1); // use var(--pf-global--spacer--form-element) at breaking change
89
+ --pf-c-table__toggle--c-button--MarginBottom: calc(#{pf-size-prem(6px)} * -1); // use var(--pf-global--spacer--form-element) at breaking change
90
90
  --pf-c-table__toggle--c-button__toggle-icon--Rotate: 270deg;
91
91
  --pf-c-table__toggle--c-button__toggle-icon--Transition: .2s ease-in 0s;
92
92
  --pf-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
@@ -1255,9 +1255,12 @@
1255
1255
  }
1256
1256
 
1257
1257
  // Thead only
1258
- thead th {
1259
- --pf-c-table--cell--PaddingTop: var(--pf-c-table--m-compact-th--PaddingTop);
1260
- --pf-c-table--cell--PaddingBottom: var(--pf-c-table--m-compact-th--PaddingBottom);
1258
+ thead {
1259
+ th,
1260
+ .pf-c-table__toggle {
1261
+ --pf-c-table--cell--PaddingTop: var(--pf-c-table--m-compact-th--PaddingTop);
1262
+ --pf-c-table--cell--PaddingBottom: var(--pf-c-table--m-compact-th--PaddingBottom);
1263
+ }
1261
1264
  }
1262
1265
 
1263
1266
  .pf-c-table__action {
@@ -39,6 +39,50 @@ cssPrefix: pf-c-avatar
39
39
 
40
40
  ```
41
41
 
42
+ ### Small
43
+
44
+ ```html
45
+ <img
46
+ class="pf-c-avatar pf-m-sm"
47
+ src="/assets/images/img_avatar-light.svg"
48
+ alt="Avatar image small"
49
+ />
50
+
51
+ ```
52
+
53
+ ### Medium
54
+
55
+ ```html
56
+ <img
57
+ class="pf-c-avatar pf-m-md"
58
+ src="/assets/images/img_avatar-light.svg"
59
+ alt="Avatar image medium"
60
+ />
61
+
62
+ ```
63
+
64
+ ### Large
65
+
66
+ ```html
67
+ <img
68
+ class="pf-c-avatar pf-m-lg"
69
+ src="/assets/images/img_avatar-light.svg"
70
+ alt="Avatar image large"
71
+ />
72
+
73
+ ```
74
+
75
+ ### Extra large
76
+
77
+ ```html
78
+ <img
79
+ class="pf-c-avatar pf-m-xl"
80
+ src="/assets/images/img_avatar-light.svg"
81
+ alt="Avatar image extra large"
82
+ />
83
+
84
+ ```
85
+
42
86
  ## Documentation
43
87
 
44
88
  ### Overview
@@ -53,8 +97,12 @@ The avatar component provides a default SVG icon. If an image is used it should
53
97
 
54
98
  ### Usage
55
99
 
56
- | Class | Applied to | Outcome |
57
- | -------------- | -------------- | ------------------------------------------------------ |
58
- | `.pf-c-avatar` | `<img>` | Initiates an avatar image. **Required** |
59
- | `.pf-m-light` | `.pf-c-avatar` | Modifies an avatar for use against a light background. |
60
- | `.pf-m-dark` | `.pf-c-avatar` | Modifies an avatar for use against a dark background. |
100
+ | Class | Applied to | Outcome |
101
+ | ---------------------------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
102
+ | `.pf-c-avatar` | `<img>` | Initiates an avatar image. **Required** |
103
+ | `.pf-m-light` | `.pf-c-avatar` | Modifies an avatar for use against a light background. |
104
+ | `.pf-m-dark` | `.pf-c-avatar` | Modifies an avatar for use against a dark background. |
105
+ | `.pf-m-sm{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be small on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
106
+ | `.pf-m-md{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be medium on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). **Note:** This is the default size. |
107
+ | `.pf-m-lg{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
108
+ | `.pf-m-xl{-on-[breakpoint]}` | `.pf-c-avatar` | Modifies an avatar to be extra large on an optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
@@ -56,9 +56,9 @@ Simple brand component.
56
56
 
57
57
  ### Usage
58
58
 
59
- | Class | Applied to | Outcome |
60
- | -------------------------------------------------- | ------------------ | --------------------------------------- |
61
- | `.pf-c-brand` | `<img>, <picture>` | Initiates a brand image. **Required** |
62
- | `.pf-m-picture` | `.pf-c-brand` | Modifies a brand image to a picture. |
63
- | `--pf-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-c-brand` | Modifies the width value of a picture. |
64
- | `--pf-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-c-brand` | Modifies the height value of a picture. |
59
+ | Class | Applied to | Outcome |
60
+ | -------------------------------------------------- | ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
61
+ | `.pf-c-brand` | `<img>, <picture>` | Initiates a brand image. **Required** |
62
+ | `.pf-m-picture` | `.pf-c-brand` | Modifies a brand image to a picture. |
63
+ | `--pf-c-brand--Width{-on-[breakpoint]}: {width}` | `.pf-c-brand` | Modifies the width value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
64
+ | `--pf-c-brand--Height{-on-[breakpoint]}: {height}` | `.pf-c-brand` | Modifies the height value of a picture on optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |