@patternfly/patternfly 6.0.0-alpha.99 → 6.0.0-prerelease.2
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 +1 -2
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/icons/iconUnicodes.json +6 -0
- package/assets/images/img_avatar-dark.svg +22 -16
- package/assets/images/img_avatar-light.svg +25 -18
- package/assets/images/pf-background.svg +21 -21
- package/assets/images/pf_logo.svg +11 -11
- package/assets/images/pf_logo_white.svg +16 -17
- package/assets/pficon/pf-v6-pficon.woff2 +0 -0
- package/assets/pficon/pficon.scss +310 -271
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +15 -48
- package/base/patternfly-common.css +14 -0
- package/base/patternfly-common.scss +68 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.css +10 -80
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.css +158 -134
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.css +1082 -1206
- package/base/patternfly-variables.scss +20 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/base/tokens/tokens-charts-dark.scss +173 -0
- package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +162 -148
- package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +307 -294
- package/base/tokens/{_tokens-default.scss → tokens-default.scss} +574 -447
- package/base/tokens/{_tokens-font.scss → tokens-local.scss} +13 -34
- package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +69 -70
- package/components/AboutModalBox/about-modal-box.css +86 -81
- package/components/AboutModalBox/about-modal-box.scss +80 -82
- package/components/Accordion/accordion.css +44 -43
- package/components/Accordion/accordion.scss +52 -52
- package/components/ActionList/action-list.css +6 -5
- package/components/ActionList/action-list.scss +7 -5
- package/components/Alert/alert-group.css +72 -19
- package/components/Alert/alert-group.scss +105 -18
- package/components/Alert/alert.css +52 -59
- package/components/Alert/alert.scss +56 -65
- package/components/Avatar/avatar.css +42 -41
- package/components/Avatar/avatar.scss +8 -7
- package/components/BackToTop/back-to-top.css +19 -17
- package/components/BackToTop/back-to-top.scss +17 -17
- package/components/Backdrop/backdrop.css +1 -1
- package/components/Backdrop/backdrop.scss +3 -4
- package/components/BackgroundImage/background-image.scss +3 -4
- package/components/Badge/badge.css +29 -7
- package/components/Badge/badge.scss +33 -9
- package/components/Banner/banner.css +30 -37
- package/components/Banner/banner.scss +30 -43
- package/components/Brand/brand.css +14 -10
- package/components/Brand/brand.scss +8 -5
- package/components/Breadcrumb/breadcrumb.css +23 -24
- package/components/Breadcrumb/breadcrumb.scss +25 -28
- package/components/Button/button.css +150 -128
- package/components/Button/button.scss +155 -130
- package/components/CalendarMonth/calendar-month.css +46 -46
- package/components/CalendarMonth/calendar-month.scss +49 -50
- package/components/Card/card.css +110 -93
- package/components/Card/card.scss +118 -92
- package/components/Check/check.css +5 -5
- package/components/Check/check.scss +7 -8
- package/components/ClipboardCopy/clipboard-copy.css +33 -41
- package/components/ClipboardCopy/clipboard-copy.scss +35 -44
- package/components/CodeBlock/code-block.css +21 -20
- package/components/CodeBlock/code-block.scss +21 -21
- package/components/CodeEditor/code-editor.css +35 -34
- package/components/CodeEditor/code-editor.scss +35 -35
- package/components/Content/content.css +167 -153
- package/components/Content/content.scss +204 -145
- package/components/DataList/data-list-grid.css +117 -117
- package/components/DataList/data-list-grid.scss +22 -20
- package/components/DataList/data-list.css +308 -312
- package/components/DataList/data-list.scss +145 -152
- package/components/DatePicker/date-picker.css +17 -17
- package/components/DatePicker/date-picker.scss +17 -18
- package/components/DescriptionList/description-list-order.css +5 -5
- package/components/DescriptionList/description-list-order.scss +3 -1
- package/components/DescriptionList/description-list.css +46 -44
- package/components/DescriptionList/description-list.scss +26 -31
- package/components/Divider/divider.css +104 -107
- package/components/Divider/divider.scss +19 -19
- package/components/DragDrop/drag-drop.css +4 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +115 -114
- package/components/Drawer/drawer.scss +136 -134
- package/components/DualListSelector/dual-list-selector.css +64 -61
- package/components/DualListSelector/dual-list-selector.scss +54 -51
- package/components/EmptyState/empty-state.css +38 -37
- package/components/EmptyState/empty-state.scss +39 -39
- package/components/ExpandableSection/expandable-section.css +27 -86
- package/components/ExpandableSection/expandable-section.scss +32 -101
- package/components/FileUpload/file-upload.css +2 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +173 -115
- package/components/Form/form.scss +117 -103
- package/components/FormControl/form-control.css +57 -57
- package/components/FormControl/form-control.scss +69 -67
- package/components/HelperText/helper-text.css +5 -4
- package/components/HelperText/helper-text.scss +8 -6
- package/components/Hint/hint.css +25 -25
- package/components/Hint/hint.scss +25 -27
- package/components/Icon/icon.css +10 -10
- package/components/Icon/icon.scss +11 -12
- package/components/InlineEdit/inline-edit.css +12 -12
- package/components/InlineEdit/inline-edit.scss +12 -13
- package/components/InputGroup/input-group.css +16 -16
- package/components/InputGroup/input-group.scss +18 -19
- package/components/JumpLinks/jump-links.css +80 -96
- package/components/JumpLinks/jump-links.scss +80 -100
- package/components/Label/label-group.css +28 -28
- package/components/Label/label-group.scss +29 -30
- package/components/Label/label.css +102 -87
- package/components/Label/label.scss +113 -94
- package/components/List/list.css +44 -47
- package/components/List/list.scss +51 -58
- package/components/Login/login.css +122 -118
- package/components/Login/login.scss +105 -112
- package/components/Masthead/masthead.css +273 -175
- package/components/Masthead/masthead.scss +102 -68
- package/components/Menu/menu.css +151 -95
- package/components/Menu/menu.scss +59 -40
- package/components/MenuToggle/menu-toggle.css +129 -108
- package/components/MenuToggle/menu-toggle.scss +150 -128
- package/components/ModalBox/modal-box.css +53 -45
- package/components/ModalBox/modal-box.scss +52 -46
- package/components/MultipleFileUpload/multiple-file-upload.css +37 -37
- package/components/MultipleFileUpload/multiple-file-upload.scss +38 -39
- package/components/Nav/nav.css +33 -9
- package/components/Nav/nav.scss +46 -13
- package/components/NotificationDrawer/notification-drawer.css +50 -51
- package/components/NotificationDrawer/notification-drawer.scss +58 -57
- package/components/NumberInput/number-input.css +7 -11
- package/components/NumberInput/number-input.scss +5 -7
- package/components/OverflowMenu/overflow-menu.css +2 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +175 -519
- package/components/Page/page.scss +155 -386
- package/components/Pagination/pagination.css +82 -79
- package/components/Pagination/pagination.scss +43 -40
- package/components/Panel/panel.css +33 -30
- package/components/Panel/panel.scss +35 -33
- package/components/Popover/popover.css +54 -52
- package/components/Popover/popover.scss +55 -54
- package/components/Progress/progress.css +8 -4
- package/components/Progress/progress.scss +14 -11
- package/components/ProgressStepper/progress-stepper.css +246 -245
- package/components/ProgressStepper/progress-stepper.scss +118 -118
- package/components/Radio/radio.css +7 -7
- package/components/Radio/radio.scss +9 -10
- package/components/Sidebar/sidebar.css +139 -139
- package/components/Sidebar/sidebar.scss +61 -61
- package/components/SimpleList/simple-list.css +21 -20
- package/components/SimpleList/simple-list.scss +22 -23
- package/components/Skeleton/skeleton.css +4 -4
- package/components/Skeleton/skeleton.scss +7 -8
- package/components/SkipToContent/skip-to-content.css +7 -6
- package/components/SkipToContent/skip-to-content.scss +7 -7
- package/components/Slider/slider.css +31 -31
- package/components/Slider/slider.scss +54 -55
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +4 -10
- package/components/Switch/switch.scss +8 -17
- package/components/TabContent/tab-content.css +25 -25
- package/components/TabContent/tab-content.scss +28 -28
- package/components/Table/table-grid.css +434 -508
- package/components/Table/table-grid.scss +131 -150
- package/components/Table/table-scrollable.css +31 -34
- package/components/Table/table-scrollable.scss +44 -41
- package/components/Table/table-tree-view.css +287 -279
- package/components/Table/table-tree-view.scss +84 -84
- package/components/Table/table.css +316 -279
- package/components/Table/table.scss +346 -301
- package/components/Tabs/tabs.css +215 -240
- package/components/Tabs/tabs.scss +130 -162
- package/components/TextInputGroup/text-input-group.css +122 -64
- package/components/TextInputGroup/text-input-group.scss +144 -87
- package/components/Tile/tile.css +15 -15
- package/components/Tile/tile.scss +16 -17
- package/components/Timestamp/timestamp.css +13 -19
- package/components/Timestamp/timestamp.scss +16 -22
- package/components/Title/title.css +14 -13
- package/components/Title/title.scss +15 -15
- package/components/ToggleGroup/toggle-group.css +37 -37
- package/components/ToggleGroup/toggle-group.scss +38 -41
- package/components/Toolbar/toolbar.css +547 -1431
- package/components/Toolbar/toolbar.scss +159 -123
- package/components/Tooltip/tooltip.css +28 -27
- package/components/Tooltip/tooltip.scss +31 -30
- package/components/TreeView/tree-view.css +184 -184
- package/components/TreeView/tree-view.scss +133 -133
- package/components/Truncate/truncate.css +2 -2
- package/components/Truncate/truncate.scss +7 -8
- package/components/Wizard/wizard.css +190 -154
- package/components/Wizard/wizard.scss +211 -165
- package/components/_index.css +22378 -0
- package/components/_index.scss +82 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +3 -1
- package/docs/components/Accordion/examples/Accordion.md +1 -1
- package/docs/components/ActionList/examples/ActionList.md +64 -24
- package/docs/components/Alert/examples/Alert.md +116 -74
- package/docs/components/BackToTop/examples/BackToTop.md +1 -1
- package/docs/components/Badge/examples/Badge.md +6 -16
- package/docs/components/Banner/examples/Banner.md +16 -10
- package/docs/components/Brand/examples/Brand.md +2 -2
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +19 -59
- package/docs/components/Button/examples/Button.md +537 -368
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +24 -8
- package/docs/components/Card/examples/Card.md +372 -658
- package/docs/components/Check/examples/Check.md +10 -15
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +92 -47
- package/docs/components/CodeBlock/examples/CodeBlock.md +51 -28
- package/docs/components/CodeEditor/examples/CodeEditor.md +41 -22
- package/docs/components/Content/examples/Content.md +600 -60
- package/docs/components/DataList/examples/DataList.md +291 -1028
- package/docs/components/DatePicker/examples/DatePicker.md +18 -6
- package/docs/components/DescriptionList/examples/DescriptionList.md +80 -55
- package/docs/components/Drawer/examples/Drawer.md +60 -21
- package/docs/components/DualListSelector/examples/DualListSelector.md +364 -996
- package/docs/components/EmptyState/examples/EmptyState.md +123 -53
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +96 -91
- package/docs/components/FileUpload/examples/FileUpload.md +42 -14
- package/docs/components/Form/examples/Form.md +100 -26
- package/docs/components/Hint/examples/Hint.md +54 -164
- package/docs/components/InlineEdit/examples/InlineEdit.md +132 -45
- package/docs/components/InputGroup/examples/InputGroup.md +38 -62
- package/docs/components/JumpLinks/examples/JumpLinks.md +189 -72
- package/docs/components/Label/examples/Label.md +2577 -406
- package/docs/components/Login/examples/Login.md +372 -334
- package/docs/components/Masthead/examples/masthead.md +515 -484
- package/docs/components/Menu/examples/Menu.md +77 -138
- package/docs/components/MenuToggle/examples/MenuToggle.md +289 -39
- package/docs/components/ModalBox/examples/ModalBox.md +158 -100
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +137 -97
- package/docs/components/Nav/examples/Navigation.css +2 -7
- package/docs/components/Nav/examples/Navigation.md +337 -270
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +515 -2076
- package/docs/components/NumberInput/examples/NumberInput.md +96 -48
- package/docs/components/OverflowMenu/examples/overflow-menu.css +4 -28
- package/docs/components/OverflowMenu/examples/overflow-menu.md +104 -159
- package/docs/components/Page/examples/Page.css +5 -9
- package/docs/components/Page/examples/Page.md +254 -181
- package/docs/components/Pagination/examples/Pagination.md +336 -756
- package/docs/components/Panel/examples/Panel.md +3 -2
- package/docs/components/Popover/examples/Popover.md +60 -15
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -15
- package/docs/components/Sidebar/examples/Sidebar.css +4 -2
- package/docs/components/Sidebar/examples/Sidebar.md +3 -3
- package/docs/components/Skeleton/examples/Skeleton.css +1 -1
- package/docs/components/SkipToContent/examples/SkipToContent.md +3 -1
- package/docs/components/Slider/examples/Slider.md +53 -45
- package/docs/components/Spinner/examples/Spinner.md +1 -1
- package/docs/components/Switch/examples/Switch.md +33 -148
- package/docs/components/Table/examples/Table.css +11 -6
- package/docs/components/Table/examples/Table.md +5302 -2464
- package/docs/components/Tabs/examples/Tabs.md +1267 -607
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +8 -3
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +469 -278
- package/docs/components/Tile/examples/Tile.css +5 -5
- package/docs/components/Timestamp/examples/Timestamp.md +7 -1
- package/docs/components/ToggleGroup/examples/toggle-group.md +1 -3
- package/docs/components/Toolbar/examples/Toolbar.css +50 -39
- package/docs/components/Toolbar/examples/Toolbar.md +1562 -1200
- package/docs/components/Tooltip/examples/Tooltip.css +1 -1
- package/docs/components/TreeView/examples/TreeView.md +627 -49
- package/docs/components/Truncate/examples/Truncate.css +1 -2
- package/docs/components/Wizard/examples/Wizard.md +1595 -126
- package/docs/demos/AboutModal/examples/AboutModal.md +191 -198
- package/docs/demos/Alert/examples/Alert.md +924 -909
- package/docs/demos/BackToTop/examples/BackToTop.md +318 -327
- package/docs/demos/Banner/examples/Banner.md +641 -659
- package/docs/demos/Button/examples/Button.md +8 -8
- package/docs/demos/Card/examples/Card.css +6 -6
- package/docs/demos/Card/examples/Card.md +419 -606
- package/docs/demos/CardView/examples/CardView.md +822 -1435
- package/docs/demos/Dashboard/examples/Dashboard.md +1308 -1442
- package/docs/demos/DataList/examples/DataList.md +3210 -3424
- package/docs/demos/DescriptionList/examples/DescriptionList.md +899 -937
- package/docs/demos/Drawer/examples/Drawer.md +1165 -1176
- package/docs/demos/Form/examples/BasicForms.md +153 -88
- package/docs/demos/JumpLinks/examples/JumpLinks.md +1710 -1602
- package/docs/demos/Masthead/examples/Masthead.md +1719 -1583
- package/docs/demos/Modal/examples/Modal.md +1231 -1235
- package/docs/demos/Nav/examples/Nav.md +1216 -1230
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +1910 -4577
- package/docs/demos/Page/examples/Page.css +11 -0
- package/docs/demos/Page/examples/Page.md +3753 -2540
- package/docs/demos/Panel/Panel.md +88 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +9 -3
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +16 -48
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +5150 -6255
- package/docs/demos/Skeleton/examples/Skeleton.md +297 -304
- package/docs/demos/Table/examples/Table.md +14272 -15154
- package/docs/demos/Tabs/examples/Tabs.md +2821 -2891
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -18
- package/docs/demos/Toolbar/examples/Toolbar.md +2487 -2663
- package/docs/demos/Wizard/examples/Wizard.md +3021 -2784
- package/docs/layouts/Bullseye/examples/Bullseye.css +4 -4
- package/docs/layouts/Flex/examples/Flex.css +4 -4
- package/docs/layouts/Flex/examples/Flex.md +50 -50
- package/docs/layouts/Gallery/examples/Gallery.css +4 -4
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.css +3 -3
- package/docs/layouts/Grid/examples/Grid.md +33 -33
- package/docs/layouts/Level/examples/Level.css +5 -5
- package/docs/layouts/Split/examples/Split.css +4 -4
- package/docs/layouts/Stack/examples/Stack.css +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.css +6 -6
- package/docs/utilities/Alignment/examples/Alignment.md +5 -5
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +7 -67
- package/docs/utilities/BoxShadow/examples/box-shadow.css +11 -11
- package/docs/utilities/BoxShadow/examples/box-shadow.md +15 -38
- package/docs/utilities/Display/examples/Display.css +3 -10
- package/docs/utilities/Display/examples/Display.md +21 -12
- package/docs/utilities/Flex/examples/Flex.css +7 -7
- package/docs/utilities/Flex/examples/Flex.md +82 -40
- package/docs/utilities/Float/examples/Float.css +5 -5
- package/docs/utilities/Float/examples/Float.md +6 -6
- package/docs/utilities/Sizing/examples/Sizing.css +6 -6
- package/docs/utilities/Sizing/examples/Sizing.md +60 -60
- package/docs/utilities/Spacing/examples/Spacing.css +3 -3
- package/docs/utilities/Spacing/examples/Spacing.md +37 -37
- package/docs/utilities/Text/examples/Text.md +78 -77
- package/icons/pficons.mjs +6 -0
- package/layouts/Bullseye/bullseye.css +4 -0
- package/layouts/Bullseye/bullseye.scss +5 -1
- package/layouts/Flex/flex.css +241 -237
- package/layouts/Flex/flex.scss +48 -44
- package/layouts/Gallery/gallery.css +15 -11
- package/layouts/Gallery/gallery.scss +9 -5
- package/layouts/Grid/grid.css +20 -16
- package/layouts/Grid/grid.scss +12 -8
- package/layouts/Level/level.css +5 -1
- package/layouts/Level/level.scss +6 -2
- package/layouts/Split/split.css +5 -1
- package/layouts/Split/split.scss +6 -2
- package/layouts/Stack/stack.css +5 -1
- package/layouts/Stack/stack.scss +6 -2
- package/layouts/_index.css +3461 -0
- package/layouts/_index.scss +8 -0
- package/package.json +39 -39
- package/patternfly-addons.css +2071 -2648
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1429 -1645
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1511 -1723
- package/patternfly-base.scss +2 -6
- package/patternfly-charts.css +579 -240
- package/patternfly-charts.scss +352 -337
- package/patternfly-no-globals.css +19895 -23410
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +19999 -23510
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +25 -25
- package/sass-utilities/{_init.scss → init.scss} +6 -6
- package/sass-utilities/mixins.scss +108 -72
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -27
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +49 -261
- package/utilities/Accessibility/accessibility.css +15 -15
- package/utilities/Accessibility/accessibility.scss +8 -6
- package/utilities/Alignment/alignment.css +29 -29
- package/utilities/Alignment/alignment.scss +6 -4
- package/utilities/BackgroundColor/background-color.css +67 -0
- package/utilities/BackgroundColor/background-color.scss +16 -0
- package/utilities/BoxShadow/box-shadow.css +15 -39
- package/utilities/BoxShadow/box-shadow.scss +19 -28
- package/utilities/Display/display.css +43 -5
- package/utilities/Display/display.scss +7 -4
- package/utilities/Flex/flex.css +50 -50
- package/utilities/Flex/flex.scss +21 -20
- package/utilities/Float/float.css +29 -29
- package/utilities/Float/float.scss +6 -6
- package/utilities/Sizing/sizing.css +58 -58
- package/utilities/Sizing/sizing.scss +23 -21
- package/utilities/Spacing/spacing.css +1372 -1372
- package/utilities/Spacing/spacing.scss +6 -6
- package/utilities/Text/text.css +419 -662
- package/utilities/Text/text.scss +81 -107
- package/utilities/_index.css +7815 -0
- package/utilities/_index.scss +10 -0
- package/assets/images/pf-logo-small.svg +0 -23
- package/assets/images/pf_logo_white.hbs +0 -35
- package/assets/images/pfbg-icon.svg +0 -1
- package/assets/pficon/pf-v5-pficon.woff2 +0 -0
- package/base/_base.scss +0 -2
- package/base/_chart-globals.scss +0 -415
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -136
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_themes.scss +0 -43
- package/base/_variables.scss +0 -299
- package/base/patternfly-globals.css +0 -120
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/base/patternfly-themes.css +0 -82
- package/base/patternfly-themes.scss +0 -2
- package/base/themes/dark/_chart-globals.scss +0 -42
- package/base/themes/dark/_globals.scss +0 -5
- package/base/tokens/_workspace-overrides.scss +0 -7
- package/components/AppLauncher/app-launcher.css +0 -244
- package/components/AppLauncher/app-launcher.scss +0 -308
- package/components/AppLauncher/themes/dark/app-launcher.scss +0 -13
- package/components/Chip/chip-group.css +0 -93
- package/components/Chip/chip-group.scss +0 -98
- package/components/Chip/chip.css +0 -122
- package/components/Chip/chip.scss +0 -140
- package/components/Chip/themes/dark/chip.scss +0 -9
- package/components/ContextSelector/context-selector.css +0 -336
- package/components/ContextSelector/context-selector.scss +0 -384
- package/components/ContextSelector/themes/dark/context-selector.scss +0 -24
- package/components/Dropdown/dropdown.css +0 -686
- package/components/Dropdown/dropdown.scss +0 -820
- package/components/Dropdown/themes/dark/dropdown.scss +0 -32
- package/components/LogViewer/log-viewer.css +0 -197
- package/components/LogViewer/log-viewer.scss +0 -226
- package/components/LogViewer/themes/dark/log-viewer.scss +0 -7
- package/components/NotificationBadge/notification-badge.css +0 -87
- package/components/NotificationBadge/notification-badge.scss +0 -108
- package/components/OptionsMenu/options-menu.css +0 -279
- package/components/OptionsMenu/options-menu.scss +0 -332
- package/components/OptionsMenu/themes/dark/options-menu.scss +0 -21
- package/components/Select/select.css +0 -599
- package/components/Select/select.scss +0 -713
- package/components/Select/themes/dark/select.scss +0 -23
- package/components/_all.scss +0 -91
- package/docs/components/AppLauncher/deprecated/application-launcher.css +0 -25
- package/docs/components/AppLauncher/deprecated/application-launcher.md +0 -792
- package/docs/components/Breadcrumb/examples/Breadcrumb.css +0 -3
- package/docs/components/Chip/examples/Chip.md +0 -846
- package/docs/components/ContextSelector/deprecated/context-selector.css +0 -7
- package/docs/components/ContextSelector/deprecated/context-selector.md +0 -909
- package/docs/components/Dropdown/deprecated/Dropdown.css +0 -64
- package/docs/components/Dropdown/deprecated/Dropdown.md +0 -2920
- package/docs/components/LogViewer/examples/LogViewer.css +0 -17
- package/docs/components/LogViewer/examples/LogViewer.md +0 -5936
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +0 -222
- package/docs/components/OptionsMenu/deprecated/options-menu.css +0 -25
- package/docs/components/OptionsMenu/deprecated/options-menu.md +0 -1014
- package/docs/components/Page/deprecated/PageHeader.css +0 -17
- package/docs/components/Page/deprecated/PageHeader.md +0 -261
- package/docs/components/Pagination/examples/Pagination.css +0 -3
- package/docs/components/Select/deprecated/Select.css +0 -56
- package/docs/components/Select/deprecated/Select.md +0 -3525
- package/docs/components/Tabs/examples/Tabs.css +0 -10
- package/docs/components/ToggleGroup/examples/toggle-group.css +0 -4
- package/docs/demos/ContextSelector/examples/ContextSelector.md +0 -1712
- package/docs/demos/Page/examples/Penta.md +0 -821
- package/docs/utilities/Text/examples/Text.css +0 -0
- package/layouts/_all.scss +0 -7
- package/patternfly-base-no-globals-theme-dark-unversioned.css +0 -6276
- package/patternfly-base-no-globals-theme-dark-unversioned.scss +0 -11
- package/patternfly-base-theme-dark-unversioned.css +0 -6393
- package/patternfly-base-theme-dark-unversioned.scss +0 -5
- package/patternfly-charts-theme-dark-unversioned.css +0 -70
- package/patternfly-charts-theme-dark-unversioned.scss +0 -8
- package/patternfly-charts-theme-dark.css +0 -70
- package/patternfly-charts-theme-dark.scss +0 -8
- package/patternfly-theme-dark-unversioned.css +0 -35533
- package/patternfly-theme-dark-unversioned.scss +0 -6
- package/patternfly-theme-dark.css +0 -0
- package/patternfly-theme-dark.scss +0 -1
- package/sass-utilities/_all.scss +0 -9
- package/sass-utilities/colors.scss +0 -82
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- package/sass-utilities/placeholders.scss +0 -72
- package/sass-utilities/themes/dark/_all.scss +0 -4
- package/sass-utilities/themes/dark/colors.scss +0 -16
- package/sass-utilities/themes/dark/mixins.scss +0 -7
- package/sass-utilities/themes/dark/placeholders.scss +0 -5
- package/sass-utilities/themes/dark/scss-variables.scss +0 -92
- package/themes/dark/_patternfly-charts-theme-dark.scss +0 -98
- package/utilities/BackgroundColor/BackgroundColor.css +0 -414
- package/utilities/BackgroundColor/BackgroundColor.scss +0 -64
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.css +0 -0
- package/utilities/BackgroundColor/themes/dark/BackgroundColor.scss +0 -25
- package/utilities/Text/themes/dark/text.css +0 -0
- package/utilities/Text/themes/dark/text.scss +0 -33
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
1
3
|
// TODO: clean up unused variables
|
|
2
4
|
// TODO: update grouping comments to // * Table {element}
|
|
3
5
|
|
|
4
|
-
|
|
5
|
-
:where(.#{$table}) {
|
|
6
|
+
@include pf-root($table) {
|
|
6
7
|
--#{$table}--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
7
8
|
--#{$table}--BorderColor: var(--pf-t--global--border--color--default);
|
|
8
9
|
--#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
@@ -10,34 +11,41 @@
|
|
|
10
11
|
// * Table caption
|
|
11
12
|
--#{$table}__caption--FontSize: var(--pf-t--global--font--size--body--default);
|
|
12
13
|
--#{$table}__caption--Color: var(--pf-t--global--text--color--subtle);
|
|
13
|
-
--#{$table}__caption--
|
|
14
|
-
--#{$table}__caption--
|
|
15
|
-
--#{$table}__caption--
|
|
16
|
-
--#{$table}__caption--
|
|
14
|
+
--#{$table}__caption--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
15
|
+
--#{$table}__caption--PaddingInlineEnd: var(--pf-t--global--spacer--lg);
|
|
16
|
+
--#{$table}__caption--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
17
|
+
--#{$table}__caption--PaddingInlineStart: var(--pf-t--global--spacer--lg);
|
|
17
18
|
|
|
18
19
|
// * Table thead cell
|
|
19
20
|
--#{$table}__thead--cell--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
20
21
|
--#{$table}__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
21
22
|
|
|
23
|
+
// * Table thead toggle
|
|
24
|
+
--#{$table}__thead__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
25
|
+
|
|
22
26
|
// * Table body cell
|
|
23
|
-
--#{$table}__tbody--cell--
|
|
24
|
-
--#{$table}__tbody--cell--
|
|
27
|
+
--#{$table}__tbody--cell--PaddingBlockStart: var(--#{$table}--cell--Padding--base);
|
|
28
|
+
--#{$table}__tbody--cell--PaddingBlockEnd: var(--#{$table}--cell--Padding--base);
|
|
25
29
|
--#{$table}__tbody--cell--FontSize: var(--pf-t--global--font--size--body--default); // set this explicitly for input heights to calc properly
|
|
26
30
|
|
|
31
|
+
// * Table tr
|
|
32
|
+
--#{$table}__tr--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
33
|
+
--#{$table}__tr--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
34
|
+
|
|
27
35
|
// TODO: update these in order of appearance in scss declarations
|
|
28
36
|
|
|
29
37
|
// * Table cell
|
|
30
38
|
--#{$table}--cell--Padding--base: var(--pf-t--global--spacer--md);
|
|
39
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--cell--Padding--base);
|
|
40
|
+
--#{$table}--cell--PaddingInlineEnd: var(--#{$table}--cell--Padding--base);
|
|
41
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--cell--Padding--base);
|
|
42
|
+
--#{$table}--cell--PaddingInlineStart: var(--#{$table}--cell--Padding--base);
|
|
31
43
|
--#{$table}--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
32
|
-
--#{$table}--cell--FontWeight: var(--pf-t--global--font--weight--body);
|
|
44
|
+
--#{$table}--cell--FontWeight: var(--pf-t--global--font--weight--body--default);
|
|
33
45
|
--#{$table}--cell--LineHeight: var(--pf-t--global--font--line-height--body);
|
|
34
46
|
--#{$table}--cell--Color: var(--pf-t--global--text--color--regular);
|
|
35
|
-
--#{$table}--cell--PaddingTop: var(--#{$table}--cell--Padding--base);
|
|
36
|
-
--#{$table}--cell--PaddingRight: var(--#{$table}--cell--Padding--base);
|
|
37
|
-
--#{$table}--cell--PaddingBottom: var(--#{$table}--cell--Padding--base);
|
|
38
|
-
--#{$table}--cell--PaddingLeft: var(--#{$table}--cell--Padding--base);
|
|
39
47
|
--#{$table}--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--sm);
|
|
40
|
-
--#{$table}__tr--m-first-cell-offset-reset--cell--
|
|
48
|
+
--#{$table}__tr--m-first-cell-offset-reset--cell--PaddingInlineStart: var(--#{$table}--cell--Padding--base);
|
|
41
49
|
|
|
42
50
|
// * Table cell - default variables
|
|
43
51
|
--#{$table}--cell--MinWidth: 0;
|
|
@@ -49,100 +57,83 @@
|
|
|
49
57
|
--#{$table}--cell--WordBreak: normal;
|
|
50
58
|
|
|
51
59
|
// * Table cell border right
|
|
52
|
-
--#{$table}--cell--m-border-right--before--
|
|
53
|
-
--#{$table}--cell--m-border-right--before--
|
|
54
|
-
--#{$table}--cell--m-border-left--before--
|
|
55
|
-
--#{$table}--cell--m-border-left--before--
|
|
60
|
+
--#{$table}--cell--m-border-right--before--BorderInlineEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
61
|
+
--#{$table}--cell--m-border-right--before--BorderInlineEndColor: var(--pf-t--global--border--color--default);
|
|
62
|
+
--#{$table}--cell--m-border-left--before--BorderInlineStartWidth: var(--pf-t--global--border--width--divider--default);
|
|
63
|
+
--#{$table}--cell--m-border-left--before--BorderInlineStartColor: var(--pf-t--global--border--color--default);
|
|
56
64
|
|
|
57
65
|
// * Table help
|
|
58
66
|
--#{$table}--cell--m-help--MinWidth: 11ch;
|
|
59
67
|
|
|
60
68
|
// * Table truncate
|
|
61
69
|
--#{$table}--m-truncate--cell--MaxWidth: 1px;
|
|
62
|
-
--#{$table}--m-truncate--cell--MinWidth: calc(5ch + var(--#{$table}--cell--
|
|
70
|
+
--#{$table}--m-truncate--cell--MinWidth: calc(5ch + var(--#{$table}--cell--PaddingInlineEnd) + var(--#{$table}--cell--PaddingInlineStart));
|
|
71
|
+
|
|
72
|
+
// * Table truncate
|
|
73
|
+
--#{$table}--m-truncate__text--MinWidth: 5ch;
|
|
63
74
|
|
|
64
75
|
// * Table cell hidden visible
|
|
65
76
|
--#{$table}--cell--hidden-visible--Display: table-cell;
|
|
66
77
|
|
|
67
78
|
// * Table toggle
|
|
68
|
-
--#{$table}__toggle--
|
|
69
|
-
--#{$table}__toggle--
|
|
70
|
-
--#{$table}__toggle--
|
|
71
|
-
--#{$table}__toggle--
|
|
79
|
+
--#{$table}__toggle--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
80
|
+
--#{$table}__toggle--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
81
|
+
--#{$table}__toggle--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
82
|
+
--#{$table}__toggle--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
72
83
|
--#{$table}__toggle--c-button__toggle-icon--Rotate: 270deg;
|
|
73
|
-
--#{$table}__toggle--c-button__toggle-icon--
|
|
84
|
+
--#{$table}__toggle--c-button__toggle-icon--TransitionDuration: var(--pf-t--global--motion--duration--icon--long);
|
|
85
|
+
--#{$table}__toggle--c-button__toggle-icon--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
74
86
|
--#{$table}__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
|
|
75
87
|
|
|
76
88
|
// * Table button
|
|
77
|
-
--#{$table}__button--
|
|
78
|
-
--#{$table}__button--
|
|
79
|
-
--#{$table}__button--
|
|
80
|
-
--#{$table}__button--
|
|
89
|
+
--#{$table}__button--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
90
|
+
--#{$table}__button--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
91
|
+
--#{$table}__button--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
92
|
+
--#{$table}__button--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
81
93
|
--#{$table}__button--Color: var(--pf-t--global--text--color--regular);
|
|
82
94
|
--#{$table}__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
83
95
|
--#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
84
96
|
--#{$table}__button--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
85
97
|
--#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
86
98
|
--#{$table}__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
87
|
-
--#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
88
|
-
|
|
89
|
-
// * Table compact
|
|
90
|
-
--#{$table}--m-compact__toggle--PaddingTop: 0;
|
|
91
|
-
--#{$table}--m-compact__toggle--PaddingBottom: 0;
|
|
92
99
|
|
|
93
100
|
// * Table check
|
|
94
|
-
--#{$table}__check--
|
|
95
|
-
--#{$table}__check--
|
|
101
|
+
--#{$table}__check--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
102
|
+
--#{$table}__check--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
96
103
|
|
|
97
104
|
// * Table favorite
|
|
98
105
|
--#{$table}__favorite--c-button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
99
106
|
--#{$table}--cell--m-favorite--Color: var(--pf-t--global--text--color--subtle);
|
|
100
107
|
--#{$table}__favorite--m-favorited--c-button--Color: var(--pf-t--global--color--favorite--clicked);
|
|
101
|
-
--#{$table}__sort--m-favorite__button__text--Color: var(--pf-t--global--text--color--subtle);
|
|
102
|
-
--#{$table}__sort--m-favorite__button--hover__text--Color: var(--pf-t--global--text--color--regular);
|
|
103
|
-
|
|
104
|
-
// * Table draggable button
|
|
105
|
-
--#{$table}__draggable--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
106
|
-
--#{$table}__draggable--c-button--MarginRight: calc(var(--#{$button}--PaddingRight) * -1);
|
|
107
|
-
--#{$table}__draggable--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
108
|
-
--#{$table}__draggable--c-button--MarginLeft: calc(var(--#{$button}--PaddingLeft) * -1);
|
|
109
108
|
|
|
110
109
|
// * Table ghost row
|
|
111
110
|
--#{$table}__tr--m-ghost-row--Opacity: .4;
|
|
112
111
|
--#{$table}__tr--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
113
112
|
|
|
114
|
-
// * Table
|
|
115
|
-
--#{$table}__action--
|
|
116
|
-
--#{$table}__action--
|
|
117
|
-
--#{$table}__action--
|
|
118
|
-
--#{$table}__action--
|
|
119
|
-
|
|
120
|
-
// * Table
|
|
121
|
-
--#{$table}
|
|
122
|
-
--#{$table}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
--#{$table}__expandable-row--
|
|
126
|
-
--#{$table}__expandable-row-content--
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
--#{$table}
|
|
130
|
-
--#{$table}
|
|
113
|
+
// * Table action
|
|
114
|
+
--#{$table}__action--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
115
|
+
--#{$table}__action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
116
|
+
--#{$table}__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
117
|
+
--#{$table}__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
118
|
+
|
|
119
|
+
// * Table expandable row content
|
|
120
|
+
--#{$table}__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
121
|
+
--#{$table}__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
122
|
+
--#{$table}__expandable-row-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
123
|
+
--#{$table}__expandable-row-content--PaddingInlineEnd: var(--pf-t--global--spacer--md);
|
|
124
|
+
--#{$table}__expandable-row-content--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
125
|
+
--#{$table}__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
126
|
+
|
|
127
|
+
// * Table control row
|
|
128
|
+
--#{$table}__control-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
129
|
+
--#{$table}__control-row--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
|
|
130
|
+
--#{$table}__control-row__tbody--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
131
131
|
|
|
132
132
|
// * Table icon inline
|
|
133
|
-
--#{$table}__icon-inline--
|
|
133
|
+
--#{$table}__icon-inline--MarginInlineEnd: var(--pf-t--global--spacer--sm);
|
|
134
134
|
|
|
135
135
|
// * Table sort cell
|
|
136
|
-
--#{$table}__sort--MinWidth: calc(6ch + var(--#{$table}--cell--
|
|
137
|
-
|
|
138
|
-
// * Table sort button
|
|
139
|
-
--#{$table}__sort__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
140
|
-
--#{$table}__sort__button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
141
|
-
--#{$table}__sort__button--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
142
|
-
--#{$table}__sort__button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
143
|
-
--#{$table}__sort__button--MarginBottom: calc(var(--#{$table}__sort__button--PaddingBottom) * -1);
|
|
144
|
-
--#{$table}__sort__button--MarginLeft: calc(var(--#{$table}__sort__button--PaddingLeft) * -1);
|
|
145
|
-
--#{$table}__sort__button--Color: var(--pf-t--global--text--color--regular);
|
|
136
|
+
--#{$table}__sort--MinWidth: calc(6ch + var(--#{$table}--cell--PaddingInlineEnd) + var(--#{$table}--cell--PaddingInlineStart) + var(--#{$table}__sort-indicator--MarginInlineStart));
|
|
146
137
|
--#{$table}__sort--m-selected__button--Color: var(--pf-t--global--color--brand--clicked);
|
|
147
138
|
--#{$table}__sort--m-help--MinWidth: 15ch;
|
|
148
139
|
|
|
@@ -150,13 +141,9 @@
|
|
|
150
141
|
--#{$table}__sort__button__text--Color: currentcolor;
|
|
151
142
|
--#{$table}__sort__button--hover__text--Color: currentcolor;
|
|
152
143
|
|
|
153
|
-
// * Table sort cell
|
|
154
|
-
--#{$table}__sort--cell--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
155
|
-
--#{$table}__sort--cell--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
156
|
-
|
|
157
144
|
// * Table sort indicator
|
|
158
145
|
--#{$table}__sort-indicator--Color: var(--pf-t--global--icon--color--subtle);
|
|
159
|
-
--#{$table}__sort-indicator--
|
|
146
|
+
--#{$table}__sort-indicator--MarginInlineStart: var(--pf-t--global--spacer--md);
|
|
160
147
|
--#{$table}__sort--m-selected__sort-indicator--Color: var(--pf-t--global--color--brand--clicked);
|
|
161
148
|
--#{$table}__sort__button--hover__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
162
149
|
|
|
@@ -164,37 +151,38 @@
|
|
|
164
151
|
--#{$table}__th--m-help--MinWidth: 11ch;
|
|
165
152
|
|
|
166
153
|
// * Table header popover
|
|
167
|
-
--#{$table}__column-help--
|
|
168
|
-
--#{$table}__column-help--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
169
|
-
--#{$table}__column-help--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
170
|
-
--#{$table}__column-help--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
171
|
-
--#{$table}__column-help--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
154
|
+
--#{$table}__column-help--MarginInlineStart: var(--pf-t--global--spacer--sm);
|
|
172
155
|
|
|
173
156
|
// * Table compound expansion toggle button
|
|
174
157
|
--#{$table}__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
158
|
+
--#{$table}__compound-expansion-toggle__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
175
159
|
--#{$table}__compound-expansion-toggle__button--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
160
|
+
--#{$table}__compound-expansion-toggle__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
161
|
+
--#{$table}__compound-expansion-toggle__button--expanded--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
|
176
162
|
|
|
177
163
|
// * Table compound expansion toggle button after
|
|
178
164
|
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
179
|
-
--#{$table}__compound-expansion-toggle__button--after--
|
|
180
|
-
--#{$table}__compound-expansion-
|
|
165
|
+
--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth: 0;
|
|
166
|
+
--#{$table}__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
167
|
+
--#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth: var(--pf-t--global--border--width--strong);
|
|
168
|
+
|
|
169
|
+
// * Compound expandable
|
|
170
|
+
--#{$table}--compound-expansion--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
181
171
|
|
|
182
172
|
// * Table compact th
|
|
183
|
-
--#{$table}--m-compact__th--
|
|
184
|
-
--#{$table}--m-compact__th--
|
|
173
|
+
--#{$table}--m-compact__th--PaddingBlockStart: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
|
|
174
|
+
--#{$table}--m-compact__th--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
185
175
|
|
|
186
176
|
// * Table compact cell
|
|
187
|
-
--#{$table}--m-compact--cell--
|
|
188
|
-
--#{$table}--m-compact--cell--
|
|
189
|
-
--#{$table}--m-compact--cell--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
190
|
-
--#{$table}--m-compact--cell--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
177
|
+
--#{$table}--m-compact--cell--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
178
|
+
--#{$table}--m-compact--cell--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
191
179
|
|
|
192
180
|
// * Table compact action
|
|
193
|
-
--#{$table}--m-compact__action--
|
|
194
|
-
--#{$table}--m-compact__action--
|
|
181
|
+
--#{$table}--m-compact__action--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
182
|
+
--#{$table}--m-compact__action--PaddingBlockEnd: var(--pf-t--global--spacer--xs);
|
|
195
183
|
|
|
196
184
|
// * Table expandable row expanded
|
|
197
|
-
--#{$table}__expandable-row--m-expanded--
|
|
185
|
+
--#{$table}__expandable-row--m-expanded--BorderBlockEndColor: var(--pf-t--global--border--color--default);
|
|
198
186
|
|
|
199
187
|
// * Table tr clickable
|
|
200
188
|
--#{$table}__tr--m-clickable--BackgroundColor: transparent;
|
|
@@ -202,41 +190,44 @@
|
|
|
202
190
|
--#{$table}__tr--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
203
191
|
|
|
204
192
|
// * Table tr selected
|
|
205
|
-
--#{$table}__tr--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--
|
|
193
|
+
--#{$table}__tr--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
206
194
|
--#{$table}__tr--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
207
195
|
|
|
208
196
|
// * Table tbody clickable
|
|
209
197
|
--#{$table}__tbody--m-clickable--BackgroundColor: transparent;
|
|
210
198
|
--#{$table}__tbody--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
211
|
-
--#{$table}__tbody--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--
|
|
212
|
-
--#{$table}__tbody--m-clickable--m-expanded--
|
|
199
|
+
--#{$table}__tbody--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
200
|
+
--#{$table}__tbody--m-clickable--m-expanded--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
213
201
|
|
|
214
202
|
// * Table tbody selected
|
|
215
|
-
--#{$table}__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--
|
|
203
|
+
--#{$table}__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
216
204
|
--#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
217
205
|
|
|
218
206
|
// * Table nested column header
|
|
219
207
|
--#{$table}__thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
|
|
220
|
-
--#{$table}__thead--m-nested-column-header__tr--
|
|
221
|
-
--#{$table}__thead--m-nested-column-header__tr--
|
|
208
|
+
--#{$table}__thead--m-nested-column-header__tr--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
209
|
+
--#{$table}__thead--m-nested-column-header__tr--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
222
210
|
|
|
223
211
|
// * Table subhead
|
|
224
|
-
--#{$table}__subhead--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
225
|
-
--#{$table}__subhead--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
226
212
|
--#{$table}__subhead--Color: var(--pf-t--global--text--color--subtle);
|
|
227
213
|
|
|
214
|
+
// * Table subhead button
|
|
215
|
+
--#{$table}__nested-column-header__button--PaddingInlineStart: calc(var(--#{$table}__button--PaddingInlineStart) - var(--pf-t--global--spacer--control--horizontal--plain));
|
|
216
|
+
--#{$table}__nested-column-header__button--PaddingInlineEnd: calc(var(--#{$table}__button--PaddingInlineEnd) - (var(--pf-t--global--spacer--control--horizontal--plain) / 2));
|
|
217
|
+
|
|
228
218
|
// * Table striped
|
|
229
|
-
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--
|
|
219
|
+
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
230
220
|
|
|
231
|
-
// * Table sticky
|
|
232
|
-
--#{$table}--m-sticky-header--cell--ZIndex: var(--pf-t--global--
|
|
221
|
+
// * Table sticky header
|
|
222
|
+
--#{$table}--m-sticky-header--cell--ZIndex: var(--pf-t--global--z-index--xs);
|
|
223
|
+
--#{$table}--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
224
|
+
--#{$table}--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
233
225
|
}
|
|
234
226
|
|
|
235
227
|
// TODO: update grouping comments to // Table {element}
|
|
236
228
|
// TODO: flatten the modifiers out ex: .#{$table}.pf-m-sticky-header {}
|
|
237
229
|
// - Table
|
|
238
230
|
.#{$table} {
|
|
239
|
-
// Base
|
|
240
231
|
width: 100%;
|
|
241
232
|
background-color: var(--#{$table}--BackgroundColor);
|
|
242
233
|
|
|
@@ -244,6 +235,27 @@
|
|
|
244
235
|
table-layout: fixed;
|
|
245
236
|
}
|
|
246
237
|
|
|
238
|
+
// - Table sticky header
|
|
239
|
+
&.pf-m-sticky-header > .#{$table}__thead,
|
|
240
|
+
.#{$table}__thead.pf-m-nested-column-header {
|
|
241
|
+
position: sticky;
|
|
242
|
+
inset-block-start: 0;
|
|
243
|
+
z-index: var(--#{$table}--m-sticky-header--ZIndex);
|
|
244
|
+
background: var(--#{$table}--BackgroundColor);
|
|
245
|
+
|
|
246
|
+
&::before {
|
|
247
|
+
position: absolute;
|
|
248
|
+
inset-block-start: 0;
|
|
249
|
+
inset-block-end: 0;
|
|
250
|
+
inset-inline-start: 0;
|
|
251
|
+
inset-inline-end: 0;
|
|
252
|
+
z-index: var(--#{$table}--m-sticky-header--border--ZIndex);
|
|
253
|
+
pointer-events: none;
|
|
254
|
+
content: '';
|
|
255
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
247
259
|
&.pf-m-sticky-header {
|
|
248
260
|
position: relative;
|
|
249
261
|
|
|
@@ -253,51 +265,15 @@
|
|
|
253
265
|
}
|
|
254
266
|
}
|
|
255
267
|
|
|
256
|
-
//
|
|
257
|
-
> thead:where(.#{$table}__thead):not(.pf-m-nested-column-header) {
|
|
258
|
-
> tr:where(.#{$table}__tr) > :where(th, td) {
|
|
259
|
-
position: sticky;
|
|
260
|
-
inset-block-start: 0;
|
|
261
|
-
background: var(--#{$table}--BackgroundColor);
|
|
262
|
-
|
|
263
|
-
// stylelint-disable-next-line
|
|
264
|
-
&::after {
|
|
265
|
-
position: absolute;
|
|
266
|
-
inset-block-end: 0;
|
|
267
|
-
inset-inline-start: 0;
|
|
268
|
-
inset-inline-end: 0;
|
|
269
|
-
content: '';
|
|
270
|
-
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
// nested column header
|
|
268
|
+
// - Table nested column header
|
|
276
269
|
> .pf-m-nested-column-header {
|
|
277
270
|
position: sticky;
|
|
278
271
|
inset-block-start: 0;
|
|
279
|
-
z-index: var(--pf-t--global--Zindex--xs);
|
|
280
272
|
background: var(--#{$table}--BackgroundColor);
|
|
281
|
-
|
|
282
|
-
> .pf-m-border-row {
|
|
283
|
-
height: var(--#{$table}--border-width--base);
|
|
284
|
-
background-color: var(--#{$table}--BorderColor);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
// TODO: remove this block
|
|
288
|
-
tr:where(.#{$table}__tr):not(:nth-last-child(2)) {
|
|
289
|
-
// stylelint-disable max-nesting-depth
|
|
290
|
-
th:where(.#{$table}__th),
|
|
291
|
-
td:where(.#{$table}__td) {
|
|
292
|
-
&:not([rowspan]) {
|
|
293
|
-
--#{$table}--cell--PaddingBottom: var(--#{$table}__thead--m-nested-column-header__tr--PaddingBottom);
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
// stylelint-enable
|
|
297
|
-
}
|
|
298
273
|
}
|
|
299
274
|
}
|
|
300
275
|
|
|
276
|
+
// - Table not sticky header nested column header
|
|
301
277
|
&:not(.pf-m-sticky-header) > .pf-m-nested-column-header {
|
|
302
278
|
tr:where(.#{$table}__tr):not(:last-child) {
|
|
303
279
|
border-block-end: 0; // hard reset tr borders in nested headers
|
|
@@ -306,17 +282,17 @@
|
|
|
306
282
|
th:where(.#{$table}__th),
|
|
307
283
|
td:where(.#{$table}__td) {
|
|
308
284
|
&:not([rowspan]) {
|
|
309
|
-
--#{$table}--cell--
|
|
285
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}__thead--m-nested-column-header__tr--PaddingBlockEnd);
|
|
310
286
|
}
|
|
311
287
|
}
|
|
312
288
|
// stylelint-enable
|
|
313
289
|
}
|
|
314
290
|
}
|
|
315
291
|
|
|
316
|
-
//
|
|
292
|
+
// - Table striped
|
|
317
293
|
// stylelint-disable
|
|
318
294
|
&.pf-m-striped:not(.pf-m-expandable) > tbody:where(.#{$table}__tbody) > tr:where(.#{$table}__tr):nth-child(odd), // regular table
|
|
319
|
-
&.pf-m-striped.pf-m-expandable > tbody:where(.#{$table}__tbody):nth-of-type(odd) > tr:where(.#{$table}__tr)
|
|
295
|
+
&.pf-m-striped.pf-m-expandable > tbody:where(.#{$table}__tbody):nth-of-type(odd) > tr:where(.#{$table}__tr), // expandable table
|
|
320
296
|
> .pf-m-striped > tr:nth-child(odd), // tbody odd
|
|
321
297
|
> .pf-m-striped-even > tr:nth-child(even), // tbody even
|
|
322
298
|
tr:where(.#{$table}__tr).pf-m-striped { // tr
|
|
@@ -338,17 +314,16 @@
|
|
|
338
314
|
|
|
339
315
|
// - Table th - Table td
|
|
340
316
|
tr:where(.#{$table}__tr) > :where(th, td) {
|
|
341
|
-
@include pf-
|
|
317
|
+
@include pf-v6-hidden-visible(var(--#{$table}--cell--hidden-visible--Display));
|
|
342
318
|
|
|
343
|
-
// set position relative for ::after borders
|
|
344
319
|
position: relative;
|
|
345
320
|
width: var(--#{$table}--cell--Width);
|
|
346
321
|
min-width: var(--#{$table}--cell--MinWidth);
|
|
347
322
|
max-width: var(--#{$table}--cell--MaxWidth);
|
|
348
|
-
padding-block-start: var(--#{$table}--cell--
|
|
349
|
-
padding-block-end: var(--#{$table}--cell--
|
|
350
|
-
padding-inline-start: var(--#{$table}--cell--
|
|
351
|
-
padding-inline-end: var(--#{$table}--cell--
|
|
323
|
+
padding-block-start: var(--#{$table}--cell--PaddingBlockStart);
|
|
324
|
+
padding-block-end: var(--#{$table}--cell--PaddingBlockEnd);
|
|
325
|
+
padding-inline-start: var(--#{$table}--cell--PaddingInlineStart);
|
|
326
|
+
padding-inline-end: var(--#{$table}--cell--PaddingInlineEnd);
|
|
352
327
|
|
|
353
328
|
// default settings
|
|
354
329
|
overflow: var(--#{$table}--cell--Overflow);
|
|
@@ -362,19 +337,19 @@
|
|
|
362
337
|
|
|
363
338
|
// First child padding left
|
|
364
339
|
&:first-child {
|
|
365
|
-
padding-inline-start: calc(var(--#{$table}--cell--first-last-child--PaddingInline) + var(--#{$table}--cell--
|
|
340
|
+
padding-inline-start: calc(var(--#{$table}--cell--first-last-child--PaddingInline) + var(--#{$table}--cell--PaddingInlineStart));
|
|
366
341
|
}
|
|
367
342
|
|
|
368
343
|
// Last child padding right
|
|
369
344
|
&:last-child {
|
|
370
|
-
padding-inline-end: calc(var(--#{$table}--cell--first-last-child--PaddingInline) + var(--#{$table}--cell--
|
|
345
|
+
padding-inline-end: calc(var(--#{$table}--cell--first-last-child--PaddingInline) + var(--#{$table}--cell--PaddingInlineEnd));
|
|
371
346
|
}
|
|
372
347
|
|
|
373
348
|
&.pf-m-center {
|
|
374
349
|
text-align: center;
|
|
375
350
|
}
|
|
376
351
|
|
|
377
|
-
&:empty {
|
|
352
|
+
&:is(:empty, .#{$table}__cell-empty) {
|
|
378
353
|
width: auto;
|
|
379
354
|
min-width: 0;
|
|
380
355
|
padding: 0;
|
|
@@ -400,29 +375,34 @@
|
|
|
400
375
|
}
|
|
401
376
|
|
|
402
377
|
&.pf-m-border-right::before {
|
|
403
|
-
border-inline-end: var(--#{$table}--cell--m-border-right--before--
|
|
378
|
+
border-inline-end: var(--#{$table}--cell--m-border-right--before--BorderInlineEndWidth) solid var(--#{$table}--cell--m-border-right--before--BorderInlineEndColor);
|
|
404
379
|
}
|
|
405
380
|
|
|
406
381
|
&.pf-m-border-left::before {
|
|
407
|
-
border-inline-start: var(--#{$table}--cell--m-border-left--before--
|
|
382
|
+
border-inline-start: var(--#{$table}--cell--m-border-left--before--BorderInlineStartWidth) solid var(--#{$table}--cell--m-border-left--before--BorderInlineStartColor);
|
|
408
383
|
}
|
|
409
384
|
}
|
|
410
385
|
|
|
411
386
|
// - Table caption
|
|
412
387
|
caption:where(.#{$table}__caption) {
|
|
413
|
-
padding-block-start: var(--#{$table}__caption--
|
|
414
|
-
padding-block-end: var(--#{$table}__caption--
|
|
415
|
-
padding-inline-start: var(--#{$table}__caption--
|
|
388
|
+
padding-block-start: var(--#{$table}__caption--PaddingBlockStart);
|
|
389
|
+
padding-block-end: var(--#{$table}__caption--PaddingBlockEnd);
|
|
390
|
+
padding-inline-start: var(--#{$table}__caption--PaddingInlineStart);
|
|
416
391
|
font-size: var(--#{$table}__caption--FontSize);
|
|
417
392
|
color: var(--#{$table}__caption--Color);
|
|
418
393
|
text-align: start;
|
|
419
394
|
background-color: var(--#{$table}--BackgroundColor);
|
|
420
395
|
}
|
|
421
396
|
|
|
422
|
-
// - Table
|
|
397
|
+
// - Table thead
|
|
423
398
|
thead:where(.#{$table}__thead) {
|
|
424
399
|
--#{$table}--cell--FontSize: var(--#{$table}__thead--cell--FontSize);
|
|
425
400
|
--#{$table}--cell--FontWeight: var(--#{$table}__thead--cell--FontWeight);
|
|
401
|
+
--#{$table}--cell--MinWidth: var(--#{$table}--m-truncate--cell--MinWidth);
|
|
402
|
+
--#{$table}--cell--MaxWidth: var(--#{$table}--m-truncate--cell--MaxWidth);
|
|
403
|
+
--#{$table}--cell--Overflow: hidden;
|
|
404
|
+
--#{$table}--cell--TextOverflow: ellipsis;
|
|
405
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
426
406
|
|
|
427
407
|
// stylelint-disable
|
|
428
408
|
&.pf-m-nested-column-header {
|
|
@@ -434,7 +414,7 @@
|
|
|
434
414
|
th:where(.#{$table}__th),
|
|
435
415
|
td:where(.#{$table}__td) {
|
|
436
416
|
&:not([rowspan]) {
|
|
437
|
-
--#{$table}--cell--
|
|
417
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}__thead--m-nested-column-header__tr--PaddingBlockStart);
|
|
438
418
|
}
|
|
439
419
|
}
|
|
440
420
|
}
|
|
@@ -443,23 +423,17 @@
|
|
|
443
423
|
|
|
444
424
|
// - Table subhead
|
|
445
425
|
.#{$table}__subhead {
|
|
446
|
-
--#{$table}--cell--PaddingLeft: var(--#{$table}__subhead--PaddingLeft);
|
|
447
|
-
--#{$table}--cell--PaddingRight: var(--#{$table}__subhead--PaddingRight);
|
|
448
426
|
--#{$table}__sort__button__text--Color: var(--#{$table}__subhead--Color);
|
|
449
427
|
|
|
450
428
|
color: var(--#{$table}__subhead--Color);
|
|
451
|
-
|
|
452
|
-
.#{$table}__button {
|
|
453
|
-
margin-inline-start: 0;
|
|
454
|
-
}
|
|
455
429
|
}
|
|
456
430
|
}
|
|
457
431
|
|
|
458
432
|
// - Table tbody
|
|
459
433
|
// stylelint-disable
|
|
460
434
|
tbody:where(.#{$table}__tbody) {
|
|
461
|
-
--#{$table}--cell--
|
|
462
|
-
--#{$table}--cell--
|
|
435
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}__tbody--cell--PaddingBlockStart);
|
|
436
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}__tbody--cell--PaddingBlockEnd);
|
|
463
437
|
--#{$table}--cell--FontSize: var(--#{$table}__tbody--cell--FontSize);
|
|
464
438
|
|
|
465
439
|
> tr:where(.#{$table}__tr) > :where(th, td) {
|
|
@@ -493,52 +467,13 @@
|
|
|
493
467
|
}
|
|
494
468
|
}
|
|
495
469
|
|
|
496
|
-
// - Table truncate - Table wrap - Table nowrap - Table fit content - Table wrap - Table break word
|
|
497
|
-
:where([class*='#{$table}']),
|
|
498
|
-
:where(&) > :is(thead, tbody) {
|
|
499
|
-
@at-root .#{$table} > thead,
|
|
500
|
-
&.pf-m-truncate {
|
|
501
|
-
--#{$table}--cell--MinWidth: var(--#{$table}--m-truncate--cell--MinWidth);
|
|
502
|
-
--#{$table}--cell--MaxWidth: var(--#{$table}--m-truncate--cell--MaxWidth);
|
|
503
|
-
--#{$table}--cell--Overflow: hidden;
|
|
504
|
-
--#{$table}--cell--TextOverflow: ellipsis;
|
|
505
|
-
--#{$table}--cell--WhiteSpace: nowrap;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
&.pf-m-wrap {
|
|
509
|
-
--#{$table}--cell--MinWidth: 0;
|
|
510
|
-
--#{$table}--cell--MaxWidth: none;
|
|
511
|
-
--#{$table}--cell--Overflow: visible;
|
|
512
|
-
--#{$table}--cell--TextOverflow: clip;
|
|
513
|
-
--#{$table}--cell--WhiteSpace: normal;
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
&.pf-m-nowrap {
|
|
517
|
-
--#{$table}--cell--MinWidth: 0;
|
|
518
|
-
--#{$table}--cell--MaxWidth: none;
|
|
519
|
-
--#{$table}--cell--Overflow: visible;
|
|
520
|
-
--#{$table}--cell--TextOverflow: clip;
|
|
521
|
-
--#{$table}--cell--WhiteSpace: nowrap;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
.#{$table}__icon,
|
|
525
|
-
&.pf-m-fit-content {
|
|
526
|
-
--#{$table}--cell--MinWidth: fit-content;
|
|
527
|
-
--#{$table}--cell--MaxWidth: none;
|
|
528
|
-
--#{$table}--cell--Width: 1%;
|
|
529
|
-
--#{$table}--cell--Overflow: visible;
|
|
530
|
-
--#{$table}--cell--TextOverflow: clip;
|
|
531
|
-
--#{$table}--cell--WhiteSpace: nowrap;
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
&.pf-m-break-word {
|
|
535
|
-
--#{$table}--cell--WordBreak: break-word;
|
|
536
|
-
--#{$table}--cell--WhiteSpace: normal;
|
|
537
|
-
}
|
|
538
|
-
}
|
|
539
|
-
|
|
540
470
|
// stylelint-disable selector-no-qualifying-type, selector-max-compound-selectors
|
|
541
471
|
&.pf-m-no-border-rows > tbody:where(.#{$table}__tbody) {
|
|
472
|
+
--#{$table}__tr--BorderBlockEndWidth: 0;
|
|
473
|
+
--#{$table}__tbody--BorderBlockEndWidth: 0;
|
|
474
|
+
--#{$table}--m-expandable__tbody--BorderBlockEndWidth: 0;
|
|
475
|
+
--#{$table}__control-row--BorderBlockEndWidth: 0;
|
|
476
|
+
|
|
542
477
|
> tr:where(.#{$table}__tr) {
|
|
543
478
|
border-block-end: 0;
|
|
544
479
|
}
|
|
@@ -566,16 +501,13 @@
|
|
|
566
501
|
|
|
567
502
|
// tr selected
|
|
568
503
|
&.pf-m-selected {
|
|
569
|
-
--#{$table}__expandable-row--after--BorderLeftWidth: var(--#{$table}__tr--m-selected--after--BorderLeftWidth);
|
|
570
|
-
--#{$table}__expandable-row--after--BorderColor: var(--#{$table}__tr--m-selected--after--BorderLeftColor);
|
|
571
|
-
|
|
572
504
|
position: relative;
|
|
573
505
|
background-color: var(--#{$table}__tr--m-selected--BackgroundColor);
|
|
574
506
|
outline-offset: var(--#{$table}__tr--m-selected--OutlineOffset);
|
|
575
507
|
}
|
|
576
508
|
|
|
577
|
-
&.pf-m-first-cell-offset-reset {
|
|
578
|
-
|
|
509
|
+
&.pf-m-first-cell-offset-reset > :first-child {
|
|
510
|
+
padding-inline-start: var(--#{$table}__tr--m-first-cell-offset-reset--cell--PaddingInlineStart);
|
|
579
511
|
}
|
|
580
512
|
}
|
|
581
513
|
|
|
@@ -587,28 +519,85 @@
|
|
|
587
519
|
background-color: var(--#{$table}__tbody--m-clickable--BackgroundColor);
|
|
588
520
|
outline-offset: var(--#{$table}__tbody--m-clickable--OutlineOffset);
|
|
589
521
|
|
|
590
|
-
&.pf-m-expanded:not(.pf-m-selected) {
|
|
591
|
-
--#{$table}__expandable-row--after--BorderColor: var(--#{$table}__tbody--m-clickable--m-expanded--BorderColor);
|
|
592
|
-
}
|
|
593
|
-
|
|
594
522
|
&:is(:hover, :focus) {
|
|
595
523
|
--#{$table}__tbody--m-clickable--BackgroundColor: var(--#{$table}__tbody--m-clickable--hover--BackgroundColor);
|
|
596
524
|
}
|
|
525
|
+
|
|
526
|
+
&.pf-m-expanded {
|
|
527
|
+
--#{$table}__tbody--m-clickable--BackgroundColor: var(--#{$table}__tbody--m-clickable--m-expanded--BackgroundColor);
|
|
528
|
+
}
|
|
597
529
|
}
|
|
598
530
|
|
|
599
531
|
// - Table tbody expanded
|
|
600
532
|
&.pf-m-selected {
|
|
601
|
-
--#{$table}__expandable-row--after--BorderLeftWidth: var(--#{$table}__tbody--m-selected--after--BorderLeftWidth);
|
|
602
|
-
--#{$table}__expandable-row--after--BorderColor: var(--#{$table}__tbody--m-selected--after--BorderLeftColor);
|
|
603
|
-
|
|
604
533
|
background-color: var(--#{$table}__tbody--m-selected--BackgroundColor);
|
|
605
534
|
outline-offset: var(--#{$table}__tbody--m-selected--OutlineOffset);
|
|
535
|
+
|
|
536
|
+
.#{$table}__tr.pf-m-expanded:not(.#{$table}__expandable-row) {
|
|
537
|
+
border: none;
|
|
538
|
+
}
|
|
606
539
|
}
|
|
607
540
|
}
|
|
608
541
|
|
|
609
542
|
&.pf-m-drag-over {
|
|
610
543
|
overflow-anchor: none;
|
|
611
544
|
}
|
|
545
|
+
|
|
546
|
+
// - Table table
|
|
547
|
+
.#{$table}{
|
|
548
|
+
background-color: transparent;
|
|
549
|
+
|
|
550
|
+
&,
|
|
551
|
+
:is(.#{$table}__tbody, .#{$table}__tr:last-child) {
|
|
552
|
+
border-block-end: 0;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
.#{$button} .#{$table}__sort-indicator {
|
|
557
|
+
--#{$table}__sort-indicator--MarginInlineStart: 0;
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
// - Table truncate - Table wrap - Table nowrap - Table fit content - Table wrap - Table break word
|
|
562
|
+
[class*='#{$table}'] {
|
|
563
|
+
&.pf-m-truncate {
|
|
564
|
+
--#{$table}--cell--MinWidth: var(--#{$table}--m-truncate--cell--MinWidth);
|
|
565
|
+
--#{$table}--cell--MaxWidth: var(--#{$table}--m-truncate--cell--MaxWidth);
|
|
566
|
+
--#{$table}--cell--Overflow: hidden;
|
|
567
|
+
--#{$table}--cell--TextOverflow: ellipsis;
|
|
568
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
&.pf-m-wrap {
|
|
572
|
+
--#{$table}--cell--MinWidth: 0;
|
|
573
|
+
--#{$table}--cell--MaxWidth: none;
|
|
574
|
+
--#{$table}--cell--Overflow: visible;
|
|
575
|
+
--#{$table}--cell--TextOverflow: clip;
|
|
576
|
+
--#{$table}--cell--WhiteSpace: normal;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
&.pf-m-nowrap {
|
|
580
|
+
--#{$table}--cell--MinWidth: 0;
|
|
581
|
+
--#{$table}--cell--MaxWidth: none;
|
|
582
|
+
--#{$table}--cell--Overflow: visible;
|
|
583
|
+
--#{$table}--cell--TextOverflow: clip;
|
|
584
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
.#{$table}__icon,
|
|
588
|
+
&.pf-m-fit-content {
|
|
589
|
+
--#{$table}--cell--MinWidth: fit-content;
|
|
590
|
+
--#{$table}--cell--MaxWidth: none;
|
|
591
|
+
--#{$table}--cell--Width: 1%;
|
|
592
|
+
--#{$table}--cell--Overflow: visible;
|
|
593
|
+
--#{$table}--cell--TextOverflow: clip;
|
|
594
|
+
--#{$table}--cell--WhiteSpace: nowrap;
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
&.pf-m-break-word {
|
|
598
|
+
--#{$table}--cell--WordBreak: break-word;
|
|
599
|
+
--#{$table}--cell--WhiteSpace: normal;
|
|
600
|
+
}
|
|
612
601
|
}
|
|
613
602
|
|
|
614
603
|
// - Table text
|
|
@@ -629,6 +618,7 @@
|
|
|
629
618
|
// Only apply these settings if specifically modified
|
|
630
619
|
&.pf-m-truncate {
|
|
631
620
|
--#{$table}--cell--MinWidth: 100%;
|
|
621
|
+
--#{$table}--text--MinWidth: var(--#{$table}--m-truncate__text--MinWidth);
|
|
632
622
|
|
|
633
623
|
> :where(th, td) {
|
|
634
624
|
overflow: var(--#{$table}--cell--Overflow);
|
|
@@ -638,22 +628,15 @@
|
|
|
638
628
|
}
|
|
639
629
|
}
|
|
640
630
|
|
|
641
|
-
// - Table tr
|
|
642
|
-
.#{$table}__tr {
|
|
643
|
-
&.pf-m-border-row {
|
|
644
|
-
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
|
|
648
631
|
// - Table button
|
|
649
632
|
.#{$table}__button {
|
|
650
633
|
width: auto;
|
|
651
|
-
padding-block-start: var(--#{$table}__button--
|
|
652
|
-
padding-block-end: var(--#{$table}__button--
|
|
653
|
-
padding-inline-start: var(--#{$table}__button--
|
|
654
|
-
padding-inline-end: var(--#{$table}__button--
|
|
655
|
-
margin-block-end: calc(var(--#{$table}__button--
|
|
656
|
-
margin-inline-start: calc(var(--#{$table}__button--
|
|
634
|
+
padding-block-start: var(--#{$table}__button--PaddingBlockStart);
|
|
635
|
+
padding-block-end: var(--#{$table}__button--PaddingBlockEnd);
|
|
636
|
+
padding-inline-start: var(--#{$table}__button--PaddingInlineStart);
|
|
637
|
+
padding-inline-end: var(--#{$table}__button--PaddingInlineEnd);
|
|
638
|
+
margin-block-end: calc(var(--#{$table}__button--PaddingBlockEnd) * -1);
|
|
639
|
+
margin-inline-start: calc(var(--#{$table}__button--PaddingInlineStart) * -1);
|
|
657
640
|
font-size: inherit;
|
|
658
641
|
font-weight: inherit;
|
|
659
642
|
color: var(--#{$table}__button--Color);
|
|
@@ -663,6 +646,7 @@
|
|
|
663
646
|
background-color: var(--#{$table}__button--BackgroundColor);
|
|
664
647
|
border: 0;
|
|
665
648
|
border-radius: var(--#{$table}__button--BorderRadius);
|
|
649
|
+
outline-offset: var(--#{$table}__button--OutlineOffset);
|
|
666
650
|
|
|
667
651
|
// Table table table button
|
|
668
652
|
.#{$table} .#{$table} & {
|
|
@@ -727,8 +711,6 @@
|
|
|
727
711
|
.#{$table} .#{$table}__check,
|
|
728
712
|
.#{$table} .#{$table}__toggle,
|
|
729
713
|
.#{$table} .#{$table}__action,
|
|
730
|
-
.#{$table} .#{$table}__favorite,
|
|
731
|
-
.#{$table} th:where(.#{$table}__th).pf-m-favorite,
|
|
732
714
|
.#{$table} .#{$table}__inline-edit-action,
|
|
733
715
|
.#{$table} .#{$table}__draggable {
|
|
734
716
|
--#{$table}--cell--MinWidth: 0;
|
|
@@ -736,12 +718,16 @@
|
|
|
736
718
|
}
|
|
737
719
|
// stylelint-enable
|
|
738
720
|
|
|
721
|
+
.#{$table} .#{$table}__favorite {
|
|
722
|
+
--#{$table}--cell--MaxWidth: auto;
|
|
723
|
+
}
|
|
724
|
+
|
|
739
725
|
// - Table toggle
|
|
740
726
|
.#{$table}__toggle {
|
|
741
|
-
--#{$table}--cell--
|
|
742
|
-
--#{$table}--cell--
|
|
743
|
-
--#{$table}--cell--
|
|
744
|
-
--#{$table}--cell--
|
|
727
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}__toggle--PaddingBlockStart);
|
|
728
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}__toggle--PaddingBlockEnd);
|
|
729
|
+
--#{$table}--cell--PaddingInlineStart: var(--#{$table}__toggle--PaddingInlineStart);
|
|
730
|
+
--#{$table}--cell--PaddingInlineEnd: var(--#{$table}__toggle--PaddingInlineEnd);
|
|
745
731
|
|
|
746
732
|
.#{$button} {
|
|
747
733
|
&.pf-m-expanded .#{$table}__toggle-icon {
|
|
@@ -751,9 +737,9 @@
|
|
|
751
737
|
|
|
752
738
|
|
|
753
739
|
.#{$table}__toggle-icon {
|
|
754
|
-
@include pf-
|
|
740
|
+
@include pf-v6-mirror-inline-on-rtl;
|
|
755
741
|
|
|
756
|
-
transition: var(--#{$table}__toggle--c-button__toggle-icon--
|
|
742
|
+
transition: transform var(--#{$table}__toggle--c-button__toggle-icon--TransitionDuration) var(--#{$table}__toggle--c-button__toggle-icon--TransitionTimingFunction);
|
|
757
743
|
transform: rotate(var(--#{$table}__toggle--c-button__toggle-icon--Rotate));
|
|
758
744
|
}
|
|
759
745
|
|
|
@@ -764,8 +750,8 @@
|
|
|
764
750
|
|
|
765
751
|
// - Table check
|
|
766
752
|
.#{$table}__check {
|
|
767
|
-
--#{$table}--cell--
|
|
768
|
-
--#{$table}--cell--
|
|
753
|
+
--#{$table}--cell--PaddingInlineStart: var(--#{$table}__check--PaddingInlineStart);
|
|
754
|
+
--#{$table}--cell--PaddingInlineEnd: var(--#{$table}__check--PaddingInlineEnd);
|
|
769
755
|
|
|
770
756
|
vertical-align: top;
|
|
771
757
|
|
|
@@ -796,14 +782,15 @@
|
|
|
796
782
|
|
|
797
783
|
// - Table favorite
|
|
798
784
|
.#{$table}__favorite {
|
|
799
|
-
// --#{$table}--cell--PaddingLeft: var(--#{$table}__favorite--PaddingLeft);
|
|
800
|
-
// --#{$table}--cell--PaddingRight: var(--#{$table}__favorite--PaddingRight);
|
|
801
|
-
|
|
802
785
|
.#{$button} {
|
|
803
786
|
--#{$button}--FontSize: var(--#{$table}__favorite--c-button--FontSize);
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
&.pf-m-favorited .#{$button} {
|
|
790
|
+
--#{$button}--m-plain__icon--Color: var(--#{$table}__favorite--m-favorited--c-button--Color);
|
|
804
791
|
|
|
805
|
-
|
|
806
|
-
--#{$button}--
|
|
792
|
+
&:is(:hover, :focus) {
|
|
793
|
+
--#{$button}--hover__icon--Color: var(--#{$table}__favorite--m-favorited--c-button--Color);
|
|
807
794
|
}
|
|
808
795
|
}
|
|
809
796
|
}
|
|
@@ -824,10 +811,10 @@
|
|
|
824
811
|
.#{$table}__favorite,
|
|
825
812
|
.#{$table}__inline-edit-action,
|
|
826
813
|
.#{$table}__draggable {
|
|
827
|
-
--#{$table}--cell--
|
|
828
|
-
--#{$table}--cell--
|
|
829
|
-
--#{$table}--cell--
|
|
830
|
-
--#{$table}--cell--
|
|
814
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}__action--PaddingBlockStart);
|
|
815
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}__action--PaddingBlockEnd);
|
|
816
|
+
--#{$table}--cell--PaddingInlineStart: var(--#{$table}__action--PaddingInlineStart);
|
|
817
|
+
--#{$table}--cell--PaddingInlineEnd: var(--#{$table}__action--PaddingInlineEnd);
|
|
831
818
|
}
|
|
832
819
|
|
|
833
820
|
// - Table action - Table inline edit action
|
|
@@ -845,6 +832,7 @@
|
|
|
845
832
|
|
|
846
833
|
position: relative;
|
|
847
834
|
padding: 0;
|
|
835
|
+
background-color: var(--#{$table}__compound-expansion-toggle__button--BackgroundColor);
|
|
848
836
|
|
|
849
837
|
// show left border, use __text to truncate content
|
|
850
838
|
&.pf-m-truncate {
|
|
@@ -870,13 +858,18 @@
|
|
|
870
858
|
inset: 0;
|
|
871
859
|
content: '';
|
|
872
860
|
border: 0;
|
|
873
|
-
border-block-start: var(--#{$table}__compound-expansion-toggle__button--after--
|
|
861
|
+
border-block-start: var(--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth) solid var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
874
862
|
}
|
|
875
863
|
|
|
876
864
|
&:hover,
|
|
877
|
-
&:focus-within
|
|
865
|
+
&:focus-within {
|
|
866
|
+
--#{$table}__compound-expansion-toggle__button--BackgroundColor: var(--#{$table}__compound-expansion-toggle__button--hover--BackgroundColor);
|
|
867
|
+
--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth: var(--#{$table}__compound-expansion-toggle__button--hover--after--BorderBlockStartWidth);
|
|
868
|
+
}
|
|
869
|
+
|
|
878
870
|
&.pf-m-expanded {
|
|
879
|
-
--#{$table}__compound-expansion-toggle__button--
|
|
871
|
+
--#{$table}__compound-expansion-toggle__button--BackgroundColor: var(--#{$table}__compound-expansion-toggle__button--expanded--BackgroundColor);
|
|
872
|
+
--#{$table}__compound-expansion-toggle__button--after--BorderBlockStartWidth: var(--#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderBlockStartWidth);
|
|
880
873
|
}
|
|
881
874
|
|
|
882
875
|
&:focus-within {
|
|
@@ -893,7 +886,7 @@
|
|
|
893
886
|
|
|
894
887
|
// - Table column help action
|
|
895
888
|
.#{$table}__column-help-action {
|
|
896
|
-
margin-inline-start: var(--#{$table}__column-help--
|
|
889
|
+
margin-inline-start: var(--#{$table}__column-help--MarginInlineStart);
|
|
897
890
|
}
|
|
898
891
|
|
|
899
892
|
// - Table sort
|
|
@@ -914,12 +907,14 @@
|
|
|
914
907
|
}
|
|
915
908
|
}
|
|
916
909
|
|
|
917
|
-
&.pf-m-selected .#{$table}__button
|
|
910
|
+
&.pf-m-selected .#{$table}__button,
|
|
911
|
+
&.pf-m-selected .#{$button} {
|
|
918
912
|
--#{$table}__sort-indicator--Color: var(--#{$table}__sort--m-selected__sort-indicator--Color);
|
|
919
|
-
--#{$table}__sort__button__text--Color: var(--#{$table}__sort--m-selected__button__text--Color);
|
|
920
913
|
|
|
921
914
|
// override state colors on text
|
|
922
|
-
|
|
915
|
+
.#{$table}__text {
|
|
916
|
+
color: var(--#{$table}__sort--m-selected__button--Color);
|
|
917
|
+
}
|
|
923
918
|
}
|
|
924
919
|
|
|
925
920
|
&.pf-m-help {
|
|
@@ -927,9 +922,9 @@
|
|
|
927
922
|
}
|
|
928
923
|
|
|
929
924
|
&.pf-m-favorite {
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
925
|
+
.#{$table}__text {
|
|
926
|
+
font-size: var(--#{$table}__favorite--c-button--FontSize);
|
|
927
|
+
}
|
|
933
928
|
}
|
|
934
929
|
}
|
|
935
930
|
|
|
@@ -937,8 +932,7 @@
|
|
|
937
932
|
.#{$table}__sort-indicator {
|
|
938
933
|
grid-column: 2;
|
|
939
934
|
align-self: end;
|
|
940
|
-
margin-inline-start: var(--#{$table}__sort-indicator--
|
|
941
|
-
font-size: var(--#{$table}__sort-indicator--FontSize);
|
|
935
|
+
margin-inline-start: var(--#{$table}__sort-indicator--MarginInlineStart); // TODO: update this to gap
|
|
942
936
|
color: var(--#{$table}__sort-indicator--Color);
|
|
943
937
|
pointer-events: none;
|
|
944
938
|
}
|
|
@@ -948,50 +942,48 @@
|
|
|
948
942
|
position: relative;
|
|
949
943
|
border-block-end: 0 solid transparent;
|
|
950
944
|
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
// stylelint-disable
|
|
958
|
-
> td,
|
|
959
|
-
> th {
|
|
960
|
-
padding-top: 0;
|
|
945
|
+
@at-root :not(.#{$table}__control-row) ~ .#{$table}__expandable-row {
|
|
946
|
+
> .#{$table}__th,
|
|
947
|
+
> .#{$table}__td {
|
|
948
|
+
padding-block-start: 0;
|
|
949
|
+
}
|
|
961
950
|
}
|
|
962
951
|
|
|
963
952
|
td:where(.#{$table}__td),
|
|
964
953
|
th:where(.#{$table}__th) {
|
|
965
954
|
&.pf-m-no-padding {
|
|
966
955
|
padding-block-start: 0;
|
|
967
|
-
padding-inline-end: 0;
|
|
968
956
|
padding-block-end: 0;
|
|
969
|
-
padding-inline-start:
|
|
957
|
+
padding-inline-start: 0;
|
|
958
|
+
padding-inline-end: 0;
|
|
970
959
|
|
|
971
960
|
.#{$table}__expandable-row-content {
|
|
972
961
|
padding: 0;
|
|
973
962
|
}
|
|
974
963
|
}
|
|
975
964
|
}
|
|
976
|
-
// stylelint-enable
|
|
977
965
|
|
|
966
|
+
// - Table expandable row content
|
|
978
967
|
.#{$table}__expandable-row-content {
|
|
979
|
-
padding-block-start: var(--#{$table}__expandable-row-content--
|
|
980
|
-
padding-block-end: var(--#{$table}__expandable-row-content--
|
|
968
|
+
padding-block-start: var(--#{$table}__expandable-row-content--PaddingBlockStart);
|
|
969
|
+
padding-block-end: var(--#{$table}__expandable-row-content--PaddingBlockEnd);
|
|
970
|
+
padding-inline-start: var(--#{$table}__expandable-row-content--PaddingInlineStart);
|
|
971
|
+
padding-inline-end: var(--#{$table}__expandable-row-content--PaddingInlineEnd);
|
|
972
|
+
background-color: var(--#{$table}__expandable-row-content--BackgroundColor);
|
|
973
|
+
border-radius: var(--#{$table}__expandable-row-content--BorderRadius);
|
|
981
974
|
}
|
|
982
975
|
|
|
983
|
-
//
|
|
976
|
+
// - Table expandable row content expanded
|
|
984
977
|
&.pf-m-expanded {
|
|
985
|
-
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--
|
|
978
|
+
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBlockEndColor);
|
|
986
979
|
border-block-end-width: var(--#{$table}--border-width--base);
|
|
987
|
-
|
|
988
980
|
}
|
|
989
981
|
|
|
990
982
|
&:not(.pf-m-expanded) {
|
|
991
983
|
display: none;
|
|
992
984
|
}
|
|
993
985
|
|
|
994
|
-
// Table
|
|
986
|
+
// - Table expandable row tr last-child
|
|
995
987
|
tr:last-child {
|
|
996
988
|
border-block-end: 0;
|
|
997
989
|
}
|
|
@@ -999,22 +991,23 @@
|
|
|
999
991
|
|
|
1000
992
|
// - Table compact
|
|
1001
993
|
.#{$table}.pf-m-compact {
|
|
1002
|
-
--#{$table}--cell--
|
|
1003
|
-
--#{$table}--cell--
|
|
994
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-compact--cell--PaddingBlockStart);
|
|
995
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--m-compact--cell--PaddingBlockEnd);
|
|
1004
996
|
|
|
997
|
+
// - Table compact table tr
|
|
1005
998
|
tr:where(.#{$table}__tr) {
|
|
1006
999
|
&:not(.#{$table}__expandable-row) {
|
|
1007
|
-
--#{$table}--cell--
|
|
1008
|
-
--#{$table}--cell--
|
|
1000
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-compact--cell--PaddingBlockStart);
|
|
1001
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--m-compact--cell--PaddingBlockEnd);
|
|
1009
1002
|
}
|
|
1010
1003
|
}
|
|
1011
1004
|
|
|
1012
|
-
//
|
|
1005
|
+
// - Table compact thead
|
|
1013
1006
|
thead:where(.#{$table}__thead) {
|
|
1014
1007
|
th:where(.#{$table}__th),
|
|
1015
1008
|
.#{$table}__toggle {
|
|
1016
|
-
--#{$table}--cell--
|
|
1017
|
-
--#{$table}--cell--
|
|
1009
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-compact__th--PaddingBlockStart);
|
|
1010
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--m-compact__th--PaddingBlockEnd);
|
|
1018
1011
|
}
|
|
1019
1012
|
}
|
|
1020
1013
|
|
|
@@ -1022,8 +1015,8 @@
|
|
|
1022
1015
|
.#{$table}__favorite,
|
|
1023
1016
|
.#{$table}__toggle,
|
|
1024
1017
|
.#{$table}__draggable {
|
|
1025
|
-
--#{$table}--cell--
|
|
1026
|
-
--#{$table}--cell--
|
|
1018
|
+
--#{$table}--cell--PaddingBlockStart: var(--#{$table}--m-compact__action--PaddingBlockStart);
|
|
1019
|
+
--#{$table}--cell--PaddingBlockEnd: var(--#{$table}--m-compact__action--PaddingBlockEnd);
|
|
1027
1020
|
}
|
|
1028
1021
|
|
|
1029
1022
|
.#{$table}__icon {
|
|
@@ -1033,26 +1026,78 @@
|
|
|
1033
1026
|
}
|
|
1034
1027
|
}
|
|
1035
1028
|
|
|
1029
|
+
// - Table thead
|
|
1036
1030
|
.#{$table}__thead {
|
|
1031
|
+
--#{$table}__tr--BorderBlockEndWidth: 0;
|
|
1032
|
+
--#{$table}__toggle--PaddingBlockEnd: var(--#{$table}__thead__toggle--PaddingBlockEnd);
|
|
1033
|
+
|
|
1037
1034
|
vertical-align: bottom;
|
|
1035
|
+
|
|
1036
|
+
// - Table nested column header button
|
|
1037
|
+
&.pf-m-nested-column-header {
|
|
1038
|
+
.#{$table}__button {
|
|
1039
|
+
--#{$table}__button--PaddingInlineStart: var(--#{$table}__nested-column-header__button--PaddingInlineStart);
|
|
1040
|
+
--#{$table}__button--PaddingInlineEnd: var(--#{$table}__nested-column-header__button--PaddingInlineEnd);
|
|
1041
|
+
|
|
1042
|
+
// margin to align with thead padding
|
|
1043
|
+
margin-inline-end: calc(var(--#{$table}__button--PaddingInlineStart) * -1);
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1038
1046
|
}
|
|
1039
1047
|
|
|
1048
|
+
// - Table tbody
|
|
1040
1049
|
.#{$table}__tbody {
|
|
1041
1050
|
vertical-align: top;
|
|
1042
1051
|
|
|
1043
|
-
|
|
1052
|
+
// TODO: make this a class `compound expansion content`
|
|
1053
|
+
.#{$table}__control-row ~ .#{$table}__expandable-row.pf-m-expanded {
|
|
1054
|
+
background-color: var(--#{$table}--compound-expansion--m-expanded--BackgroundColor);
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
// Table table tbody expandable
|
|
1059
|
+
.#{$table}.pf-m-expandable {
|
|
1060
|
+
.#{$table}__tr.pf-m-expanded {
|
|
1061
|
+
border-block-end: 0;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
// - Table tbody
|
|
1065
|
+
.#{$table}__tbody {
|
|
1066
|
+
border-block-end: var(--#{$table}__tr--BorderBlockEndWidth) solid var(--#{$table}__tr--BorderBlockEndColor);
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
// - Table tbody - Table tr
|
|
1070
|
+
.#{$table}__tbody.pf-m-expanded {
|
|
1071
|
+
border-block-end: var(--#{$table}__tr--BorderBlockEndWidth) solid var(--#{$table}__tr--BorderBlockEndColor);
|
|
1072
|
+
|
|
1073
|
+
// - Table tbody table control row
|
|
1074
|
+
.#{$table}__control-row {
|
|
1075
|
+
background-color: var(--#{$table}__control-row--BackgroundColor);
|
|
1076
|
+
border-block-end: var(--#{$table}__control-row--BorderBlockEndWidth) solid var(--#{$table}__control-row__tbody--BorderBlockEndColor);
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
// - Table tr
|
|
1082
|
+
.#{$table}__tr {
|
|
1083
|
+
border-block-end: var(--#{$table}__tr--BorderBlockEndWidth) solid var(--#{$table}__tr--BorderBlockEndColor);
|
|
1084
|
+
|
|
1085
|
+
.#{$table}__thead & {
|
|
1086
|
+
border-block-end: 0;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
&.pf-m-border-row {
|
|
1044
1090
|
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
1045
1091
|
}
|
|
1046
1092
|
}
|
|
1047
1093
|
|
|
1048
|
-
//
|
|
1049
|
-
// Icon inline
|
|
1094
|
+
// - Table icon inline
|
|
1050
1095
|
.#{$table}__icon-inline {
|
|
1051
1096
|
display: flex;
|
|
1052
1097
|
align-items: center;
|
|
1053
1098
|
|
|
1054
1099
|
> :not(:last-child) {
|
|
1055
|
-
margin-inline-end: var(--#{$table}__icon-inline--
|
|
1100
|
+
margin-inline-end: var(--#{$table}__icon-inline--MarginInlineEnd);
|
|
1056
1101
|
}
|
|
1057
1102
|
}
|
|
1058
1103
|
|