@patternfly/patternfly 6.0.0-alpha.97 → 6.0.0-alpha.99
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/components/Card/card.css +1 -0
- package/components/Card/card.scss +1 -0
- package/components/Check/check.css +10 -3
- package/components/Check/check.scss +17 -4
- package/components/Masthead/masthead.css +17 -9
- package/components/Masthead/masthead.scss +18 -9
- package/components/MenuToggle/menu-toggle.css +20 -6
- package/components/MenuToggle/menu-toggle.scss +32 -6
- package/components/ModalBox/modal-box.css +11 -7
- package/components/ModalBox/modal-box.scss +27 -12
- package/components/Nav/nav.css +64 -110
- package/components/Nav/nav.scss +70 -143
- package/components/Page/page.css +9 -17
- package/components/Page/page.scss +10 -23
- package/components/Radio/radio.css +12 -5
- package/components/Radio/radio.scss +21 -6
- package/components/Table/table-grid.css +30 -35
- package/components/Table/table-grid.scss +44 -32
- package/components/Table/table-scrollable.css +14 -6
- package/components/Table/table-scrollable.scss +6 -1
- package/components/Table/table-tree-view.css +5 -5
- package/components/Table/table-tree-view.scss +14 -8
- package/components/Table/table.css +90 -254
- package/components/Table/table.scss +158 -347
- package/components/Toolbar/toolbar.css +66 -2
- package/components/Toolbar/toolbar.scss +21 -2
- package/docs/components/AboutModalBox/examples/AboutModalBox.md +12 -12
- package/docs/components/Accordion/examples/Accordion.md +19 -19
- package/docs/components/ActionList/examples/ActionList.md +5 -5
- package/docs/components/Alert/examples/Alert.md +26 -26
- package/docs/components/AppLauncher/deprecated/application-launcher.md +31 -31
- package/docs/components/Avatar/examples/Avatar.md +8 -8
- package/docs/components/BackToTop/examples/BackToTop.md +3 -3
- package/docs/components/Backdrop/examples/Backdrop.md +3 -3
- package/docs/components/BackgroundImage/examples/BackgroundImage.md +4 -4
- package/docs/components/Badge/examples/Badge.md +6 -6
- package/docs/components/Banner/examples/Banner.md +17 -17
- package/docs/components/Brand/examples/Brand.css +3 -3
- package/docs/components/Brand/examples/Brand.md +7 -7
- package/docs/components/Breadcrumb/examples/Breadcrumb.md +12 -12
- package/docs/components/Button/examples/Button.css +2 -2
- package/docs/components/Button/examples/Button.md +35 -35
- package/docs/components/CalendarMonth/examples/CalendarMonth.md +29 -29
- package/docs/components/Card/examples/Card.md +30 -30
- package/docs/components/Check/examples/Check.md +12 -12
- package/docs/components/Chip/examples/Chip.md +21 -21
- package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +19 -19
- package/docs/components/CodeBlock/examples/CodeBlock.md +8 -8
- package/docs/components/CodeEditor/examples/CodeEditor.md +14 -14
- package/docs/components/Content/examples/Content.md +5 -5
- package/docs/components/ContextSelector/deprecated/context-selector.md +23 -23
- package/docs/components/DataList/examples/DataList.md +177 -112
- package/docs/components/DatePicker/examples/DatePicker.md +10 -10
- package/docs/components/DescriptionList/examples/DescriptionList.md +29 -29
- package/docs/components/Divider/examples/Divider.md +7 -7
- package/docs/components/DragDrop/examples/DragDrop.md +5 -5
- package/docs/components/Drawer/examples/Drawer.md +36 -36
- package/docs/components/Dropdown/deprecated/Dropdown.css +1 -1
- package/docs/components/Dropdown/deprecated/Dropdown.md +47 -47
- package/docs/components/DualListSelector/examples/DualListSelector.md +41 -41
- package/docs/components/EmptyState/examples/EmptyState.md +21 -21
- package/docs/components/ExpandableSection/examples/ExpandableSection.md +18 -18
- package/docs/components/FileUpload/examples/FileUpload.md +8 -8
- package/docs/components/Form/examples/Form.md +52 -52
- package/docs/components/FormControl/examples/FormControl.md +22 -22
- package/docs/components/HelperText/examples/HelperText.md +11 -11
- package/docs/components/Hint/examples/Hint.md +6 -6
- package/docs/components/Icon/examples/Icon.md +13 -13
- package/docs/components/InlineEdit/examples/InlineEdit.md +54 -138
- package/docs/components/InputGroup/examples/InputGroup.md +10 -10
- package/docs/components/JumpLinks/examples/JumpLinks.md +19 -19
- package/docs/components/Label/examples/Label.css +4 -4
- package/docs/components/Label/examples/Label.md +45 -45
- package/docs/components/List/examples/List.md +6 -6
- package/docs/components/LogViewer/examples/LogViewer.css +2 -2
- package/docs/components/LogViewer/examples/LogViewer.md +35 -35
- package/docs/components/Login/examples/Login.md +21 -21
- package/docs/components/Masthead/examples/masthead.md +7 -7
- package/docs/components/Menu/examples/Menu.md +60 -60
- package/docs/components/MenuToggle/examples/MenuToggle.md +106 -22
- package/docs/components/ModalBox/examples/ModalBox.md +75 -34
- package/docs/components/MultipleFileUpload/examples/MultipleFileUpload.md +21 -21
- package/docs/components/Nav/examples/Navigation.css +20 -3
- package/docs/components/Nav/examples/Navigation.md +44 -50
- package/docs/components/NotificationBadge/examples/NotificationBadge.md +8 -8
- package/docs/components/NotificationDrawer/examples/NotificationDrawer.md +36 -36
- package/docs/components/NumberInput/examples/NumberInput.md +13 -13
- package/docs/components/OptionsMenu/deprecated/options-menu.md +22 -22
- package/docs/components/OverflowMenu/examples/overflow-menu.md +20 -20
- package/docs/components/Page/deprecated/PageHeader.md +30 -30
- package/docs/components/Page/examples/Page.md +55 -54
- package/docs/components/Pagination/examples/Pagination.md +25 -25
- package/docs/components/Panel/examples/Panel.md +10 -10
- package/docs/components/Popover/examples/Popover.md +30 -30
- package/docs/components/Progress/examples/Progress.md +31 -31
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +17 -17
- package/docs/components/Radio/examples/Radio.md +9 -9
- package/docs/components/Select/deprecated/Select.md +110 -110
- package/docs/components/Sidebar/examples/Sidebar.md +16 -16
- package/docs/components/SimpleList/examples/SimpleList.md +9 -9
- package/docs/components/Skeleton/examples/Skeleton.md +14 -14
- package/docs/components/SkipToContent/examples/SkipToContent.md +4 -4
- package/docs/components/Slider/examples/Slider.md +33 -33
- package/docs/components/Spinner/examples/Spinner.md +14 -14
- package/docs/components/Switch/examples/Switch.md +14 -14
- package/docs/components/TabContent/examples/TabContent.md +10 -10
- package/docs/components/Table/examples/Table.md +5395 -15077
- package/docs/components/Tabs/examples/Tabs.md +39 -39
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +1 -1
- package/docs/components/Tile/examples/Tile.md +12 -12
- package/docs/components/Timestamp/examples/Timestamp.md +4 -4
- package/docs/components/Title/examples/Title.md +20 -20
- package/docs/components/ToggleGroup/examples/toggle-group.md +10 -10
- package/docs/components/Toolbar/examples/Toolbar.md +57 -57
- package/docs/components/Tooltip/examples/Tooltip.md +9 -9
- package/docs/components/TreeView/examples/TreeView.md +31 -31
- package/docs/components/Truncate/examples/Truncate.md +8 -8
- package/docs/components/Wizard/examples/Wizard.md +46 -46
- package/docs/demos/Banner/examples/Banner.md +1 -1
- package/docs/demos/Card/examples/Card.md +12 -19
- package/docs/demos/DataList/examples/DataList.md +179 -280
- package/docs/demos/DescriptionList/examples/DescriptionList.md +6 -0
- package/docs/demos/Masthead/examples/Masthead.md +4 -8
- package/docs/demos/Nav/examples/Nav.md +45 -149
- package/docs/demos/Page/examples/Page.md +3 -37
- package/docs/demos/Page/examples/Penta.md +119 -40
- package/docs/demos/Table/examples/Table.md +1531 -4970
- package/docs/demos/Tabs/examples/Tabs.md +118 -174
- package/docs/demos/Toolbar/examples/Toolbar.md +220 -600
- package/docs/layouts/Bullseye/examples/Bullseye.md +3 -3
- package/docs/layouts/Flex/examples/Flex.md +76 -76
- package/docs/layouts/Gallery/examples/Gallery.md +6 -6
- package/docs/layouts/Grid/examples/Grid.md +8 -8
- package/docs/layouts/Level/examples/Level.md +4 -4
- package/docs/layouts/Split/examples/Split.md +6 -6
- package/docs/layouts/Stack/examples/Stack.md +5 -5
- package/docs/utilities/Accessibility/examples/Accessibility.md +2 -2
- package/docs/utilities/Alignment/examples/Alignment.md +4 -4
- package/docs/utilities/BackgroundColor/examples/BackgroundColor.md +10 -10
- package/docs/utilities/BoxShadow/examples/box-shadow.md +20 -20
- package/docs/utilities/Display/examples/Display.md +9 -9
- package/docs/utilities/Flex/examples/Flex.md +32 -32
- package/docs/utilities/Float/examples/Float.md +2 -2
- package/docs/utilities/Sizing/examples/Sizing.md +41 -41
- package/docs/utilities/Spacing/examples/Spacing.md +11 -11
- package/docs/utilities/Text/examples/Text.md +28 -28
- package/package.json +2 -1
- package/patternfly-no-globals.css +363 -465
- package/patternfly-theme-dark-unversioned.css +363 -465
- package/patternfly.css +363 -465
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/Table/themes/dark/table.scss +0 -16
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--#{$table}--BorderColor: var(--pf-t--global--border--color--default);
|
|
8
8
|
--#{$table}--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// * Table caption
|
|
11
11
|
--#{$table}__caption--FontSize: var(--pf-t--global--font--size--body--default);
|
|
12
12
|
--#{$table}__caption--Color: var(--pf-t--global--text--color--subtle);
|
|
13
13
|
--#{$table}__caption--PaddingTop: var(--pf-t--global--spacer--md);
|
|
@@ -15,21 +15,18 @@
|
|
|
15
15
|
--#{$table}__caption--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
16
16
|
--#{$table}__caption--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
17
17
|
|
|
18
|
-
//
|
|
18
|
+
// * Table thead cell
|
|
19
19
|
--#{$table}__thead--cell--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
20
20
|
--#{$table}__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
21
21
|
|
|
22
|
-
//
|
|
22
|
+
// * Table body cell
|
|
23
23
|
--#{$table}__tbody--cell--PaddingTop: var(--#{$table}--cell--Padding--base);
|
|
24
24
|
--#{$table}__tbody--cell--PaddingBottom: var(--#{$table}--cell--Padding--base);
|
|
25
25
|
--#{$table}__tbody--cell--FontSize: var(--pf-t--global--font--size--body--default); // set this explicitly for input heights to calc properly
|
|
26
26
|
|
|
27
|
-
// Tr
|
|
28
|
-
--#{$table}__tr--BoxShadow--top--base: 0 #{pf-size-prem(-3px)} #{pf-size-prem(4px)} #{pf-size-prem(-2px)} rgba(3,3,3,.08);
|
|
29
|
-
|
|
30
27
|
// TODO: update these in order of appearance in scss declarations
|
|
31
28
|
|
|
32
|
-
//
|
|
29
|
+
// * Table cell
|
|
33
30
|
--#{$table}--cell--Padding--base: var(--pf-t--global--spacer--md);
|
|
34
31
|
--#{$table}--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
35
32
|
--#{$table}--cell--FontWeight: var(--pf-t--global--font--weight--body);
|
|
@@ -42,7 +39,7 @@
|
|
|
42
39
|
--#{$table}--cell--first-last-child--PaddingInline: var(--pf-t--global--spacer--sm);
|
|
43
40
|
--#{$table}__tr--m-first-cell-offset-reset--cell--PaddingLeft: var(--#{$table}--cell--Padding--base);
|
|
44
41
|
|
|
45
|
-
//
|
|
42
|
+
// * Table cell - default variables
|
|
46
43
|
--#{$table}--cell--MinWidth: 0;
|
|
47
44
|
--#{$table}--cell--MaxWidth: none;
|
|
48
45
|
--#{$table}--cell--Width: auto;
|
|
@@ -51,23 +48,23 @@
|
|
|
51
48
|
--#{$table}--cell--WhiteSpace: normal;
|
|
52
49
|
--#{$table}--cell--WordBreak: normal;
|
|
53
50
|
|
|
54
|
-
//
|
|
51
|
+
// * Table cell border right
|
|
55
52
|
--#{$table}--cell--m-border-right--before--BorderRightWidth: var(--pf-t--global--border--width--divider--default);
|
|
56
53
|
--#{$table}--cell--m-border-right--before--BorderRightColor: var(--pf-t--global--border--color--default);
|
|
57
54
|
--#{$table}--cell--m-border-left--before--BorderLeftWidth: var(--pf-t--global--border--width--divider--default);
|
|
58
55
|
--#{$table}--cell--m-border-left--before--BorderLeftColor: var(--pf-t--global--border--color--default);
|
|
59
56
|
|
|
60
|
-
//
|
|
57
|
+
// * Table help
|
|
61
58
|
--#{$table}--cell--m-help--MinWidth: 11ch;
|
|
62
59
|
|
|
63
|
-
//
|
|
60
|
+
// * Table truncate
|
|
64
61
|
--#{$table}--m-truncate--cell--MaxWidth: 1px;
|
|
65
62
|
--#{$table}--m-truncate--cell--MinWidth: calc(5ch + var(--#{$table}--cell--PaddingRight) + var(--#{$table}--cell--PaddingLeft));
|
|
66
63
|
|
|
67
|
-
//
|
|
64
|
+
// * Table cell hidden visible
|
|
68
65
|
--#{$table}--cell--hidden-visible--Display: table-cell;
|
|
69
66
|
|
|
70
|
-
// Table
|
|
67
|
+
// * Table toggle
|
|
71
68
|
--#{$table}__toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
72
69
|
--#{$table}__toggle--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
73
70
|
--#{$table}__toggle--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
@@ -76,58 +73,55 @@
|
|
|
76
73
|
--#{$table}__toggle--c-button__toggle-icon--Transition: .2s ease-in 0s;
|
|
77
74
|
--#{$table}__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
|
|
78
75
|
|
|
79
|
-
//
|
|
80
|
-
--#{$table}__button--PaddingTop: var(--pf-t--global--spacer--
|
|
81
|
-
--#{$table}__button--PaddingBottom: var(--pf-t--global--spacer--
|
|
82
|
-
--#{$table}__button--PaddingLeft: var(--pf-t--global--spacer--
|
|
83
|
-
--#{$table}__button--PaddingRight: var(--pf-t--global--spacer--
|
|
76
|
+
// * Table button
|
|
77
|
+
--#{$table}__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
78
|
+
--#{$table}__button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
79
|
+
--#{$table}__button--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
80
|
+
--#{$table}__button--PaddingRight: var(--pf-t--global--spacer--md);
|
|
84
81
|
--#{$table}__button--Color: var(--pf-t--global--text--color--regular);
|
|
85
|
-
--#{$table}__button--BackgroundColor:
|
|
82
|
+
--#{$table}__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
|
86
83
|
--#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
87
84
|
--#{$table}__button--BorderRadius: var(--pf-t--global--border--radius--small);
|
|
88
85
|
--#{$table}__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
89
|
-
--#{$table}__button--
|
|
90
|
-
--#{$table}__button--active--Color: var(--pf-t--global--text--color--regular);
|
|
86
|
+
--#{$table}__button--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
|
91
87
|
--#{$table}__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
92
88
|
|
|
93
|
-
//
|
|
89
|
+
// * Table compact
|
|
94
90
|
--#{$table}--m-compact__toggle--PaddingTop: 0;
|
|
95
91
|
--#{$table}--m-compact__toggle--PaddingBottom: 0;
|
|
96
92
|
|
|
97
|
-
//
|
|
93
|
+
// * Table check
|
|
98
94
|
--#{$table}__check--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
99
95
|
--#{$table}__check--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
100
96
|
|
|
101
|
-
//
|
|
102
|
-
--#{$table}__favorite--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
103
|
-
--#{$table}__favorite--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
97
|
+
// * Table favorite
|
|
104
98
|
--#{$table}__favorite--c-button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
105
99
|
--#{$table}--cell--m-favorite--Color: var(--pf-t--global--text--color--subtle);
|
|
106
100
|
--#{$table}__favorite--m-favorited--c-button--Color: var(--pf-t--global--color--favorite--clicked);
|
|
107
101
|
--#{$table}__sort--m-favorite__button__text--Color: var(--pf-t--global--text--color--subtle);
|
|
108
102
|
--#{$table}__sort--m-favorite__button--hover__text--Color: var(--pf-t--global--text--color--regular);
|
|
109
|
-
--#{$table}__sort--m-favorite__button--focus__text--Color: var(--pf-t--global--text--color--regular);
|
|
110
|
-
--#{$table}__sort--m-favorite__button--active__text--Color: var(--pf-t--global--text--color--regular);
|
|
111
103
|
|
|
112
|
-
//
|
|
104
|
+
// * Table draggable button
|
|
113
105
|
--#{$table}__draggable--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
114
106
|
--#{$table}__draggable--c-button--MarginRight: calc(var(--#{$button}--PaddingRight) * -1);
|
|
115
107
|
--#{$table}__draggable--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
116
108
|
--#{$table}__draggable--c-button--MarginLeft: calc(var(--#{$button}--PaddingLeft) * -1);
|
|
117
109
|
|
|
118
|
-
//
|
|
110
|
+
// * Table ghost row
|
|
119
111
|
--#{$table}__tr--m-ghost-row--Opacity: .4;
|
|
120
112
|
--#{$table}__tr--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
121
113
|
|
|
122
|
-
// Action
|
|
114
|
+
// * Table Action
|
|
123
115
|
--#{$table}__action--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
124
116
|
--#{$table}__action--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
117
|
+
--#{$table}__action--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
118
|
+
--#{$table}__action--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
125
119
|
|
|
126
|
-
//
|
|
120
|
+
// * Table inline edit
|
|
127
121
|
--#{$table}__inline-edit-action--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
128
122
|
--#{$table}__inline-edit-action--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
129
123
|
|
|
130
|
-
//
|
|
124
|
+
// * Table expandable row
|
|
131
125
|
--#{$table}__expandable-row--Transition: var(--#{$pf-global}--Transition); // TODO: update to token when available
|
|
132
126
|
--#{$table}__expandable-row-content--PaddingTop: var(--pf-t--global--spacer--md);
|
|
133
127
|
--#{$table}__expandable-row-content--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
@@ -135,167 +129,113 @@
|
|
|
135
129
|
--#{$table}__expandable-row-content--PaddingRight: var(--pf-t--global--spacer--md);
|
|
136
130
|
--#{$table}__expandable-row-content--Transition: var(--#{$pf-global}--Transition); // TODO: update to token when available
|
|
137
131
|
|
|
138
|
-
//
|
|
139
|
-
--#{$table}__expandable-row--after--Top: calc(var(--#{$table}--border-width--base) * -1);
|
|
140
|
-
--#{$table}__expandable-row--after--Bottom: calc(var(--#{$table}--border-width--base) * -1);
|
|
141
|
-
--#{$table}__expandable-row--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
142
|
-
--#{$table}__expandable-row--after--BorderLeftWidth: 0;
|
|
143
|
-
--#{$table}__expandable-row--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
144
|
-
|
|
145
|
-
// Icon inline
|
|
132
|
+
// * Table icon inline
|
|
146
133
|
--#{$table}__icon-inline--MarginRight: var(--pf-t--global--spacer--sm);
|
|
147
134
|
|
|
148
|
-
//
|
|
135
|
+
// * Table sort cell
|
|
149
136
|
--#{$table}__sort--MinWidth: calc(6ch + var(--#{$table}--cell--PaddingRight) + var(--#{$table}--cell--PaddingLeft) + var(--#{$table}__sort-indicator--MarginLeft));
|
|
150
137
|
|
|
151
|
-
//
|
|
152
|
-
--#{$table}__sort__button--PaddingTop: var(--pf-t--global--spacer--
|
|
153
|
-
--#{$table}__sort__button--
|
|
154
|
-
--#{$table}__sort__button--
|
|
155
|
-
--#{$table}__sort__button--
|
|
156
|
-
--#{$table}__sort__button--MarginTop: calc(var(--#{$table}__sort__button--PaddingTop) * -1);
|
|
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);
|
|
157
143
|
--#{$table}__sort__button--MarginBottom: calc(var(--#{$table}__sort__button--PaddingBottom) * -1);
|
|
158
144
|
--#{$table}__sort__button--MarginLeft: calc(var(--#{$table}__sort__button--PaddingLeft) * -1);
|
|
159
145
|
--#{$table}__sort__button--Color: var(--pf-t--global--text--color--regular);
|
|
160
|
-
--#{$table}__sort--m-selected__button--Color: var(--pf-t--global--
|
|
146
|
+
--#{$table}__sort--m-selected__button--Color: var(--pf-t--global--color--brand--clicked);
|
|
161
147
|
--#{$table}__sort--m-help--MinWidth: 15ch;
|
|
162
148
|
|
|
163
|
-
//
|
|
149
|
+
// * Table sort button
|
|
164
150
|
--#{$table}__sort__button__text--Color: currentcolor;
|
|
165
151
|
--#{$table}__sort__button--hover__text--Color: currentcolor;
|
|
166
|
-
--#{$table}__sort__button--focus__text--Color: currentcolor;
|
|
167
|
-
--#{$table}__sort__button--active__text--Color: currentcolor;
|
|
168
152
|
|
|
169
|
-
//
|
|
153
|
+
// * Table sort cell
|
|
170
154
|
--#{$table}__sort--cell--PaddingLeft: var(--pf-t--global--spacer--xs);
|
|
171
155
|
--#{$table}__sort--cell--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
172
156
|
|
|
173
|
-
//
|
|
157
|
+
// * Table sort indicator
|
|
174
158
|
--#{$table}__sort-indicator--Color: var(--pf-t--global--icon--color--subtle);
|
|
175
159
|
--#{$table}__sort-indicator--MarginLeft: var(--pf-t--global--spacer--md);
|
|
176
|
-
--#{$table}__sort--m-selected__sort-indicator--Color: var(--pf-t--global--
|
|
160
|
+
--#{$table}__sort--m-selected__sort-indicator--Color: var(--pf-t--global--color--brand--clicked);
|
|
177
161
|
--#{$table}__sort__button--hover__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
178
|
-
--#{$table}__sort__button--active__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
179
|
-
--#{$table}__sort__button--focus__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
180
162
|
|
|
181
|
-
//
|
|
163
|
+
// * Table help
|
|
182
164
|
--#{$table}__th--m-help--MinWidth: 11ch;
|
|
183
165
|
|
|
184
|
-
// Table header popover
|
|
166
|
+
// * Table header popover
|
|
185
167
|
--#{$table}__column-help--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
186
168
|
--#{$table}__column-help--c-button--MarginTop: calc(var(--#{$button}--PaddingTop) * -1);
|
|
187
169
|
--#{$table}__column-help--c-button--MarginBottom: calc(var(--#{$button}--PaddingBottom) * -1);
|
|
188
170
|
--#{$table}__column-help--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
189
171
|
--#{$table}__column-help--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
190
172
|
|
|
191
|
-
//
|
|
173
|
+
// * Table compound expansion toggle button
|
|
192
174
|
--#{$table}__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
193
175
|
--#{$table}__compound-expansion-toggle__button--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
// ::before border treatment
|
|
198
|
-
--#{$table}__compound-expansion-toggle__button--before--border-width--base: var(--pf-t--global--border--width--button--default);
|
|
199
|
-
--#{$table}__compound-expansion-toggle__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
|
200
|
-
--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth: 0;
|
|
201
|
-
--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth: 0;
|
|
202
|
-
--#{$table}__compound-expansion-toggle__button--before--Bottom: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
203
|
-
--#{$table}__compound-expansion-toggle__button--before--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
204
|
-
|
|
205
|
-
// ::after border treatment
|
|
206
|
-
--#{$table}__compound-expansion-toggle__button--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
176
|
+
|
|
177
|
+
// * Table compound expansion toggle button after
|
|
207
178
|
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
208
179
|
--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth: 0;
|
|
209
|
-
--#{$table}__compound-expansion-
|
|
210
|
-
--#{$table}__compound-expansion-toggle__button--after--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
180
|
+
--#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderTopWidth: var(--pf-t--global--border--width--strong);
|
|
211
181
|
|
|
212
|
-
//
|
|
182
|
+
// * Table compact th
|
|
213
183
|
--#{$table}--m-compact__th--PaddingTop: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
|
|
214
184
|
--#{$table}--m-compact__th--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
185
|
+
|
|
186
|
+
// * Table compact cell
|
|
215
187
|
--#{$table}--m-compact--cell--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
216
188
|
--#{$table}--m-compact--cell--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
217
189
|
--#{$table}--m-compact--cell--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
218
190
|
--#{$table}--m-compact--cell--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
191
|
+
|
|
192
|
+
// * Table compact action
|
|
219
193
|
--#{$table}--m-compact__action--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
220
194
|
--#{$table}--m-compact__action--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
221
195
|
|
|
222
|
-
//
|
|
196
|
+
// * Table expandable row expanded
|
|
223
197
|
--#{$table}__expandable-row--m-expanded--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
224
198
|
|
|
225
|
-
// tr clickable
|
|
226
|
-
--#{$table}__tr--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
199
|
+
// * Table tr clickable
|
|
227
200
|
--#{$table}__tr--m-clickable--BackgroundColor: transparent;
|
|
228
|
-
--#{$table}__tr--m-clickable--BoxShadow: none;
|
|
229
201
|
--#{$table}__tr--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
230
|
-
|
|
231
|
-
// TODO Shadow tokens START HERE AGAIN
|
|
232
|
-
--#{$table}__tr--m-clickable--hover--BoxShadow: var(--#{$table}__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
233
202
|
--#{$table}__tr--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
--#{$table}__tr--m-clickable--active--BoxShadow: var(--#{$table}__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
237
|
-
--#{$table}__tr--m-clickable--active--BackgroundColor: var(--pf-t--global--background--color--primary--clicked);
|
|
238
|
-
--#{$table}__tr--m-clickable--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
239
|
-
|
|
240
|
-
// tr selected
|
|
241
|
-
--#{$table}__tr--m-selected--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
203
|
+
|
|
204
|
+
// * Table tr selected
|
|
242
205
|
--#{$table}__tr--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
243
|
-
--#{$table}__tr--m-selected--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
244
206
|
--#{$table}__tr--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
--#{$table}__tr--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
248
|
-
--#{$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);
|
|
249
|
-
--#{$table}__tr--m-selected__tr--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
250
|
-
|
|
251
|
-
// tbody clickable
|
|
252
|
-
--#{$table}__tbody--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
253
|
-
--#{$table}__tbody--m-clickable--BoxShadow: none;
|
|
207
|
+
|
|
208
|
+
// * Table tbody clickable
|
|
254
209
|
--#{$table}__tbody--m-clickable--BackgroundColor: transparent;
|
|
255
210
|
--#{$table}__tbody--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
256
|
-
--#{$table}__tbody--m-clickable--hover--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
257
211
|
--#{$table}__tbody--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
258
|
-
--#{$table}__tbody--m-clickable--focus--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
259
|
-
--#{$table}__tbody--m-clickable--focus--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
260
|
-
--#{$table}__tbody--m-clickable--active--BoxShadow: var(--#{$table}__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
261
|
-
--#{$table}__tbody--m-clickable--active--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
262
212
|
--#{$table}__tbody--m-clickable--m-expanded--BorderColor: var(--pf-t--global--border--color--clicked);
|
|
263
|
-
--#{$table}__tbody--m-clickable--m-selected--hover__tr--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
264
213
|
|
|
265
|
-
// tbody selected
|
|
214
|
+
// * Table tbody selected
|
|
266
215
|
--#{$table}__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
267
|
-
--#{$table}__tbody--m-selected--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
268
|
-
--#{$table}__tbody--m-selected--BoxShadow: var(--#{$table}__tbody--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
269
216
|
--#{$table}__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
270
|
-
--#{$table}__tbody--m-selected--after--BorderLeftWidth: calc(2 * var(--#{$table}__expandable-row--after--border-width--base));
|
|
271
|
-
--#{$table}__tbody--m-selected--after--BorderLeftColor: var(--pf-t--global--border--color--clicked);
|
|
272
|
-
--#{$table}__tbody--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
273
|
-
--#{$table}__tbody--m-selected--hover__tbody--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom) inset, var(--pf-t--global--box-shadow--sm--bottom);
|
|
274
|
-
--#{$table}__tbody--m-selected__tbody--m-selected--hover--BoxShadow: var(--#{$table}__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
275
217
|
|
|
276
|
-
//
|
|
218
|
+
// * Table nested column header
|
|
277
219
|
--#{$table}__thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
|
|
278
220
|
--#{$table}__thead--m-nested-column-header__tr--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
279
221
|
--#{$table}__thead--m-nested-column-header__tr--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
280
222
|
|
|
281
|
-
//
|
|
223
|
+
// * Table subhead
|
|
282
224
|
--#{$table}__subhead--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
283
225
|
--#{$table}__subhead--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
284
226
|
--#{$table}__subhead--Color: var(--pf-t--global--text--color--subtle);
|
|
285
227
|
|
|
286
|
-
//
|
|
228
|
+
// * Table striped
|
|
287
229
|
--#{$table}--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
288
230
|
|
|
289
|
-
//
|
|
231
|
+
// * Table sticky
|
|
290
232
|
--#{$table}--m-sticky-header--cell--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
291
233
|
}
|
|
292
234
|
|
|
293
235
|
// TODO: update grouping comments to // Table {element}
|
|
294
236
|
// TODO: flatten the modifiers out ex: .#{$table}.pf-m-sticky-header {}
|
|
295
|
-
// Table
|
|
237
|
+
// - Table
|
|
296
238
|
.#{$table} {
|
|
297
|
-
@include pf-v5-t-light; // This component always needs to be light
|
|
298
|
-
|
|
299
239
|
// Base
|
|
300
240
|
width: 100%;
|
|
301
241
|
background-color: var(--#{$table}--BackgroundColor);
|
|
@@ -308,16 +248,14 @@
|
|
|
308
248
|
position: relative;
|
|
309
249
|
|
|
310
250
|
thead:where(.#{$table}__thead) tr:where(.#{$table}__tr) {
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
> * {
|
|
251
|
+
> :where(th, td) {
|
|
314
252
|
z-index: var(--#{$table}--m-sticky-header--cell--ZIndex); // set z-index here to allow sticky column to override
|
|
315
253
|
}
|
|
316
254
|
}
|
|
317
255
|
|
|
318
256
|
// standard sticky headers
|
|
319
257
|
> thead:where(.#{$table}__thead):not(.pf-m-nested-column-header) {
|
|
320
|
-
> tr:where(.#{$table}__tr) >
|
|
258
|
+
> tr:where(.#{$table}__tr) > :where(th, td) {
|
|
321
259
|
position: sticky;
|
|
322
260
|
inset-block-start: 0;
|
|
323
261
|
background: var(--#{$table}--BackgroundColor);
|
|
@@ -346,6 +284,7 @@
|
|
|
346
284
|
background-color: var(--#{$table}--BorderColor);
|
|
347
285
|
}
|
|
348
286
|
|
|
287
|
+
// TODO: remove this block
|
|
349
288
|
tr:where(.#{$table}__tr):not(:nth-last-child(2)) {
|
|
350
289
|
// stylelint-disable max-nesting-depth
|
|
351
290
|
th:where(.#{$table}__th),
|
|
@@ -390,8 +329,6 @@
|
|
|
390
329
|
// Standard table row (non-expandable)
|
|
391
330
|
// exclude expandable rows
|
|
392
331
|
tr:where(.#{$table}__tr):not(.#{$table}__expandable-row) {
|
|
393
|
-
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
394
|
-
|
|
395
332
|
// stylelint-disable-next-line
|
|
396
333
|
&.pf-m-ghost-row {
|
|
397
334
|
background-color: var(--#{$table}__tr--m-ghost-row--BackgroundColor);
|
|
@@ -399,11 +336,11 @@
|
|
|
399
336
|
}
|
|
400
337
|
}
|
|
401
338
|
|
|
402
|
-
// Table
|
|
403
|
-
tr:where(.#{$table}__tr) >
|
|
339
|
+
// - Table th - Table td
|
|
340
|
+
tr:where(.#{$table}__tr) > :where(th, td) {
|
|
404
341
|
@include pf-v5-hidden-visible(var(--#{$table}--cell--hidden-visible--Display));
|
|
405
342
|
|
|
406
|
-
// set position relative for ::
|
|
343
|
+
// set position relative for ::after borders
|
|
407
344
|
position: relative;
|
|
408
345
|
width: var(--#{$table}--cell--Width);
|
|
409
346
|
min-width: var(--#{$table}--cell--MinWidth);
|
|
@@ -471,7 +408,7 @@
|
|
|
471
408
|
}
|
|
472
409
|
}
|
|
473
410
|
|
|
474
|
-
// Table caption
|
|
411
|
+
// - Table caption
|
|
475
412
|
caption:where(.#{$table}__caption) {
|
|
476
413
|
padding-block-start: var(--#{$table}__caption--PaddingTop);
|
|
477
414
|
padding-block-end: var(--#{$table}__caption--PaddingBottom);
|
|
@@ -482,13 +419,11 @@
|
|
|
482
419
|
background-color: var(--#{$table}--BackgroundColor);
|
|
483
420
|
}
|
|
484
421
|
|
|
485
|
-
// Table header cell
|
|
422
|
+
// - Table header cell
|
|
486
423
|
thead:where(.#{$table}__thead) {
|
|
487
424
|
--#{$table}--cell--FontSize: var(--#{$table}__thead--cell--FontSize);
|
|
488
425
|
--#{$table}--cell--FontWeight: var(--#{$table}__thead--cell--FontWeight);
|
|
489
426
|
|
|
490
|
-
vertical-align: baseline;
|
|
491
|
-
|
|
492
427
|
// stylelint-disable
|
|
493
428
|
&.pf-m-nested-column-header {
|
|
494
429
|
button:where(.#{$button}) {
|
|
@@ -506,6 +441,7 @@
|
|
|
506
441
|
}
|
|
507
442
|
// stylelint-enable
|
|
508
443
|
|
|
444
|
+
// - Table subhead
|
|
509
445
|
.#{$table}__subhead {
|
|
510
446
|
--#{$table}--cell--PaddingLeft: var(--#{$table}__subhead--PaddingLeft);
|
|
511
447
|
--#{$table}--cell--PaddingRight: var(--#{$table}__subhead--PaddingRight);
|
|
@@ -519,39 +455,16 @@
|
|
|
519
455
|
}
|
|
520
456
|
}
|
|
521
457
|
|
|
522
|
-
// Table
|
|
458
|
+
// - Table tbody
|
|
523
459
|
// stylelint-disable
|
|
524
460
|
tbody:where(.#{$table}__tbody) {
|
|
525
461
|
--#{$table}--cell--PaddingTop: var(--#{$table}__tbody--cell--PaddingTop);
|
|
526
462
|
--#{$table}--cell--PaddingBottom: var(--#{$table}__tbody--cell--PaddingBottom);
|
|
527
|
-
|
|
528
|
-
vertical-align: top;
|
|
529
|
-
|
|
530
463
|
--#{$table}--cell--FontSize: var(--#{$table}__tbody--cell--FontSize);
|
|
531
464
|
|
|
532
|
-
> tr:where(.#{$table}__tr) >
|
|
465
|
+
> tr:where(.#{$table}__tr) > :where(th, td) {
|
|
533
466
|
overflow-wrap: break-word;
|
|
534
467
|
}
|
|
535
|
-
|
|
536
|
-
// Border treatment
|
|
537
|
-
// using first child as row does not calculate height appropriately
|
|
538
|
-
> tr:where(.#{$table}__tr) > :first-child::after {
|
|
539
|
-
position: absolute;
|
|
540
|
-
|
|
541
|
-
// offset top to extend above tr border
|
|
542
|
-
inset-block-start: var(--#{$table}__expandable-row--after--Top);
|
|
543
|
-
inset-block-end: var(--#{$table}__expandable-row--after--Bottom);
|
|
544
|
-
inset-inline-start: 0;
|
|
545
|
-
content: '';
|
|
546
|
-
|
|
547
|
-
// add border left
|
|
548
|
-
background-color: transparent;
|
|
549
|
-
border-inline-start: var(--#{$table}__expandable-row--after--BorderLeftWidth) solid var(--#{$table}__expandable-row--after--BorderColor);
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
&.pf-m-expanded > :first-child:not(.#{$table}__control-row) {
|
|
553
|
-
border-block-end-width: 0;
|
|
554
|
-
}
|
|
555
468
|
}
|
|
556
469
|
// stylelint-enable
|
|
557
470
|
|
|
@@ -568,6 +481,7 @@
|
|
|
568
481
|
// }
|
|
569
482
|
// }
|
|
570
483
|
|
|
484
|
+
// - Table sort
|
|
571
485
|
// set property here to increase specificity
|
|
572
486
|
.#{$table}__sort {
|
|
573
487
|
min-width: var(--#{$table}__sort--MinWidth);
|
|
@@ -579,6 +493,7 @@
|
|
|
579
493
|
}
|
|
580
494
|
}
|
|
581
495
|
|
|
496
|
+
// - Table truncate - Table wrap - Table nowrap - Table fit content - Table wrap - Table break word
|
|
582
497
|
:where([class*='#{$table}']),
|
|
583
498
|
:where(&) > :is(thead, tbody) {
|
|
584
499
|
@at-root .#{$table} > thead,
|
|
@@ -626,40 +541,25 @@
|
|
|
626
541
|
&.pf-m-no-border-rows > tbody:where(.#{$table}__tbody) {
|
|
627
542
|
> tr:where(.#{$table}__tr) {
|
|
628
543
|
border-block-end: 0;
|
|
629
|
-
|
|
630
|
-
> :first-child::after {
|
|
631
|
-
border-inline-start: 0;
|
|
632
|
-
}
|
|
633
544
|
}
|
|
634
545
|
|
|
635
546
|
&:not(.pf-m-expanded) .#{$table}__compound-expansion-toggle .#{$table}__button::before {
|
|
636
547
|
display: none;
|
|
637
548
|
}
|
|
638
|
-
|
|
639
|
-
&.pf-m-expanded > .#{$table}__control-row {
|
|
640
|
-
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
.#{$table}__control-row > .#{$table}__compound-expansion-toggle:first-child > ::before {
|
|
644
|
-
border-inline-start-width: 0;
|
|
645
|
-
}
|
|
646
549
|
}
|
|
647
550
|
|
|
648
551
|
tr.pf-m-clickable:last-child {
|
|
649
552
|
border-block-end-color: transparent;
|
|
650
553
|
}
|
|
651
554
|
|
|
652
|
-
// tr clickable
|
|
555
|
+
// - Table tr clickable
|
|
653
556
|
tr:where(.#{$table}__tr) {
|
|
654
557
|
&.pf-m-clickable {
|
|
655
558
|
cursor: pointer;
|
|
656
559
|
background-color: var(--#{$table}__tr--m-clickable--BackgroundColor);
|
|
657
560
|
outline-offset: var(--#{$table}__tr--m-clickable--OutlineOffset);
|
|
658
|
-
box-shadow: var(--#{$table}__tr--m-clickable--BoxShadow);
|
|
659
561
|
|
|
660
|
-
&:hover,
|
|
661
|
-
&:focus,
|
|
662
|
-
&:active {
|
|
562
|
+
&:is(:hover, :focus) {
|
|
663
563
|
--#{$table}__tr--m-clickable--BackgroundColor: var(--#{$table}__tr--m-clickable--hover--BackgroundColor);
|
|
664
564
|
}
|
|
665
565
|
}
|
|
@@ -672,19 +572,6 @@
|
|
|
672
572
|
position: relative;
|
|
673
573
|
background-color: var(--#{$table}__tr--m-selected--BackgroundColor);
|
|
674
574
|
outline-offset: var(--#{$table}__tr--m-selected--OutlineOffset);
|
|
675
|
-
box-shadow: var(--#{$table}__tr--m-selected--BoxShadow);
|
|
676
|
-
|
|
677
|
-
& + tr:where(.#{$table}__tr).pf-m-selected {
|
|
678
|
-
box-shadow: var(--#{$table}__tr--m-selected--m-selected--BoxShadow);
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
& + tr:where(.#{$table}__tr).pf-m-selected:hover {
|
|
682
|
-
box-shadow: var(--#{$table}__tr--m-selected__tr--m-selected--hover--BoxShadow);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
&:hover + tr:where(.#{$table}__tr).pf-m-selected {
|
|
686
|
-
box-shadow: var(--#{$table}__tr--m-selected--hover__tr--m-selected--BoxShadow);
|
|
687
|
-
}
|
|
688
575
|
}
|
|
689
576
|
|
|
690
577
|
&.pf-m-first-cell-offset-reset {
|
|
@@ -692,65 +579,30 @@
|
|
|
692
579
|
}
|
|
693
580
|
}
|
|
694
581
|
|
|
695
|
-
// tbody clickable
|
|
582
|
+
// - Table tbody clickable
|
|
696
583
|
// stylelint-disable no-duplicate-selectors
|
|
697
584
|
tbody:where(.#{$table}__tbody) {
|
|
698
585
|
&.pf-m-clickable {
|
|
699
586
|
cursor: pointer;
|
|
700
587
|
background-color: var(--#{$table}__tbody--m-clickable--BackgroundColor);
|
|
701
588
|
outline-offset: var(--#{$table}__tbody--m-clickable--OutlineOffset);
|
|
702
|
-
box-shadow: var(--#{$table}__tbody--m-clickable--BoxShadow);
|
|
703
589
|
|
|
704
590
|
&.pf-m-expanded:not(.pf-m-selected) {
|
|
705
591
|
--#{$table}__expandable-row--after--BorderColor: var(--#{$table}__tbody--m-clickable--m-expanded--BorderColor);
|
|
706
592
|
}
|
|
707
593
|
|
|
708
|
-
&:hover,
|
|
709
|
-
&:focus,
|
|
710
|
-
&:active {
|
|
711
|
-
// stylelint-disable max-nesting-depth
|
|
712
|
-
&:not(.pf-m-selected) + tbody:where(.#{$table}__tbody).pf-m-selected {
|
|
713
|
-
box-shadow: var(--#{$table}__tbody--m-clickable--m-selected--hover__tr--BoxShadow);
|
|
714
|
-
}
|
|
715
|
-
// stylelint-enable
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
&:hover {
|
|
719
|
-
--#{$table}__tbody--m-clickable--BoxShadow: var(--#{$table}__tbody--m-clickable--hover--BoxShadow);
|
|
594
|
+
&:is(:hover, :focus) {
|
|
720
595
|
--#{$table}__tbody--m-clickable--BackgroundColor: var(--#{$table}__tbody--m-clickable--hover--BackgroundColor);
|
|
721
596
|
}
|
|
722
|
-
|
|
723
|
-
&:focus {
|
|
724
|
-
--#{$table}__tbody--m-clickable--BoxShadow: var(--#{$table}__tbody--m-clickable--focus--BoxShadow);
|
|
725
|
-
--#{$table}__tbody--m-clickable--BackgroundColor: var(--#{$table}__tbody--m-clickable--focus--BackgroundColor);
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
&:active {
|
|
729
|
-
--#{$table}__tbody--m-clickable--BoxShadow: var(--#{$table}__tbody--m-clickable--active--BoxShadow);
|
|
730
|
-
--#{$table}__tbody--m-clickable--BackgroundColor: var(--#{$table}__tbody--m-clickable--active--BackgroundColor);
|
|
731
|
-
}
|
|
732
597
|
}
|
|
733
598
|
|
|
734
|
-
// tbody
|
|
599
|
+
// - Table tbody expanded
|
|
735
600
|
&.pf-m-selected {
|
|
736
601
|
--#{$table}__expandable-row--after--BorderLeftWidth: var(--#{$table}__tbody--m-selected--after--BorderLeftWidth);
|
|
737
602
|
--#{$table}__expandable-row--after--BorderColor: var(--#{$table}__tbody--m-selected--after--BorderLeftColor);
|
|
738
603
|
|
|
739
604
|
background-color: var(--#{$table}__tbody--m-selected--BackgroundColor);
|
|
740
605
|
outline-offset: var(--#{$table}__tbody--m-selected--OutlineOffset);
|
|
741
|
-
box-shadow: var(--#{$table}__tbody--m-selected--BoxShadow);
|
|
742
|
-
|
|
743
|
-
& + tbody:where(.#{$table}__tbody).pf-m-selected {
|
|
744
|
-
--#{$table}__tbody--m-selected--BoxShadow: var(--#{$table}__tbody--m-selected--m-selected--BoxShadow);
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
& + tbody:where(.#{$table}__tbody).pf-m-selected:hover {
|
|
748
|
-
box-shadow: var(--#{$table}__tbody--m-selected__tbody--m-selected--hover--BoxShadow);
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
&:hover + tbody:where(.#{$table}__tbody).pf-m-selected {
|
|
752
|
-
box-shadow: var(--#{$table}__tbody--m-selected--hover__tbody--m-selected--BoxShadow);
|
|
753
|
-
}
|
|
754
606
|
}
|
|
755
607
|
}
|
|
756
608
|
|
|
@@ -759,7 +611,7 @@
|
|
|
759
611
|
}
|
|
760
612
|
}
|
|
761
613
|
|
|
762
|
-
//
|
|
614
|
+
// - Table text
|
|
763
615
|
.#{$table}__text {
|
|
764
616
|
--#{$table}--cell--MaxWidth: 100%;
|
|
765
617
|
|
|
@@ -778,7 +630,7 @@
|
|
|
778
630
|
&.pf-m-truncate {
|
|
779
631
|
--#{$table}--cell--MinWidth: 100%;
|
|
780
632
|
|
|
781
|
-
>
|
|
633
|
+
> :where(th, td) {
|
|
782
634
|
overflow: var(--#{$table}--cell--Overflow);
|
|
783
635
|
text-overflow: var(--#{$table}--cell--TextOverflow);
|
|
784
636
|
white-space: var(--#{$table}--cell--WhiteSpace);
|
|
@@ -786,14 +638,21 @@
|
|
|
786
638
|
}
|
|
787
639
|
}
|
|
788
640
|
|
|
789
|
-
// Table
|
|
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
|
+
// - Table button
|
|
790
649
|
.#{$table}__button {
|
|
791
|
-
position: static;
|
|
792
650
|
width: auto;
|
|
793
651
|
padding-block-start: var(--#{$table}__button--PaddingTop);
|
|
794
652
|
padding-block-end: var(--#{$table}__button--PaddingBottom);
|
|
795
653
|
padding-inline-start: var(--#{$table}__button--PaddingLeft);
|
|
796
654
|
padding-inline-end: var(--#{$table}__button--PaddingRight);
|
|
655
|
+
margin-block-end: calc(var(--#{$table}__button--PaddingBottom) * -1);
|
|
797
656
|
margin-inline-start: calc(var(--#{$table}__button--PaddingLeft) * -1);
|
|
798
657
|
font-size: inherit;
|
|
799
658
|
font-weight: inherit;
|
|
@@ -810,31 +669,12 @@
|
|
|
810
669
|
margin-block-end: 0; // remove offset in nested tables
|
|
811
670
|
}
|
|
812
671
|
|
|
813
|
-
|
|
814
|
-
&::before {
|
|
815
|
-
position: absolute;
|
|
816
|
-
inset-block-start: 0;
|
|
817
|
-
inset-block-end: 0;
|
|
818
|
-
inset-inline-start: 0;
|
|
819
|
-
inset-inline-end: 0;
|
|
820
|
-
cursor: pointer;
|
|
821
|
-
content: '';
|
|
822
|
-
}
|
|
823
|
-
|
|
824
|
-
&:hover {
|
|
672
|
+
&:is(:hover, :focus) {
|
|
825
673
|
color: var(--#{$table}__button--hover--Color);
|
|
826
674
|
}
|
|
827
|
-
|
|
828
|
-
&:focus {
|
|
829
|
-
color: var(--#{$table}__button--focus--Color);
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
&:active {
|
|
833
|
-
color: var(--#{$table}__button--active--Color);
|
|
834
|
-
}
|
|
835
675
|
}
|
|
836
676
|
|
|
837
|
-
//
|
|
677
|
+
// - Table sort - Table compound expansion toggle
|
|
838
678
|
.#{$table}__sort,
|
|
839
679
|
.#{$table}__compound-expansion-toggle {
|
|
840
680
|
// Pass properties to text
|
|
@@ -847,7 +687,7 @@
|
|
|
847
687
|
}
|
|
848
688
|
}
|
|
849
689
|
|
|
850
|
-
//
|
|
690
|
+
// - Table button content - Table column help
|
|
851
691
|
// display grid for buttons is not supported
|
|
852
692
|
.#{$table}__button-content,
|
|
853
693
|
.#{$table}__column-help {
|
|
@@ -883,7 +723,7 @@
|
|
|
883
723
|
}
|
|
884
724
|
|
|
885
725
|
// stylelint-disable
|
|
886
|
-
//
|
|
726
|
+
// - Table check - Table toggle - Table action - Table favorite - Table inline-edit-action - Table draggable
|
|
887
727
|
.#{$table} .#{$table}__check,
|
|
888
728
|
.#{$table} .#{$table}__toggle,
|
|
889
729
|
.#{$table} .#{$table}__action,
|
|
@@ -896,7 +736,7 @@
|
|
|
896
736
|
}
|
|
897
737
|
// stylelint-enable
|
|
898
738
|
|
|
899
|
-
//
|
|
739
|
+
// - Table toggle
|
|
900
740
|
.#{$table}__toggle {
|
|
901
741
|
--#{$table}--cell--PaddingTop: var(--#{$table}__toggle--PaddingTop);
|
|
902
742
|
--#{$table}--cell--PaddingBottom: var(--#{$table}__toggle--PaddingBottom);
|
|
@@ -922,33 +762,42 @@
|
|
|
922
762
|
}
|
|
923
763
|
}
|
|
924
764
|
|
|
925
|
-
//
|
|
765
|
+
// - Table check
|
|
926
766
|
.#{$table}__check {
|
|
927
767
|
--#{$table}--cell--PaddingLeft: var(--#{$table}__check--PaddingLeft);
|
|
928
768
|
--#{$table}--cell--PaddingRight: var(--#{$table}__check--PaddingRight);
|
|
929
769
|
|
|
930
|
-
|
|
931
|
-
display: inline-flex;
|
|
770
|
+
vertical-align: top;
|
|
932
771
|
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
}
|
|
772
|
+
.#{$check} {
|
|
773
|
+
--#{$check}__label--FontSize: var(--#{$table}--cell--FontSize);
|
|
774
|
+
--#{$check}__label--LineHeight: var(--#{$table}--cell--LineHeight);
|
|
775
|
+
}
|
|
936
776
|
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
}
|
|
777
|
+
.#{$radio} {
|
|
778
|
+
--#{$radio}__label--FontSize: var(--#{$table}--cell--FontSize);
|
|
779
|
+
--#{$radio}__label--LineHeight: var(--#{$table}--cell--LineHeight);
|
|
940
780
|
}
|
|
941
781
|
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
782
|
+
thead & {
|
|
783
|
+
vertical-align: bottom;
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
.#{$check}.pf-m-standalone,
|
|
787
|
+
.#{$radio}.pf-m-standalone {
|
|
788
|
+
thead & {
|
|
789
|
+
display: table-cell;
|
|
790
|
+
height: auto;
|
|
791
|
+
line-height: 1;
|
|
792
|
+
vertical-align: baseline;
|
|
793
|
+
}
|
|
945
794
|
}
|
|
946
795
|
}
|
|
947
796
|
|
|
948
|
-
//
|
|
797
|
+
// - Table favorite
|
|
949
798
|
.#{$table}__favorite {
|
|
950
|
-
--#{$table}--cell--PaddingLeft: var(--#{$table}__favorite--PaddingLeft);
|
|
951
|
-
--#{$table}--cell--PaddingRight: var(--#{$table}__favorite--PaddingRight);
|
|
799
|
+
// --#{$table}--cell--PaddingLeft: var(--#{$table}__favorite--PaddingLeft);
|
|
800
|
+
// --#{$table}--cell--PaddingRight: var(--#{$table}__favorite--PaddingRight);
|
|
952
801
|
|
|
953
802
|
.#{$button} {
|
|
954
803
|
--#{$button}--FontSize: var(--#{$table}__favorite--c-button--FontSize);
|
|
@@ -959,7 +808,7 @@
|
|
|
959
808
|
}
|
|
960
809
|
}
|
|
961
810
|
|
|
962
|
-
//
|
|
811
|
+
// - Table draggable
|
|
963
812
|
.#{$table}__draggable {
|
|
964
813
|
.#{$button} {
|
|
965
814
|
cursor: grab;
|
|
@@ -970,14 +819,18 @@
|
|
|
970
819
|
}
|
|
971
820
|
}
|
|
972
821
|
|
|
973
|
-
// Table action
|
|
822
|
+
// - Table action - Table favorite - Table inline edit action - Table draggable
|
|
974
823
|
.#{$table}__action,
|
|
824
|
+
.#{$table}__favorite,
|
|
975
825
|
.#{$table}__inline-edit-action,
|
|
976
826
|
.#{$table}__draggable {
|
|
977
827
|
--#{$table}--cell--PaddingTop: var(--#{$table}__action--PaddingTop);
|
|
978
828
|
--#{$table}--cell--PaddingBottom: var(--#{$table}__action--PaddingBottom);
|
|
829
|
+
--#{$table}--cell--PaddingLeft: var(--#{$table}__action--PaddingLeft);
|
|
830
|
+
--#{$table}--cell--PaddingRight: var(--#{$table}__action--PaddingRight);
|
|
979
831
|
}
|
|
980
832
|
|
|
833
|
+
// - Table action - Table inline edit action
|
|
981
834
|
.#{$table}__action,
|
|
982
835
|
.#{$table}__inline-edit-action {
|
|
983
836
|
&:last-child {
|
|
@@ -985,12 +838,10 @@
|
|
|
985
838
|
}
|
|
986
839
|
}
|
|
987
840
|
|
|
988
|
-
//
|
|
841
|
+
// - Table compound expansion toggle
|
|
989
842
|
.#{$table}__compound-expansion-toggle {
|
|
990
843
|
--#{$table}__button--Color: var(--#{$table}__compound-expansion-toggle__button--Color);
|
|
991
844
|
--#{$table}__button--hover--Color: var(--#{$table}__compound-expansion-toggle__button--hover--Color);
|
|
992
|
-
--#{$table}__button--focus--Color: var(--#{$table}__compound-expansion-toggle__button--focus--Color);
|
|
993
|
-
--#{$table}__button--active--Color: var(--#{$table}__compound-expansion-toggle__button--active--Color);
|
|
994
845
|
|
|
995
846
|
position: relative;
|
|
996
847
|
padding: 0;
|
|
@@ -1008,58 +859,24 @@
|
|
|
1008
859
|
overflow: hidden;
|
|
1009
860
|
|
|
1010
861
|
// Remove outline and apply to parent td
|
|
1011
|
-
&:hover,
|
|
1012
|
-
&:focus,
|
|
1013
|
-
&:active {
|
|
862
|
+
&:is(:hover, :focus) {
|
|
1014
863
|
outline: 0;
|
|
1015
864
|
}
|
|
1016
865
|
}
|
|
1017
866
|
|
|
1018
|
-
|
|
1019
867
|
// Apply borders to button to avoid conflicts with expanded states
|
|
1020
|
-
.#{$table}__button::before,
|
|
1021
868
|
.#{$table}__button::after {
|
|
1022
869
|
position: absolute;
|
|
1023
870
|
inset: 0;
|
|
1024
871
|
content: '';
|
|
1025
|
-
border
|
|
1026
|
-
border-
|
|
1027
|
-
}
|
|
1028
|
-
|
|
1029
|
-
.#{$table}__button::before {
|
|
1030
|
-
inset-block-start: 0;
|
|
1031
|
-
inset-block-end: var(--#{$table}__compound-expansion-toggle__button--before--Bottom);
|
|
1032
|
-
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--before--Left);
|
|
1033
|
-
border-color: var(--#{$table}__compound-expansion-toggle__button--before--BorderColor);
|
|
1034
|
-
border-inline-start-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth);
|
|
1035
|
-
border-inline-end-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth);
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
.#{$table}__button::after {
|
|
1039
|
-
// overlap previous row's border
|
|
1040
|
-
inset-block-start: var(--#{$table}__compound-expansion-toggle__button--after--Top);
|
|
1041
|
-
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--after--Left);
|
|
1042
|
-
pointer-events: none;
|
|
1043
|
-
border-color: var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
1044
|
-
border-block-start-width: var(--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth);
|
|
872
|
+
border: 0;
|
|
873
|
+
border-block-start: var(--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth) solid var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
1045
874
|
}
|
|
1046
875
|
|
|
1047
876
|
&:hover,
|
|
1048
877
|
&:focus-within,
|
|
1049
878
|
&.pf-m-expanded {
|
|
1050
|
-
--#{$table}__compound-expansion-toggle__button--
|
|
1051
|
-
--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth: var(--#{$table}__compound-expansion-toggle__button--before--border-width--base);
|
|
1052
|
-
--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth: var(--#{$table}__compound-expansion-toggle__button--after--border-width--base);
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
&.pf-m-expanded {
|
|
1056
|
-
.#{$table}__button::before {
|
|
1057
|
-
border-block-end: var(--#{$table}--BackgroundColor) solid var(--#{$table}__compound-expansion-toggle__button--before--border-width--base);
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
&:first-child {
|
|
1061
|
-
--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth: 0;
|
|
1062
|
-
}
|
|
879
|
+
--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth: var(--#{$table}__compound-expansion-toggle--m-expanded__button--after--BorderTopWidth);
|
|
1063
880
|
}
|
|
1064
881
|
|
|
1065
882
|
&:focus-within {
|
|
@@ -1079,27 +896,19 @@
|
|
|
1079
896
|
margin-inline-start: var(--#{$table}__column-help--MarginLeft);
|
|
1080
897
|
}
|
|
1081
898
|
|
|
1082
|
-
// Table sort
|
|
1083
|
-
// ==================================================================
|
|
899
|
+
// - Table sort
|
|
1084
900
|
.#{$table}__sort {
|
|
1085
|
-
|
|
1086
|
-
|
|
901
|
+
vertical-align: bottom;
|
|
902
|
+
|
|
903
|
+
// - Table button
|
|
1087
904
|
.#{$table}__button {
|
|
1088
|
-
&:hover {
|
|
905
|
+
&:is(:hover, :focus) {
|
|
1089
906
|
--#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--hover__sort-indicator--Color);
|
|
1090
907
|
--#{$table}__sort__button__text--Color: var(--#{$table}__sort__button--hover__text--Color);
|
|
908
|
+
--#{$table}__button--BackgroundColor: var(--#{$table}__button--hover--BackgroundColor);
|
|
1091
909
|
}
|
|
1092
910
|
|
|
1093
|
-
|
|
1094
|
-
--#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--focus__sort-indicator--Color);
|
|
1095
|
-
--#{$table}__sort__button__text--Color: var(--#{$table}__sort__button--focus__text--Color);
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
&:active {
|
|
1099
|
-
--#{$table}__sort-indicator--Color: var(--#{$table}__sort__button--active__sort-indicator--Color);
|
|
1100
|
-
--#{$table}__sort__button__text--Color: var(--#{$table}__sort__button--active__text--Color);
|
|
1101
|
-
}
|
|
1102
|
-
|
|
911
|
+
// - Table text
|
|
1103
912
|
.#{$table}__text {
|
|
1104
913
|
color: var(--#{$table}__sort__button__text--Color);
|
|
1105
914
|
}
|
|
@@ -1120,27 +929,25 @@
|
|
|
1120
929
|
&.pf-m-favorite {
|
|
1121
930
|
--#{$table}__sort__button__text--Color: var(--#{$table}__sort--m-favorite__button__text--Color);
|
|
1122
931
|
--#{$table}__sort__button--hover__text--Color: var(--#{$table}__sort--m-favorite__button--hover__text--Color);
|
|
1123
|
-
--#{$table}__sort__button--focus__text--Color: var(--#{$table}__sort--m-favorite__button--focus__text--Color);
|
|
1124
|
-
--#{$table}__sort__button--active__text--Color: var(--#{$table}__sort--m-favorite__button--active__text--Color);
|
|
1125
932
|
--#{$table}__sort--m-selected__button__text--Color: currentcolor;
|
|
1126
933
|
}
|
|
1127
934
|
}
|
|
1128
935
|
|
|
1129
|
-
//
|
|
936
|
+
// - Table sort indicator
|
|
1130
937
|
.#{$table}__sort-indicator {
|
|
1131
938
|
grid-column: 2;
|
|
939
|
+
align-self: end;
|
|
1132
940
|
margin-inline-start: var(--#{$table}__sort-indicator--MarginLeft); // TODO: update this to gap
|
|
941
|
+
font-size: var(--#{$table}__sort-indicator--FontSize);
|
|
1133
942
|
color: var(--#{$table}__sort-indicator--Color);
|
|
1134
|
-
color: var(--#{$table}__sort-indicator--FontSize);
|
|
1135
943
|
pointer-events: none;
|
|
1136
944
|
}
|
|
1137
945
|
|
|
1138
|
-
//
|
|
1139
|
-
// ==================================================================
|
|
946
|
+
// - Table expandable row
|
|
1140
947
|
.#{$table}__expandable-row {
|
|
1141
948
|
position: relative;
|
|
1142
949
|
border-block-end: 0 solid transparent;
|
|
1143
|
-
|
|
950
|
+
|
|
1144
951
|
|
|
1145
952
|
&,
|
|
1146
953
|
td:where(.#{$table}__td):first-child::after {
|
|
@@ -1177,7 +984,7 @@
|
|
|
1177
984
|
&.pf-m-expanded {
|
|
1178
985
|
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBottomColor);
|
|
1179
986
|
border-block-end-width: var(--#{$table}--border-width--base);
|
|
1180
|
-
|
|
987
|
+
|
|
1181
988
|
}
|
|
1182
989
|
|
|
1183
990
|
&:not(.pf-m-expanded) {
|
|
@@ -1190,8 +997,7 @@
|
|
|
1190
997
|
}
|
|
1191
998
|
}
|
|
1192
999
|
|
|
1193
|
-
//
|
|
1194
|
-
// ==================================================================
|
|
1000
|
+
// - Table compact
|
|
1195
1001
|
.#{$table}.pf-m-compact {
|
|
1196
1002
|
--#{$table}--cell--PaddingTop: var(--#{$table}--m-compact--cell--PaddingTop);
|
|
1197
1003
|
--#{$table}--cell--PaddingBottom: var(--#{$table}--m-compact--cell--PaddingBottom);
|
|
@@ -1227,6 +1033,18 @@
|
|
|
1227
1033
|
}
|
|
1228
1034
|
}
|
|
1229
1035
|
|
|
1036
|
+
.#{$table}__thead {
|
|
1037
|
+
vertical-align: bottom;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.#{$table}__tbody {
|
|
1041
|
+
vertical-align: top;
|
|
1042
|
+
|
|
1043
|
+
.#{$table}__tr {
|
|
1044
|
+
border-block-end: var(--#{$table}--border-width--base) solid var(--#{$table}--BorderColor);
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1230
1048
|
// replace this when inline text with icon is in place
|
|
1231
1049
|
// Icon inline
|
|
1232
1050
|
.#{$table}__icon-inline {
|
|
@@ -1238,7 +1056,7 @@
|
|
|
1238
1056
|
}
|
|
1239
1057
|
}
|
|
1240
1058
|
|
|
1241
|
-
//
|
|
1059
|
+
// - Table width
|
|
1242
1060
|
// stylelint-disable
|
|
1243
1061
|
.#{$table} .pf-m-width-10 {
|
|
1244
1062
|
--#{$table}--cell--Width: 10%;
|
|
@@ -1296,10 +1114,3 @@
|
|
|
1296
1114
|
--#{$table}--cell--Width: 100%;
|
|
1297
1115
|
}
|
|
1298
1116
|
// stylelint-enable
|
|
1299
|
-
|
|
1300
|
-
// stylelint-disable no-invalid-position-at-import-rule
|
|
1301
|
-
@import 'themes/dark/table';
|
|
1302
|
-
|
|
1303
|
-
@include pf-v5-theme-dark {
|
|
1304
|
-
@include pf-v5-theme-dark-table;
|
|
1305
|
-
}
|