@patternfly/patternfly 6.0.0-alpha.77 → 6.0.0-alpha.78
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/base/patternfly-variables.css +26 -23
- package/base/tokens/_tokens-charts.scss +159 -0
- package/base/tokens/_tokens-dark.scss +7 -5
- package/base/tokens/_tokens-default.scss +27 -17
- package/base/tokens/_tokens-palette.scss +4 -4
- package/components/Button/button.css +2 -2
- package/components/Button/button.scss +2 -2
- package/components/FormControl/form-control.css +3 -3
- package/components/FormControl/form-control.scss +3 -3
- package/components/Icon/icon.css +27 -27
- package/components/Icon/icon.scss +27 -27
- package/components/Label/label-group.css +1 -1
- package/components/Label/label-group.scss +1 -1
- package/components/Label/label.css +2 -2
- package/components/Label/label.scss +2 -2
- package/components/MenuToggle/menu-toggle.css +4 -4
- package/components/MenuToggle/menu-toggle.scss +4 -4
- package/components/ProgressStepper/progress-stepper.css +2 -2
- package/components/ProgressStepper/progress-stepper.scss +2 -2
- 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 +54 -74
- package/components/Table/table.scss +68 -86
- package/components/Tile/tile.css +1 -1
- package/components/Tile/tile.scss +1 -1
- package/components/TreeView/tree-view.css +76 -97
- package/components/TreeView/tree-view.scss +82 -113
- package/docs/components/TreeView/examples/TreeView.md +7 -57
- package/package.json +1 -1
- package/patternfly-base-no-globals-theme-dark-unversioned.css +26 -23
- package/patternfly-base-no-globals.css +26 -23
- package/patternfly-base-theme-dark-unversioned.css +26 -23
- package/patternfly-base.css +26 -23
- package/patternfly-no-globals.css +309 -365
- package/patternfly-theme-dark-unversioned.css +309 -365
- package/patternfly.css +309 -365
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/TreeView/themes/dark/tree-view.scss +0 -8
|
@@ -65,18 +65,16 @@
|
|
|
65
65
|
--pf-v5-c-table--border-width--base: var(--pf-t--global--border--width--divider--default);
|
|
66
66
|
--pf-v5-c-table__caption--FontSize: var(--pf-t--global--font--size--body--default);
|
|
67
67
|
--pf-v5-c-table__caption--Color: var(--pf-t--global--text--color--subtle);
|
|
68
|
-
--pf-v5-c-table__caption--PaddingTop: var(--pf-
|
|
69
|
-
--pf-v5-c-table__caption--PaddingRight: var(--pf-
|
|
70
|
-
--pf-v5-c-table__caption--PaddingBottom: var(--pf-
|
|
71
|
-
--pf-v5-c-table__caption--PaddingLeft: var(--pf-
|
|
72
|
-
--pf-v5-c-table__caption--xl--PaddingRight: var(--pf-v5-global--spacer--md);
|
|
73
|
-
--pf-v5-c-table__caption--xl--PaddingLeft: var(--pf-v5-global--spacer--md);
|
|
68
|
+
--pf-v5-c-table__caption--PaddingTop: var(--pf-t--global--spacer--md);
|
|
69
|
+
--pf-v5-c-table__caption--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
70
|
+
--pf-v5-c-table__caption--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
71
|
+
--pf-v5-c-table__caption--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
74
72
|
--pf-v5-c-table__thead--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
75
73
|
--pf-v5-c-table__thead--cell--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
76
74
|
--pf-v5-c-table__tbody--cell--PaddingTop: var(--pf-t--global--spacer--md);
|
|
77
75
|
--pf-v5-c-table__tbody--cell--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
78
76
|
--pf-v5-c-table__tr--BoxShadow--top--base: 0 -0.1875rem 0.25rem -0.125rem rgba(3,3,3,.08);
|
|
79
|
-
--pf-v5-c-table--cell--Padding--base: var(--pf-
|
|
77
|
+
--pf-v5-c-table--cell--Padding--base: var(--pf-t--global--spacer--md);
|
|
80
78
|
--pf-v5-c-table--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
81
79
|
--pf-v5-c-table--cell--FontWeight: var(--pf-t--global--font--weight--body);
|
|
82
80
|
--pf-v5-c-table--cell--Color: var(--pf-t--global--text--color--regular);
|
|
@@ -84,10 +82,8 @@
|
|
|
84
82
|
--pf-v5-c-table--cell--PaddingRight: var(--pf-v5-c-table--cell--Padding--base);
|
|
85
83
|
--pf-v5-c-table--cell--PaddingBottom: var(--pf-v5-c-table--cell--Padding--base);
|
|
86
84
|
--pf-v5-c-table--cell--PaddingLeft: var(--pf-v5-c-table--cell--Padding--base);
|
|
87
|
-
--pf-v5-c-table--cell--first-last-child--PaddingLeft: var(--pf-
|
|
88
|
-
--pf-v5-c-table--cell--first-last-child--PaddingRight: var(--pf-
|
|
89
|
-
--pf-v5-c-table--cell--first-last-child--xl--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
|
90
|
-
--pf-v5-c-table--cell--first-last-child--xl--PaddingRight: var(--pf-v5-global--spacer--lg);
|
|
85
|
+
--pf-v5-c-table--cell--first-last-child--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
86
|
+
--pf-v5-c-table--cell--first-last-child--PaddingRight: var(--pf-t--global--spacer--md);
|
|
91
87
|
--pf-v5-c-table__tr--m-first-cell-offset-reset--cell--PaddingLeft: var(--pf-v5-c-table--cell--Padding--base);
|
|
92
88
|
--pf-v5-c-table--cell--MinWidth: 0;
|
|
93
89
|
--pf-v5-c-table--cell--MaxWidth: none;
|
|
@@ -104,8 +100,8 @@
|
|
|
104
100
|
--pf-v5-c-table--m-truncate--cell--MaxWidth: 1px;
|
|
105
101
|
--pf-v5-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-v5-c-table--cell--PaddingRight) + var(--pf-v5-c-table--cell--PaddingLeft));
|
|
106
102
|
--pf-v5-c-table--cell--hidden-visible--Display: table-cell;
|
|
107
|
-
--pf-v5-c-table__toggle--c-button--MarginTop: calc(
|
|
108
|
-
--pf-v5-c-table__toggle--c-button--MarginBottom: calc(
|
|
103
|
+
--pf-v5-c-table__toggle--c-button--MarginTop: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
104
|
+
--pf-v5-c-table__toggle--c-button--MarginBottom: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
109
105
|
--pf-v5-c-table__toggle--c-button__toggle-icon--Rotate: 270deg;
|
|
110
106
|
--pf-v5-c-table__toggle--c-button__toggle-icon--Transition: .2s ease-in 0s;
|
|
111
107
|
--pf-v5-c-table__toggle--c-button--m-expanded__toggle-icon--Rotate: 360deg;
|
|
@@ -114,7 +110,7 @@
|
|
|
114
110
|
--pf-v5-c-table__button--hover--Color: var(--pf-t--global--text--color--regular);
|
|
115
111
|
--pf-v5-c-table__button--focus--Color: var(--pf-t--global--text--color--regular);
|
|
116
112
|
--pf-v5-c-table__button--active--Color: var(--pf-t--global--text--color--regular);
|
|
117
|
-
--pf-v5-c-table__button--OutlineOffset: calc(var(--pf-
|
|
113
|
+
--pf-v5-c-table__button--OutlineOffset: calc(var(--pf-t--global--border--width--strong) * -1);
|
|
118
114
|
--pf-v5-c-table--m-compact__toggle--PaddingTop: 0;
|
|
119
115
|
--pf-v5-c-table--m-compact__toggle--PaddingBottom: 0;
|
|
120
116
|
--pf-v5-c-table__check--input--MarginTop: 0.1875rem;
|
|
@@ -123,19 +119,19 @@
|
|
|
123
119
|
--pf-v5-c-table--cell--m-favorite--Color: var(--pf-t--global--text--color--subtle);
|
|
124
120
|
--pf-v5-c-table__favorite--c-button--Color: var(--pf-t--global--text--color--subtle);
|
|
125
121
|
--pf-v5-c-table__favorite--c-button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
126
|
-
--pf-v5-c-table__favorite--c-button--MarginTop: calc(var(--pf-v5-
|
|
127
|
-
--pf-v5-c-table__favorite--c-button--MarginRight: calc(var(--pf-v5-
|
|
128
|
-
--pf-v5-c-table__favorite--c-button--MarginBottom: calc(var(--pf-v5-
|
|
129
|
-
--pf-v5-c-table__favorite--c-button--MarginLeft: calc(var(--pf-v5-
|
|
130
|
-
--pf-v5-c-table__favorite--m-favorited--c-button--Color: var(--pf-
|
|
122
|
+
--pf-v5-c-table__favorite--c-button--MarginTop: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
123
|
+
--pf-v5-c-table__favorite--c-button--MarginRight: calc(var(--pf-v5-c-button--PaddingRight) * -1);
|
|
124
|
+
--pf-v5-c-table__favorite--c-button--MarginBottom: calc(var(--pf-v5-c-button--PaddingBottom) * -1);
|
|
125
|
+
--pf-v5-c-table__favorite--c-button--MarginLeft: calc(var(--pf-v5-c-button--PaddingLeft) * -1);
|
|
126
|
+
--pf-v5-c-table__favorite--m-favorited--c-button--Color: var(--pf-t--global--color--favorite--clicked);
|
|
131
127
|
--pf-v5-c-table__sort--m-favorite__button__text--Color: var(--pf-t--global--text--color--subtle);
|
|
132
128
|
--pf-v5-c-table__sort--m-favorite__button--hover__text--Color: var(--pf-t--global--text--color--regular);
|
|
133
129
|
--pf-v5-c-table__sort--m-favorite__button--focus__text--Color: var(--pf-t--global--text--color--regular);
|
|
134
130
|
--pf-v5-c-table__sort--m-favorite__button--active__text--Color: var(--pf-t--global--text--color--regular);
|
|
135
|
-
--pf-v5-c-table__draggable--c-button--MarginTop: calc(var(--pf-v5-
|
|
136
|
-
--pf-v5-c-table__draggable--c-button--MarginRight: calc(var(--pf-v5-
|
|
137
|
-
--pf-v5-c-table__draggable--c-button--MarginBottom: calc(var(--pf-v5-
|
|
138
|
-
--pf-v5-c-table__draggable--c-button--MarginLeft: calc(var(--pf-v5-
|
|
131
|
+
--pf-v5-c-table__draggable--c-button--MarginTop: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
132
|
+
--pf-v5-c-table__draggable--c-button--MarginRight: calc(var(--pf-v5-c-button--PaddingRight) * -1);
|
|
133
|
+
--pf-v5-c-table__draggable--c-button--MarginBottom: calc(var(--pf-v5-c-button--PaddingBottom) * -1);
|
|
134
|
+
--pf-v5-c-table__draggable--c-button--MarginLeft: calc(var(--pf-v5-c-button--PaddingLeft) * -1);
|
|
139
135
|
--pf-v5-c-table__tr--m-ghost-row--Opacity: .4;
|
|
140
136
|
--pf-v5-c-table__tr--m-ghost-row--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
141
137
|
--pf-v5-c-table__action--PaddingTop: 0;
|
|
@@ -149,19 +145,19 @@
|
|
|
149
145
|
--pf-v5-c-table__expandable-row--Transition: var(--pf-v5-global--Transition);
|
|
150
146
|
--pf-v5-c-table__expandable-row--MaxHeight: 28.125rem;
|
|
151
147
|
--pf-v5-c-table__expandable-row-content--Transition: var(--pf-v5-global--Transition);
|
|
152
|
-
--pf-v5-c-table__expandable-row-content--PaddingTop: var(--pf-
|
|
153
|
-
--pf-v5-c-table__expandable-row-content--PaddingBottom: var(--pf-
|
|
148
|
+
--pf-v5-c-table__expandable-row-content--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
149
|
+
--pf-v5-c-table__expandable-row-content--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
154
150
|
--pf-v5-c-table__expandable-row--after--Top: calc(var(--pf-v5-c-table--border-width--base) * -1);
|
|
155
151
|
--pf-v5-c-table__expandable-row--after--Bottom: calc(var(--pf-v5-c-table--border-width--base) * -1);
|
|
156
|
-
--pf-v5-c-table__expandable-row--after--border-width--base: var(--pf-
|
|
152
|
+
--pf-v5-c-table__expandable-row--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
157
153
|
--pf-v5-c-table__expandable-row--after--BorderLeftWidth: 0;
|
|
158
154
|
--pf-v5-c-table__expandable-row--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
159
|
-
--pf-v5-c-table__icon-inline--MarginRight: var(--pf-
|
|
155
|
+
--pf-v5-c-table__icon-inline--MarginRight: var(--pf-t--global--spacer--sm);
|
|
160
156
|
--pf-v5-c-table__sort--MinWidth: calc(6ch + var(--pf-v5-c-table--cell--PaddingRight) + var(--pf-v5-c-table--cell--PaddingLeft) + var(--pf-v5-c-table__sort-indicator--MarginLeft));
|
|
161
|
-
--pf-v5-c-table__sort__button--PaddingTop: var(--pf-
|
|
162
|
-
--pf-v5-c-table__sort__button--PaddingRight: var(--pf-
|
|
163
|
-
--pf-v5-c-table__sort__button--PaddingBottom: var(--pf-
|
|
164
|
-
--pf-v5-c-table__sort__button--PaddingLeft: var(--pf-
|
|
157
|
+
--pf-v5-c-table__sort__button--PaddingTop: var(--pf-t--global--spacer--control--vertical);
|
|
158
|
+
--pf-v5-c-table__sort__button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
159
|
+
--pf-v5-c-table__sort__button--PaddingBottom: var(--pf-t--global--spacer--control--vertical);
|
|
160
|
+
--pf-v5-c-table__sort__button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
165
161
|
--pf-v5-c-table__sort__button--MarginTop: calc(var(--pf-v5-c-table__sort__button--PaddingTop) * -1);
|
|
166
162
|
--pf-v5-c-table__sort__button--MarginBottom: calc(var(--pf-v5-c-table__sort__button--PaddingBottom) * -1);
|
|
167
163
|
--pf-v5-c-table__sort__button--MarginLeft: calc(var(--pf-v5-c-table__sort__button--PaddingLeft) * -1);
|
|
@@ -173,18 +169,18 @@
|
|
|
173
169
|
--pf-v5-c-table__sort__button--focus__text--Color: currentcolor;
|
|
174
170
|
--pf-v5-c-table__sort__button--active__text--Color: currentcolor;
|
|
175
171
|
--pf-v5-c-table__sort-indicator--Color: var(--pf-t--global--icon--color--subtle);
|
|
176
|
-
--pf-v5-c-table__sort-indicator--MarginLeft: var(--pf-
|
|
172
|
+
--pf-v5-c-table__sort-indicator--MarginLeft: var(--pf-t--global--spacer--md);
|
|
177
173
|
--pf-v5-c-table__sort--m-selected__sort-indicator--Color: var(--pf-t--global--border--color--active);
|
|
178
174
|
--pf-v5-c-table__sort__button--hover__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
179
175
|
--pf-v5-c-table__sort__button--active__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
180
176
|
--pf-v5-c-table__sort__button--focus__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
181
177
|
--pf-v5-c-table__th--m-help--MinWidth: 11ch;
|
|
182
|
-
--pf-v5-c-table__column-help--MarginLeft: var(--pf-
|
|
178
|
+
--pf-v5-c-table__column-help--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
183
179
|
--pf-v5-c-table__column-help--TranslateY: 0.125rem;
|
|
184
|
-
--pf-v5-c-table__column-help--c-button--MarginTop: calc(var(--pf-v5-
|
|
185
|
-
--pf-v5-c-table__column-help--c-button--MarginBottom: calc(var(--pf-v5-
|
|
186
|
-
--pf-v5-c-table__column-help--c-button--PaddingRight: var(--pf-
|
|
187
|
-
--pf-v5-c-table__column-help--c-button--PaddingLeft: var(--pf-
|
|
180
|
+
--pf-v5-c-table__column-help--c-button--MarginTop: calc(var(--pf-v5-c-button--PaddingTop) * -1);
|
|
181
|
+
--pf-v5-c-table__column-help--c-button--MarginBottom: calc(var(--pf-v5-c-button--PaddingBottom) * -1);
|
|
182
|
+
--pf-v5-c-table__column-help--c-button--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
183
|
+
--pf-v5-c-table__column-help--c-button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
188
184
|
--pf-v5-c-table__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
189
185
|
--pf-v5-c-table__compound-expansion-toggle__button--hover--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
190
186
|
--pf-v5-c-table__compound-expansion-toggle__button--focus--Color: var(--pf-t--global--icon--color--brand--hover);
|
|
@@ -195,33 +191,31 @@
|
|
|
195
191
|
--pf-v5-c-table__compound-expansion-toggle__button--before--BorderLeftWidth: 0;
|
|
196
192
|
--pf-v5-c-table__compound-expansion-toggle__button--before--Bottom: calc(var(--pf-v5-c-table__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
197
193
|
--pf-v5-c-table__compound-expansion-toggle__button--before--Left: calc(var(--pf-v5-c-table__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
198
|
-
--pf-v5-c-table__compound-expansion-toggle__button--after--border-width--base: var(--pf-
|
|
194
|
+
--pf-v5-c-table__compound-expansion-toggle__button--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
199
195
|
--pf-v5-c-table__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
200
196
|
--pf-v5-c-table__compound-expansion-toggle__button--after--BorderTopWidth: 0;
|
|
201
197
|
--pf-v5-c-table__compound-expansion-toggle__button--after--Top: calc(var(--pf-v5-c-table__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
202
198
|
--pf-v5-c-table__compound-expansion-toggle__button--after--Left: calc(var(--pf-v5-c-table__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
203
|
-
--pf-v5-c-table--m-compact__th--PaddingTop: calc(var(--pf-
|
|
204
|
-
--pf-v5-c-table--m-compact__th--PaddingBottom: var(--pf-
|
|
205
|
-
--pf-v5-c-table--m-compact--cell--PaddingTop: var(--pf-
|
|
206
|
-
--pf-v5-c-table--m-compact--cell--PaddingRight: var(--pf-
|
|
207
|
-
--pf-v5-c-table--m-compact--cell--PaddingBottom: var(--pf-
|
|
208
|
-
--pf-v5-c-table--m-compact--cell--PaddingLeft: var(--pf-
|
|
209
|
-
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingLeft: var(--pf-
|
|
210
|
-
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingRight: var(--pf-
|
|
211
|
-
--pf-v5-c-table--m-compact--cell--first-last-child--xl--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
|
212
|
-
--pf-v5-c-table--m-compact--cell--first-last-child--xl--PaddingRight: var(--pf-v5-global--spacer--lg);
|
|
199
|
+
--pf-v5-c-table--m-compact__th--PaddingTop: calc(var(--pf-t--global--spacer--sm) + var(--pf-t--global--spacer--xs));
|
|
200
|
+
--pf-v5-c-table--m-compact__th--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
201
|
+
--pf-v5-c-table--m-compact--cell--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
202
|
+
--pf-v5-c-table--m-compact--cell--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
203
|
+
--pf-v5-c-table--m-compact--cell--PaddingBottom: var(--pf-t--global--spacer--sm);
|
|
204
|
+
--pf-v5-c-table--m-compact--cell--PaddingLeft: var(--pf-t--global--spacer--sm);
|
|
205
|
+
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingLeft: var(--pf-t--global--spacer--md);
|
|
206
|
+
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingRight: var(--pf-t--global--spacer--md);
|
|
213
207
|
--pf-v5-c-table--m-compact--FontSize: var(--pf-t--global--font--size--body--default);
|
|
214
|
-
--pf-v5-c-table--m-compact__expandable-row-content--PaddingTop: var(--pf-
|
|
215
|
-
--pf-v5-c-table--m-compact__expandable-row-content--PaddingRight: var(--pf-
|
|
216
|
-
--pf-v5-c-table--m-compact__expandable-row-content--PaddingBottom: var(--pf-
|
|
217
|
-
--pf-v5-c-table--m-compact__expandable-row-content--PaddingLeft: var(--pf-
|
|
208
|
+
--pf-v5-c-table--m-compact__expandable-row-content--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
209
|
+
--pf-v5-c-table--m-compact__expandable-row-content--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
210
|
+
--pf-v5-c-table--m-compact__expandable-row-content--PaddingBottom: var(--pf-t--global--spacer--lg);
|
|
211
|
+
--pf-v5-c-table--m-compact__expandable-row-content--PaddingLeft: var(--pf-t--global--spacer--lg);
|
|
218
212
|
--pf-v5-c-table--nested--first-last-child--PaddingRight: var(--pf-v5-c-table--m-compact--cell--first-last-child--PaddingLeft);
|
|
219
213
|
--pf-v5-c-table--nested--first-last-child--PaddingLeft: var(--pf-v5-c-table--m-compact--cell--first-last-child--PaddingRight);
|
|
220
214
|
--pf-v5-c-table__expandable-row--m-expanded--BorderBottomColor: var(--pf-t--global--border--color--default);
|
|
221
215
|
--pf-v5-c-table__tr--m-clickable--BoxShadow--top: var(--pf-v5-c-table__tr--BoxShadow--top--base);
|
|
222
216
|
--pf-v5-c-table__tr--m-clickable--BackgroundColor: transparent;
|
|
223
217
|
--pf-v5-c-table__tr--m-clickable--BoxShadow: none;
|
|
224
|
-
--pf-v5-c-table__tr--m-clickable--OutlineOffset: calc(-1 * var(--pf-
|
|
218
|
+
--pf-v5-c-table__tr--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
225
219
|
--pf-v5-c-table__tr--m-clickable--hover--BoxShadow: var(--pf-v5-c-table__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
226
220
|
--pf-v5-c-table__tr--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
|
227
221
|
--pf-v5-c-table__tr--m-clickable--focus--BoxShadow: var(--pf-v5-c-table__tr--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
@@ -234,14 +228,14 @@
|
|
|
234
228
|
--pf-v5-c-table__tr--m-selected--BoxShadow: var(--pf-v5-c-table__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
235
229
|
--pf-v5-c-table__tr--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
236
230
|
--pf-v5-c-table__tr--m-selected--after--BorderLeftWidth: calc(2 * var(--pf-v5-c-table__expandable-row--after--border-width--base));
|
|
237
|
-
--pf-v5-c-table__tr--m-selected--after--BorderLeftColor: var(--pf-
|
|
231
|
+
--pf-v5-c-table__tr--m-selected--after--BorderLeftColor: var(--pf-t--global--color--brand--default);
|
|
238
232
|
--pf-v5-c-table__tr--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
239
233
|
--pf-v5-c-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);
|
|
240
234
|
--pf-v5-c-table__tr--m-selected__tr--m-selected--hover--BoxShadow: var(--pf-v5-c-table__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
241
235
|
--pf-v5-c-table__tbody--m-clickable--BoxShadow--top: var(--pf-v5-c-table__tr--BoxShadow--top--base);
|
|
242
236
|
--pf-v5-c-table__tbody--m-clickable--BoxShadow: none;
|
|
243
237
|
--pf-v5-c-table__tbody--m-clickable--BackgroundColor: transparent;
|
|
244
|
-
--pf-v5-c-table__tbody--m-clickable--OutlineOffset: calc(-1 * var(--pf-
|
|
238
|
+
--pf-v5-c-table__tbody--m-clickable--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
245
239
|
--pf-v5-c-table__tbody--m-clickable--hover--BoxShadow: var(--pf-v5-c-table__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
246
240
|
--pf-v5-c-table__tbody--m-clickable--hover--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
247
241
|
--pf-v5-c-table__tbody--m-clickable--focus--BoxShadow: var(--pf-v5-c-table__tbody--m-clickable--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
@@ -253,36 +247,22 @@
|
|
|
253
247
|
--pf-v5-c-table__tbody--m-selected--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
254
248
|
--pf-v5-c-table__tbody--m-selected--BoxShadow--top: var(--pf-v5-c-table__tr--BoxShadow--top--base);
|
|
255
249
|
--pf-v5-c-table__tbody--m-selected--BoxShadow: var(--pf-v5-c-table__tbody--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
256
|
-
--pf-v5-c-table__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-
|
|
250
|
+
--pf-v5-c-table__tbody--m-selected--OutlineOffset: calc(-1 * var(--pf-t--global--spacer--xs));
|
|
257
251
|
--pf-v5-c-table__tbody--m-selected--after--BorderLeftWidth: calc(2 * var(--pf-v5-c-table__expandable-row--after--border-width--base));
|
|
258
252
|
--pf-v5-c-table__tbody--m-selected--after--BorderLeftColor: var(--pf-t--global--border--color--active);
|
|
259
253
|
--pf-v5-c-table__tbody--m-selected--m-selected--BoxShadow: var(--pf-t--global--box-shadow--sm--bottom);
|
|
260
254
|
--pf-v5-c-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);
|
|
261
255
|
--pf-v5-c-table__tbody--m-selected__tbody--m-selected--hover--BoxShadow: var(--pf-v5-c-table__tr--m-selected--BoxShadow--top), var(--pf-t--global--box-shadow--sm--bottom);
|
|
262
256
|
--pf-v5-c-table__thead--m-nested-column-header--button--OutlineOffset: -0.1875rem;
|
|
263
|
-
--pf-v5-c-table__thead--m-nested-column-header__tr--PaddingTop: var(--pf-
|
|
264
|
-
--pf-v5-c-table__thead--m-nested-column-header__tr--PaddingBottom: var(--pf-
|
|
257
|
+
--pf-v5-c-table__thead--m-nested-column-header__tr--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
258
|
+
--pf-v5-c-table__thead--m-nested-column-header__tr--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
265
259
|
--pf-v5-c-table__subhead--Color: var(--pf-t--global--text--color--subtle);
|
|
266
260
|
--pf-v5-c-table--m-striped__tr--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
267
|
-
--pf-v5-c-table--m-sticky-header--cell--ZIndex: var(--pf-
|
|
261
|
+
--pf-v5-c-table--m-sticky-header--cell--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
268
262
|
color: var(--pf-v5-global--Color--100);
|
|
269
263
|
width: 100%;
|
|
270
264
|
background-color: var(--pf-v5-c-table--BackgroundColor);
|
|
271
265
|
}
|
|
272
|
-
@media screen and (max-width: 1200px) {
|
|
273
|
-
.pf-v5-c-table {
|
|
274
|
-
--pf-v5-c-table__caption--PaddingRight: var(--pf-v5-c-table__caption--xl--PaddingRight);
|
|
275
|
-
--pf-v5-c-table__caption--PaddingLeft: var(--pf-v5-c-table__caption--xl--PaddingLeft);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
@media screen and (min-width: 1200px) {
|
|
279
|
-
.pf-v5-c-table {
|
|
280
|
-
--pf-v5-c-table--cell--first-last-child--PaddingRight: var(--pf-v5-c-table--cell--first-last-child--xl--PaddingRight);
|
|
281
|
-
--pf-v5-c-table--cell--first-last-child--PaddingLeft: var(--pf-v5-c-table--cell--first-last-child--xl--PaddingLeft);
|
|
282
|
-
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingLeft: var(--pf-v5-c-table--m-compact--cell--first-last-child--xl--PaddingLeft);
|
|
283
|
-
--pf-v5-c-table--m-compact--cell--first-last-child--PaddingRight: var(--pf-v5-c-table--m-compact--cell--first-last-child--xl--PaddingRight);
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
266
|
.pf-v5-c-table.pf-m-fixed {
|
|
287
267
|
table-layout: fixed;
|
|
288
268
|
}
|
|
@@ -311,7 +291,7 @@
|
|
|
311
291
|
.pf-v5-c-table.pf-m-sticky-header > .pf-m-nested-column-header {
|
|
312
292
|
position: sticky;
|
|
313
293
|
inset-block-start: 0;
|
|
314
|
-
z-index: var(--pf-
|
|
294
|
+
z-index: var(--pf-t--global--Zindex--xs);
|
|
315
295
|
background: var(--pf-v5-c-table--BackgroundColor);
|
|
316
296
|
}
|
|
317
297
|
.pf-v5-c-table.pf-m-sticky-header > .pf-m-nested-column-header > .pf-m-border-row {
|
|
@@ -18,17 +18,10 @@
|
|
|
18
18
|
// Caption
|
|
19
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
27
|
--#{$table}__thead--cell--FontSize: var(--pf-t--global--font--size--body--default);
|
|
@@ -42,7 +35,7 @@
|
|
|
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(
|
|
38
|
+
--#{$table}--cell--Padding--base: var(--pf-t--global--spacer--md);
|
|
46
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);
|
|
@@ -50,10 +43,8 @@
|
|
|
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,7 +90,7 @@
|
|
|
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;
|
|
@@ -114,21 +105,21 @@
|
|
|
114
105
|
--#{$table}--cell--m-favorite--Color: var(--pf-t--global--text--color--subtle);
|
|
115
106
|
--#{$table}__favorite--c-button--Color: var(--pf-t--global--text--color--subtle);
|
|
116
107
|
--#{$table}__favorite--c-button--FontSize: var(--pf-t--global--font--size--body--default);
|
|
117
|
-
--#{$table}__favorite--c-button--MarginTop: calc(var(--#{$
|
|
118
|
-
--#{$table}__favorite--c-button--MarginRight: calc(var(--#{$
|
|
119
|
-
--#{$table}__favorite--c-button--MarginBottom: calc(var(--#{$
|
|
120
|
-
--#{$table}__favorite--c-button--MarginLeft: calc(var(--#{$
|
|
121
|
-
--#{$table}__favorite--m-favorited--c-button--Color: var(
|
|
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);
|
|
122
113
|
--#{$table}__sort--m-favorite__button__text--Color: var(--pf-t--global--text--color--subtle);
|
|
123
114
|
--#{$table}__sort--m-favorite__button--hover__text--Color: var(--pf-t--global--text--color--regular);
|
|
124
115
|
--#{$table}__sort--m-favorite__button--focus__text--Color: var(--pf-t--global--text--color--regular);
|
|
125
116
|
--#{$table}__sort--m-favorite__button--active__text--Color: var(--pf-t--global--text--color--regular);
|
|
126
117
|
|
|
127
118
|
// Draggable
|
|
128
|
-
--#{$table}__draggable--c-button--MarginTop: calc(var(--#{$
|
|
129
|
-
--#{$table}__draggable--c-button--MarginRight: calc(var(--#{$
|
|
130
|
-
--#{$table}__draggable--c-button--MarginBottom: calc(var(--#{$
|
|
131
|
-
--#{$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);
|
|
132
123
|
|
|
133
124
|
// Ghost row
|
|
134
125
|
--#{$table}__tr--m-ghost-row--Opacity: .4;
|
|
@@ -148,30 +139,30 @@
|
|
|
148
139
|
|
|
149
140
|
// Expandable row
|
|
150
141
|
// hardcoding to match design spec
|
|
151
|
-
--#{$table}__expandable-row--Transition: var(--#{$pf-global}--Transition);
|
|
142
|
+
--#{$table}__expandable-row--Transition: var(--#{$pf-global}--Transition); // TODO: update to token when available
|
|
152
143
|
--#{$table}__expandable-row--MaxHeight: #{pf-size-prem(450px)};
|
|
153
|
-
--#{$table}__expandable-row-content--Transition: var(--#{$pf-global}--Transition);
|
|
154
|
-
--#{$table}__expandable-row-content--PaddingTop: var(
|
|
155
|
-
--#{$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);
|
|
156
147
|
|
|
157
148
|
// ::before border
|
|
158
149
|
--#{$table}__expandable-row--after--Top: calc(var(--#{$table}--border-width--base) * -1);
|
|
159
150
|
--#{$table}__expandable-row--after--Bottom: calc(var(--#{$table}--border-width--base) * -1);
|
|
160
|
-
--#{$table}__expandable-row--after--border-width--base: var(
|
|
151
|
+
--#{$table}__expandable-row--after--border-width--base: var(--pf-t--global--border--width--strong);
|
|
161
152
|
--#{$table}__expandable-row--after--BorderLeftWidth: 0;
|
|
162
153
|
--#{$table}__expandable-row--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
163
154
|
|
|
164
155
|
// Icon inline
|
|
165
|
-
--#{$table}__icon-inline--MarginRight: var(
|
|
156
|
+
--#{$table}__icon-inline--MarginRight: var(--pf-t--global--spacer--sm);
|
|
166
157
|
|
|
167
158
|
// Sort cell
|
|
168
159
|
--#{$table}__sort--MinWidth: calc(6ch + var(--#{$table}--cell--PaddingRight) + var(--#{$table}--cell--PaddingLeft) + var(--#{$table}__sort-indicator--MarginLeft));
|
|
169
160
|
|
|
170
161
|
// Sort button
|
|
171
|
-
--#{$table}__sort__button--PaddingTop: var(
|
|
172
|
-
--#{$table}__sort__button--PaddingRight: var(
|
|
173
|
-
--#{$table}__sort__button--PaddingBottom: var(
|
|
174
|
-
--#{$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);
|
|
175
166
|
--#{$table}__sort__button--MarginTop: calc(var(--#{$table}__sort__button--PaddingTop) * -1);
|
|
176
167
|
--#{$table}__sort__button--MarginBottom: calc(var(--#{$table}__sort__button--PaddingBottom) * -1);
|
|
177
168
|
--#{$table}__sort__button--MarginLeft: calc(var(--#{$table}__sort__button--PaddingLeft) * -1);
|
|
@@ -187,7 +178,7 @@
|
|
|
187
178
|
|
|
188
179
|
// Sort indicator
|
|
189
180
|
--#{$table}__sort-indicator--Color: var(--pf-t--global--icon--color--subtle);
|
|
190
|
-
--#{$table}__sort-indicator--MarginLeft: var(
|
|
181
|
+
--#{$table}__sort-indicator--MarginLeft: var(--pf-t--global--spacer--md);
|
|
191
182
|
--#{$table}__sort--m-selected__sort-indicator--Color: var(--pf-t--global--border--color--active);
|
|
192
183
|
--#{$table}__sort__button--hover__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
193
184
|
--#{$table}__sort__button--active__sort-indicator--Color: var(--pf-t--global--text--color--regular);
|
|
@@ -197,12 +188,12 @@
|
|
|
197
188
|
--#{$table}__th--m-help--MinWidth: 11ch;
|
|
198
189
|
|
|
199
190
|
// Table header popover
|
|
200
|
-
--#{$table}__column-help--MarginLeft: var(
|
|
191
|
+
--#{$table}__column-help--MarginLeft: var(--pf-t--global--spacer--xs);
|
|
201
192
|
--#{$table}__column-help--TranslateY: #{pf-size-prem(2px)};
|
|
202
|
-
--#{$table}__column-help--c-button--MarginTop: calc(var(--#{$
|
|
203
|
-
--#{$table}__column-help--c-button--MarginBottom: calc(var(--#{$
|
|
204
|
-
--#{$table}__column-help--c-button--PaddingRight: var(
|
|
205
|
-
--#{$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);
|
|
206
197
|
|
|
207
198
|
// Compound expansion toggle button
|
|
208
199
|
--#{$table}__compound-expansion-toggle__button--Color: var(--pf-t--global--icon--color--brand--default);
|
|
@@ -219,28 +210,26 @@
|
|
|
219
210
|
--#{$table}__compound-expansion-toggle__button--before--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
220
211
|
|
|
221
212
|
// ::before border treatment
|
|
222
|
-
--#{$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);
|
|
223
214
|
--#{$table}__compound-expansion-toggle__button--after--BorderColor: var(--pf-t--global--border--color--active);
|
|
224
215
|
--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth: 0;
|
|
225
216
|
--#{$table}__compound-expansion-toggle__button--after--Top: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
226
217
|
--#{$table}__compound-expansion-toggle__button--after--Left: calc(var(--#{$table}__compound-expansion-toggle__button--before--border-width--base) * -1);
|
|
227
218
|
|
|
228
219
|
// Compact table
|
|
229
|
-
--#{$table}--m-compact__th--PaddingTop: calc(var(
|
|
230
|
-
--#{$table}--m-compact__th--PaddingBottom: var(
|
|
231
|
-
--#{$table}--m-compact--cell--PaddingTop: var(
|
|
232
|
-
--#{$table}--m-compact--cell--PaddingRight: var(
|
|
233
|
-
--#{$table}--m-compact--cell--PaddingBottom: var(
|
|
234
|
-
--#{$table}--m-compact--cell--PaddingLeft: var(
|
|
235
|
-
--#{$table}--m-compact--cell--first-last-child--PaddingLeft: var(
|
|
236
|
-
--#{$table}--m-compact--cell--first-last-child--PaddingRight: var(
|
|
237
|
-
--#{$table}--m-compact--cell--first-last-child--xl--PaddingLeft: var(--#{$pf-global}--spacer--lg);
|
|
238
|
-
--#{$table}--m-compact--cell--first-last-child--xl--PaddingRight: 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);
|
|
239
228
|
--#{$table}--m-compact--FontSize: var(--pf-t--global--font--size--body--default);
|
|
240
|
-
--#{$table}--m-compact__expandable-row-content--PaddingTop: var(
|
|
241
|
-
--#{$table}--m-compact__expandable-row-content--PaddingRight: var(
|
|
242
|
-
--#{$table}--m-compact__expandable-row-content--PaddingBottom: var(
|
|
243
|
-
--#{$table}--m-compact__expandable-row-content--PaddingLeft: var(
|
|
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);
|
|
244
233
|
|
|
245
234
|
// Nested table
|
|
246
235
|
--#{$table}--nested--first-last-child--PaddingRight: var(--#{$table}--m-compact--cell--first-last-child--PaddingLeft);
|
|
@@ -253,7 +242,7 @@
|
|
|
253
242
|
--#{$table}__tr--m-clickable--BoxShadow--top: var(--#{$table}__tr--BoxShadow--top--base);
|
|
254
243
|
--#{$table}__tr--m-clickable--BackgroundColor: transparent;
|
|
255
244
|
--#{$table}__tr--m-clickable--BoxShadow: none;
|
|
256
|
-
--#{$table}__tr--m-clickable--OutlineOffset: calc(-1 * var(
|
|
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
|
|
@@ -1081,25 +1063,25 @@
|
|
|
1081
1063
|
.#{$table}__button::before,
|
|
1082
1064
|
.#{$table}__button::after {
|
|
1083
1065
|
position: absolute;
|
|
1084
|
-
|
|
1066
|
+
inset-inline-end: 0;
|
|
1085
1067
|
content: "";
|
|
1086
1068
|
border-style: solid;
|
|
1087
1069
|
border-width: 0;
|
|
1088
1070
|
}
|
|
1089
1071
|
|
|
1090
1072
|
.#{$table}__button::before {
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
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);
|
|
1095
1077
|
border-inline-start-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderLeftWidth);
|
|
1096
1078
|
border-inline-end-width: var(--#{$table}__compound-expansion-toggle__button--before--BorderRightWidth);
|
|
1097
1079
|
}
|
|
1098
1080
|
|
|
1099
1081
|
.#{$table}__button::after {
|
|
1100
1082
|
// overlap previous row's border
|
|
1101
|
-
|
|
1102
|
-
|
|
1083
|
+
inset-block-start: var(--#{$table}__compound-expansion-toggle__button--after--Top);
|
|
1084
|
+
inset-inline-start: var(--#{$table}__compound-expansion-toggle__button--after--Left);
|
|
1103
1085
|
pointer-events: none;
|
|
1104
1086
|
border-color: var(--#{$table}__compound-expansion-toggle__button--after--BorderColor);
|
|
1105
1087
|
border-block-start-width: var(--#{$table}__compound-expansion-toggle__button--after--BorderTopWidth);
|
package/components/Tile/tile.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--pf-v5-c-tile--before--BorderRadius: var(--pf-v5-c-tile--BorderRadius);
|
|
12
12
|
--pf-v5-c-tile--after--BackgroundColor: transparent;
|
|
13
13
|
--pf-v5-c-tile__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
14
|
-
--pf-v5-c-tile__icon--FontSize: var(--pf-t--global--icon--size--body--default);
|
|
14
|
+
--pf-v5-c-tile__icon--FontSize: var(--pf-t--global--icon--size--font--body--default);
|
|
15
15
|
--pf-v5-c-tile__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
16
16
|
--pf-v5-c-tile__title--Color: var(--pf-t--global--text--color--regular);
|
|
17
17
|
--pf-v5-c-tile__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
// icon
|
|
19
19
|
--#{$tile}__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
|
20
|
-
--#{$tile}__icon--FontSize: var(--pf-t--global--icon--size--body--default);
|
|
20
|
+
--#{$tile}__icon--FontSize: var(--pf-t--global--icon--size--font--body--default);
|
|
21
21
|
--#{$tile}__icon--Color: var(--pf-t--global--icon--color--regular);
|
|
22
22
|
|
|
23
23
|
// title
|