@patternfly/patternfly 6.0.0-alpha.7 → 6.0.0-alpha.8
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/README.md +13 -3
- package/assets/icons/iconUnicodes.json +1 -0
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +6 -129
- package/base/_common.scss +21 -0
- package/base/_globals.scss +1 -1
- package/base/_variables.scss +7 -0
- package/base/patternfly-common.css +16 -2
- package/base/patternfly-globals.css +1 -1
- package/base/patternfly-icons.css +5 -1
- package/base/patternfly-pf-icons.css +5 -1
- package/base/patternfly-variables.css +16 -0
- package/base/tokens/_tokens-font.scss +16 -14
- package/components/AboutModalBox/about-modal-box.css +23 -12
- package/components/AboutModalBox/about-modal-box.scss +25 -12
- package/components/Accordion/accordion.css +33 -20
- package/components/Accordion/accordion.scss +32 -20
- package/components/ActionList/action-list.css +2 -2
- package/components/ActionList/action-list.scss +2 -2
- package/components/Alert/alert-group.css +7 -4
- package/components/Alert/alert-group.scss +7 -4
- package/components/Alert/alert.css +19 -13
- package/components/Alert/alert.scss +18 -13
- package/components/AppLauncher/app-launcher.css +32 -23
- package/components/AppLauncher/app-launcher.scss +32 -23
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +2 -2
- package/components/Backdrop/backdrop.scss +2 -2
- package/components/BackgroundImage/background-image.css +6 -3
- package/components/BackgroundImage/background-image.scss +8 -3
- package/components/Badge/badge.css +2 -2
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +5 -5
- package/components/Banner/banner.scss +5 -2
- package/components/Breadcrumb/breadcrumb.css +9 -3
- package/components/Breadcrumb/breadcrumb.scss +8 -3
- package/components/Button/button.css +33 -21
- package/components/Button/button.scss +35 -23
- package/components/Button/themes/dark/button.scss +1 -1
- package/components/CalendarMonth/calendar-month.css +25 -15
- package/components/CalendarMonth/calendar-month.scss +23 -15
- package/components/Card/card.css +25 -17
- package/components/Card/card.scss +24 -17
- package/components/Check/check.css +2 -2
- package/components/Check/check.scss +2 -2
- package/components/Chip/chip-group.css +6 -6
- package/components/Chip/chip-group.scss +6 -6
- package/components/Chip/chip.css +16 -9
- package/components/Chip/chip.scss +17 -9
- package/components/ClipboardCopy/clipboard-copy.css +19 -10
- package/components/ClipboardCopy/clipboard-copy.scss +16 -8
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +2 -2
- package/components/CodeBlock/code-block.css +6 -3
- package/components/CodeBlock/code-block.scss +6 -3
- package/components/CodeEditor/code-editor.css +31 -22
- package/components/CodeEditor/code-editor.scss +30 -21
- package/components/CodeEditor/themes/dark/code-editor.scss +1 -1
- package/components/Content/content.css +33 -30
- package/components/Content/content.scss +33 -30
- package/components/ContextSelector/context-selector.css +41 -26
- package/components/ContextSelector/context-selector.scss +40 -25
- package/components/ContextSelector/themes/dark/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.css +21 -21
- package/components/DataList/data-list-grid.scss +3 -3
- package/components/DataList/data-list.css +69 -56
- package/components/DataList/data-list.scss +47 -35
- package/components/DatePicker/date-picker.css +8 -8
- package/components/DatePicker/date-picker.scss +8 -8
- package/components/DescriptionList/description-list.css +8 -5
- package/components/DescriptionList/description-list.scss +8 -5
- package/components/DragDrop/drag-drop.css +8 -8
- package/components/DragDrop/drag-drop.scss +8 -8
- package/components/Drawer/drawer.css +120 -61
- package/components/Drawer/drawer.scss +92 -43
- package/components/Dropdown/dropdown.css +75 -66
- package/components/Dropdown/dropdown.scss +65 -56
- package/components/DualListSelector/dual-list-selector.css +29 -15
- package/components/DualListSelector/dual-list-selector.scss +30 -15
- package/components/EmptyState/empty-state.css +7 -4
- package/components/EmptyState/empty-state.scss +7 -4
- package/components/ExpandableSection/expandable-section.css +17 -10
- package/components/ExpandableSection/expandable-section.scss +15 -10
- package/components/FileUpload/file-upload.css +9 -15
- package/components/FileUpload/file-upload.scss +9 -15
- package/components/Form/form.css +53 -50
- package/components/Form/form.scss +46 -44
- package/components/FormControl/form-control.css +18 -9
- package/components/FormControl/form-control.scss +18 -9
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +1 -1
- package/components/Hint/hint.css +9 -6
- package/components/Hint/hint.scss +9 -6
- package/components/Icon/icon.css +1 -1
- package/components/Icon/icon.scss +1 -1
- package/components/InlineEdit/inline-edit.css +4 -4
- package/components/InlineEdit/inline-edit.scss +4 -4
- package/components/InputGroup/input-group.css +12 -6
- package/components/InputGroup/input-group.scss +11 -5
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/JumpLinks/jump-links.css +27 -24
- package/components/JumpLinks/jump-links.scss +26 -24
- package/components/Label/label-group.css +13 -10
- package/components/Label/label-group.scss +13 -10
- package/components/Label/label.css +9 -9
- package/components/Label/label.scss +9 -9
- package/components/List/list.css +9 -9
- package/components/List/list.scss +9 -9
- package/components/LogViewer/log-viewer.css +14 -14
- package/components/LogViewer/log-viewer.scss +14 -14
- package/components/Login/login.css +36 -27
- package/components/Login/login.scss +36 -27
- package/components/Masthead/masthead.css +19 -22
- package/components/Masthead/masthead.scss +19 -22
- package/components/Menu/menu.css +79 -65
- package/components/Menu/menu.scss +80 -68
- package/components/MenuToggle/menu-toggle.css +33 -27
- package/components/MenuToggle/menu-toggle.scss +33 -27
- package/components/ModalBox/modal-box.css +19 -19
- package/components/ModalBox/modal-box.scss +20 -20
- package/components/MultipleFileUpload/multiple-file-upload.css +11 -8
- package/components/MultipleFileUpload/multiple-file-upload.scss +11 -8
- package/components/Nav/nav.css +120 -93
- package/components/Nav/nav.scss +120 -93
- package/components/Nav/themes/dark/nav.scss +2 -2
- package/components/NotificationBadge/notification-badge.css +13 -7
- package/components/NotificationBadge/notification-badge.scss +13 -7
- package/components/NotificationDrawer/notification-drawer.css +32 -19
- package/components/NotificationDrawer/notification-drawer.scss +30 -19
- package/components/NumberInput/number-input.css +2 -2
- package/components/NumberInput/number-input.scss +2 -2
- package/components/OptionsMenu/options-menu.css +43 -31
- package/components/OptionsMenu/options-menu.scss +43 -31
- package/components/OverflowMenu/overflow-menu.css +2 -2
- package/components/OverflowMenu/overflow-menu.scss +2 -2
- package/components/Page/page.css +135 -77
- package/components/Page/page.scss +81 -52
- package/components/Page/themes/dark/page.scss +1 -1
- package/components/Pagination/pagination.css +27 -17
- package/components/Pagination/pagination.scss +25 -17
- package/components/Panel/panel.css +13 -7
- package/components/Panel/panel.scss +13 -7
- package/components/Popover/popover.css +72 -40
- package/components/Popover/popover.scss +95 -75
- package/components/Progress/progress.css +9 -7
- package/components/Progress/progress.scss +12 -7
- package/components/ProgressStepper/progress-stepper.css +26 -20
- package/components/ProgressStepper/progress-stepper.scss +25 -19
- package/components/Radio/radio.css +3 -3
- package/components/Radio/radio.scss +3 -3
- package/components/Select/select.css +56 -47
- package/components/Select/select.scss +56 -47
- package/components/Sidebar/sidebar.css +11 -5
- package/components/Sidebar/sidebar.scss +11 -5
- package/components/SimpleList/simple-list.css +10 -4
- package/components/SimpleList/simple-list.scss +10 -4
- package/components/Skeleton/skeleton.css +6 -5
- package/components/Skeleton/skeleton.scss +4 -5
- package/components/SkipToContent/skip-to-content.css +3 -3
- package/components/SkipToContent/skip-to-content.scss +3 -3
- package/components/Slider/slider.css +47 -26
- package/components/Slider/slider.scss +56 -28
- package/components/Switch/switch.css +9 -5
- package/components/Switch/switch.scss +10 -6
- package/components/TabContent/tab-content.css +4 -1
- package/components/TabContent/tab-content.scss +4 -1
- package/components/Table/table-grid.css +256 -195
- package/components/Table/table-grid.scss +53 -39
- package/components/Table/table-scrollable.css +4 -4
- package/components/Table/table-scrollable.scss +6 -4
- package/components/Table/table-tree-view.css +112 -105
- package/components/Table/table-tree-view.scss +38 -33
- package/components/Table/table.css +92 -70
- package/components/Table/table.scss +90 -70
- package/components/Tabs/tabs.css +76 -48
- package/components/Tabs/tabs.scss +74 -48
- package/components/TextInputGroup/text-input-group.css +15 -15
- package/components/TextInputGroup/text-input-group.scss +15 -15
- package/components/Tile/tile.css +10 -10
- package/components/Tile/tile.scss +10 -10
- package/components/ToggleGroup/toggle-group.css +14 -11
- package/components/ToggleGroup/toggle-group.scss +14 -11
- package/components/Toolbar/toolbar.css +44 -41
- package/components/Toolbar/toolbar.scss +26 -21
- package/components/Tooltip/tooltip.css +60 -28
- package/components/Tooltip/tooltip.scss +76 -56
- package/components/TreeView/tree-view.css +48 -27
- package/components/TreeView/tree-view.scss +50 -28
- package/components/Truncate/truncate.css +9 -0
- package/components/Truncate/truncate.scss +16 -3
- package/components/Wizard/wizard.css +57 -36
- package/components/Wizard/wizard.scss +57 -36
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +15 -3
- package/docs/components/Card/examples/Card.md +15 -15
- package/docs/components/Check/examples/Check.md +71 -59
- package/docs/components/Chip/examples/Chip.md +1 -1
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +106 -0
- package/docs/components/CodeEditor/examples/CodeEditor.md +3 -3
- package/docs/components/DragDrop/examples/DragDrop.css +2 -2
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/DualListSelector/examples/DualListSelector.md +64 -16
- package/docs/components/Label/examples/Label.md +1 -1
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +120 -30
- package/docs/components/Menu/examples/Menu.css +8 -0
- package/docs/components/Menu/examples/Menu.md +90 -73
- package/docs/components/MenuToggle/examples/MenuToggle.md +60 -39
- package/docs/components/ModalBox/examples/ModalBox.css +3 -8
- package/docs/components/Nav/examples/Navigation.css +4 -21
- package/docs/components/Nav/examples/Navigation.md +99 -0
- package/docs/components/OptionsMenu/deprecated/options-menu.md +12 -3
- package/docs/components/Popover/examples/Popover.css +4 -9
- package/docs/components/Radio/examples/Radio.md +63 -55
- package/docs/components/Select/deprecated/Select.md +184 -177
- package/docs/components/Table/examples/Table.css +2 -2
- package/docs/components/Table/examples/Table.md +2 -2
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +1 -1
- package/docs/components/Tile/examples/Tile.css +1 -1
- package/docs/components/Toolbar/examples/Toolbar.md +525 -431
- package/docs/components/Tooltip/examples/Tooltip.css +4 -0
- package/docs/components/Tooltip/examples/Tooltip.md +3 -1
- package/docs/components/Truncate/examples/Truncate.md +2 -2
- package/docs/demos/Card/examples/Card.css +3 -3
- package/docs/demos/Card/examples/Card.md +26 -10
- package/docs/demos/CardView/examples/CardView.md +24 -20
- package/docs/demos/Dashboard/examples/Dashboard.md +3 -3
- package/docs/demos/DataList/examples/DataList.md +8 -2
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +160 -124
- package/docs/demos/Skeleton/examples/Skeleton.md +7 -35
- package/docs/demos/Table/examples/Table.md +336 -252
- package/docs/demos/Tabs/examples/Tabs.md +28 -21
- package/docs/demos/Toolbar/examples/Toolbar.css +5 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +44 -44
- package/docs/layouts/Flex/examples/Flex.md +5 -5
- package/docs/utilities/BoxShadow/examples/box-shadow.css +5 -5
- package/icons/pficons.mjs +1 -0
- package/layouts/Flex/flex.css +115 -43
- package/layouts/Flex/flex.scss +20 -8
- package/package.json +9 -5
- package/patternfly-addons.css +732 -972
- package/patternfly-base-no-globals-theme-dark-unversioned.css +37 -3
- package/patternfly-base-no-globals.css +37 -3
- package/patternfly-base-theme-dark-unversioned.css +38 -4
- package/patternfly-base.css +38 -4
- package/patternfly-no-globals.css +2695 -1875
- package/patternfly-theme-dark-unversioned.css +2696 -1876
- package/patternfly.css +2696 -1876
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/functions.scss +6 -0
- package/sass-utilities/mixins.scss +62 -2
- package/sass-utilities/scss-variables.scss +8 -8
- package/sass-utilities/themes/dark/mixins.scss +3 -1
- package/utilities/Accessibility/accessibility.css +12 -12
- package/utilities/Spacing/spacing.css +720 -960
- package/utilities/Spacing/spacing.scss +4 -8
|
@@ -151,8 +151,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
151
151
|
position: relative;
|
|
152
152
|
display: grid;
|
|
153
153
|
row-gap: var(--#{$toolbar}--RowGap);
|
|
154
|
-
padding-
|
|
155
|
-
padding-
|
|
154
|
+
padding-block-start: var(--#{$toolbar}--PaddingTop);
|
|
155
|
+
padding-block-end: var(--#{$toolbar}--PaddingBottom);
|
|
156
156
|
background-color: var(--#{$toolbar}--BackgroundColor);
|
|
157
157
|
|
|
158
158
|
&.pf-m-page-insets {
|
|
@@ -162,7 +162,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
162
162
|
|
|
163
163
|
&.pf-m-sticky {
|
|
164
164
|
position: sticky;
|
|
165
|
-
|
|
165
|
+
inset-block-start: 0;
|
|
166
166
|
z-index: var(--#{$toolbar}--m-sticky--ZIndex);
|
|
167
167
|
box-shadow: var(--#{$toolbar}--m-sticky--BoxShadow);
|
|
168
168
|
}
|
|
@@ -216,7 +216,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
> .#{$divider}.pf-m-vertical {
|
|
219
|
-
margin-
|
|
219
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
220
220
|
|
|
221
221
|
&:last-child {
|
|
222
222
|
--#{$toolbar}--spacer: 0;
|
|
@@ -257,7 +257,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
257
257
|
row-gap: var(--#{$toolbar}__group--RowGap);
|
|
258
258
|
align-items: var(--#{$toolbar}__group--AlignItems);
|
|
259
259
|
align-self: var(--#{$toolbar}__group--AlignSelf);
|
|
260
|
-
margin-
|
|
260
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
261
261
|
|
|
262
262
|
// Button group
|
|
263
263
|
&.pf-m-button-group {
|
|
@@ -286,7 +286,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
> * + * {
|
|
289
|
-
margin-
|
|
289
|
+
margin-inline-start: -1px;
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
|
|
@@ -322,7 +322,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
322
322
|
align-self: var(--#{$toolbar}__item--AlignSelf);
|
|
323
323
|
width: var(--#{$toolbar}__item--Width--base);
|
|
324
324
|
min-width: var(--#{$toolbar}__item--MinWidth--base);
|
|
325
|
-
margin-
|
|
325
|
+
margin-inline-end: var(--#{$toolbar}--spacer);
|
|
326
326
|
|
|
327
327
|
&.pf-m-align-items-start {
|
|
328
328
|
align-items: flex-start;
|
|
@@ -383,7 +383,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
383
383
|
|
|
384
384
|
// Total items
|
|
385
385
|
&.pf-m-pagination {
|
|
386
|
-
margin-
|
|
386
|
+
margin-inline-start: auto;
|
|
387
387
|
|
|
388
388
|
.#{$pagination} {
|
|
389
389
|
flex-wrap: nowrap;
|
|
@@ -408,6 +408,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
408
408
|
display: inline-block;
|
|
409
409
|
transition: var(--#{$toolbar}__expand-all-icon--Transition);
|
|
410
410
|
transform: rotate(var(--#{$toolbar}__expand-all-icon--Rotate));
|
|
411
|
+
|
|
412
|
+
// @include pf-v5-mirror-inline-on-rtl; - TODO: mirror this icon in breaking change
|
|
411
413
|
}
|
|
412
414
|
|
|
413
415
|
.#{$toolbar}__content,
|
|
@@ -422,8 +424,8 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
422
424
|
position: relative;
|
|
423
425
|
row-gap: var(--#{$toolbar}__content--RowGap);
|
|
424
426
|
align-items: var(--#{$toolbar}__content--AlignItems);
|
|
425
|
-
padding-
|
|
426
|
-
padding-
|
|
427
|
+
padding-inline-start: var(--#{$toolbar}__content--PaddingLeft);
|
|
428
|
+
padding-inline-end: var(--#{$toolbar}__content--PaddingRight);
|
|
427
429
|
}
|
|
428
430
|
|
|
429
431
|
// Content section
|
|
@@ -450,13 +452,16 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
450
452
|
// Expandable content
|
|
451
453
|
.#{$toolbar}__expandable-content {
|
|
452
454
|
position: absolute;
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
455
|
+
inset-block-start: calc(100% + var(--#{$toolbar}__content--RowGap));
|
|
456
|
+
inset-inline-start: 0;
|
|
457
|
+
inset-inline-end: 0;
|
|
456
458
|
z-index: var(--#{$toolbar}__expandable-content--ZIndex);
|
|
457
459
|
display: none;
|
|
458
460
|
width: 100%;
|
|
459
|
-
padding: var(--#{$toolbar}__expandable-content--PaddingTop)
|
|
461
|
+
padding-block-start: var(--#{$toolbar}__expandable-content--PaddingTop);
|
|
462
|
+
padding-block-end: var(--#{$toolbar}__expandable-content--PaddingBottom);
|
|
463
|
+
padding-inline-start: var(--#{$toolbar}__expandable-content--PaddingLeft);
|
|
464
|
+
padding-inline-end: var(--#{$toolbar}__expandable-content--PaddingRight);
|
|
460
465
|
background-color: var(--#{$toolbar}__expandable-content--BackgroundColor);
|
|
461
466
|
box-shadow: var(--#{$toolbar}__expandable-content--BoxShadow);
|
|
462
467
|
|
|
@@ -481,7 +486,7 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
481
486
|
}
|
|
482
487
|
|
|
483
488
|
.#{$toolbar}__item.pf-m-label {
|
|
484
|
-
margin-
|
|
489
|
+
margin-block-end: var(--#{$toolbar}__expandable-content__item--m-label--MarginBottom);
|
|
485
490
|
font-size: var(--#{$toolbar}__expandable-content__item--m-label--FontSize);
|
|
486
491
|
}
|
|
487
492
|
}
|
|
@@ -494,13 +499,13 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
494
499
|
flex-wrap: wrap;
|
|
495
500
|
grid-row-gap: 0;
|
|
496
501
|
align-items: baseline;
|
|
497
|
-
margin-
|
|
502
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container--MarginTop);
|
|
498
503
|
|
|
499
504
|
.#{$toolbar}__item {
|
|
500
505
|
--#{$toolbar}--spacer: var(--#{$toolbar}__item--spacer);
|
|
501
506
|
--#{$toolbar}__item--AlignSelf: auto;
|
|
502
507
|
|
|
503
|
-
margin-
|
|
508
|
+
margin-block-start: var(--#{$toolbar}__group--m-chip-container__item--MarginTop);
|
|
504
509
|
}
|
|
505
510
|
|
|
506
511
|
.#{$toolbar}__group {
|
|
@@ -561,20 +566,20 @@ $pf-v5-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2
|
|
|
561
566
|
// Align right
|
|
562
567
|
.#{$toolbar}__item.pf-m-align-right#{$breakpoint-name},
|
|
563
568
|
.#{$toolbar}__group.pf-m-align-right#{$breakpoint-name} {
|
|
564
|
-
margin-
|
|
569
|
+
margin-inline-start: auto;
|
|
565
570
|
|
|
566
571
|
& ~ .pf-m-pagination {
|
|
567
|
-
margin-
|
|
572
|
+
margin-inline-start: 0;
|
|
568
573
|
}
|
|
569
574
|
}
|
|
570
575
|
|
|
571
576
|
// Align left
|
|
572
577
|
.#{$toolbar}__item.pf-m-align-left#{$breakpoint-name},
|
|
573
578
|
.#{$toolbar}__group.pf-m-align-left#{$breakpoint-name} {
|
|
574
|
-
margin-
|
|
579
|
+
margin-inline-start: 0;
|
|
575
580
|
|
|
576
581
|
& ~ .pf-m-pagination {
|
|
577
|
-
margin-
|
|
582
|
+
margin-inline-start: auto;
|
|
578
583
|
}
|
|
579
584
|
}
|
|
580
585
|
|
|
@@ -28,44 +28,69 @@
|
|
|
28
28
|
max-width: var(--pf-v5-c-tooltip--MaxWidth);
|
|
29
29
|
box-shadow: var(--pf-v5-c-tooltip--BoxShadow);
|
|
30
30
|
}
|
|
31
|
-
.pf-v5-c-tooltip.pf-m-top
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
.pf-v5-c-tooltip:is(.pf-m-top,
|
|
32
|
+
.pf-m-top-left,
|
|
33
|
+
.pf-m-top-right) {
|
|
34
|
+
--pf-v5-c-tooltip__arrow--Bottom: var(--pf-v5-c-tooltip--m-top--Bottom, 0);
|
|
35
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-top--Left, 50%);
|
|
36
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-top--TranslateX);
|
|
37
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
38
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-top--Rotate);
|
|
35
39
|
}
|
|
36
|
-
.pf-v5-c-tooltip.pf-m-bottom
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
+
.pf-v5-c-tooltip:is(.pf-m-bottom,
|
|
41
|
+
.pf-m-bottom-left,
|
|
42
|
+
.pf-m-bottom-right) {
|
|
43
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-bottom--Top, 0);
|
|
44
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-bottom--Left, 50%);
|
|
45
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateX);
|
|
46
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-bottom--TranslateY);
|
|
47
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-bottom--Rotate);
|
|
40
48
|
}
|
|
41
|
-
.pf-v5-c-tooltip.pf-m-left
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
49
|
+
.pf-v5-c-tooltip:is(.pf-m-left,
|
|
50
|
+
.pf-m-left-top,
|
|
51
|
+
.pf-m-left-bottom) {
|
|
52
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-left--Top, 50%);
|
|
53
|
+
--pf-v5-c-tooltip__arrow--Right: var(--pf-v5-c-tooltip--m-left--Right, 0);
|
|
54
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
55
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-left--TranslateY);
|
|
56
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-left--Rotate);
|
|
45
57
|
}
|
|
46
|
-
.pf-v5-c-tooltip.pf-m-right
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
58
|
+
.pf-v5-c-tooltip:is(.pf-m-right,
|
|
59
|
+
.pf-m-right-top,
|
|
60
|
+
.pf-m-right-bottom) {
|
|
61
|
+
--pf-v5-c-tooltip__arrow--Top: var(--pf-v5-c-tooltip--m-right--Top, 50%);
|
|
62
|
+
--pf-v5-c-tooltip__arrow--Left: var(--pf-v5-c-tooltip--m-right--Left, 0);
|
|
63
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-right--TranslateX);
|
|
64
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-right--TranslateY);
|
|
65
|
+
--pf-v5-c-tooltip__arrow--Rotate: var(--pf-v5-c-tooltip__arrow--m-right--Rotate);
|
|
50
66
|
}
|
|
51
|
-
.pf-v5-c-tooltip.pf-m-left-top
|
|
52
|
-
|
|
67
|
+
.pf-v5-c-tooltip:is(.pf-m-left-top,
|
|
68
|
+
.pf-m-right-top) {
|
|
69
|
+
--pf-v5-c-tooltip__arrow--Top: 0;
|
|
70
|
+
--pf-v5-c-tooltip__arrow--TranslateY: var(--pf-v5-c-tooltip__arrow--m-top--TranslateY);
|
|
53
71
|
}
|
|
54
|
-
.pf-v5-c-tooltip.pf-m-left-bottom
|
|
55
|
-
|
|
56
|
-
|
|
72
|
+
.pf-v5-c-tooltip:is(.pf-m-left-bottom,
|
|
73
|
+
.pf-m-right-bottom) {
|
|
74
|
+
--pf-v5-c-tooltip__arrow--Top: auto;
|
|
75
|
+
--pf-v5-c-tooltip__arrow--Bottom: 0;
|
|
57
76
|
}
|
|
58
|
-
.pf-v5-c-tooltip.pf-m-top-left
|
|
59
|
-
|
|
77
|
+
.pf-v5-c-tooltip:is(.pf-m-top-left,
|
|
78
|
+
.pf-m-bottom-left) {
|
|
79
|
+
--pf-v5-c-tooltip__arrow--Left: 0;
|
|
80
|
+
--pf-v5-c-tooltip__arrow--TranslateX: var(--pf-v5-c-tooltip__arrow--m-left--TranslateX);
|
|
60
81
|
}
|
|
61
|
-
.pf-v5-c-tooltip.pf-m-top-right
|
|
62
|
-
|
|
63
|
-
|
|
82
|
+
.pf-v5-c-tooltip:is(.pf-m-top-right,
|
|
83
|
+
.pf-m-bottom-right) {
|
|
84
|
+
--pf-v5-c-tooltip__arrow--Right: 0;
|
|
85
|
+
--pf-v5-c-tooltip__arrow--Left: auto;
|
|
64
86
|
}
|
|
65
87
|
|
|
66
88
|
.pf-v5-c-tooltip__content {
|
|
67
89
|
position: relative;
|
|
68
|
-
padding: var(--pf-v5-c-tooltip__content--PaddingTop)
|
|
90
|
+
padding-block-start: var(--pf-v5-c-tooltip__content--PaddingTop);
|
|
91
|
+
padding-block-end: var(--pf-v5-c-tooltip__content--PaddingBottom);
|
|
92
|
+
padding-inline-start: var(--pf-v5-c-tooltip__content--PaddingLeft);
|
|
93
|
+
padding-inline-end: var(--pf-v5-c-tooltip__content--PaddingRight);
|
|
69
94
|
font-size: var(--pf-v5-c-tooltip__content--FontSize);
|
|
70
95
|
color: var(--pf-v5-c-tooltip__content--Color);
|
|
71
96
|
text-align: center;
|
|
@@ -73,16 +98,23 @@
|
|
|
73
98
|
background-color: var(--pf-v5-c-tooltip__content--BackgroundColor);
|
|
74
99
|
}
|
|
75
100
|
.pf-v5-c-tooltip__content.pf-m-text-align-left {
|
|
76
|
-
text-align:
|
|
101
|
+
text-align: start;
|
|
77
102
|
}
|
|
78
103
|
|
|
79
104
|
.pf-v5-c-tooltip__arrow {
|
|
80
105
|
position: absolute;
|
|
106
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
107
|
+
top: var(--pf-v5-c-tooltip__arrow--Top, auto);
|
|
108
|
+
right: var(--pf-v5-c-tooltip__arrow--Right, auto);
|
|
109
|
+
bottom: var(--pf-v5-c-tooltip__arrow--Bottom, auto);
|
|
110
|
+
left: var(--pf-v5-c-tooltip__arrow--Left, auto);
|
|
111
|
+
/* stylelint-enable */
|
|
81
112
|
width: var(--pf-v5-c-tooltip__arrow--Width);
|
|
82
113
|
height: var(--pf-v5-c-tooltip__arrow--Height);
|
|
83
114
|
pointer-events: none;
|
|
84
115
|
background-color: var(--pf-v5-c-tooltip__arrow--BackgroundColor);
|
|
85
116
|
box-shadow: var(--pf-v5-c-tooltip__arrow--BoxShadow);
|
|
117
|
+
transform: translateX(var(--pf-v5-c-tooltip__arrow--TranslateX, 0)) translateY(var(--pf-v5-c-tooltip__arrow--TranslateY, 0)) rotate(var(--pf-v5-c-tooltip__arrow--Rotate, 0));
|
|
86
118
|
}
|
|
87
119
|
|
|
88
120
|
:where(.pf-v5-theme-dark) .pf-v5-c-tooltip {
|
|
@@ -36,80 +36,93 @@
|
|
|
36
36
|
max-width: var(--#{$tooltip}--MaxWidth);
|
|
37
37
|
box-shadow: var(--#{$tooltip}--BoxShadow);
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
39
|
+
&:is(
|
|
40
|
+
.pf-m-top,
|
|
41
|
+
.pf-m-top-left,
|
|
42
|
+
.pf-m-top-right
|
|
43
|
+
) {
|
|
44
|
+
--#{$tooltip}__arrow--Bottom: var(--#{$tooltip}--m-top--Bottom, 0);
|
|
45
|
+
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-top--Left, 50%);
|
|
46
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-top--TranslateX);
|
|
47
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-top--TranslateY);
|
|
48
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-top--Rotate);
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}
|
|
51
|
+
&:is(
|
|
52
|
+
.pf-m-bottom,
|
|
53
|
+
.pf-m-bottom-left,
|
|
54
|
+
.pf-m-bottom-right
|
|
55
|
+
) {
|
|
56
|
+
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-bottom--Top, 0);
|
|
57
|
+
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-bottom--Left, 50%);
|
|
58
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-bottom--TranslateX);
|
|
59
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-bottom--TranslateY);
|
|
60
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-bottom--Rotate);
|
|
57
61
|
}
|
|
58
62
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
63
|
+
&:is(
|
|
64
|
+
.pf-m-left,
|
|
65
|
+
.pf-m-left-top,
|
|
66
|
+
.pf-m-left-bottom
|
|
67
|
+
) {
|
|
68
|
+
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-left--Top, 50%);
|
|
69
|
+
--#{$tooltip}__arrow--Right: var(--#{$tooltip}--m-left--Right, 0);
|
|
70
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-left--TranslateX);
|
|
71
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-left--TranslateY);
|
|
72
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-left--Rotate);
|
|
67
73
|
}
|
|
68
74
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
75
|
+
&:is(
|
|
76
|
+
.pf-m-right,
|
|
77
|
+
.pf-m-right-top,
|
|
78
|
+
.pf-m-right-bottom
|
|
79
|
+
) {
|
|
80
|
+
--#{$tooltip}__arrow--Top: var(--#{$tooltip}--m-right--Top, 50%);
|
|
81
|
+
--#{$tooltip}__arrow--Left: var(--#{$tooltip}--m-right--Left, 0);
|
|
82
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-right--TranslateX);
|
|
83
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-right--TranslateY);
|
|
84
|
+
--#{$tooltip}__arrow--Rotate: var(--#{$tooltip}__arrow--m-right--Rotate);
|
|
77
85
|
}
|
|
78
86
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
87
|
+
&:is(
|
|
88
|
+
.pf-m-left-top,
|
|
89
|
+
.pf-m-right-top
|
|
90
|
+
) {
|
|
91
|
+
--#{$tooltip}__arrow--Top: 0;
|
|
92
|
+
--#{$tooltip}__arrow--TranslateY: var(--#{$tooltip}__arrow--m-top--TranslateY);
|
|
84
93
|
}
|
|
85
94
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
}
|
|
95
|
+
&:is(
|
|
96
|
+
.pf-m-left-bottom,
|
|
97
|
+
.pf-m-right-bottom
|
|
98
|
+
) {
|
|
99
|
+
--#{$tooltip}__arrow--Top: auto;
|
|
100
|
+
--#{$tooltip}__arrow--Bottom: 0;
|
|
92
101
|
}
|
|
93
102
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
103
|
+
&:is(
|
|
104
|
+
.pf-m-top-left,
|
|
105
|
+
.pf-m-bottom-left
|
|
106
|
+
) {
|
|
107
|
+
--#{$tooltip}__arrow--Left: 0;
|
|
108
|
+
--#{$tooltip}__arrow--TranslateX: var(--#{$tooltip}__arrow--m-left--TranslateX);
|
|
99
109
|
}
|
|
100
110
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
111
|
+
&:is(
|
|
112
|
+
.pf-m-top-right,
|
|
113
|
+
.pf-m-bottom-right
|
|
114
|
+
) {
|
|
115
|
+
--#{$tooltip}__arrow--Right: 0;
|
|
116
|
+
--#{$tooltip}__arrow--Left: auto;
|
|
107
117
|
}
|
|
108
118
|
}
|
|
109
119
|
|
|
110
120
|
.#{$tooltip}__content {
|
|
111
121
|
position: relative;
|
|
112
|
-
padding: var(--#{$tooltip}__content--PaddingTop)
|
|
122
|
+
padding-block-start: var(--#{$tooltip}__content--PaddingTop);
|
|
123
|
+
padding-block-end: var(--#{$tooltip}__content--PaddingBottom);
|
|
124
|
+
padding-inline-start: var(--#{$tooltip}__content--PaddingLeft);
|
|
125
|
+
padding-inline-end: var(--#{$tooltip}__content--PaddingRight);
|
|
113
126
|
font-size: var(--#{$tooltip}__content--FontSize);
|
|
114
127
|
color: var(--#{$tooltip}__content--Color);
|
|
115
128
|
text-align: center;
|
|
@@ -117,17 +130,24 @@
|
|
|
117
130
|
background-color: var(--#{$tooltip}__content--BackgroundColor);
|
|
118
131
|
|
|
119
132
|
&.pf-m-text-align-left {
|
|
120
|
-
text-align:
|
|
133
|
+
text-align: start;
|
|
121
134
|
}
|
|
122
135
|
}
|
|
123
136
|
|
|
124
137
|
.#{$tooltip}__arrow {
|
|
125
138
|
position: absolute;
|
|
139
|
+
/* stylelint-disable liberty/use-logical-spec */
|
|
140
|
+
top: var(--#{$tooltip}__arrow--Top, auto);
|
|
141
|
+
right: var(--#{$tooltip}__arrow--Right, auto);
|
|
142
|
+
bottom: var(--#{$tooltip}__arrow--Bottom, auto);
|
|
143
|
+
left: var(--#{$tooltip}__arrow--Left, auto);
|
|
144
|
+
/* stylelint-enable */
|
|
126
145
|
width: var(--#{$tooltip}__arrow--Width);
|
|
127
146
|
height: var(--#{$tooltip}__arrow--Height);
|
|
128
147
|
pointer-events: none;
|
|
129
148
|
background-color: var(--#{$tooltip}__arrow--BackgroundColor);
|
|
130
149
|
box-shadow: var(--#{$tooltip}__arrow--BoxShadow);
|
|
150
|
+
transform: translateX(var(--#{$tooltip}__arrow--TranslateX, 0)) translateY(var(--#{$tooltip}__arrow--TranslateY, 0)) rotate(var(--#{$tooltip}__arrow--Rotate, 0));
|
|
131
151
|
}
|
|
132
152
|
|
|
133
153
|
// stylelint-disable no-invalid-position-at-import-rule
|
|
@@ -109,8 +109,8 @@
|
|
|
109
109
|
--pf-v5-c-tree-view--m-compact--m-no-background__node--nested--PaddingTop: 0;
|
|
110
110
|
--pf-v5-c-tree-view--m-compact--m-no-background__node--nested--PaddingBottom: 0;
|
|
111
111
|
--pf-v5-c-tree-view--m-compact--m-no-background__node--before--Top: calc(var(--pf-v5-c-tree-view--m-compact__node-container--nested--PaddingTop) + var(--pf-v5-c-tree-view--m-compact__node--nested--PaddingTop) + 0.25rem);
|
|
112
|
-
padding-
|
|
113
|
-
padding-
|
|
112
|
+
padding-block-start: var(--pf-v5-c-tree-view--PaddingTop);
|
|
113
|
+
padding-block-end: var(--pf-v5-c-tree-view--PaddingBottom);
|
|
114
114
|
}
|
|
115
115
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item, .pf-v5-c-tree-view.pf-m-guides .pf-v5-c-tree-view__list-item {
|
|
116
116
|
position: relative;
|
|
@@ -119,18 +119,18 @@
|
|
|
119
119
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node::before, .pf-v5-c-tree-view.pf-m-guides .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item::before,
|
|
120
120
|
.pf-v5-c-tree-view.pf-m-guides .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node::before {
|
|
121
121
|
position: absolute;
|
|
122
|
-
|
|
122
|
+
inset-inline-start: var(--pf-v5-c-tree-view--m-guides--guide--Left);
|
|
123
123
|
content: "";
|
|
124
124
|
}
|
|
125
125
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item::before, .pf-v5-c-tree-view.pf-m-guides .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item::before {
|
|
126
|
-
|
|
126
|
+
inset-block-start: var(--pf-v5-c-tree-view--m-guides__list-item--before--Top);
|
|
127
127
|
z-index: var(--pf-v5-c-tree-view--m-guides__list-item--ZIndex);
|
|
128
128
|
width: var(--pf-v5-c-tree-view--m-guides__list-item--before--Width);
|
|
129
129
|
height: var(--pf-v5-c-tree-view--m-guides__list-item--before--Height);
|
|
130
130
|
background-color: var(--pf-v5-c-tree-view--m-guides__list-item--before--BackgroundColor);
|
|
131
131
|
}
|
|
132
132
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node::before, .pf-v5-c-tree-view.pf-m-guides .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node::before {
|
|
133
|
-
|
|
133
|
+
inset-block-start: var(--pf-v5-c-tree-view--m-guides__node--before--Top);
|
|
134
134
|
width: var(--pf-v5-c-tree-view--m-guides__node--before--Width);
|
|
135
135
|
height: var(--pf-v5-c-tree-view--m-guides__node--before--Height);
|
|
136
136
|
background-color: var(--pf-v5-c-tree-view--m-guides__node--before--BackgroundColor);
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
--pf-v5-c-tree-view__list-item__list-item__node-toggle--Top: var(--pf-v5-c-tree-view--m-compact__list-item__list-item__node-toggle--Top);
|
|
154
154
|
}
|
|
155
155
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item {
|
|
156
|
-
border-
|
|
156
|
+
border-block-end: var(--pf-v5-c-tree-view--m-compact__list-item--BorderBottomWidth) solid var(--pf-v5-c-tree-view--m-compact__list-item--BorderBottomColor);
|
|
157
157
|
}
|
|
158
158
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item.pf-m-expanded {
|
|
159
159
|
--pf-v5-c-tree-view--m-compact__node-container--PaddingBottom: var(--pf-v5-c-tree-view--m-compact__list-item--m-expanded__node-container--PaddingBottom);
|
|
@@ -169,13 +169,13 @@
|
|
|
169
169
|
}
|
|
170
170
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item::before,
|
|
171
171
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node::before {
|
|
172
|
-
|
|
172
|
+
inset-inline-start: var(--pf-v5-c-tree-view--m-compact--border--Left);
|
|
173
173
|
}
|
|
174
174
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item::before {
|
|
175
|
-
|
|
175
|
+
inset-block-start: var(--pf-v5-c-tree-view--m-compact__list-item--before--Top);
|
|
176
176
|
}
|
|
177
177
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node::before {
|
|
178
|
-
|
|
178
|
+
inset-block-start: var(--pf-v5-c-tree-view--m-compact__node--before--Top);
|
|
179
179
|
}
|
|
180
180
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item:last-child::before {
|
|
181
181
|
height: var(--pf-v5-c-tree-view--m-compact__list-item--last-child--before--Height);
|
|
@@ -187,15 +187,21 @@
|
|
|
187
187
|
--pf-v5-c-tree-view--m-compact__list-item--last-child--before--Height: var(--pf-v5-c-tree-view--m-compact__list-item--nested--last-child--before--Height);
|
|
188
188
|
}
|
|
189
189
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node-container {
|
|
190
|
-
padding: var(--pf-v5-c-tree-view--m-compact__node-container--nested--PaddingTop)
|
|
190
|
+
padding-block-start: var(--pf-v5-c-tree-view--m-compact__node-container--nested--PaddingTop);
|
|
191
|
+
padding-block-end: var(--pf-v5-c-tree-view--m-compact__node-container--nested--PaddingBottom);
|
|
192
|
+
padding-inline-start: var(--pf-v5-c-tree-view--m-compact__node-container--nested--PaddingLeft);
|
|
193
|
+
padding-inline-end: var(--pf-v5-c-tree-view--m-compact__node-container--nested--PaddingRight);
|
|
191
194
|
background-color: var(--pf-v5-c-tree-view--m-compact__node-container--nested--BackgroundColor);
|
|
192
195
|
}
|
|
193
196
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__node-toggle {
|
|
194
|
-
margin-
|
|
195
|
-
margin-
|
|
197
|
+
margin-inline-start: var(--pf-v5-c-tree-view--m-compact__node-toggle--nested--MarginLeft);
|
|
198
|
+
margin-inline-end: var(--pf-v5-c-tree-view--m-compact__node-toggle--nested--MarginRight);
|
|
196
199
|
}
|
|
197
200
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__node-container {
|
|
198
|
-
padding: var(--pf-v5-c-tree-view--m-compact__node-container--PaddingTop)
|
|
201
|
+
padding-block-start: var(--pf-v5-c-tree-view--m-compact__node-container--PaddingTop);
|
|
202
|
+
padding-block-end: var(--pf-v5-c-tree-view--m-compact__node-container--PaddingBottom);
|
|
203
|
+
padding-inline-start: var(--pf-v5-c-tree-view--m-compact__node-container--PaddingLeft);
|
|
204
|
+
padding-inline-end: var(--pf-v5-c-tree-view--m-compact__node-container--PaddingRight);
|
|
199
205
|
}
|
|
200
206
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item:not([aria-expanded]) > .pf-v5-c-tree-view__content > .pf-v5-c-tree-view__node,
|
|
201
207
|
.pf-v5-c-tree-view.pf-m-compact .pf-v5-c-tree-view__list-item:not([aria-expanded]) > .pf-v5-c-tree-view__content > .pf-v5-c-tree-view__node > .pf-v5-c-tree-view__node-container {
|
|
@@ -223,6 +229,9 @@
|
|
|
223
229
|
transition: var(--pf-v5-c-tree-view__node-toggle-icon--Transition);
|
|
224
230
|
transform: rotate(var(--pf-v5-c-tree-view__node-toggle-icon--Rotate));
|
|
225
231
|
}
|
|
232
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tree-view__node-toggle-icon {
|
|
233
|
+
scale: -1 1;
|
|
234
|
+
}
|
|
226
235
|
|
|
227
236
|
.pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item {
|
|
228
237
|
--pf-v5-c-tree-view__node-toggle-icon--Rotate: var(--pf-v5-c-tree-view__node-toggle-icon--base--Rotate);
|
|
@@ -238,7 +247,7 @@
|
|
|
238
247
|
flex: 1 1;
|
|
239
248
|
align-items: flex-start;
|
|
240
249
|
min-width: 0;
|
|
241
|
-
text-align:
|
|
250
|
+
text-align: start;
|
|
242
251
|
cursor: pointer;
|
|
243
252
|
border: 0;
|
|
244
253
|
}
|
|
@@ -246,7 +255,10 @@
|
|
|
246
255
|
.pf-v5-c-tree-view__node {
|
|
247
256
|
position: relative;
|
|
248
257
|
display: flex;
|
|
249
|
-
padding: var(--pf-v5-c-tree-view__node--PaddingTop)
|
|
258
|
+
padding-block-start: var(--pf-v5-c-tree-view__node--PaddingTop);
|
|
259
|
+
padding-block-end: var(--pf-v5-c-tree-view__node--PaddingBottom);
|
|
260
|
+
padding-inline-start: var(--pf-v5-c-tree-view__node--PaddingLeft);
|
|
261
|
+
padding-inline-end: var(--pf-v5-c-tree-view__node--PaddingRight);
|
|
250
262
|
color: var(--pf-v5-c-tree-view__node--Color);
|
|
251
263
|
background-color: var(--pf-v5-c-tree-view__node--BackgroundColor);
|
|
252
264
|
}
|
|
@@ -258,7 +270,7 @@
|
|
|
258
270
|
--pf-v5-c-tree-view__node--BackgroundColor: var(--pf-v5-c-tree-view__node--focus--BackgroundColor);
|
|
259
271
|
}
|
|
260
272
|
.pf-v5-c-tree-view__node .pf-v5-c-tree-view__node-count {
|
|
261
|
-
margin-
|
|
273
|
+
margin-inline-start: var(--pf-v5-c-tree-view__node-count--MarginLeft);
|
|
262
274
|
}
|
|
263
275
|
.pf-v5-c-tree-view__node .pf-v5-c-tree-view__node-count .pf-v5-c-badge.pf-m-read {
|
|
264
276
|
--pf-v5-c-badge--m-read--BackgroundColor: var(--pf-v5-c-tree-view__node-count--c-badge--m-read--BackgroundColor);
|
|
@@ -284,28 +296,34 @@
|
|
|
284
296
|
overflow: var(--pf-v5-c-tree-view__node-content--Overflow);
|
|
285
297
|
}
|
|
286
298
|
.pf-v5-c-tree-view__node-content > * + * {
|
|
287
|
-
margin-
|
|
299
|
+
margin-block-start: var(--pf-v5-c-tree-view__node-content--RowGap);
|
|
288
300
|
}
|
|
289
301
|
|
|
290
302
|
.pf-v5-c-tree-view__node-check {
|
|
291
|
-
margin-
|
|
303
|
+
margin-inline-end: var(--pf-v5-c-tree-view__node-check--MarginRight);
|
|
292
304
|
}
|
|
293
305
|
|
|
294
306
|
.pf-v5-c-tree-view__node-toggle {
|
|
295
307
|
position: var(--pf-v5-c-tree-view__node-toggle--Position);
|
|
296
|
-
|
|
297
|
-
|
|
308
|
+
inset-block-start: var(--pf-v5-c-tree-view__list-item__list-item__node-toggle--Top);
|
|
309
|
+
inset-inline-start: var(--pf-v5-c-tree-view__list-item__list-item__node-toggle--Left);
|
|
298
310
|
display: inline-flex;
|
|
299
311
|
align-items: center;
|
|
300
312
|
justify-content: center;
|
|
301
|
-
padding: var(--pf-v5-c-tree-view__node-toggle-button--PaddingTop)
|
|
302
|
-
|
|
303
|
-
|
|
313
|
+
padding-block-start: var(--pf-v5-c-tree-view__node-toggle-button--PaddingTop);
|
|
314
|
+
padding-block-end: var(--pf-v5-c-tree-view__node-toggle-button--PaddingBottom);
|
|
315
|
+
padding-inline-start: var(--pf-v5-c-tree-view__node-toggle-button--PaddingLeft);
|
|
316
|
+
padding-inline-end: var(--pf-v5-c-tree-view__node-toggle-button--PaddingRight);
|
|
317
|
+
margin-block-start: var(--pf-v5-c-tree-view__node-toggle-button--MarginTop);
|
|
318
|
+
margin-block-end: var(--pf-v5-c-tree-view__node-toggle-button--MarginBottom);
|
|
304
319
|
color: var(--pf-v5-c-tree-view__node-toggle--Color);
|
|
305
320
|
background-color: var(--pf-v5-c-tree-view__node-toggle--BackgroundColor);
|
|
306
321
|
border: 0;
|
|
307
322
|
transform: translateX(var(--pf-v5-c-tree-view__list-item__list-item__node-toggle--TranslateX));
|
|
308
323
|
}
|
|
324
|
+
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-tree-view__node-toggle {
|
|
325
|
+
transform: translateX(calc(var(--pf-v5-c-tree-view__list-item__list-item__node-toggle--TranslateX) * var(--pf-v5-global--inverse--multiplier)));
|
|
326
|
+
}
|
|
309
327
|
|
|
310
328
|
.pf-v5-c-tree-view__node-title.pf-m-truncate,
|
|
311
329
|
.pf-v5-c-tree-view__node-text.pf-m-truncate {
|
|
@@ -325,7 +343,7 @@
|
|
|
325
343
|
.pf-v5-c-tree-view__node-text {
|
|
326
344
|
font-weight: inherit;
|
|
327
345
|
color: inherit;
|
|
328
|
-
text-align:
|
|
346
|
+
text-align: start;
|
|
329
347
|
background-color: transparent;
|
|
330
348
|
border: 0;
|
|
331
349
|
}
|
|
@@ -338,11 +356,14 @@ label.pf-v5-c-tree-view__node-text {
|
|
|
338
356
|
}
|
|
339
357
|
|
|
340
358
|
.pf-v5-c-tree-view__search {
|
|
341
|
-
padding: var(--pf-v5-c-tree-view__search--PaddingTop)
|
|
359
|
+
padding-block-start: var(--pf-v5-c-tree-view__search--PaddingTop);
|
|
360
|
+
padding-block-end: var(--pf-v5-c-tree-view__search--PaddingBottom);
|
|
361
|
+
padding-inline-start: var(--pf-v5-c-tree-view__search--PaddingLeft);
|
|
362
|
+
padding-inline-end: var(--pf-v5-c-tree-view__search--PaddingRight);
|
|
342
363
|
}
|
|
343
364
|
|
|
344
365
|
.pf-v5-c-tree-view__node-icon {
|
|
345
|
-
padding-
|
|
366
|
+
padding-inline-end: var(--pf-v5-c-tree-view__node-icon--PaddingRight);
|
|
346
367
|
color: var(--pf-v5-c-tree-view__node-icon--Color);
|
|
347
368
|
}
|
|
348
369
|
|
|
@@ -357,7 +378,7 @@ label.pf-v5-c-tree-view__node-text {
|
|
|
357
378
|
}
|
|
358
379
|
|
|
359
380
|
.pf-v5-c-tree-view__action {
|
|
360
|
-
margin-
|
|
381
|
+
margin-inline-start: var(--pf-v5-c-tree-view__action--MarginLeft);
|
|
361
382
|
}
|
|
362
383
|
|
|
363
384
|
.pf-v5-c-tree-view__list-item .pf-v5-c-tree-view__list-item {
|