@patternfly/patternfly 6.0.0-alpha.8 → 6.0.0-alpha.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CODE_OF_CONDUCT.md +1 -2
- package/assets/images/PF-Backdrop.svg +1 -0
- package/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/assets/images/PF-IconLogo-color.svg +17 -0
- package/assets/images/PF-IconLogo.svg +17 -0
- package/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/assets/images/pf-background.svg +22 -0
- package/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/assets/images/pf_logo_white.hbs +35 -0
- package/assets/images/pf_logo_white.svg +38 -0
- package/base/_common.scss +8 -4
- package/base/_globals.scss +4 -6
- package/base/_variables.scss +2 -7
- package/base/patternfly-common.css +8 -4
- package/base/patternfly-globals.css +4 -3
- package/base/patternfly-variables.css +884 -871
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +311 -287
- package/base/tokens/_tokens-default.scss +425 -329
- package/base/tokens/_tokens-font.scss +29 -36
- package/base/tokens/_tokens-palette.scss +71 -71
- package/base/tokens/_workspace-overrides.scss +7 -0
- package/components/AboutModalBox/about-modal-box.css +57 -94
- package/components/AboutModalBox/about-modal-box.scss +37 -62
- package/components/Accordion/accordion.css +85 -177
- package/components/Accordion/accordion.scss +96 -195
- package/components/ActionList/action-list.css +18 -17
- package/components/ActionList/action-list.scss +26 -16
- package/components/Alert/alert-group.css +20 -16
- package/components/Alert/alert-group.scss +20 -16
- package/components/Alert/alert.css +59 -84
- package/components/Alert/alert.scss +62 -78
- package/components/Avatar/avatar.css +10 -13
- package/components/Avatar/avatar.scss +10 -17
- package/components/BackToTop/back-to-top.css +17 -16
- package/components/BackToTop/back-to-top.scss +12 -12
- package/components/Backdrop/backdrop.css +6 -2
- package/components/Backdrop/backdrop.scss +5 -2
- package/components/BackgroundImage/background-image.css +5 -1
- package/components/BackgroundImage/background-image.scss +5 -1
- package/components/Badge/badge.css +23 -15
- package/components/Badge/badge.scss +25 -17
- package/components/Banner/banner.css +90 -64
- package/components/Banner/banner.scss +95 -32
- package/components/Breadcrumb/breadcrumb.css +19 -16
- package/components/Breadcrumb/breadcrumb.scss +18 -16
- package/components/Button/button.css +419 -353
- package/components/Button/button.scss +476 -476
- package/components/CalendarMonth/calendar-month.css +61 -92
- package/components/CalendarMonth/calendar-month.scss +68 -63
- package/components/Card/card.css +100 -194
- package/components/Card/card.scss +121 -237
- package/components/Check/check.css +24 -21
- package/components/Check/check.scss +25 -23
- package/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/components/ClipboardCopy/clipboard-copy.scss +34 -26
- package/components/CodeBlock/code-block.css +22 -9
- package/components/CodeBlock/code-block.scss +22 -10
- package/components/CodeEditor/code-editor.css +94 -72
- package/components/CodeEditor/code-editor.scss +104 -82
- package/components/Content/content.css +7 -7
- package/components/Content/content.scss +7 -7
- package/components/DataList/data-list.css +101 -158
- package/components/DataList/data-list.scss +95 -154
- package/components/DatePicker/date-picker.css +13 -14
- package/components/DatePicker/date-picker.scss +12 -16
- package/components/DescriptionList/description-list.css +39 -34
- package/components/DescriptionList/description-list.scss +25 -25
- package/components/Divider/divider.css +91 -169
- package/components/Divider/divider.scss +60 -77
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/Drawer/drawer.css +112 -113
- package/components/Drawer/drawer.scss +134 -134
- package/components/Dropdown/dropdown.css +1 -3
- package/components/Dropdown/dropdown.scss +2 -6
- package/components/DualListSelector/dual-list-selector.css +56 -48
- package/components/DualListSelector/dual-list-selector.scss +57 -50
- package/components/EmptyState/empty-state.css +57 -34
- package/components/EmptyState/empty-state.scss +63 -34
- package/components/ExpandableSection/expandable-section.css +64 -62
- package/components/ExpandableSection/expandable-section.scss +73 -76
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Form/form.css +68 -114
- package/components/Form/form.scss +65 -126
- package/components/FormControl/form-control.css +86 -111
- package/components/FormControl/form-control.scss +88 -92
- package/components/HelperText/helper-text.css +28 -34
- package/components/HelperText/helper-text.scss +30 -40
- package/components/Hint/hint.css +28 -21
- package/components/Hint/hint.scss +28 -24
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/InlineEdit/inline-edit.css +8 -7
- package/components/InlineEdit/inline-edit.scss +8 -7
- package/components/InputGroup/input-group.css +22 -38
- package/components/InputGroup/input-group.scss +21 -29
- package/components/JumpLinks/jump-links.css +34 -34
- package/components/JumpLinks/jump-links.scss +35 -36
- package/components/Label/label-group.css +39 -44
- package/components/Label/label-group.scss +39 -45
- package/components/Label/label.css +380 -355
- package/components/Label/label.scss +434 -348
- package/components/List/list.css +16 -16
- package/components/List/list.scss +17 -17
- package/components/Login/login.css +70 -97
- package/components/Login/login.scss +56 -64
- package/components/Masthead/masthead.css +261 -502
- package/components/Masthead/masthead.scss +123 -286
- package/components/Menu/menu.css +3 -0
- package/components/Menu/menu.scss +7 -3
- package/components/MenuToggle/menu-toggle.css +8 -8
- package/components/MenuToggle/menu-toggle.scss +8 -10
- package/components/ModalBox/modal-box.css +59 -52
- package/components/ModalBox/modal-box.scss +57 -53
- package/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/components/MultipleFileUpload/multiple-file-upload.scss +82 -53
- package/components/Nav/nav.css +240 -918
- package/components/Nav/nav.scss +300 -1082
- package/components/NotificationBadge/notification-badge.css +56 -81
- package/components/NotificationBadge/notification-badge.scss +60 -97
- package/components/NotificationDrawer/notification-drawer.css +104 -115
- package/components/NotificationDrawer/notification-drawer.scss +106 -116
- package/components/NumberInput/number-input.css +8 -8
- package/components/NumberInput/number-input.scss +7 -12
- package/components/OverflowMenu/overflow-menu.css +17 -47
- package/components/OverflowMenu/overflow-menu.scss +27 -65
- package/components/Page/page.css +56 -164
- package/components/Page/page.scss +60 -154
- package/components/Pagination/pagination.css +57 -124
- package/components/Pagination/pagination.scss +40 -128
- package/components/Panel/panel.css +27 -23
- package/components/Panel/panel.scss +29 -26
- package/components/Popover/popover.css +42 -53
- package/components/Popover/popover.scss +46 -55
- package/components/Progress/progress.css +31 -45
- package/components/Progress/progress.scss +36 -55
- package/components/ProgressStepper/progress-stepper.css +72 -69
- package/components/ProgressStepper/progress-stepper.scss +65 -65
- package/components/Radio/radio.css +27 -20
- package/components/Radio/radio.scss +28 -22
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/SimpleList/simple-list.css +35 -52
- package/components/SimpleList/simple-list.scss +41 -51
- package/components/Skeleton/skeleton.css +18 -20
- package/components/Skeleton/skeleton.scss +17 -21
- package/components/SkipToContent/skip-to-content.css +6 -3
- package/components/SkipToContent/skip-to-content.scss +8 -6
- package/components/Slider/slider.css +34 -30
- package/components/Slider/slider.scss +46 -43
- package/components/Spinner/spinner.css +17 -34
- package/components/Spinner/spinner.scss +19 -47
- package/components/Switch/switch.css +42 -38
- package/components/Switch/switch.scss +48 -43
- package/components/TabContent/tab-content.css +17 -11
- package/components/TabContent/tab-content.scss +18 -14
- package/components/Table/table-grid.css +29 -45
- package/components/Table/table-grid.scss +40 -53
- package/components/Table/table-scrollable.css +6 -6
- package/components/Table/table-scrollable.scss +8 -8
- package/components/Table/table-tree-view.css +76 -74
- package/components/Table/table-tree-view.scss +44 -39
- package/components/Table/table.css +67 -93
- package/components/Table/table.scss +83 -105
- package/components/Tabs/tabs.css +143 -175
- package/components/Tabs/tabs.scss +159 -217
- package/components/Tile/tile.css +40 -81
- package/components/Tile/tile.scss +38 -84
- package/components/Timestamp/timestamp.css +12 -9
- package/components/Timestamp/timestamp.scss +11 -10
- package/components/Title/title.css +70 -19
- package/components/Title/title.scss +90 -20
- package/components/ToggleGroup/toggle-group.css +54 -48
- package/components/ToggleGroup/toggle-group.scss +62 -50
- package/components/Toolbar/toolbar.css +2527 -1031
- package/components/Toolbar/toolbar.scss +233 -520
- package/components/Tooltip/tooltip.css +16 -18
- package/components/Tooltip/tooltip.scss +20 -24
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/components/Truncate/truncate.css +4 -0
- package/components/Truncate/truncate.scss +3 -0
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +2 -2
- package/docs/components/Accordion/examples/Accordion.md +614 -416
- package/docs/components/ActionList/examples/ActionList.md +73 -22
- package/docs/components/Alert/examples/Alert.md +3 -3
- package/docs/components/Avatar/examples/Avatar.md +5 -19
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +1 -1
- package/docs/components/Badge/examples/Badge.md +21 -0
- package/docs/components/Banner/examples/Banner.md +48 -25
- package/docs/components/Brand/examples/Brand.css +12 -0
- package/docs/components/Brand/examples/Brand.md +51 -32
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +1 -1
- package/docs/components/Button/examples/Button.css +4 -0
- package/docs/components/Button/examples/Button.md +1419 -93
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +48 -224
- package/docs/components/Card/examples/Card.md +550 -133
- package/docs/components/Check/examples/Check.md +1 -0
- package/docs/components/CodeBlock/examples/CodeBlock.md +4 -4
- package/docs/components/CodeEditor/examples/CodeEditor.md +144 -132
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/DatePicker/examples/DatePicker.md +5 -2
- package/docs/components/Divider/examples/Divider.css +3 -1
- package/docs/components/Divider/examples/Divider.md +30 -5
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/Drawer/examples/Drawer.md +294 -256
- package/docs/components/EmptyState/examples/EmptyState.md +45 -1
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +49 -28
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Form/examples/Form.md +134 -89
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/InlineEdit/examples/InlineEdit.md +3 -1
- package/docs/components/JumpLinks/examples/JumpLinks.md +280 -168
- package/docs/components/Label/examples/Label.css +4 -0
- package/docs/components/Label/examples/Label.md +3090 -703
- package/docs/components/LogViewer/examples/LogViewer.md +180 -180
- package/docs/components/Login/examples/Login.md +10 -5
- package/docs/components/Masthead/examples/masthead.md +443 -65
- package/docs/components/Menu/examples/Menu.md +507 -473
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -114
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +9 -9
- package/docs/components/Nav/examples/Navigation.css +1 -23
- package/docs/components/Nav/examples/Navigation.md +209 -356
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +5 -7
- package/docs/components/Page/examples/Page.css +0 -8
- package/docs/components/Page/examples/Page.md +22 -21
- package/docs/components/Pagination/examples/Pagination.md +663 -637
- package/docs/components/Panel/examples/Panel.md +12 -0
- package/docs/components/Popover/examples/Popover.md +1 -1
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +15 -14
- package/docs/components/Radio/examples/Radio.md +1 -1
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/docs/components/SimpleList/examples/SimpleList.md +3 -3
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +8 -8
- package/docs/components/Tabs/examples/Tabs.css +1 -1
- package/docs/components/Tabs/examples/Tabs.md +1025 -826
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +9 -9
- package/docs/components/Tile/examples/Tile.md +264 -144
- package/docs/components/Title/examples/Title.md +18 -0
- package/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/docs/components/Toolbar/examples/Toolbar.md +985 -3355
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/docs/components/Truncate/examples/Truncate.css +2 -2
- package/docs/demos/AboutModal/examples/AboutModal.md +104 -31
- package/docs/demos/Alert/examples/Alert.md +330 -87
- package/docs/demos/BackToTop/examples/BackToTop.md +102 -29
- package/docs/demos/Banner/examples/Banner.md +211 -60
- package/docs/demos/Card/examples/Card.md +2 -2
- package/docs/demos/CardView/examples/CardView.md +241 -187
- package/docs/demos/ContextSelector/examples/ContextSelector.md +377 -94
- package/docs/demos/Dashboard/examples/Dashboard.md +102 -29
- package/docs/demos/DataList/examples/DataList.md +999 -938
- package/docs/demos/DescriptionList/examples/DescriptionList.md +306 -87
- package/docs/demos/Drawer/examples/Drawer.md +640 -251
- package/docs/demos/Form/examples/BasicForms.md +138 -84
- package/docs/demos/JumpLinks/examples/JumpLinks.md +917 -385
- package/docs/demos/Masthead/examples/Masthead.md +786 -342
- package/docs/demos/Modal/examples/Modal.md +645 -198
- package/docs/demos/Nav/examples/Nav.md +691 -902
- package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +515 -145
- package/docs/demos/Page/examples/Page.md +942 -273
- package/docs/demos/Page/examples/Penta.md +66 -26
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -9
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +44 -32
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +1183 -832
- package/docs/demos/Skeleton/examples/Skeleton.md +102 -29
- package/docs/demos/Table/examples/Table.md +3811 -3456
- package/docs/demos/Tabs/examples/Tabs.md +636 -194
- package/docs/demos/Toolbar/examples/Toolbar.css +10 -0
- package/docs/demos/Toolbar/examples/Toolbar.md +1316 -1478
- package/docs/demos/Wizard/examples/Wizard.md +918 -261
- package/docs/layouts/Flex/examples/Flex.md +11 -11
- package/package.json +32 -32
- package/patternfly-base-no-globals-theme-dark-unversioned.css +897 -880
- package/patternfly-base-no-globals.css +897 -880
- package/patternfly-base-theme-dark-unversioned.css +890 -872
- package/patternfly-base.css +890 -872
- package/patternfly-no-globals.css +8107 -8027
- package/patternfly-theme-dark-unversioned.css +8111 -8030
- package/patternfly.css +8111 -8030
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +18 -0
- package/base/themes/dark/_variables.scss +0 -102
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +0 -7
- package/components/Accordion/themes/dark/accordion.scss +0 -9
- package/components/Alert/themes/dark/alert.scss +0 -17
- package/components/Badge/themes/dark/badge.scss +0 -9
- package/components/Banner/themes/dark/banner.scss +0 -14
- package/components/Button/themes/dark/button.scss +0 -51
- package/components/CalendarMonth/themes/dark/calendar-month.scss +0 -37
- package/components/Card/themes/dark/card.scss +0 -20
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +0 -19
- package/components/CodeEditor/themes/dark/code-editor.scss +0 -14
- package/components/DataList/themes/dark/data-list.scss +0 -10
- package/components/DatePicker/themes/dark/date-picker.scss +0 -8
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/Drawer/themes/dark/drawer.scss +0 -13
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +0 -9
- package/components/Form/themes/dark/form.scss +0 -7
- package/components/FormControl/themes/dark/form-control.scss +0 -24
- package/components/HelperText/themes/dark/helper-text.scss +0 -7
- package/components/Hint/themes/dark/hint.scss +0 -8
- package/components/InputGroup/themes/dark/input-group.scss +0 -22
- package/components/Label/themes/dark/label.scss +0 -53
- package/components/Login/themes/dark/login.scss +0 -12
- package/components/Masthead/themes/dark/masthead.scss +0 -14
- package/components/ModalBox/themes/dark/modal-box.scss +0 -7
- package/components/NotificationBadge/themes/dark/notification-badge.scss +0 -10
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +0 -14
- package/components/Page/themes/dark/page.scss +0 -69
- package/components/Pagination/themes/dark/pagination.scss +0 -7
- package/components/Panel/themes/dark/panel.scss +0 -7
- package/components/Popover/themes/dark/popover.scss +0 -11
- package/components/Progress/themes/dark/progress.scss +0 -9
- package/components/SimpleList/themes/dark/simple-list.scss +0 -14
- package/components/Skeleton/themes/dark/skeleton.scss +0 -10
- package/components/Switch/themes/dark/switch.scss +0 -11
- package/components/Tabs/themes/dark/tabs.scss +0 -10
- package/components/Tile/themes/dark/tile.scss +0 -10
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
- package/components/Tooltip/themes/dark/tooltip.scss +0 -8
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
- package/docs/components/Avatar/examples/Avatar.css +0 -3
- package/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
|
@@ -16,22 +16,15 @@
|
|
|
16
16
|
--#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
17
17
|
|
|
18
18
|
// Caption
|
|
19
|
-
--#{$table}__caption--FontSize: var(--pf-t--global--font--size--body);
|
|
19
|
+
--#{$table}__caption--FontSize: var(--pf-t--global--font--size--body--default);
|
|
20
20
|
--#{$table}__caption--Color: var(--pf-t--global--text--color--subtle);
|
|
21
|
-
--#{$table}__caption--PaddingTop: var(
|
|
22
|
-
--#{$table}__caption--PaddingRight: var(
|
|
23
|
-
--#{$table}__caption--PaddingBottom: var(
|
|
24
|
-
--#{$table}__caption--PaddingLeft: var(
|
|
25
|
-
--#{$table}__caption--xl--PaddingRight: var(--#{$pf-global}--spacer--md);
|
|
26
|
-
--#{$table}__caption--xl--PaddingLeft: var(--#{$pf-global}--spacer--md);
|
|
27
|
-
|
|
28
|
-
@media screen and (max-width: $pf-v5-global--breakpoint--xl) {
|
|
29
|
-
--#{$table}__caption--PaddingRight: var(--#{$table}__caption--xl--PaddingRight);
|
|
30
|
-
--#{$table}__caption--PaddingLeft: var(--#{$table}__caption--xl--PaddingLeft);
|
|
31
|
-
}
|
|
21
|
+
--#{$table}__caption--PaddingTop: var(--pf-t--global--spacer--md);
|
|
22
|
+
--#{$table}__caption--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
23
|
+
--#{$table}__caption--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
24
|
+
--#{$table}__caption--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
32
25
|
|
|
33
26
|
// Thead
|
|
34
|
-
--#{$table}__thead--cell--FontSize: var(--pf-t--global--font--size--body);
|
|
27
|
+
--#{$table}__thead--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
35
28
|
--#{$table}__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
36
29
|
|
|
37
30
|
// Tbody cell
|
|
@@ -42,18 +35,16 @@
|
|
|
42
35
|
--#{$table}__tr--BoxShadow--top--base: 0 #{pf-size-prem(-3px)} #{pf-size-prem(4px)} #{pf-size-prem(-2px)} rgba(3,3,3,.08);
|
|
43
36
|
|
|
44
37
|
// Th / td shared variables
|
|
45
|
-
--#{$table}--cell--Padding--base: var(
|
|
46
|
-
--#{$table}--cell--FontSize: var(--pf-t--global--font--size--body);
|
|
38
|
+
--#{$table}--cell--Padding--base: var(--pf-t--global--spacer--md);
|
|
39
|
+
--#{$table}--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
47
40
|
--#{$table}--cell--FontWeight: var(--pf-t--global--font--weight--body);
|
|
48
41
|
--#{$table}--cell--Color: var(--pf-t--global--text--color--regular);
|
|
49
42
|
--#{$table}--cell--PaddingTop: var(--#{$table}--cell--Padding--base);
|
|
50
43
|
--#{$table}--cell--PaddingRight: var(--#{$table}--cell--Padding--base);
|
|
51
44
|
--#{$table}--cell--PaddingBottom: var(--#{$table}--cell--Padding--base);
|
|
52
45
|
--#{$table}--cell--PaddingLeft: var(--#{$table}--cell--Padding--base);
|
|
53
|
-
--#{$table}--cell--first-last-child--PaddingLeft: var(
|
|
54
|
-
--#{$table}--cell--first-last-child--PaddingRight: var(
|
|
55
|
-
--#{$table}--cell--first-last-child--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
56
|
-
--#{$table}--cell--first-last-child--xl--PaddingRight: var(--#{$pf-global}--spacer--lg);
|
|
46
|
+
--#{$table}--cell--first-last-child--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
47
|
+
--#{$table}--cell--first-last-child--PaddingRight: var(--pf-t--global--spacer--md);
|
|
57
48
|
--#{$table}__tr--m-first-cell-offset-reset--cell--PaddingLeft: var(--#{$table}--cell--Padding--base);
|
|
58
49
|
|
|
59
50
|
// Default cell variables
|
|
@@ -87,8 +78,8 @@
|
|
|
87
78
|
// ============================================================ //
|
|
88
79
|
|
|
89
80
|
// Table cell - toggle
|
|
90
|
-
--#{$table}__toggle--c-button--MarginTop: calc(
|
|
91
|
-
--#{$table}__toggle--c-button--MarginBottom: calc(
|
|
81
|
+
--#{$table}__toggle--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
82
|
+
--#{$table}__toggle--c-button--MarginBottom: calc(var(--#{$button}--PaddingTop) * -1);
|
|
92
83
|
--#{$table}__toggle--c-button__toggle-icon--Rotate: 270deg;
|
|
93
84
|
--#{$table}__toggle--c-button__toggle-icon--Transition: .2s ease-in 0s;
|
|
94
85
|
--#{$table}__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
|
|
@@ -99,35 +90,36 @@
|
|
|
99
90
|
--#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
100
91
|
--#{$table}__button--focus--Color: var(--pf-t--global--text--color--regular);
|
|
101
92
|
--#{$table}__button--active--Color: var(--pf-t--global--text--color--regular);
|
|
102
|
-
--#{$table}__button--OutlineOffset: calc(var(
|
|
93
|
+
--#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
103
94
|
|
|
104
95
|
// Compact
|
|
105
96
|
--#{$table}--m-compact__toggle--PaddingTop: 0;
|
|
106
97
|
--#{$table}--m-compact__toggle--PaddingBottom: 0;
|
|
107
98
|
|
|
108
99
|
// Check
|
|
109
|
-
--#{$table}__check--input--MarginTop: #{pf-size-prem(
|
|
110
|
-
--#{$table}
|
|
100
|
+
--#{$table}__check--input--MarginTop: #{pf-size-prem(3px)};
|
|
101
|
+
--#{$table}__thead__check--input--TranslateY: var(--#{$table}__check--input--MarginTop);
|
|
102
|
+
--#{$table}__check--input--FontSize: var(--pf-t--global--font--size--body--default);
|
|
111
103
|
|
|
112
104
|
// Favorite
|
|
113
105
|
--#{$table}--cell--m-favorite--Color: var(--pf-t--global--text--color--subtle);
|
|
114
106
|
--#{$table}__favorite--c-button--Color: var(--pf-t--global--text--color--subtle);
|
|
115
|
-
--#{$table}__favorite--c-button--FontSize: var(--pf-t--global--font--size--body);
|
|
116
|
-
--#{$table}__favorite--c-button--MarginTop: calc(var(--#{$
|
|
117
|
-
--#{$table}__favorite--c-button--MarginRight: calc(var(--#{$
|
|
118
|
-
--#{$table}__favorite--c-button--MarginBottom: calc(var(--#{$
|
|
119
|
-
--#{$table}__favorite--c-button--MarginLeft: calc(var(--#{$
|
|
120
|
-
--#{$table}__favorite--m-favorited--c-button--Color: var(
|
|
107
|
+
--#{$table}__favorite--c-button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
108
|
+
--#{$table}__favorite--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
109
|
+
--#{$table}__favorite--c-button--MarginRight: calc(var(--#{$button}--PaddingRight) * -1);
|
|
110
|
+
--#{$table}__favorite--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
111
|
+
--#{$table}__favorite--c-button--MarginLeft: calc(var(--#{$button}--PaddingLeft) * -1);
|
|
112
|
+
--#{$table}__favorite--m-favorited--c-button--Color: var(--pf-t--global--color--favorite--clicked);
|
|
121
113
|
--#{$table}__sort--m-favorite__button__text--Color: var(--pf-t--global--text--color--subtle);
|
|
122
114
|
--#{$table}__sort--m-favorite__button--hover__text--Color: var(--pf-t--global--text--color--regular);
|
|
123
115
|
--#{$table}__sort--m-favorite__button--focus__text--Color: var(--pf-t--global--text--color--regular);
|
|
124
116
|
--#{$table}__sort--m-favorite__button--active__text--Color: var(--pf-t--global--text--color--regular);
|
|
125
117
|
|
|
126
118
|
// Draggable
|
|
127
|
-
--#{$table}__draggable--c-button--MarginTop: calc(var(--#{$
|
|
128
|
-
--#{$table}__draggable--c-button--MarginRight: calc(var(--#{$
|
|
129
|
-
--#{$table}__draggable--c-button--MarginBottom: calc(var(--#{$
|
|
130
|
-
--#{$table}__draggable--c-button--MarginLeft: calc(var(--#{$
|
|
119
|
+
--#{$table}__draggable--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
120
|
+
--#{$table}__draggable--c-button--MarginRight: calc(var(--#{$button}--PaddingRight) * -1);
|
|
121
|
+
--#{$table}__draggable--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
122
|
+
--#{$table}__draggable--c-button--MarginLeft: calc(var(--#{$button}--PaddingLeft) * -1);
|
|
131
123
|
|
|
132
124
|
// Ghost row
|
|
133
125
|
--#{$table}__tr--m-ghost-row--Opacity: .4;
|
|
@@ -147,30 +139,30 @@
|
|
|
147
139
|
|
|
148
140
|
// Expandable row
|
|
149
141
|
// hardcoding to match design spec
|
|
150
|
-
--#{$table}__expandable-row--Transition: var(--#{$pf-global}--Transition);
|
|
142
|
+
--#{$table}__expandable-row--Transition: var(--#{$pf-global}--Transition); // TODO: update to token when available
|
|
151
143
|
--#{$table}__expandable-row--MaxHeight: #{pf-size-prem(450px)};
|
|
152
|
-
--#{$table}__expandable-row-content--Transition: var(--#{$pf-global}--Transition);
|
|
153
|
-
--#{$table}__expandable-row-content--PaddingTop: var(
|
|
154
|
-
--#{$table}__expandable-row-content--PaddingBottom: var(
|
|
144
|
+
--#{$table}__expandable-row-content--Transition: var(--#{$pf-global}--Transition); // TODO: update to token when available
|
|
145
|
+
--#{$table}__expandable-row-content--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
146
|
+
--#{$table}__expandable-row-content--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
155
147
|
|
|
156
148
|
// ::before border
|
|
157
149
|
--#{$table}__expandable-row--after--Top: calc(var(--#{$table}--border-width--base) * -1);
|
|
158
150
|
--#{$table}__expandable-row--after--Bottom: calc(var(--#{$table}--border-width--base) * -1);
|
|
159
|
-
--#{$table}__expandable-row--after--border-width--base: var(
|
|
151
|
+
--#{$table}__expandable-row--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
160
152
|
--#{$table}__expandable-row--after--BorderLeftWidth: 0;
|
|
161
153
|
--#{$table}__expandable-row--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
162
154
|
|
|
163
155
|
// Icon inline
|
|
164
|
-
--#{$table}__icon-inline--MarginRight: var(
|
|
156
|
+
--#{$table}__icon-inline--MarginRight: var(--pf-t--global--spacer--sm);
|
|
165
157
|
|
|
166
158
|
// Sort cell
|
|
167
159
|
--#{$table}__sort--MinWidth: calc(6ch + var(--#{$table}--cell--PaddingRight) + var(--#{$table}--cell--PaddingLeft) + var(--#{$table}__sort-indicator--MarginLeft));
|
|
168
160
|
|
|
169
161
|
// Sort button
|
|
170
|
-
--#{$table}__sort__button--PaddingTop: var(
|
|
171
|
-
--#{$table}__sort__button--PaddingRight: var(
|
|
172
|
-
--#{$table}__sort__button--PaddingBottom: var(
|
|
173
|
-
--#{$table}__sort__button--PaddingLeft: var(
|
|
162
|
+
--#{$table}__sort__button--PaddingTop: var(--pf-t--global--spacer--control--vertical);
|
|
163
|
+
--#{$table}__sort__button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
164
|
+
--#{$table}__sort__button--PaddingBottom: var(--pf-t--global--spacer--control--vertical);
|
|
165
|
+
--#{$table}__sort__button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
174
166
|
--#{$table}__sort__button--MarginTop: calc(var(--#{$table}__sort__button--PaddingTop) * -1);
|
|
175
167
|
--#{$table}__sort__button--MarginBottom: calc(var(--#{$table}__sort__button--PaddingBottom) * -1);
|
|
176
168
|
--#{$table}__sort__button--MarginLeft: calc(var(--#{$table}__sort__button--PaddingLeft) * -1);
|
|
@@ -186,7 +178,7 @@
|
|
|
186
178
|
|
|
187
179
|
// Sort indicator
|
|
188
180
|
--#{$table}__sort-indicator--Color: var(--pf-t--global--icon--color--subtle);
|
|
189
|
-
--#{$table}__sort-indicator--MarginLeft: var(
|
|
181
|
+
--#{$table}__sort-indicator--MarginLeft: var(--pf-t--global--spacer--md);
|
|
190
182
|
--#{$table}__sort--m-selected__sort-indicator--Color: var(--pf-t--global--border--color--active);
|
|
191
183
|
--#{$table}__sort__button--hover__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
192
184
|
--#{$table}__sort__button--active__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
@@ -196,12 +188,12 @@
|
|
|
196
188
|
--#{$table}__th--m-help--MinWidth: 11ch;
|
|
197
189
|
|
|
198
190
|
// Table header popover
|
|
199
|
-
--#{$table}__column-help--MarginLeft: var(
|
|
191
|
+
--#{$table}__column-help--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
200
192
|
--#{$table}__column-help--TranslateY: #{pf-size-prem(2px)};
|
|
201
|
-
--#{$table}__column-help--c-button--MarginTop: calc(var(--#{$
|
|
202
|
-
--#{$table}__column-help--c-button--MarginBottom: calc(var(--#{$
|
|
203
|
-
--#{$table}__column-help--c-button--PaddingRight: var(
|
|
204
|
-
--#{$table}__column-help--c-button--PaddingLeft: var(
|
|
193
|
+
--#{$table}__column-help--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
194
|
+
--#{$table}__column-help--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
195
|
+
--#{$table}__column-help--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
196
|
+
--#{$table}__column-help--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
205
197
|
|
|
206
198
|
// Compound expansion toggle button
|
|
207
199
|
--#{$table}__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
@@ -218,28 +210,26 @@
|
|
|
218
210
|
--#{$table}__compound-expansion-toggle__button--before--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
219
211
|
|
|
220
212
|
// ::before border treatment
|
|
221
|
-
--#{$table}__compound-expansion-toggle__button--after--border-width--base: var(
|
|
213
|
+
--#{$table}__compound-expansion-toggle__button--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
222
214
|
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
223
215
|
--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth: 0;
|
|
224
216
|
--#{$table}__compound-expansion-toggle__button--after--Top: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
225
217
|
--#{$table}__compound-expansion-toggle__button--after--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
226
218
|
|
|
227
219
|
// Compact table
|
|
228
|
-
--#{$table}--m-compact__th--PaddingTop: calc(var(
|
|
229
|
-
--#{$table}--m-compact__th--PaddingBottom: var(
|
|
230
|
-
--#{$table}--m-compact--cell--PaddingTop: var(
|
|
231
|
-
--#{$table}--m-compact--cell--PaddingRight: var(
|
|
232
|
-
--#{$table}--m-compact--cell--PaddingBottom: var(
|
|
233
|
-
--#{$table}--m-compact--cell--PaddingLeft: var(
|
|
234
|
-
--#{$table}--m-compact--cell--first-last-child--PaddingLeft: var(
|
|
235
|
-
--#{$table}--m-compact--cell--first-last-child--PaddingRight: var(
|
|
236
|
-
--#{$table}--m-compact--
|
|
237
|
-
--#{$table}--m-
|
|
238
|
-
--#{$table}--m-
|
|
239
|
-
--#{$table}--m-compact__expandable-row-content--
|
|
240
|
-
--#{$table}--m-compact__expandable-row-content--
|
|
241
|
-
--#{$table}--m-compact__expandable-row-content--PaddingBottom: var(--#{$pf-global}--spacer--lg);
|
|
242
|
-
--#{$table}--m-compact__expandable-row-content--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
220
|
+
--#{$table}--m-compact__th--PaddingTop: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
|
|
221
|
+
--#{$table}--m-compact__th--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
222
|
+
--#{$table}--m-compact--cell--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
223
|
+
--#{$table}--m-compact--cell--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
224
|
+
--#{$table}--m-compact--cell--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
225
|
+
--#{$table}--m-compact--cell--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
226
|
+
--#{$table}--m-compact--cell--first-last-child--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
227
|
+
--#{$table}--m-compact--cell--first-last-child--PaddingRight: var(--pf-t--global--spacer--md);
|
|
228
|
+
--#{$table}--m-compact--FontSize: var(--pf-t--global--font--size--body--default);
|
|
229
|
+
--#{$table}--m-compact__expandable-row-content--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
230
|
+
--#{$table}--m-compact__expandable-row-content--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
231
|
+
--#{$table}--m-compact__expandable-row-content--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
232
|
+
--#{$table}--m-compact__expandable-row-content--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
243
233
|
|
|
244
234
|
// Nested table
|
|
245
235
|
--#{$table}--nested--first-last-child--PaddingRight: var(--#{$table}--m-compact--cell--first-last-child--PaddingLeft);
|
|
@@ -252,8 +242,7 @@
|
|
|
252
242
|
--#{$table}__tr--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
253
243
|
--#{$table}__tr--m-clickable--BackgroundColor: transparent;
|
|
254
244
|
--#{$table}__tr--m-clickable--BoxShadow: none;
|
|
255
|
-
--#{$table}__tr--m-clickable--
|
|
256
|
-
--#{$table}__tr--m-clickable--OutlineOffset: calc(-1 * var(--#{$pf-global}--spacer--xs));
|
|
245
|
+
--#{$table}__tr--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
257
246
|
|
|
258
247
|
// TODO Shadow tokens START HERE AGAIN
|
|
259
248
|
--#{$table}__tr--m-clickable--hover--BoxShadow: var(--#{$table}__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
@@ -270,7 +259,7 @@
|
|
|
270
259
|
--#{$table}__tr--m-selected--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
271
260
|
--#{$table}__tr--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
272
261
|
--#{$table}__tr--m-selected--after--BorderLeftWidth: calc(2 * var(--#{$table}__expandable-row--after--border-width--base));
|
|
273
|
-
--#{$table}__tr--m-selected--after--BorderLeftColor: var(
|
|
262
|
+
--#{$table}__tr--m-selected--after--BorderLeftColor: var(--pf-t--global--color--brand--default);
|
|
274
263
|
--#{$table}__tr--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
275
264
|
--#{$table}__tr--m-selected--hover__tr--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
276
265
|
--#{$table}__tr--m-selected__tr--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
@@ -279,7 +268,7 @@
|
|
|
279
268
|
--#{$table}__tbody--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
280
269
|
--#{$table}__tbody--m-clickable--BoxShadow: none;
|
|
281
270
|
--#{$table}__tbody--m-clickable--BackgroundColor: transparent;
|
|
282
|
-
--#{$table}__tbody--m-clickable--OutlineOffset: calc(-1 * var(
|
|
271
|
+
--#{$table}__tbody--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
283
272
|
--#{$table}__tbody--m-clickable--hover--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
284
273
|
--#{$table}__tbody--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
285
274
|
--#{$table}__tbody--m-clickable--focus--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
@@ -293,7 +282,7 @@
|
|
|
293
282
|
--#{$table}__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
294
283
|
--#{$table}__tbody--m-selected--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
295
284
|
--#{$table}__tbody--m-selected--BoxShadow: var(--#{$table}__tbody--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
296
|
-
--#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(
|
|
285
|
+
--#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
297
286
|
--#{$table}__tbody--m-selected--after--BorderLeftWidth: calc(2 * var(--#{$table}__expandable-row--after--border-width--base));
|
|
298
287
|
--#{$table}__tbody--m-selected--after--BorderLeftColor: var(--pf-t--global--border--color--active);
|
|
299
288
|
--#{$table}__tbody--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
@@ -302,8 +291,8 @@
|
|
|
302
291
|
|
|
303
292
|
// Nested column header
|
|
304
293
|
--#{$table}__thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
|
|
305
|
-
--#{$table}__thead--m-nested-column-header__tr--PaddingTop: var(
|
|
306
|
-
--#{$table}__thead--m-nested-column-header__tr--PaddingBottom: var(
|
|
294
|
+
--#{$table}__thead--m-nested-column-header__tr--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
295
|
+
--#{$table}__thead--m-nested-column-header__tr--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
307
296
|
|
|
308
297
|
// Subhead
|
|
309
298
|
--#{$table}__subhead--Color: var(--pf-t--global--text--color--subtle);
|
|
@@ -312,14 +301,7 @@
|
|
|
312
301
|
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
313
302
|
|
|
314
303
|
// Sticky
|
|
315
|
-
--#{$table}--m-sticky-header--cell--ZIndex: var(
|
|
316
|
-
|
|
317
|
-
@media screen and (min-width: $pf-v5-global--breakpoint--xl) {
|
|
318
|
-
--#{$table}--cell--first-last-child--PaddingRight: var(--#{$table}--cell--first-last-child--xl--PaddingRight);
|
|
319
|
-
--#{$table}--cell--first-last-child--PaddingLeft: var(--#{$table}--cell--first-last-child--xl--PaddingLeft);
|
|
320
|
-
--#{$table}--m-compact--cell--first-last-child--PaddingLeft: var(--#{$table}--m-compact--cell--first-last-child--xl--PaddingLeft);
|
|
321
|
-
--#{$table}--m-compact--cell--first-last-child--PaddingRight: var(--#{$table}--m-compact--cell--first-last-child--xl--PaddingRight);
|
|
322
|
-
}
|
|
304
|
+
--#{$table}--m-sticky-header--cell--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
323
305
|
|
|
324
306
|
@include pf-v5-t-light; // This component always needs to be light
|
|
325
307
|
|
|
@@ -346,7 +328,7 @@
|
|
|
346
328
|
> thead:where(.#{$table}__thead):not(.pf-m-nested-column-header) {
|
|
347
329
|
> tr:where(.#{$table}__tr) > * {
|
|
348
330
|
position: sticky;
|
|
349
|
-
|
|
331
|
+
inset-block-start: 0;
|
|
350
332
|
background: var(--#{$table}--BackgroundColor);
|
|
351
333
|
|
|
352
334
|
// stylelint-disable-next-line
|
|
@@ -364,8 +346,8 @@
|
|
|
364
346
|
// nested column header
|
|
365
347
|
> .pf-m-nested-column-header {
|
|
366
348
|
position: sticky;
|
|
367
|
-
|
|
368
|
-
z-index: var(
|
|
349
|
+
inset-block-start: 0;
|
|
350
|
+
z-index: var(--pf-t--global--Zindex--xs);
|
|
369
351
|
background: var(--#{$table}--BackgroundColor);
|
|
370
352
|
|
|
371
353
|
> .pf-m-border-row {
|
|
@@ -570,9 +552,9 @@
|
|
|
570
552
|
position: absolute;
|
|
571
553
|
|
|
572
554
|
// offset top to extend above tr border
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
555
|
+
inset-block-start: var(--#{$table}__expandable-row--after--Top);
|
|
556
|
+
inset-block-end: var(--#{$table}__expandable-row--after--Bottom);
|
|
557
|
+
inset-inline-start: 0;
|
|
576
558
|
content: "";
|
|
577
559
|
|
|
578
560
|
// add border left
|
|
@@ -690,18 +672,9 @@
|
|
|
690
672
|
|
|
691
673
|
// tr clickable
|
|
692
674
|
tr:where(.#{$table}__tr) {
|
|
693
|
-
position: relative;
|
|
694
|
-
|
|
695
|
-
&::before {
|
|
696
|
-
position: absolute;
|
|
697
|
-
inset:0;
|
|
698
|
-
content: "";
|
|
699
|
-
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
700
|
-
border-radius: var(--#{$table}__tr--m-clickable--BorderRadius);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
675
|
&.pf-m-clickable {
|
|
704
676
|
cursor: pointer;
|
|
677
|
+
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
705
678
|
outline-offset: var(--#{$table}__tr--m-clickable--OutlineOffset);
|
|
706
679
|
box-shadow: var(--#{$table}__tr--m-clickable--BoxShadow);
|
|
707
680
|
|
|
@@ -989,12 +962,17 @@
|
|
|
989
962
|
}
|
|
990
963
|
|
|
991
964
|
label {
|
|
992
|
-
display:
|
|
965
|
+
display: inline-flex;
|
|
993
966
|
padding: inherit;
|
|
994
967
|
margin-block-start: calc(var(--#{$table}--cell--PaddingTop) * -1);
|
|
995
968
|
margin-block-end: calc(var(--#{$table}--cell--PaddingBottom) * -1);
|
|
996
969
|
margin-inline-start: calc(var(--#{$table}--cell--PaddingLeft) * -1);
|
|
997
970
|
margin-inline-end: calc(var(--#{$table}--cell--PaddingRight) * -1);
|
|
971
|
+
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
@at-root .#{$table}__thead .#{$check}.pf-m-standalone {
|
|
975
|
+
--#{$check}__input--TranslateY: var(--#{$table}__thead__check--input--TranslateY);
|
|
998
976
|
}
|
|
999
977
|
}
|
|
1000
978
|
|
|
@@ -1085,25 +1063,25 @@
|
|
|
1085
1063
|
.#{$table}__button::before,
|
|
1086
1064
|
.#{$table}__button::after {
|
|
1087
1065
|
position: absolute;
|
|
1088
|
-
|
|
1066
|
+
inset-inline-end: 0;
|
|
1089
1067
|
content: "";
|
|
1090
1068
|
border-style: solid;
|
|
1091
1069
|
border-width: 0;
|
|
1092
1070
|
}
|
|
1093
1071
|
|
|
1094
1072
|
.#{$table}__button::before {
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1073
|
+
inset-block-start: 0;
|
|
1074
|
+
inset-block-end: var(--#{$table}__compound-expansion-toggle__button--before--Bottom);
|
|
1075
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--before--Left);
|
|
1076
|
+
border-color: var(--#{$table}__compound-expansion-toggle__button--before--BorderColor);
|
|
1099
1077
|
border-inline-start-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth);
|
|
1100
1078
|
border-inline-end-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth);
|
|
1101
1079
|
}
|
|
1102
1080
|
|
|
1103
1081
|
.#{$table}__button::after {
|
|
1104
1082
|
// overlap previous row's border
|
|
1105
|
-
|
|
1106
|
-
|
|
1083
|
+
inset-block-start: var(--#{$table}__compound-expansion-toggle__button--after--Top);
|
|
1084
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--after--Left);
|
|
1107
1085
|
pointer-events: none;
|
|
1108
1086
|
border-color: var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
1109
1087
|
border-block-start-width: var(--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth);
|