@patternfly/patternfly 6.6.0-prerelease.1 → 6.6.0-prerelease.11
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/assets/images/img_avatar-rhds.svg +22 -0
- package/assets/images/pf-logo-avatar.jpg +0 -0
- package/base/normalize.scss +2 -0
- package/base/patternfly-common.css +2 -2
- package/base/patternfly-common.scss +1 -1
- package/base/patternfly-fa-icons.css +3 -3
- package/base/patternfly-fa-icons.scss +3 -3
- package/base/patternfly-variables.css +58 -56
- package/base/reset.scss +2 -0
- package/base/tokens/tokens-charts-dark.scss +1 -1
- package/base/tokens/tokens-charts-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-charts-highcontrast.scss +1 -1
- package/base/tokens/tokens-charts.scss +1 -1
- package/base/tokens/tokens-dark.scss +9 -9
- package/base/tokens/tokens-default.scss +8 -8
- package/base/tokens/tokens-felt-dark.scss +1 -1
- package/base/tokens/tokens-felt-glass-dark.scss +8 -8
- package/base/tokens/tokens-felt-glass.scss +10 -9
- package/base/tokens/tokens-felt-highcontrast-dark.scss +1 -1
- package/base/tokens/tokens-felt-highcontrast.scss +1 -1
- package/base/tokens/tokens-felt.scss +1 -1
- package/base/tokens/tokens-glass-dark.scss +8 -8
- package/base/tokens/tokens-glass.scss +10 -9
- package/base/tokens/tokens-highcontrast-dark.scss +8 -8
- package/base/tokens/tokens-highcontrast.scss +7 -7
- package/base/tokens/tokens-palette.scss +1 -1
- package/base/tokens/tokens-redhat-highcontrast.scss +6 -6
- package/components/AboutModalBox/about-modal-box.css +1 -1
- package/components/AboutModalBox/about-modal-box.scss +1 -1
- package/components/Accordion/accordion.css +3 -3
- package/components/Accordion/accordion.scss +3 -3
- package/components/Alert/alert-group.css +1 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +4 -3
- package/components/Alert/alert.scss +4 -3
- package/components/Avatar/avatar.css +144 -0
- package/components/Avatar/avatar.scss +161 -0
- package/components/Breadcrumb/breadcrumb.css +1 -1
- package/components/Breadcrumb/breadcrumb.scss +1 -1
- package/components/Button/button.css +9 -6
- package/components/Button/button.scss +10 -6
- package/components/Card/card.css +2 -2
- package/components/Card/card.scss +3 -3
- package/components/Check/check.css +1 -1
- package/components/Check/check.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +2 -2
- package/components/ClipboardCopy/clipboard-copy.scss +2 -2
- package/components/Compass/compass.css +7 -3
- package/components/Compass/compass.scss +7 -3
- package/components/Content/content.css +2 -2
- package/components/Content/content.scss +2 -2
- package/components/DataList/data-list.css +1 -1
- package/components/DataList/data-list.scss +1 -1
- package/components/DescriptionList/description-list.css +0 -1
- package/components/DescriptionList/description-list.scss +0 -1
- package/components/DragDrop/drag-drop.css +4 -0
- package/components/DragDrop/drag-drop.scss +4 -0
- package/components/Drawer/drawer.css +2 -2
- package/components/Drawer/drawer.scss +2 -2
- package/components/DualListSelector/dual-list-selector.css +6 -6
- package/components/DualListSelector/dual-list-selector.scss +6 -6
- package/components/ExpandableSection/expandable-section.css +3 -3
- package/components/ExpandableSection/expandable-section.scss +3 -3
- package/components/Form/form.css +12 -12
- package/components/Form/form.scss +6 -6
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/form-control.scss +3 -1
- package/components/Hero/hero.css +1 -1
- package/components/Hero/hero.scss +1 -1
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +1 -1
- package/components/InputGroup/input-group.css +5 -5
- package/components/InputGroup/input-group.scss +5 -5
- package/components/JumpLinks/jump-links.css +1 -1
- package/components/JumpLinks/jump-links.scss +1 -1
- package/components/Label/label.css +1 -1
- package/components/Label/label.scss +1 -1
- package/components/Login/login.css +2 -2
- package/components/Login/login.scss +2 -2
- package/components/Masthead/masthead.css +2 -2
- package/components/Masthead/masthead.scss +2 -2
- package/components/Menu/menu.css +4 -4
- package/components/Menu/menu.scss +4 -4
- package/components/MenuToggle/menu-toggle.css +4 -1
- package/components/MenuToggle/menu-toggle.scss +5 -2
- package/components/ModalBox/modal-box.css +1 -1
- package/components/ModalBox/modal-box.scss +1 -1
- package/components/Nav/nav.css +5 -5
- package/components/Nav/nav.scss +5 -5
- package/components/NotificationDrawer/notification-drawer.css +5 -5
- package/components/NotificationDrawer/notification-drawer.scss +5 -5
- package/components/Page/page.css +26 -21
- package/components/Page/page.scss +30 -25
- package/components/Popover/popover.css +1 -1
- package/components/Popover/popover.scss +2 -2
- package/components/Progress/progress.css +3 -3
- package/components/Progress/progress.scss +3 -6
- package/components/ProgressStepper/progress-stepper.css +1 -1
- package/components/Radio/radio.css +1 -1
- package/components/Radio/radio.scss +1 -1
- package/components/Sidebar/sidebar.css +4 -7
- package/components/Sidebar/sidebar.scss +9 -9
- package/components/Spinner/spinner.css +2 -2
- package/components/Spinner/spinner.scss +2 -2
- package/components/Switch/switch.css +1 -1
- package/components/Switch/switch.scss +1 -1
- package/components/Table/table-tree-view.css +10 -10
- package/components/Table/table-tree-view.scss +2 -2
- package/components/Table/table.css +37 -10
- package/components/Table/table.scss +53 -14
- package/components/Tabs/tabs.css +3 -3
- package/components/Tabs/tabs.scss +3 -3
- package/components/TextInputGroup/text-input-group.css +1 -1
- package/components/TextInputGroup/text-input-group.scss +1 -1
- package/components/Title/title.css +1 -1
- package/components/Title/title.scss +1 -1
- package/components/Toolbar/toolbar.css +1 -1
- package/components/Toolbar/toolbar.scss +1 -1
- package/components/Tooltip/tooltip.css +1 -1
- package/components/Tooltip/tooltip.scss +2 -2
- package/components/TreeView/tree-view.css +5 -5
- package/components/TreeView/tree-view.scss +5 -5
- package/components/Wizard/wizard.css +5 -5
- package/components/Wizard/wizard.scss +5 -5
- package/components/_index.css +341 -154
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +1 -1
- package/docs/components/Accordion/examples/Accordion.md +30 -30
- package/docs/components/ActionList/examples/ActionList.md +11 -11
- package/docs/components/Alert/examples/Alert.md +54 -54
- package/docs/components/Avatar/examples/Avatar.css +6 -0
- package/docs/components/Avatar/examples/Avatar.md +414 -40
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Banner/examples/Banner.md +10 -10
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +25 -25
- package/docs/components/Button/examples/Button.md +184 -184
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +16 -16
- package/docs/components/Card/examples/Card.md +14 -14
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +22 -22
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +18 -18
- package/docs/components/DataList/examples/DataList.md +34 -34
- package/docs/components/DatePicker/examples/DatePicker.md +6 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +25 -25
- package/docs/components/Drawer/examples/Drawer.md +23 -23
- package/docs/components/DualListSelector/examples/DualListSelector.md +89 -89
- package/docs/components/EmptyState/examples/EmptyState.md +6 -6
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +7 -7
- package/docs/components/Form/examples/Form.md +6 -6
- package/docs/components/Hint/examples/Hint.md +3 -3
- package/docs/components/Icon/examples/Icon.md +9 -9
- package/docs/components/InlineEdit/examples/InlineEdit.md +26 -26
- package/docs/components/InputGroup/examples/InputGroup.md +4 -4
- package/docs/components/JumpLinks/examples/JumpLinks.md +4 -4
- package/docs/components/Label/examples/Label.md +218 -218
- package/docs/components/Login/examples/Login.md +4 -4
- package/docs/components/Masthead/examples/masthead.md +1 -1
- package/docs/components/Menu/examples/Menu.md +129 -129
- package/docs/components/MenuToggle/examples/MenuToggle.md +271 -232
- package/docs/components/ModalBox/examples/ModalBox.md +24 -24
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +12 -12
- package/docs/components/Nav/examples/Navigation.md +66 -66
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +83 -83
- package/docs/components/OverflowMenu/examples/overflow-menu.md +11 -11
- package/docs/components/Page/examples/Page.md +1 -1
- package/docs/components/Pagination/examples/Pagination.md +92 -92
- package/docs/components/Popover/examples/Popover.md +22 -22
- package/docs/components/Progress/examples/Progress.md +7 -7
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +21 -21
- package/docs/components/Sidebar/examples/Sidebar.md +3 -1
- package/docs/components/Slider/examples/Slider.md +4 -4
- package/docs/components/Table/examples/Table.css +6 -0
- package/docs/components/Table/examples/Table.md +807 -527
- package/docs/components/Tabs/examples/Tabs.md +378 -378
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +46 -46
- package/docs/components/ToggleGroup/examples/toggle-group.md +15 -15
- package/docs/components/Toolbar/examples/Toolbar.md +117 -117
- package/docs/components/TreeView/examples/TreeView.md +104 -104
- package/docs/components/Wizard/examples/Wizard.md +40 -40
- package/docs/demos/AboutModal/examples/AboutModal.md +9 -9
- package/docs/demos/Alert/examples/Alert.md +32 -32
- package/docs/demos/BackToTop/examples/BackToTop.md +9 -9
- package/docs/demos/Banner/examples/Banner.md +16 -16
- package/docs/demos/Button/examples/Button.md +1 -1
- package/docs/demos/Card/examples/Card.md +78 -78
- package/docs/demos/CardView/examples/CardView.md +38 -38
- package/docs/demos/Compass/examples/Compass.md +294 -238
- package/docs/demos/Dashboard/examples/Dashboard.md +48 -48
- package/docs/demos/DataList/examples/DataList.md +101 -101
- package/docs/demos/DescriptionList/examples/DescriptionList.md +26 -26
- package/docs/demos/Drawer/examples/Drawer.md +40 -40
- package/docs/demos/Form/examples/BasicForms.md +21 -21
- package/docs/demos/JumpLinks/examples/JumpLinks.md +49 -49
- package/docs/demos/Masthead/examples/Masthead.md +57 -57
- package/docs/demos/Modal/examples/Modal.md +54 -54
- package/docs/demos/Nav/examples/Nav.md +93 -93
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +173 -173
- package/docs/demos/Page/examples/Page.md +119 -119
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +1 -1
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +4 -4
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +142 -142
- package/docs/demos/Skeleton/examples/Skeleton.md +8 -8
- package/docs/demos/Table/examples/Table.md +630 -630
- package/docs/demos/Tabs/examples/Tabs.md +62 -62
- package/docs/demos/Toolbar/examples/Toolbar.md +161 -161
- package/docs/demos/Wizard/examples/Wizard.md +100 -100
- package/layouts/Gallery/gallery.css +1 -1
- package/layouts/Gallery/gallery.scss +1 -1
- package/layouts/Grid/grid.css +1 -1
- package/layouts/Grid/grid.scss +1 -1
- package/layouts/_index.css +2 -2
- package/package.json +11 -12
- package/patternfly-addons.css +12 -12
- package/patternfly-base-no-globals.css +63 -61
- package/patternfly-base.css +63 -61
- package/patternfly-no-globals.css +406 -217
- package/patternfly.css +406 -217
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +2 -2
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/_index.css +12 -12
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
3
|
+
// Generated on Mon, 01 Jun 2026 21:26:11 GMT
|
|
4
4
|
|
|
5
5
|
@mixin pf-v6-tokens {
|
|
6
|
-
--pf-t--global--background--color--500:
|
|
7
|
-
--pf-t--global--background--color--600:
|
|
8
|
-
--pf-t--global--background--color--700:
|
|
9
|
-
--pf-t--global--background--color--action--plain--default:
|
|
6
|
+
--pf-t--global--background--color--500: rgb(21, 21, 21, 0.4000);
|
|
7
|
+
--pf-t--global--background--color--600: rgb(199, 199, 199, 0.2500);
|
|
8
|
+
--pf-t--global--background--color--700: rgb(199, 199, 199, 0.1000);
|
|
9
|
+
--pf-t--global--background--color--action--plain--default: rgb(255, 255, 255, 0.0000);
|
|
10
10
|
--pf-t--global--background--filter--glass--blur--primary: initial;
|
|
11
11
|
--pf-t--global--border--radius--0: 0px;
|
|
12
12
|
--pf-t--global--border--radius--100: 4px;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
--pf-t--global--box-shadow--blur--100: 6px;
|
|
41
41
|
--pf-t--global--box-shadow--blur--200: 10px;
|
|
42
42
|
--pf-t--global--box-shadow--blur--300: 20px;
|
|
43
|
-
--pf-t--global--box-shadow--color--100:
|
|
44
|
-
--pf-t--global--box-shadow--color--200:
|
|
43
|
+
--pf-t--global--box-shadow--color--100: rgb(41, 41, 41, 0.1500);
|
|
44
|
+
--pf-t--global--box-shadow--color--200: rgb(41, 41, 41, 0.2000);
|
|
45
45
|
--pf-t--global--box-shadow--spread--100: 0px;
|
|
46
46
|
--pf-t--global--box-shadow--spread--200: -4px;
|
|
47
47
|
--pf-t--global--box-shadow--spread--300: -8px;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
// Generated on Mon, 04 May 2026 19:53:21 GMT
|
|
4
4
|
|
|
5
5
|
@mixin pf-v6-tokens {
|
|
6
|
-
--pf-t--global--background--color--500:
|
|
7
|
-
--pf-t--global--background--color--600:
|
|
8
|
-
--pf-t--global--background--color--700:
|
|
9
|
-
--pf-t--global--background--color--action--plain--default:
|
|
6
|
+
--pf-t--global--background--color--500: rgb(21, 21, 21, 0.4000);
|
|
7
|
+
--pf-t--global--background--color--600: rgb(199, 199, 199, 0.2500);
|
|
8
|
+
--pf-t--global--background--color--700: rgb(199, 199, 199, 0.1000);
|
|
9
|
+
--pf-t--global--background--color--action--plain--default: rgb(255, 255, 255, 0.0000);
|
|
10
10
|
--pf-t--global--background--filter--glass--blur--primary: blur(0px);
|
|
11
11
|
--pf-t--global--border--radius--0: 0px;
|
|
12
12
|
--pf-t--global--border--radius--100: 4px;
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
--pf-t--global--box-shadow--blur--100: 6px;
|
|
41
41
|
--pf-t--global--box-shadow--blur--200: 10px;
|
|
42
42
|
--pf-t--global--box-shadow--blur--300: 20px;
|
|
43
|
-
--pf-t--global--box-shadow--color--100:
|
|
44
|
-
--pf-t--global--box-shadow--color--200:
|
|
43
|
+
--pf-t--global--box-shadow--color--100: rgb(41, 41, 41, 0.1500);
|
|
44
|
+
--pf-t--global--box-shadow--color--200: rgb(41, 41, 41, 0.2000);
|
|
45
45
|
--pf-t--global--box-shadow--spread--100: 0px;
|
|
46
46
|
--pf-t--global--box-shadow--spread--200: -4px;
|
|
47
47
|
--pf-t--global--box-shadow--spread--300: -8px;
|
|
@@ -222,8 +222,8 @@
|
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.pf-v6-c-accordion__toggle-icon {
|
|
225
|
-
transition: var(--pf-v6-c-accordion__toggle-icon--Transition);
|
|
226
225
|
transform: rotate(var(--pf-v6-c-accordion__toggle-icon--Rotate));
|
|
226
|
+
transition: var(--pf-v6-c-accordion__toggle-icon--Transition);
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
.pf-v6-c-accordion__expandable-content:where([hidden]) {
|
|
@@ -231,6 +231,7 @@
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
.pf-v6-c-accordion__expandable-content {
|
|
234
|
+
visibility: var(--pf-v6-c-accordion__expandable-content--Visibility);
|
|
234
235
|
max-height: var(--pf-v6-c-accordion__expandable-content--MaxHeight);
|
|
235
236
|
margin-block-end: var(--pf-v6-c-accordion__expandable-content--MarginBlockEnd);
|
|
236
237
|
margin-inline-start: var(--pf-v6-c-accordion__expandable-content--MarginInlineStart);
|
|
@@ -238,16 +239,15 @@
|
|
|
238
239
|
overflow-y: var(--pf-v6-c-accordion__expandable-content--Overflow);
|
|
239
240
|
font-size: var(--pf-v6-c-accordion__expandable-content--FontSize);
|
|
240
241
|
color: var(--pf-v6-c-accordion__expandable-content--Color);
|
|
241
|
-
visibility: var(--pf-v6-c-accordion__expandable-content--Visibility);
|
|
242
242
|
background-color: var(--pf-v6-c-accordion__expandable-content--BackgroundColor);
|
|
243
243
|
border: var(--pf-v6-c-accordion__expandable-content--BorderWidth) solid var(--pf-v6-c-accordion__expandable-content--BorderColor);
|
|
244
244
|
border-radius: var(--pf-v6-c-accordion__expandable-content--BorderRadius);
|
|
245
245
|
opacity: var(--pf-v6-c-accordion__expandable-content--Opacity);
|
|
246
|
+
translate: 0 var(--pf-v6-c-accordion__expandable-content--TranslateY);
|
|
246
247
|
transition-delay: 0s, 0s, var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade);
|
|
247
248
|
transition-timing-function: var(--pf-v6-c-accordion__expandable-content--TransitionTimingFunction);
|
|
248
249
|
transition-duration: var(--pf-v6-c-accordion__expandable-content--TransitionDuration--fade), var(--pf-v6-c-accordion__expandable-content--TransitionDuration--slide), 0s, 0s, 0s;
|
|
249
250
|
transition-property: opacity, translate, visibility, max-height, margin-block-end;
|
|
250
|
-
translate: 0 var(--pf-v6-c-accordion__expandable-content--TranslateY);
|
|
251
251
|
}
|
|
252
252
|
.pf-v6-c-accordion__expandable-content.pf-m-fixed {
|
|
253
253
|
--pf-v6-c-accordion__expandable-content--Overflow: auto;
|
|
@@ -254,8 +254,8 @@
|
|
|
254
254
|
.#{$accordion}__toggle-icon {
|
|
255
255
|
@include pf-v6-mirror-inline-on-rtl;
|
|
256
256
|
|
|
257
|
-
transition: var(--#{$accordion}__toggle-icon--Transition); // TODO remove shorthand property in breaking change
|
|
258
257
|
transform: rotate(var(--#{$accordion}__toggle-icon--Rotate));
|
|
258
|
+
transition: var(--#{$accordion}__toggle-icon--Transition); // TODO remove shorthand property in breaking change
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.#{$accordion}__expandable-content:where([hidden]) {
|
|
@@ -263,6 +263,7 @@
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
.#{$accordion}__expandable-content {
|
|
266
|
+
visibility: var(--#{$accordion}__expandable-content--Visibility);
|
|
266
267
|
max-height: var(--#{$accordion}__expandable-content--MaxHeight);
|
|
267
268
|
margin-block-end: var(--#{$accordion}__expandable-content--MarginBlockEnd);
|
|
268
269
|
margin-inline-start: var(--#{$accordion}__expandable-content--MarginInlineStart);
|
|
@@ -270,16 +271,15 @@
|
|
|
270
271
|
overflow-y: var(--#{$accordion}__expandable-content--Overflow);
|
|
271
272
|
font-size: var(--#{$accordion}__expandable-content--FontSize);
|
|
272
273
|
color: var(--#{$accordion}__expandable-content--Color);
|
|
273
|
-
visibility: var(--#{$accordion}__expandable-content--Visibility);
|
|
274
274
|
background-color: var(--#{$accordion}__expandable-content--BackgroundColor);
|
|
275
275
|
border: var(--#{$accordion}__expandable-content--BorderWidth) solid var(--#{$accordion}__expandable-content--BorderColor);
|
|
276
276
|
border-radius: var(--#{$accordion}__expandable-content--BorderRadius);
|
|
277
277
|
opacity: var(--#{$accordion}__expandable-content--Opacity);
|
|
278
|
+
translate: 0 var(--#{$accordion}__expandable-content--TranslateY);
|
|
278
279
|
transition-delay: 0s, 0s, var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--fade);
|
|
279
280
|
transition-timing-function: var(--#{$accordion}__expandable-content--TransitionTimingFunction);
|
|
280
281
|
transition-duration: var(--#{$accordion}__expandable-content--TransitionDuration--fade), var(--#{$accordion}__expandable-content--TransitionDuration--slide), 0s, 0s, 0s;
|
|
281
282
|
transition-property: opacity, translate, visibility, max-height, margin-block-end;
|
|
282
|
-
translate: 0 var(--#{$accordion}__expandable-content--TranslateY);
|
|
283
283
|
|
|
284
284
|
&.pf-m-fixed {
|
|
285
285
|
--#{$accordion}__expandable-content--Overflow: auto;
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
display: grid;
|
|
128
128
|
grid-template-rows: 1fr;
|
|
129
129
|
opacity: 1;
|
|
130
|
-
transition: opacity var(--pf-v6-c-alert-group--m-toast__item--Transition--opacity--default);
|
|
131
130
|
transform: translateX(0) translateY(0);
|
|
131
|
+
transition: opacity var(--pf-v6-c-alert-group--m-toast__item--Transition--opacity--default);
|
|
132
132
|
}
|
|
133
133
|
@media screen and (prefers-reduced-motion: no-preference) {
|
|
134
134
|
.pf-v6-c-alert-group__item {
|
|
@@ -164,13 +164,13 @@
|
|
|
164
164
|
display: grid;
|
|
165
165
|
grid-template-rows: 1fr;
|
|
166
166
|
opacity: 1;
|
|
167
|
+
transform: translateX(0) translateY(0);
|
|
167
168
|
|
|
168
169
|
// This transition will happen when the item is added (.pf-m-offstage-top is removed)
|
|
169
170
|
// Reduced motion by default
|
|
170
171
|
// transparency change only
|
|
171
172
|
transition:
|
|
172
173
|
opacity var(--#{$alert-group}--m-toast__item--Transition--opacity--default);
|
|
173
|
-
transform: translateX(0) translateY(0);
|
|
174
174
|
|
|
175
175
|
// This transition will happen when the item is added (.pf-m-offstage-top is removed)
|
|
176
176
|
// give it height, then slide it down into place
|
|
@@ -146,12 +146,13 @@
|
|
|
146
146
|
|
|
147
147
|
.pf-v6-c-alert__toggle-icon {
|
|
148
148
|
display: inline-block;
|
|
149
|
-
transition: transform var(--pf-v6-c-alert__toggle-icon--TransitionDuration) var(--pf-v6-c-alert__toggle-icon--TransitionTimingFunction);
|
|
150
149
|
transform: rotate(var(--pf-v6-c-alert__toggle-icon--Rotate));
|
|
150
|
+
transition: transform var(--pf-v6-c-alert__toggle-icon--TransitionDuration) var(--pf-v6-c-alert__toggle-icon--TransitionTimingFunction);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
.pf-v6-c-alert__icon {
|
|
154
154
|
grid-area: icon;
|
|
155
|
+
align-self: baseline;
|
|
155
156
|
margin-inline-end: var(--pf-v6-c-alert__icon--MarginInlineEnd);
|
|
156
157
|
font-size: var(--pf-v6-c-alert__icon--FontSize);
|
|
157
158
|
color: var(--pf-v6-c-alert__icon--Color);
|
|
@@ -162,7 +163,7 @@
|
|
|
162
163
|
grid-area: title;
|
|
163
164
|
font-weight: var(--pf-v6-c-alert__title--FontWeight);
|
|
164
165
|
color: var(--pf-v6-c-alert__title--Color);
|
|
165
|
-
|
|
166
|
+
overflow-wrap: break-word;
|
|
166
167
|
}
|
|
167
168
|
.pf-v6-c-alert__title.pf-m-truncate {
|
|
168
169
|
display: -webkit-box;
|
|
@@ -174,7 +175,7 @@
|
|
|
174
175
|
.pf-v6-c-alert__description {
|
|
175
176
|
grid-area: description;
|
|
176
177
|
padding-block-start: var(--pf-v6-c-alert__description--PaddingBlockStart);
|
|
177
|
-
|
|
178
|
+
overflow-wrap: break-word;
|
|
178
179
|
}
|
|
179
180
|
.pf-v6-c-alert__description + .pf-v6-c-alert__action-group {
|
|
180
181
|
--pf-v6-c-alert__action-group--PaddingBlockStart: var(--pf-v6-c-alert__description--action-group--PaddingBlockStart);
|
|
@@ -188,12 +188,13 @@
|
|
|
188
188
|
@include pf-v6-mirror-inline-on-rtl;
|
|
189
189
|
|
|
190
190
|
display: inline-block;
|
|
191
|
-
transition: transform var(--#{$alert}__toggle-icon--TransitionDuration) var(--#{$alert}__toggle-icon--TransitionTimingFunction);
|
|
192
191
|
transform: rotate(var(--#{$alert}__toggle-icon--Rotate));
|
|
192
|
+
transition: transform var(--#{$alert}__toggle-icon--TransitionDuration) var(--#{$alert}__toggle-icon--TransitionTimingFunction);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.#{$alert}__icon {
|
|
196
196
|
grid-area: icon;
|
|
197
|
+
align-self: baseline;
|
|
197
198
|
margin-inline-end: var(--#{$alert}__icon--MarginInlineEnd);
|
|
198
199
|
font-size: var(--#{$alert}__icon--FontSize);
|
|
199
200
|
color: var(--#{$alert}__icon--Color);
|
|
@@ -204,7 +205,7 @@
|
|
|
204
205
|
grid-area: title;
|
|
205
206
|
font-weight: var(--#{$alert}__title--FontWeight);
|
|
206
207
|
color: var(--#{$alert}__title--Color);
|
|
207
|
-
|
|
208
|
+
overflow-wrap: break-word;
|
|
208
209
|
|
|
209
210
|
&.pf-m-truncate {
|
|
210
211
|
@include pf-v6-line-clamp("var(--#{$alert}__title--max-lines)");
|
|
@@ -214,7 +215,7 @@
|
|
|
214
215
|
.#{$alert}__description {
|
|
215
216
|
grid-area: description;
|
|
216
217
|
padding-block-start: var(--#{$alert}__description--PaddingBlockStart);
|
|
217
|
-
|
|
218
|
+
overflow-wrap: break-word;
|
|
218
219
|
|
|
219
220
|
+ .#{$alert}__action-group {
|
|
220
221
|
--#{$alert}__action-group--PaddingBlockStart: var(--#{$alert}__description--action-group--PaddingBlockStart);
|
|
@@ -4,24 +4,87 @@
|
|
|
4
4
|
--pf-v6-c-avatar--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
5
5
|
--pf-v6-c-avatar--Width: 2.25rem;
|
|
6
6
|
--pf-v6-c-avatar--Height: 2.25rem;
|
|
7
|
+
--pf-v6-c-avatar--FontSize: calc(2.25rem / 1.414);
|
|
7
8
|
--pf-v6-c-avatar--m-sm--Width: 1.5rem;
|
|
8
9
|
--pf-v6-c-avatar--m-sm--Height: 1.5rem;
|
|
10
|
+
--pf-v6-c-avatar--m-sm--FontSize: calc(1.5rem / 1.414);
|
|
9
11
|
--pf-v6-c-avatar--m-md--Width: 2.25rem;
|
|
10
12
|
--pf-v6-c-avatar--m-md--Height: 2.25rem;
|
|
13
|
+
--pf-v6-c-avatar--m-md--FontSize: calc(2.25rem / 1.414);
|
|
11
14
|
--pf-v6-c-avatar--m-lg--Width: 4.5rem;
|
|
12
15
|
--pf-v6-c-avatar--m-lg--Height: 4.5rem;
|
|
16
|
+
--pf-v6-c-avatar--m-lg--FontSize: calc(4.5rem / 1.414);
|
|
13
17
|
--pf-v6-c-avatar--m-xl--Width: 8rem;
|
|
14
18
|
--pf-v6-c-avatar--m-xl--Height: 8rem;
|
|
19
|
+
--pf-v6-c-avatar--m-xl--FontSize: calc(8rem / 1.414);
|
|
15
20
|
--pf-v6-c-avatar--m-bordered--BorderColor: var(--pf-t--global--border--color--default);
|
|
16
21
|
--pf-v6-c-avatar--m-bordered--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
22
|
+
--pf-v6-c-avatar--m-colorful--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
23
|
+
--pf-v6-c-avatar--m-gray--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
24
|
+
--pf-v6-c-avatar--m-gray--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--hover);
|
|
25
|
+
--pf-v6-c-avatar--m-gray--BorderColor: var(--pf-t--global--border--color--default);
|
|
26
|
+
--pf-v6-c-avatar--m-red--BackgroundColor: var(--pf-t--global--color--nonstatus--red--default);
|
|
27
|
+
--pf-v6-c-avatar--m-red--Color: var(--pf-t--global--icon--color--nonstatus--on-red--default);
|
|
28
|
+
--pf-v6-c-avatar--m-red--BorderColor: var(--pf-t--global--border--color--nonstatus--red--default);
|
|
29
|
+
--pf-v6-c-avatar--m-orangered--BackgroundColor: var(--pf-t--global--color--nonstatus--orangered--default);
|
|
30
|
+
--pf-v6-c-avatar--m-orangered--Color: var(--pf-t--global--icon--color--nonstatus--on-orangered--default);
|
|
31
|
+
--pf-v6-c-avatar--m-orangered--BorderColor: var(--pf-t--global--border--color--nonstatus--orangered--default);
|
|
32
|
+
--pf-v6-c-avatar--m-orange--BackgroundColor: var(--pf-t--global--color--nonstatus--orange--default);
|
|
33
|
+
--pf-v6-c-avatar--m-orange--Color: var(--pf-t--global--icon--color--nonstatus--on-orange--default);
|
|
34
|
+
--pf-v6-c-avatar--m-orange--BorderColor: var(--pf-t--global--border--color--nonstatus--orange--default);
|
|
35
|
+
--pf-v6-c-avatar--m-yellow--BackgroundColor: var(--pf-t--global--color--nonstatus--yellow--default);
|
|
36
|
+
--pf-v6-c-avatar--m-yellow--Color: var(--pf-t--global--icon--color--nonstatus--on-yellow--default);
|
|
37
|
+
--pf-v6-c-avatar--m-yellow--BorderColor: var(--pf-t--global--border--color--nonstatus--yellow--default);
|
|
38
|
+
--pf-v6-c-avatar--m-green--BackgroundColor: var(--pf-t--global--color--nonstatus--green--default);
|
|
39
|
+
--pf-v6-c-avatar--m-green--Color: var(--pf-t--global--icon--color--nonstatus--on-green--default);
|
|
40
|
+
--pf-v6-c-avatar--m-green--BorderColor: var(--pf-t--global--border--color--nonstatus--green--default);
|
|
41
|
+
--pf-v6-c-avatar--m-teal--BackgroundColor: var(--pf-t--global--color--nonstatus--teal--default);
|
|
42
|
+
--pf-v6-c-avatar--m-teal--Color: var(--pf-t--global--icon--color--nonstatus--on-teal--default);
|
|
43
|
+
--pf-v6-c-avatar--m-teal--BorderColor: var(--pf-t--global--border--color--nonstatus--teal--default);
|
|
44
|
+
--pf-v6-c-avatar--m-blue--BackgroundColor: var(--pf-t--global--color--nonstatus--blue--default);
|
|
45
|
+
--pf-v6-c-avatar--m-blue--Color: var(--pf-t--global--icon--color--nonstatus--on-blue--default);
|
|
46
|
+
--pf-v6-c-avatar--m-blue--BorderColor: var(--pf-t--global--border--color--nonstatus--blue--default);
|
|
47
|
+
--pf-v6-c-avatar--m-purple--BackgroundColor: var(--pf-t--global--color--nonstatus--purple--default);
|
|
48
|
+
--pf-v6-c-avatar--m-purple--Color: var(--pf-t--global--icon--color--nonstatus--on-purple--default);
|
|
49
|
+
--pf-v6-c-avatar--m-purple--BorderColor: var(--pf-t--global--border--color--nonstatus--purple--default);
|
|
50
|
+
--pf-v6-c-avatar__initials--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
51
|
+
--pf-v6-c-avatar__initials--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
52
|
+
--pf-v6-c-avatar--m-sm__initials--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
53
|
+
--pf-v6-c-avatar--m-sm__initials--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
54
|
+
--pf-v6-c-avatar--m-lg__initials--FontSize: var(--pf-t--global--font--size--2xl);
|
|
55
|
+
--pf-v6-c-avatar--m-lg__initials--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
56
|
+
--pf-v6-c-avatar--m-lg__initials--FontFamily: var(--pf-t--global--font--family--heading);
|
|
57
|
+
--pf-v6-c-avatar--m-xl__initials--FontSize: var(--pf-t--global--font--size--4xl);
|
|
58
|
+
--pf-v6-c-avatar--m-xl__initials--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
59
|
+
--pf-v6-c-avatar--m-xl__initials--FontFamily: var(--pf-t--global--font--family--heading);
|
|
60
|
+
--pf-v6-c-avatar--m-gray__initials--Color: var(--pf-t--global--text--color--nonstatus--on-gray--hover);
|
|
61
|
+
--pf-v6-c-avatar--m-red__initials--Color: var(--pf-t--global--text--color--nonstatus--on-red--default);
|
|
62
|
+
--pf-v6-c-avatar--m-orangered__initials--Color: var(--pf-t--global--text--color--nonstatus--on-orangered--default);
|
|
63
|
+
--pf-v6-c-avatar--m-orange__initials--Color: var(--pf-t--global--text--color--nonstatus--on-orange--default);
|
|
64
|
+
--pf-v6-c-avatar--m-yellow__initials--Color: var(--pf-t--global--text--color--nonstatus--on-yellow--default);
|
|
65
|
+
--pf-v6-c-avatar--m-green__initials--Color: var(--pf-t--global--text--color--nonstatus--on-green--default);
|
|
66
|
+
--pf-v6-c-avatar--m-teal__initials--Color: var(--pf-t--global--text--color--nonstatus--on-teal--default);
|
|
67
|
+
--pf-v6-c-avatar--m-blue__initials--Color: var(--pf-t--global--text--color--nonstatus--on-blue--default);
|
|
68
|
+
--pf-v6-c-avatar--m-purple__initials--Color: var(--pf-t--global--text--color--nonstatus--on-purple--default);
|
|
17
69
|
}
|
|
18
70
|
|
|
19
71
|
.pf-v6-c-avatar {
|
|
20
72
|
width: var(--pf-v6-c-avatar--Width);
|
|
21
73
|
height: var(--pf-v6-c-avatar--Height);
|
|
74
|
+
font-size: var(--pf-v6-c-avatar--FontSize);
|
|
75
|
+
color: var(--pf-v6-c-avatar--Color, inherit);
|
|
76
|
+
background-color: var(--pf-v6-c-avatar--BackgroundColor, transparent);
|
|
22
77
|
border: var(--pf-v6-c-avatar--BorderWidth) solid var(--pf-v6-c-avatar--BorderColor);
|
|
23
78
|
border-radius: var(--pf-v6-c-avatar--BorderRadius);
|
|
24
79
|
}
|
|
80
|
+
div.pf-v6-c-avatar {
|
|
81
|
+
display: inline-flex;
|
|
82
|
+
align-items: center;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
overflow: clip;
|
|
85
|
+
vertical-align: middle;
|
|
86
|
+
}
|
|
87
|
+
|
|
25
88
|
.pf-v6-c-avatar.pf-m-bordered {
|
|
26
89
|
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-bordered--BorderColor);
|
|
27
90
|
--pf-v6-c-avatar--BorderWidth: var(--pf-v6-c-avatar--m-bordered--BorderWidth);
|
|
@@ -249,4 +312,85 @@
|
|
|
249
312
|
.pf-v6-c-avatar.pf-m-xl {
|
|
250
313
|
--pf-v6-c-avatar--Height: var(--pf-v6-c-avatar--m-xl--Height-on-2xl, var(--pf-v6-c-avatar--m-xl--Height-on-xl, var(--pf-v6-c-avatar--m-xl--Height-on-lg, var(--pf-v6-c-avatar--m-xl--Height-on-md, var(--pf-v6-c-avatar--m-xl--Height-on-sm, var(--pf-v6-c-avatar--m-xl--Height))))));
|
|
251
314
|
}
|
|
315
|
+
}
|
|
316
|
+
.pf-v6-c-avatar.pf-m-sm {
|
|
317
|
+
--pf-v6-c-avatar--FontSize: var(--pf-v6-c-avatar--m-sm--FontSize);
|
|
318
|
+
--pf-v6-c-avatar__initials--FontSize: var(--pf-v6-c-avatar--m-sm__initials--FontSize);
|
|
319
|
+
--pf-v6-c-avatar__initials--FontWeight: var(--pf-v6-c-avatar--m-sm__initials--FontWeight);
|
|
320
|
+
}
|
|
321
|
+
.pf-v6-c-avatar.pf-m-lg {
|
|
322
|
+
--pf-v6-c-avatar--FontSize: var(--pf-v6-c-avatar--m-lg--FontSize);
|
|
323
|
+
--pf-v6-c-avatar__initials--FontSize: var(--pf-v6-c-avatar--m-lg__initials--FontSize);
|
|
324
|
+
--pf-v6-c-avatar__initials--FontWeight: var(--pf-v6-c-avatar--m-lg__initials--FontWeight);
|
|
325
|
+
--pf-v6-c-avatar__initials--FontFamily: var(--pf-v6-c-avatar--m-lg__initials--FontFamily);
|
|
326
|
+
}
|
|
327
|
+
.pf-v6-c-avatar.pf-m-xl {
|
|
328
|
+
--pf-v6-c-avatar--FontSize: var(--pf-v6-c-avatar--m-xl--FontSize);
|
|
329
|
+
--pf-v6-c-avatar__initials--FontSize: var(--pf-v6-c-avatar--m-xl__initials--FontSize);
|
|
330
|
+
--pf-v6-c-avatar__initials--FontWeight: var(--pf-v6-c-avatar--m-xl__initials--FontWeight);
|
|
331
|
+
--pf-v6-c-avatar__initials--FontFamily: var(--pf-v6-c-avatar--m-xl__initials--FontFamily);
|
|
332
|
+
}
|
|
333
|
+
.pf-v6-c-avatar.pf-m-colorful {
|
|
334
|
+
--pf-v6-c-avatar--BorderWidth: var(--pf-v6-c-avatar--m-colorful--BorderWidth);
|
|
335
|
+
}
|
|
336
|
+
.pf-v6-c-avatar.pf-m-red {
|
|
337
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-red--BackgroundColor);
|
|
338
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-red--Color);
|
|
339
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-red--BorderColor);
|
|
340
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-red__initials--Color);
|
|
341
|
+
}
|
|
342
|
+
.pf-v6-c-avatar.pf-m-orangered {
|
|
343
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-orangered--BackgroundColor);
|
|
344
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-orangered--Color);
|
|
345
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-orangered--BorderColor);
|
|
346
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-orangered__initials--Color);
|
|
347
|
+
}
|
|
348
|
+
.pf-v6-c-avatar.pf-m-orange {
|
|
349
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-orange--BackgroundColor);
|
|
350
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-orange--Color);
|
|
351
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-orange--BorderColor);
|
|
352
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-orange__initials--Color);
|
|
353
|
+
}
|
|
354
|
+
.pf-v6-c-avatar.pf-m-yellow {
|
|
355
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-yellow--BackgroundColor);
|
|
356
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-yellow--Color);
|
|
357
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-yellow--BorderColor);
|
|
358
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-yellow__initials--Color);
|
|
359
|
+
}
|
|
360
|
+
.pf-v6-c-avatar.pf-m-green {
|
|
361
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-green--BackgroundColor);
|
|
362
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-green--Color);
|
|
363
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-green--BorderColor);
|
|
364
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-green__initials--Color);
|
|
365
|
+
}
|
|
366
|
+
.pf-v6-c-avatar.pf-m-teal {
|
|
367
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-teal--BackgroundColor);
|
|
368
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-teal--Color);
|
|
369
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-teal--BorderColor);
|
|
370
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-teal__initials--Color);
|
|
371
|
+
}
|
|
372
|
+
.pf-v6-c-avatar.pf-m-blue {
|
|
373
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-blue--BackgroundColor);
|
|
374
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-blue--Color);
|
|
375
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-blue--BorderColor);
|
|
376
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-blue__initials--Color);
|
|
377
|
+
}
|
|
378
|
+
.pf-v6-c-avatar.pf-m-purple {
|
|
379
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-purple--BackgroundColor);
|
|
380
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-purple--Color);
|
|
381
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-purple--BorderColor);
|
|
382
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-purple__initials--Color);
|
|
383
|
+
}
|
|
384
|
+
.pf-v6-c-avatar.pf-m-gray {
|
|
385
|
+
--pf-v6-c-avatar--BackgroundColor: var(--pf-v6-c-avatar--m-gray--BackgroundColor);
|
|
386
|
+
--pf-v6-c-avatar--Color: var(--pf-v6-c-avatar--m-gray--Color);
|
|
387
|
+
--pf-v6-c-avatar--BorderColor: var(--pf-v6-c-avatar--m-gray--BorderColor);
|
|
388
|
+
--pf-v6-c-avatar__initials--Color: var(--pf-v6-c-avatar--m-gray__initials--Color);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.pf-v6-c-avatar__initials {
|
|
392
|
+
font-family: var(--pf-v6-c-avatar__initials--FontFamily, revert);
|
|
393
|
+
font-size: var(--pf-v6-c-avatar__initials--FontSize);
|
|
394
|
+
font-weight: var(--pf-v6-c-avatar__initials--FontWeight);
|
|
395
|
+
color: var(--pf-v6-c-avatar__initials--Color);
|
|
252
396
|
}
|
|
@@ -9,26 +9,93 @@ $pf-v6-c-avatar--sizes: "sm", "md", "lg", "xl";
|
|
|
9
9
|
--#{$avatar}--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
10
10
|
--#{$avatar}--Width: #{pf-size-prem(36px)};
|
|
11
11
|
--#{$avatar}--Height: #{pf-size-prem(36px)};
|
|
12
|
+
--#{$avatar}--FontSize: calc(#{pf-size-prem(36px)} / 1.414); // 1.414 is the square root of 2, used to get the inner square of the avatar
|
|
12
13
|
--#{$avatar}--m-sm--Width: #{pf-size-prem(24px)};
|
|
13
14
|
--#{$avatar}--m-sm--Height: #{pf-size-prem(24px)};
|
|
15
|
+
--#{$avatar}--m-sm--FontSize: calc(#{pf-size-prem(24px)} / 1.414);
|
|
14
16
|
--#{$avatar}--m-md--Width: #{pf-size-prem(36px)};
|
|
15
17
|
--#{$avatar}--m-md--Height: #{pf-size-prem(36px)};
|
|
18
|
+
--#{$avatar}--m-md--FontSize: calc(#{pf-size-prem(36px)} / 1.414);
|
|
16
19
|
--#{$avatar}--m-lg--Width: #{pf-size-prem(72px)};
|
|
17
20
|
--#{$avatar}--m-lg--Height: #{pf-size-prem(72px)};
|
|
21
|
+
--#{$avatar}--m-lg--FontSize: calc(#{pf-size-prem(72px)} / 1.414);
|
|
18
22
|
--#{$avatar}--m-xl--Width: #{pf-size-prem(128px)};
|
|
19
23
|
--#{$avatar}--m-xl--Height: #{pf-size-prem(128px)};
|
|
24
|
+
--#{$avatar}--m-xl--FontSize: calc(#{pf-size-prem(128px)} / 1.414);
|
|
20
25
|
|
|
21
26
|
// Bordered
|
|
22
27
|
--#{$avatar}--m-bordered--BorderColor: var(--pf-t--global--border--color--default);
|
|
23
28
|
--#{$avatar}--m-bordered--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
29
|
+
|
|
30
|
+
// Colorful
|
|
31
|
+
--#{$avatar}--m-colorful--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
32
|
+
--#{$avatar}--m-gray--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
33
|
+
--#{$avatar}--m-gray--Color: var(--pf-t--global--icon--color--nonstatus--on-gray--hover);
|
|
34
|
+
--#{$avatar}--m-gray--BorderColor: var(--pf-t--global--border--color--default);
|
|
35
|
+
--#{$avatar}--m-red--BackgroundColor: var(--pf-t--global--color--nonstatus--red--default);
|
|
36
|
+
--#{$avatar}--m-red--Color: var(--pf-t--global--icon--color--nonstatus--on-red--default);
|
|
37
|
+
--#{$avatar}--m-red--BorderColor: var(--pf-t--global--border--color--nonstatus--red--default);
|
|
38
|
+
--#{$avatar}--m-orangered--BackgroundColor: var(--pf-t--global--color--nonstatus--orangered--default);
|
|
39
|
+
--#{$avatar}--m-orangered--Color: var(--pf-t--global--icon--color--nonstatus--on-orangered--default);
|
|
40
|
+
--#{$avatar}--m-orangered--BorderColor: var(--pf-t--global--border--color--nonstatus--orangered--default);
|
|
41
|
+
--#{$avatar}--m-orange--BackgroundColor: var(--pf-t--global--color--nonstatus--orange--default);
|
|
42
|
+
--#{$avatar}--m-orange--Color: var(--pf-t--global--icon--color--nonstatus--on-orange--default);
|
|
43
|
+
--#{$avatar}--m-orange--BorderColor: var(--pf-t--global--border--color--nonstatus--orange--default);
|
|
44
|
+
--#{$avatar}--m-yellow--BackgroundColor: var(--pf-t--global--color--nonstatus--yellow--default);
|
|
45
|
+
--#{$avatar}--m-yellow--Color: var(--pf-t--global--icon--color--nonstatus--on-yellow--default);
|
|
46
|
+
--#{$avatar}--m-yellow--BorderColor: var(--pf-t--global--border--color--nonstatus--yellow--default);
|
|
47
|
+
--#{$avatar}--m-green--BackgroundColor: var(--pf-t--global--color--nonstatus--green--default);
|
|
48
|
+
--#{$avatar}--m-green--Color: var(--pf-t--global--icon--color--nonstatus--on-green--default);
|
|
49
|
+
--#{$avatar}--m-green--BorderColor: var(--pf-t--global--border--color--nonstatus--green--default);
|
|
50
|
+
--#{$avatar}--m-teal--BackgroundColor: var(--pf-t--global--color--nonstatus--teal--default);
|
|
51
|
+
--#{$avatar}--m-teal--Color: var(--pf-t--global--icon--color--nonstatus--on-teal--default);
|
|
52
|
+
--#{$avatar}--m-teal--BorderColor: var(--pf-t--global--border--color--nonstatus--teal--default);
|
|
53
|
+
--#{$avatar}--m-blue--BackgroundColor: var(--pf-t--global--color--nonstatus--blue--default);
|
|
54
|
+
--#{$avatar}--m-blue--Color: var(--pf-t--global--icon--color--nonstatus--on-blue--default);
|
|
55
|
+
--#{$avatar}--m-blue--BorderColor: var(--pf-t--global--border--color--nonstatus--blue--default);
|
|
56
|
+
--#{$avatar}--m-purple--BackgroundColor: var(--pf-t--global--color--nonstatus--purple--default);
|
|
57
|
+
--#{$avatar}--m-purple--Color: var(--pf-t--global--icon--color--nonstatus--on-purple--default);
|
|
58
|
+
--#{$avatar}--m-purple--BorderColor: var(--pf-t--global--border--color--nonstatus--purple--default);
|
|
59
|
+
|
|
60
|
+
// Initials
|
|
61
|
+
--#{$avatar}__initials--FontSize: var(--pf-t--global--font--size--body--lg);
|
|
62
|
+
--#{$avatar}__initials--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
63
|
+
--#{$avatar}--m-sm__initials--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
64
|
+
--#{$avatar}--m-sm__initials--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
65
|
+
--#{$avatar}--m-lg__initials--FontSize: var(--pf-t--global--font--size--2xl);
|
|
66
|
+
--#{$avatar}--m-lg__initials--FontWeight: var(--pf-t--global--font--weight--heading--bold);
|
|
67
|
+
--#{$avatar}--m-lg__initials--FontFamily: var(--pf-t--global--font--family--heading);
|
|
68
|
+
--#{$avatar}--m-xl__initials--FontSize: var(--pf-t--global--font--size--4xl);
|
|
69
|
+
--#{$avatar}--m-xl__initials--FontWeight: var(--pf-t--global--font--weight--heading--default);
|
|
70
|
+
--#{$avatar}--m-xl__initials--FontFamily: var(--pf-t--global--font--family--heading);
|
|
71
|
+
--#{$avatar}--m-gray__initials--Color: var(--pf-t--global--text--color--nonstatus--on-gray--hover);
|
|
72
|
+
--#{$avatar}--m-red__initials--Color: var(--pf-t--global--text--color--nonstatus--on-red--default);
|
|
73
|
+
--#{$avatar}--m-orangered__initials--Color: var(--pf-t--global--text--color--nonstatus--on-orangered--default);
|
|
74
|
+
--#{$avatar}--m-orange__initials--Color: var(--pf-t--global--text--color--nonstatus--on-orange--default);
|
|
75
|
+
--#{$avatar}--m-yellow__initials--Color: var(--pf-t--global--text--color--nonstatus--on-yellow--default);
|
|
76
|
+
--#{$avatar}--m-green__initials--Color: var(--pf-t--global--text--color--nonstatus--on-green--default);
|
|
77
|
+
--#{$avatar}--m-teal__initials--Color: var(--pf-t--global--text--color--nonstatus--on-teal--default);
|
|
78
|
+
--#{$avatar}--m-blue__initials--Color: var(--pf-t--global--text--color--nonstatus--on-blue--default);
|
|
79
|
+
--#{$avatar}--m-purple__initials--Color: var(--pf-t--global--text--color--nonstatus--on-purple--default);
|
|
24
80
|
}
|
|
25
81
|
|
|
26
82
|
.#{$avatar} {
|
|
27
83
|
width: var(--#{$avatar}--Width);
|
|
28
84
|
height: var(--#{$avatar}--Height);
|
|
85
|
+
font-size: var(--#{$avatar}--FontSize);
|
|
86
|
+
color: var(--#{$avatar}--Color, inherit);
|
|
87
|
+
background-color: var(--#{$avatar}--BackgroundColor, transparent);
|
|
29
88
|
border: var(--#{$avatar}--BorderWidth) solid var(--#{$avatar}--BorderColor);
|
|
30
89
|
border-radius: var(--#{$avatar}--BorderRadius);
|
|
31
90
|
|
|
91
|
+
@at-root div#{&} {
|
|
92
|
+
display: inline-flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
overflow: clip;
|
|
96
|
+
vertical-align: middle;
|
|
97
|
+
}
|
|
98
|
+
|
|
32
99
|
&.pf-m-bordered {
|
|
33
100
|
--#{$avatar}--BorderColor: var(--#{$avatar}--m-bordered--BorderColor);
|
|
34
101
|
--#{$avatar}--BorderWidth: var(--#{$avatar}--m-bordered--BorderWidth);
|
|
@@ -40,4 +107,98 @@ $pf-v6-c-avatar--sizes: "sm", "md", "lg", "xl";
|
|
|
40
107
|
@include pf-v6-build-css-variable-stack("--#{$avatar}--Height", "--#{$avatar}--m-#{$size}--Height", $pf-v6-c-avatar--breakpoint-map);
|
|
41
108
|
}
|
|
42
109
|
}
|
|
110
|
+
|
|
111
|
+
&.pf-m-sm {
|
|
112
|
+
--#{$avatar}--FontSize: var(--#{$avatar}--m-sm--FontSize);
|
|
113
|
+
--#{$avatar}__initials--FontSize: var(--#{$avatar}--m-sm__initials--FontSize);
|
|
114
|
+
--#{$avatar}__initials--FontWeight: var(--#{$avatar}--m-sm__initials--FontWeight);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&.pf-m-lg {
|
|
118
|
+
--#{$avatar}--FontSize: var(--#{$avatar}--m-lg--FontSize);
|
|
119
|
+
--#{$avatar}__initials--FontSize: var(--#{$avatar}--m-lg__initials--FontSize);
|
|
120
|
+
--#{$avatar}__initials--FontWeight: var(--#{$avatar}--m-lg__initials--FontWeight);
|
|
121
|
+
--#{$avatar}__initials--FontFamily: var(--#{$avatar}--m-lg__initials--FontFamily);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.pf-m-xl {
|
|
125
|
+
--#{$avatar}--FontSize: var(--#{$avatar}--m-xl--FontSize);
|
|
126
|
+
--#{$avatar}__initials--FontSize: var(--#{$avatar}--m-xl__initials--FontSize);
|
|
127
|
+
--#{$avatar}__initials--FontWeight: var(--#{$avatar}--m-xl__initials--FontWeight);
|
|
128
|
+
--#{$avatar}__initials--FontFamily: var(--#{$avatar}--m-xl__initials--FontFamily);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&.pf-m-colorful {
|
|
132
|
+
--#{$avatar}--BorderWidth: var(--#{$avatar}--m-colorful--BorderWidth);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.pf-m-red {
|
|
136
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-red--BackgroundColor);
|
|
137
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-red--Color);
|
|
138
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-red--BorderColor);
|
|
139
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-red__initials--Color);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.pf-m-orangered {
|
|
143
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-orangered--BackgroundColor);
|
|
144
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-orangered--Color);
|
|
145
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-orangered--BorderColor);
|
|
146
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-orangered__initials--Color);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&.pf-m-orange {
|
|
150
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-orange--BackgroundColor);
|
|
151
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-orange--Color);
|
|
152
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-orange--BorderColor);
|
|
153
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-orange__initials--Color);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&.pf-m-yellow {
|
|
157
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-yellow--BackgroundColor);
|
|
158
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-yellow--Color);
|
|
159
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-yellow--BorderColor);
|
|
160
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-yellow__initials--Color);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&.pf-m-green {
|
|
164
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-green--BackgroundColor);
|
|
165
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-green--Color);
|
|
166
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-green--BorderColor);
|
|
167
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-green__initials--Color);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&.pf-m-teal {
|
|
171
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-teal--BackgroundColor);
|
|
172
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-teal--Color);
|
|
173
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-teal--BorderColor);
|
|
174
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-teal__initials--Color);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.pf-m-blue {
|
|
178
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-blue--BackgroundColor);
|
|
179
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-blue--Color);
|
|
180
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-blue--BorderColor);
|
|
181
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-blue__initials--Color);
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.pf-m-purple {
|
|
185
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-purple--BackgroundColor);
|
|
186
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-purple--Color);
|
|
187
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-purple--BorderColor);
|
|
188
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-purple__initials--Color);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
&.pf-m-gray {
|
|
192
|
+
--#{$avatar}--BackgroundColor: var(--#{$avatar}--m-gray--BackgroundColor);
|
|
193
|
+
--#{$avatar}--Color: var(--#{$avatar}--m-gray--Color);
|
|
194
|
+
--#{$avatar}--BorderColor: var(--#{$avatar}--m-gray--BorderColor);
|
|
195
|
+
--#{$avatar}__initials--Color: var(--#{$avatar}--m-gray__initials--Color);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.#{$avatar}__initials {
|
|
200
|
+
font-family: var(--#{$avatar}__initials--FontFamily, revert);
|
|
201
|
+
font-size: var(--#{$avatar}__initials--FontSize);
|
|
202
|
+
font-weight: var(--#{$avatar}__initials--FontWeight);
|
|
203
|
+
color: var(--#{$avatar}__initials--Color);
|
|
43
204
|
}
|
|
@@ -68,10 +68,10 @@
|
|
|
68
68
|
font-weight: var(--pf-v6-c-breadcrumb__link--FontWeight);
|
|
69
69
|
line-height: inherit;
|
|
70
70
|
color: var(--pf-v6-c-breadcrumb__link--Color);
|
|
71
|
+
overflow-wrap: break-word;
|
|
71
72
|
text-decoration-line: var(--pf-v6-c-breadcrumb__link--TextDecorationLine);
|
|
72
73
|
text-decoration-style: var(--pf-v6-c-breadcrumb__link--TextDecorationStyle);
|
|
73
74
|
text-decoration-color: var(--pf-v6-c-breadcrumb__link--TextDecorationColor);
|
|
74
|
-
word-break: break-word;
|
|
75
75
|
background-color: var(--pf-v6-c-breadcrumb__link--BackgroundColor);
|
|
76
76
|
}
|
|
77
77
|
.pf-v6-c-breadcrumb__link:is(:hover, :focus) {
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
font-weight: var(--#{$breadcrumb}__link--FontWeight);
|
|
84
84
|
line-height: inherit;
|
|
85
85
|
color: var(--#{$breadcrumb}__link--Color);
|
|
86
|
+
overflow-wrap: break-word;
|
|
86
87
|
text-decoration-line: var(--#{$breadcrumb}__link--TextDecorationLine);
|
|
87
88
|
text-decoration-style: var(--#{$breadcrumb}__link--TextDecorationStyle);
|
|
88
89
|
text-decoration-color: var(--#{$breadcrumb}__link--TextDecorationColor);
|
|
89
|
-
word-break: break-word;
|
|
90
90
|
background-color: var(--#{$breadcrumb}__link--BackgroundColor);
|
|
91
91
|
|
|
92
92
|
&:is(:hover, :focus) {
|