@patternfly/patternfly 4.150.0 → 4.151.3
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/RELEASE-NOTES.md +2 -1
- package/assets/icons/{fa-unicodes.json → iconUnicodes.json} +123 -0
- package/assets/pficon/pficon.woff +0 -0
- package/assets/pficon/pficon.woff2 +0 -0
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +1 -1
- package/components/Table/table-scrollable.css +6 -8
- package/components/Table/table-scrollable.scss +7 -8
- package/components/Table/table.css +54 -4
- package/components/Table/table.scss +81 -4
- package/components/TextInputGroup/text-input-group.css +4 -4
- package/components/TextInputGroup/text-input-group.scss +6 -6
- package/components/Toolbar/toolbar.css +5 -5
- package/components/Toolbar/toolbar.scss +5 -5
- package/docs/components/Table/examples/Table.md +625 -14
- package/docs/components/TextInputGroup/examples/TextInputGroup.md +2 -2
- package/docs/components/Toolbar/examples/Toolbar.md +1 -1
- package/package.json +1 -1
- package/patternfly-no-reset.css +70 -22
- package/patternfly.css +70 -22
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
package/RELEASE-NOTES.md
CHANGED
|
@@ -12,8 +12,8 @@ Packages released:
|
|
|
12
12
|
- **Backdrop:** Added var for position to allow customization ([#4391](https://github.com/patternfly/patternfly/pull/4391))
|
|
13
13
|
- **Banner:** Added link style ([#4383](https://github.com/patternfly/patternfly/pull/4383))
|
|
14
14
|
- **Card:**
|
|
15
|
-
* Fixed demo image paths ([#4400](https://github.com/patternfly/patternfly/pull/4400))
|
|
16
15
|
* Updated log view and event view demos ([#4371](https://github.com/patternfly/patternfly/pull/4371))
|
|
16
|
+
* Fixed demo image paths ([#4400](https://github.com/patternfly/patternfly/pull/4400))
|
|
17
17
|
- **Drag drop:**
|
|
18
18
|
* Added drag drop ([#4398](https://github.com/patternfly/patternfly/pull/4398))
|
|
19
19
|
* Moved drag drop styles into component ([#4404](https://github.com/patternfly/patternfly/pull/4404))
|
|
@@ -29,6 +29,7 @@ Packages released:
|
|
|
29
29
|
- **Nav:**
|
|
30
30
|
- Added support for menu component as flyout ([#4417](https://github.com/patternfly/patternfly/pull/4417))
|
|
31
31
|
- Marked nav flyout example as beta, updated release notes ([#4444](https://github.com/patternfly/patternfly/pull/4444))
|
|
32
|
+
- Removed broken icon font size var ([#4473](https://github.com/patternfly/patternfly/pull/4473))
|
|
32
33
|
- **Progress stepper:** Added help text for popover ([#4381](https://github.com/patternfly/patternfly/pull/4381))
|
|
33
34
|
- **Radio, checkbox, form:** Corrected label alignment ([#4375](https://github.com/patternfly/patternfly/pull/4375))
|
|
34
35
|
- **Select:**
|
|
@@ -1,4 +1,127 @@
|
|
|
1
1
|
{
|
|
2
|
+
"pf-icon-add-circle-o": "E61B",
|
|
3
|
+
"pf-icon-ansible-tower": "E950",
|
|
4
|
+
"pf-icon-applications": "E936",
|
|
5
|
+
"pf-icon-arrow": "E929",
|
|
6
|
+
"pf-icon-asleep": "E92E",
|
|
7
|
+
"pf-icon-attention-bell": "E951",
|
|
8
|
+
"pf-icon-automation": "E937",
|
|
9
|
+
"pf-icon-bell": "E952",
|
|
10
|
+
"pf-icon-blueprint": "E915",
|
|
11
|
+
"pf-icon-build": "E902",
|
|
12
|
+
"pf-icon-builder-image": "E800",
|
|
13
|
+
"pf-icon-bundle": "E918",
|
|
14
|
+
"pf-icon-catalog": "E953",
|
|
15
|
+
"pf-icon-chat": "E954",
|
|
16
|
+
"pf-icon-close": "E60B",
|
|
17
|
+
"pf-icon-cloud-security": "E903",
|
|
18
|
+
"pf-icon-cloud-tenant": "E904",
|
|
19
|
+
"pf-icon-cluster": "E620",
|
|
20
|
+
"pf-icon-connected": "E938",
|
|
21
|
+
"pf-icon-container-node": "E621",
|
|
22
|
+
"pf-icon-cpu": "E927",
|
|
23
|
+
"pf-icon-degraded": "E91B",
|
|
24
|
+
"pf-icon-disconnected": "E955",
|
|
25
|
+
"pf-icon-domain": "E919",
|
|
26
|
+
"pf-icon-edit": "E60A",
|
|
27
|
+
"pf-icon-enhancement": "E93A",
|
|
28
|
+
"pf-icon-enterprise": "E906",
|
|
29
|
+
"pf-icon-equalizer": "E956",
|
|
30
|
+
"pf-icon-error-circle-o": "E926",
|
|
31
|
+
"pf-icon-export": "E616",
|
|
32
|
+
"pf-icon-filter": "E943",
|
|
33
|
+
"pf-icon-flavor": "E957",
|
|
34
|
+
"pf-icon-folder-close": "E607",
|
|
35
|
+
"pf-icon-folder-open": "E606",
|
|
36
|
+
"pf-icon-globe-route": "E958",
|
|
37
|
+
"pf-icon-help": "E605",
|
|
38
|
+
"pf-icon-history": "E617",
|
|
39
|
+
"pf-icon-home": "E618",
|
|
40
|
+
"pf-icon-import": "E615",
|
|
41
|
+
"pf-icon-in-progress": "E933",
|
|
42
|
+
"pf-icon-info": "E92B",
|
|
43
|
+
"pf-icon-infrastructure": "E93D",
|
|
44
|
+
"pf-icon-integration": "E948",
|
|
45
|
+
"pf-icon-key": "E924",
|
|
46
|
+
"pf-icon-locked": "E923",
|
|
47
|
+
"pf-icon-maintenance": "E932",
|
|
48
|
+
"pf-icon-memory": "E908",
|
|
49
|
+
"pf-icon-messages": "E603",
|
|
50
|
+
"pf-icon-middleware": "E917",
|
|
51
|
+
"pf-icon-migration": "E931",
|
|
52
|
+
"pf-icon-module": "E959",
|
|
53
|
+
"pf-icon-monitoring": "E95A",
|
|
54
|
+
"pf-icon-namespaces": "E95B",
|
|
55
|
+
"pf-icon-network": "E909",
|
|
56
|
+
"pf-icon-new-process": "E95C",
|
|
57
|
+
"pf-icon-not-started": "E95D",
|
|
58
|
+
"pf-icon-off": "E92D",
|
|
59
|
+
"pf-icon-ok": "E602",
|
|
60
|
+
"pf-icon-on-running": "E925",
|
|
61
|
+
"pf-icon-on": "E92C",
|
|
62
|
+
"pf-icon-openshift": "E95E",
|
|
63
|
+
"pf-icon-openstack": "E95F",
|
|
64
|
+
"pf-icon-optimize": "E93E",
|
|
65
|
+
"pf-icon-orders": "E93F",
|
|
66
|
+
"pf-icon-os-image": "E960",
|
|
67
|
+
"pf-icon-package": "E961",
|
|
68
|
+
"pf-icon-panel-close": "E962",
|
|
69
|
+
"pf-icon-panel-open": "E963",
|
|
70
|
+
"pf-icon-paused": "E92F",
|
|
71
|
+
"pf-icon-pending": "E964",
|
|
72
|
+
"pf-icon-pficon-dragdrop": "E965",
|
|
73
|
+
"pf-icon-pficon-history": "E966",
|
|
74
|
+
"pf-icon-pficon-network-range": "E967",
|
|
75
|
+
"pf-icon-pficon-satellite": "E968",
|
|
76
|
+
"pf-icon-pficon-sort-common-asc": "E94E",
|
|
77
|
+
"pf-icon-pficon-sort-common-desc": "E94F",
|
|
78
|
+
"pf-icon-pficon-template": "E94C",
|
|
79
|
+
"pf-icon-pficon-vcenter": "E969",
|
|
80
|
+
"pf-icon-plugged": "E96A",
|
|
81
|
+
"pf-icon-port": "E96B",
|
|
82
|
+
"pf-icon-print": "E612",
|
|
83
|
+
"pf-icon-private": "E914",
|
|
84
|
+
"pf-icon-process-automation": "E949",
|
|
85
|
+
"pf-icon-project": "E96C",
|
|
86
|
+
"pf-icon-rebalance": "E91C",
|
|
87
|
+
"pf-icon-rebooting": "E96D",
|
|
88
|
+
"pf-icon-regions": "E90A",
|
|
89
|
+
"pf-icon-registry": "E623",
|
|
90
|
+
"pf-icon-remove2": "E96E",
|
|
91
|
+
"pf-icon-replicator": "E624",
|
|
92
|
+
"pf-icon-repository": "E90B",
|
|
93
|
+
"pf-icon-resource-pool": "E90C",
|
|
94
|
+
"pf-icon-resources-almost-empty": "E91D",
|
|
95
|
+
"pf-icon-resources-almost-full": "E912",
|
|
96
|
+
"pf-icon-resources-empty": "E96F",
|
|
97
|
+
"pf-icon-resources-full": "E913",
|
|
98
|
+
"pf-icon-running": "E970",
|
|
99
|
+
"pf-icon-save": "E601",
|
|
100
|
+
"pf-icon-screen": "E971",
|
|
101
|
+
"pf-icon-security": "E946",
|
|
102
|
+
"pf-icon-server-group": "E91A",
|
|
103
|
+
"pf-icon-server": "E90D",
|
|
104
|
+
"pf-icon-service-catalog": "E972",
|
|
105
|
+
"pf-icon-service": "E61E",
|
|
106
|
+
"pf-icon-services": "E947",
|
|
107
|
+
"pf-icon-spinner": "E973",
|
|
108
|
+
"pf-icon-spinner2": "E613",
|
|
109
|
+
"pf-icon-storage-domain": "E90E",
|
|
110
|
+
"pf-icon-task": "E974",
|
|
111
|
+
"pf-icon-tenant": "E916",
|
|
112
|
+
"pf-icon-thumb-tack": "E920",
|
|
113
|
+
"pf-icon-topology": "E608",
|
|
114
|
+
"pf-icon-trend-down": "E900",
|
|
115
|
+
"pf-icon-trend-up": "E901",
|
|
116
|
+
"pf-icon-unknown": "E935",
|
|
117
|
+
"pf-icon-unlocked": "E922",
|
|
118
|
+
"pf-icon-unplugged": "E942",
|
|
119
|
+
"pf-icon-user": "E91E",
|
|
120
|
+
"pf-icon-users": "E91F",
|
|
121
|
+
"pf-icon-virtual-machine": "E90F",
|
|
122
|
+
"pf-icon-volume": "E910",
|
|
123
|
+
"pf-icon-warning-triangle": "E975",
|
|
124
|
+
"pf-icon-zone": "E911",
|
|
2
125
|
"fa-500px": "f26e",
|
|
3
126
|
"fa-accessible-icon": "f368",
|
|
4
127
|
"fa-accusoft": "f369",
|
|
Binary file
|
|
Binary file
|
package/components/Nav/nav.css
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
--pf-c-nav__item--m-current--not--m-expanded__link--BackgroundColor: var(--pf-global--BackgroundColor--dark-400);
|
|
26
26
|
--pf-c-nav__link--m-current--not--m-expanded__link--after--BorderWidth: var(--pf-global--BorderWidth--xl);
|
|
27
27
|
--pf-c-nav__item__item__link--PaddingRight: var(--pf-global--spacer--xl);
|
|
28
|
-
--pf-c-nav__item__item__toggle--FontSize: var(--pf-global--
|
|
28
|
+
--pf-c-nav__item__item__toggle--FontSize: var(--pf-global--FontSize--sm);
|
|
29
29
|
--pf-c-nav__item__toggle-icon--Rotate: 0;
|
|
30
30
|
--pf-c-nav__item--m-expanded__toggle-icon--Rotate: 90deg;
|
|
31
31
|
--pf-c-nav__item--before--BorderColor: var(--pf-global--BackgroundColor--dark-200);
|
package/components/Nav/nav.scss
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
--pf-c-nav__item--m-current--not--m-expanded__link--BackgroundColor: var(--pf-global--BackgroundColor--dark-400);
|
|
32
32
|
--pf-c-nav__link--m-current--not--m-expanded__link--after--BorderWidth: var(--pf-global--BorderWidth--xl);
|
|
33
33
|
--pf-c-nav__item__item__link--PaddingRight: var(--pf-global--spacer--xl);
|
|
34
|
-
--pf-c-nav__item__item__toggle--FontSize: var(--pf-global--
|
|
34
|
+
--pf-c-nav__item__item__toggle--FontSize: var(--pf-global--FontSize--sm);
|
|
35
35
|
--pf-c-nav__item__toggle-icon--Rotate: 0;
|
|
36
36
|
--pf-c-nav__item--m-expanded__toggle-icon--Rotate: 90deg;
|
|
37
37
|
|
|
@@ -18,14 +18,12 @@
|
|
|
18
18
|
background-clip: padding-box;
|
|
19
19
|
}
|
|
20
20
|
.pf-c-table .pf-c-table__sticky-column.pf-m-border-right::before {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
left:
|
|
26
|
-
|
|
27
|
-
content: "";
|
|
28
|
-
border-right: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth) solid var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
|
|
21
|
+
--pf-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth);
|
|
22
|
+
--pf-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
|
|
23
|
+
}
|
|
24
|
+
.pf-c-table .pf-c-table__sticky-column.pf-m-border-left::before {
|
|
25
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth);
|
|
26
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor);
|
|
29
27
|
}
|
|
30
28
|
.pf-c-table.pf-m-sticky-header {
|
|
31
29
|
--pf-c-table--cell--Overflow: visible;
|
|
@@ -18,14 +18,13 @@
|
|
|
18
18
|
background-clip: padding-box;
|
|
19
19
|
|
|
20
20
|
&.pf-m-border-right::before {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
border-right: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth) solid var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
|
|
21
|
+
--pf-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightWidth);
|
|
22
|
+
--pf-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-c-table__sticky-column--m-border-right--before--BorderRightColor);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.pf-m-border-left::before {
|
|
26
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftWidth);
|
|
27
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-c-table__sticky-column--m-border-left--before--BorderLeftColor);
|
|
29
28
|
}
|
|
30
29
|
}
|
|
31
30
|
|
|
@@ -89,17 +89,19 @@
|
|
|
89
89
|
--pf-c-table--tbody--cell--PaddingTop: var(--pf-global--spacer--lg);
|
|
90
90
|
--pf-c-table--tbody--cell--PaddingBottom: var(--pf-global--spacer--lg);
|
|
91
91
|
--pf-c-table--tr--BoxShadow--top--base: 0 -0.1875rem 0.25rem -0.125rem rgba(3,3,3,.08);
|
|
92
|
+
--pf-c-table--cell--Padding--base: var(--pf-global--spacer--md);
|
|
92
93
|
--pf-c-table--cell--FontSize: var(--pf-global--FontSize--md);
|
|
93
94
|
--pf-c-table--cell--FontWeight: var(--pf-global--FontWeight--normal);
|
|
94
95
|
--pf-c-table--cell--Color: var(--pf-global--Color--100);
|
|
95
|
-
--pf-c-table--cell--PaddingTop: var(--pf-
|
|
96
|
-
--pf-c-table--cell--PaddingRight: var(--pf-
|
|
97
|
-
--pf-c-table--cell--PaddingBottom: var(--pf-
|
|
98
|
-
--pf-c-table--cell--PaddingLeft: var(--pf-
|
|
96
|
+
--pf-c-table--cell--PaddingTop: var(--pf-c-table--cell--Padding--base);
|
|
97
|
+
--pf-c-table--cell--PaddingRight: var(--pf-c-table--cell--Padding--base);
|
|
98
|
+
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--cell--Padding--base);
|
|
99
|
+
--pf-c-table--cell--PaddingLeft: var(--pf-c-table--cell--Padding--base);
|
|
99
100
|
--pf-c-table--cell--first-last-child--PaddingLeft: var(--pf-global--spacer--md);
|
|
100
101
|
--pf-c-table--cell--first-last-child--PaddingRight: var(--pf-global--spacer--md);
|
|
101
102
|
--pf-c-table--cell--first-last-child--xl--PaddingLeft: var(--pf-global--spacer--lg);
|
|
102
103
|
--pf-c-table--cell--first-last-child--xl--PaddingRight: var(--pf-global--spacer--lg);
|
|
104
|
+
--pf-c-table--tr--m-first-cell-offset-reset--cell--PaddingLeft: var(--pf-c-table--cell--Padding--base);
|
|
103
105
|
--pf-c-table--cell--MinWidth: 0;
|
|
104
106
|
--pf-c-table--cell--MaxWidth: none;
|
|
105
107
|
--pf-c-table--cell--Width: auto;
|
|
@@ -107,6 +109,10 @@
|
|
|
107
109
|
--pf-c-table--cell--TextOverflow: clip;
|
|
108
110
|
--pf-c-table--cell--WhiteSpace: normal;
|
|
109
111
|
--pf-c-table--cell--WordBreak: normal;
|
|
112
|
+
--pf-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
113
|
+
--pf-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
114
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
115
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-global--BorderColor--100);
|
|
110
116
|
--pf-c-table--cell--m-help--MinWidth: 11ch;
|
|
111
117
|
--pf-c-table--m-truncate--cell--MaxWidth: 1px;
|
|
112
118
|
--pf-c-table--m-truncate--cell--MinWidth: calc(5ch + var(--pf-c-table--cell--PaddingRight) + var(--pf-c-table--cell--PaddingLeft));
|
|
@@ -265,6 +271,10 @@
|
|
|
265
271
|
--pf-c-table--tbody--m-selected--m-selected--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);
|
|
266
272
|
--pf-c-table--tbody--m-selected--hover--tbody--m-selected--BoxShadow: var(--pf-global--BoxShadow--sm-bottom) inset, var(--pf-global--BoxShadow--sm-bottom);
|
|
267
273
|
--pf-c-table--tbody--m-selected--tbody--m-selected--hover--BoxShadow: var(--pf-c-table--tr--m-selected--BoxShadow--top), var(--pf-global--BoxShadow--sm-bottom);
|
|
274
|
+
--pf-c-table--thead--m-nested-column-header--button--OutlineOffset: -0.1875rem;
|
|
275
|
+
--pf-c-table--thead--m-nested-column-header--tr--PaddingTop: var(--pf-global--spacer--xs);
|
|
276
|
+
--pf-c-table--thead--m-nested-column-header--tr--PaddingBottom: var(--pf-global--spacer--xs);
|
|
277
|
+
--pf-c-table__subhead--Color: var(--pf-global--Color--200);
|
|
268
278
|
color: var(--pf-global--Color--100);
|
|
269
279
|
width: 100%;
|
|
270
280
|
background-color: var(--pf-c-table--BackgroundColor);
|
|
@@ -351,6 +361,21 @@
|
|
|
351
361
|
--pf-c-table--cell--MaxWidth: fit-content;
|
|
352
362
|
--pf-c-table--cell--Overflow: visible;
|
|
353
363
|
}
|
|
364
|
+
.pf-c-table tr > *.pf-m-border-right::before, .pf-c-table tr > *.pf-m-border-left::before {
|
|
365
|
+
position: absolute;
|
|
366
|
+
top: 0;
|
|
367
|
+
right: 0;
|
|
368
|
+
bottom: 0;
|
|
369
|
+
left: 0;
|
|
370
|
+
pointer-events: none;
|
|
371
|
+
content: "";
|
|
372
|
+
}
|
|
373
|
+
.pf-c-table tr > *.pf-m-border-right::before {
|
|
374
|
+
border-right: var(--pf-c-table--cell--m-border-right--before--BorderRightWidth) solid var(--pf-c-table--cell--m-border-right--before--BorderRightColor);
|
|
375
|
+
}
|
|
376
|
+
.pf-c-table tr > *.pf-m-border-left::before {
|
|
377
|
+
border-left: var(--pf-c-table--cell--m-border-right--before--BorderLeftWidth) solid var(--pf-c-table--cell--m-border-left--before--BorderLeftColor);
|
|
378
|
+
}
|
|
354
379
|
.pf-c-table caption {
|
|
355
380
|
padding-top: var(--pf-c-table-caption--PaddingTop);
|
|
356
381
|
padding-bottom: var(--pf-c-table-caption--PaddingBottom);
|
|
@@ -365,6 +390,28 @@
|
|
|
365
390
|
--pf-c-table--cell--FontWeight: var(--pf-c-table--thead--cell--FontWeight);
|
|
366
391
|
vertical-align: bottom;
|
|
367
392
|
}
|
|
393
|
+
.pf-c-table thead.pf-m-nested-column-header button {
|
|
394
|
+
outline-offset: var(--pf-c-table--thead--m-nested-column-header--button--OutlineOffset);
|
|
395
|
+
}
|
|
396
|
+
.pf-c-table thead.pf-m-nested-column-header th,
|
|
397
|
+
.pf-c-table thead.pf-m-nested-column-header td {
|
|
398
|
+
vertical-align: middle;
|
|
399
|
+
}
|
|
400
|
+
.pf-c-table thead.pf-m-nested-column-header tr:not(:first-child) th:not([rowspan]),
|
|
401
|
+
.pf-c-table thead.pf-m-nested-column-header tr:not(:first-child) td:not([rowspan]) {
|
|
402
|
+
--pf-c-table--cell--PaddingTop: var(--pf-c-table--thead--m-nested-column-header--tr--PaddingTop);
|
|
403
|
+
}
|
|
404
|
+
.pf-c-table thead.pf-m-nested-column-header tr:not(:last-child) {
|
|
405
|
+
--pf-c-table--border-width--base: 0;
|
|
406
|
+
}
|
|
407
|
+
.pf-c-table thead.pf-m-nested-column-header tr:not(:last-child) th:not([rowspan]),
|
|
408
|
+
.pf-c-table thead.pf-m-nested-column-header tr:not(:last-child) td:not([rowspan]) {
|
|
409
|
+
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--thead--m-nested-column-header--tr--PaddingBottom);
|
|
410
|
+
}
|
|
411
|
+
.pf-c-table thead .pf-c-table__subhead {
|
|
412
|
+
--pf-c-table__sort__button__text--Color: var(--pf-c-table__subhead--Color);
|
|
413
|
+
color: var(--pf-c-table__subhead--Color);
|
|
414
|
+
}
|
|
368
415
|
.pf-c-table tbody {
|
|
369
416
|
--pf-c-table--cell--PaddingTop: var(--pf-c-table--tbody--cell--PaddingTop);
|
|
370
417
|
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--tbody--cell--PaddingBottom);
|
|
@@ -483,6 +530,9 @@
|
|
|
483
530
|
.pf-c-table tr.pf-m-selected:hover + tr.pf-m-selected {
|
|
484
531
|
box-shadow: var(--pf-c-table--tr--m-selected--hover--m-selected--BoxShadow);
|
|
485
532
|
}
|
|
533
|
+
.pf-c-table tr.pf-m-first-cell-offset-reset {
|
|
534
|
+
--pf-c-table--cell--first-last-child--PaddingLeft: var(--pf-c-table--tr--m-first-cell-offset-reset--cell--PaddingLeft);
|
|
535
|
+
}
|
|
486
536
|
.pf-c-table tbody.pf-m-hoverable {
|
|
487
537
|
cursor: pointer;
|
|
488
538
|
background-color: var(--pf-c-table--tbody--m-hoverable--BackgroundColor);
|
|
@@ -40,17 +40,19 @@
|
|
|
40
40
|
--pf-c-table--tr--BoxShadow--top--base: 0 #{pf-size-prem(-3px)} #{pf-size-prem(4px)} #{pf-size-prem(-2px)} rgba(3,3,3,.08);
|
|
41
41
|
|
|
42
42
|
// Th / td shared variables
|
|
43
|
+
--pf-c-table--cell--Padding--base: var(--pf-global--spacer--md);
|
|
43
44
|
--pf-c-table--cell--FontSize: var(--pf-global--FontSize--md);
|
|
44
45
|
--pf-c-table--cell--FontWeight: var(--pf-global--FontWeight--normal);
|
|
45
46
|
--pf-c-table--cell--Color: var(--pf-global--Color--100);
|
|
46
|
-
--pf-c-table--cell--PaddingTop: var(--pf-
|
|
47
|
-
--pf-c-table--cell--PaddingRight: var(--pf-
|
|
48
|
-
--pf-c-table--cell--PaddingBottom: var(--pf-
|
|
49
|
-
--pf-c-table--cell--PaddingLeft: var(--pf-
|
|
47
|
+
--pf-c-table--cell--PaddingTop: var(--pf-c-table--cell--Padding--base);
|
|
48
|
+
--pf-c-table--cell--PaddingRight: var(--pf-c-table--cell--Padding--base);
|
|
49
|
+
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--cell--Padding--base);
|
|
50
|
+
--pf-c-table--cell--PaddingLeft: var(--pf-c-table--cell--Padding--base);
|
|
50
51
|
--pf-c-table--cell--first-last-child--PaddingLeft: var(--pf-global--spacer--md);
|
|
51
52
|
--pf-c-table--cell--first-last-child--PaddingRight: var(--pf-global--spacer--md);
|
|
52
53
|
--pf-c-table--cell--first-last-child--xl--PaddingLeft: var(--pf-global--spacer--lg);
|
|
53
54
|
--pf-c-table--cell--first-last-child--xl--PaddingRight: var(--pf-global--spacer--lg);
|
|
55
|
+
--pf-c-table--tr--m-first-cell-offset-reset--cell--PaddingLeft: var(--pf-c-table--cell--Padding--base);
|
|
54
56
|
|
|
55
57
|
// Default cell variables
|
|
56
58
|
--pf-c-table--cell--MinWidth: 0;
|
|
@@ -61,6 +63,12 @@
|
|
|
61
63
|
--pf-c-table--cell--WhiteSpace: normal;
|
|
62
64
|
--pf-c-table--cell--WordBreak: normal;
|
|
63
65
|
|
|
66
|
+
// Border
|
|
67
|
+
--pf-c-table--cell--m-border-right--before--BorderRightWidth: var(--pf-global--BorderWidth--sm);
|
|
68
|
+
--pf-c-table--cell--m-border-right--before--BorderRightColor: var(--pf-global--BorderColor--100);
|
|
69
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftWidth: var(--pf-global--BorderWidth--sm);
|
|
70
|
+
--pf-c-table--cell--m-border-left--before--BorderLeftColor: var(--pf-global--BorderColor--100);
|
|
71
|
+
|
|
64
72
|
// Help
|
|
65
73
|
--pf-c-table--cell--m-help--MinWidth: 11ch;
|
|
66
74
|
|
|
@@ -287,6 +295,13 @@
|
|
|
287
295
|
--pf-c-table--tbody--m-selected--hover--tbody--m-selected--BoxShadow: var(--pf-global--BoxShadow--sm-bottom) inset, var(--pf-global--BoxShadow--sm-bottom);
|
|
288
296
|
--pf-c-table--tbody--m-selected--tbody--m-selected--hover--BoxShadow: var(--pf-c-table--tr--m-selected--BoxShadow--top), var(--pf-global--BoxShadow--sm-bottom);
|
|
289
297
|
|
|
298
|
+
// Nested column header
|
|
299
|
+
--pf-c-table--thead--m-nested-column-header--button--OutlineOffset: #{pf-size-prem(-3px)};
|
|
300
|
+
--pf-c-table--thead--m-nested-column-header--tr--PaddingTop: var(--pf-global--spacer--xs);
|
|
301
|
+
--pf-c-table--thead--m-nested-column-header--tr--PaddingBottom: var(--pf-global--spacer--xs);
|
|
302
|
+
|
|
303
|
+
// Subhead
|
|
304
|
+
--pf-c-table__subhead--Color: var(--pf-global--Color--200);
|
|
290
305
|
|
|
291
306
|
@media screen and (min-width: $pf-global--breakpoint--xl) {
|
|
292
307
|
--pf-c-table--cell--first-last-child--PaddingRight: var(--pf-c-table--cell--first-last-child--xl--PaddingRight);
|
|
@@ -392,6 +407,25 @@
|
|
|
392
407
|
--pf-c-table--cell--MaxWidth: fit-content;
|
|
393
408
|
--pf-c-table--cell--Overflow: visible;
|
|
394
409
|
}
|
|
410
|
+
|
|
411
|
+
&.pf-m-border-right::before,
|
|
412
|
+
&.pf-m-border-left::before {
|
|
413
|
+
position: absolute;
|
|
414
|
+
top: 0;
|
|
415
|
+
right: 0;
|
|
416
|
+
bottom: 0;
|
|
417
|
+
left: 0;
|
|
418
|
+
pointer-events: none;
|
|
419
|
+
content: "";
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
&.pf-m-border-right::before {
|
|
423
|
+
border-right: var(--pf-c-table--cell--m-border-right--before--BorderRightWidth) solid var(--pf-c-table--cell--m-border-right--before--BorderRightColor);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
&.pf-m-border-left::before {
|
|
427
|
+
border-left: var(--pf-c-table--cell--m-border-right--before--BorderLeftWidth) solid var(--pf-c-table--cell--m-border-left--before--BorderLeftColor);
|
|
428
|
+
}
|
|
395
429
|
}
|
|
396
430
|
|
|
397
431
|
// Table caption
|
|
@@ -411,6 +445,45 @@
|
|
|
411
445
|
--pf-c-table--cell--FontWeight: var(--pf-c-table--thead--cell--FontWeight);
|
|
412
446
|
|
|
413
447
|
vertical-align: bottom;
|
|
448
|
+
|
|
449
|
+
// stylelint-disable
|
|
450
|
+
&.pf-m-nested-column-header {
|
|
451
|
+
button {
|
|
452
|
+
outline-offset: var(--pf-c-table--thead--m-nested-column-header--button--OutlineOffset);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
th,
|
|
456
|
+
td {
|
|
457
|
+
vertical-align: middle;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
tr:not(:first-child) {
|
|
461
|
+
th,
|
|
462
|
+
td {
|
|
463
|
+
&:not([rowspan]) {
|
|
464
|
+
--pf-c-table--cell--PaddingTop: var(--pf-c-table--thead--m-nested-column-header--tr--PaddingTop);
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
tr:not(:last-child) {
|
|
470
|
+
--pf-c-table--border-width--base: 0; // hard reset tr borders in nested headers
|
|
471
|
+
|
|
472
|
+
th,
|
|
473
|
+
td {
|
|
474
|
+
&:not([rowspan]) {
|
|
475
|
+
--pf-c-table--cell--PaddingBottom: var(--pf-c-table--thead--m-nested-column-header--tr--PaddingBottom);
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
// stylelint-enable
|
|
481
|
+
|
|
482
|
+
.pf-c-table__subhead {
|
|
483
|
+
--pf-c-table__sort__button__text--Color: var(--pf-c-table__subhead--Color);
|
|
484
|
+
|
|
485
|
+
color: var(--pf-c-table__subhead--Color);
|
|
486
|
+
}
|
|
414
487
|
}
|
|
415
488
|
|
|
416
489
|
// Table body cell
|
|
@@ -589,6 +662,10 @@
|
|
|
589
662
|
}
|
|
590
663
|
}
|
|
591
664
|
|
|
665
|
+
tr.pf-m-first-cell-offset-reset {
|
|
666
|
+
--pf-c-table--cell--first-last-child--PaddingLeft: var(--pf-c-table--tr--m-first-cell-offset-reset--cell--PaddingLeft);
|
|
667
|
+
}
|
|
668
|
+
|
|
592
669
|
// tbody hoverable
|
|
593
670
|
tbody.pf-m-hoverable {
|
|
594
671
|
cursor: pointer;
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
--pf-c-text-input-group__text--focus-within--after--BorderBottomWidth: var(--pf-global--BorderWidth--md);
|
|
8
8
|
--pf-c-text-input-group__text--focus-within--after--BorderBottomColor: var(--pf-global--primary-color--100);
|
|
9
9
|
--pf-c-text-input-group__main--first-child--not--text-input--MarginLeft: var(--pf-global--spacer--sm);
|
|
10
|
+
--pf-c-text-input-group__main--m-icon__text-input--PaddingLeft: var(--pf-global--spacer--xl);
|
|
10
11
|
--pf-c-text-input-group__text-input--PaddingTop: var(--pf-global--spacer--form-element);
|
|
11
12
|
--pf-c-text-input-group__text-input--PaddingRight: var(--pf-global--spacer--sm);
|
|
12
13
|
--pf-c-text-input-group__text-input--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
13
14
|
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-global--spacer--sm);
|
|
14
|
-
--pf-c-text-input-group--m-icon__text-input--PaddingLeft: var(--pf-global--spacer--xl);
|
|
15
15
|
--pf-c-text-input-group__text-input--MinWidth: 12ch;
|
|
16
16
|
--pf-c-text-input-group__text-input--m-hint--Color: var(--pf-global--Color--dark-200);
|
|
17
17
|
--pf-c-text-input-group__icon--Left: var(--pf-global--spacer--sm);
|
|
@@ -29,9 +29,6 @@
|
|
|
29
29
|
.pf-c-text-input-group:hover {
|
|
30
30
|
--pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-c-text-input-group--hover__text--after--BorderBottomColor);
|
|
31
31
|
}
|
|
32
|
-
.pf-c-text-input-group.pf-m-icon {
|
|
33
|
-
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-c-text-input-group--m-icon__text-input--PaddingLeft);
|
|
34
|
-
}
|
|
35
32
|
|
|
36
33
|
.pf-c-text-input-group__main {
|
|
37
34
|
display: flex;
|
|
@@ -39,6 +36,9 @@
|
|
|
39
36
|
gap: var(--pf-global--spacer--sm);
|
|
40
37
|
min-width: 0;
|
|
41
38
|
}
|
|
39
|
+
.pf-c-text-input-group__main.pf-m-icon {
|
|
40
|
+
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-c-text-input-group__main--m-icon__text-input--PaddingLeft);
|
|
41
|
+
}
|
|
42
42
|
.pf-c-text-input-group__main > :first-child:not(.pf-c-text-input-group__text) {
|
|
43
43
|
margin-left: var(--pf-c-text-input-group__main--first-child--not--text-input--MarginLeft);
|
|
44
44
|
}
|
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
|
|
13
13
|
// Main
|
|
14
14
|
--pf-c-text-input-group__main--first-child--not--text-input--MarginLeft: var(--pf-global--spacer--sm);
|
|
15
|
+
--pf-c-text-input-group__main--m-icon__text-input--PaddingLeft: var(--pf-global--spacer--xl);
|
|
15
16
|
|
|
16
|
-
//
|
|
17
|
+
// Text input
|
|
17
18
|
--pf-c-text-input-group__text-input--PaddingTop: var(--pf-global--spacer--form-element);
|
|
18
19
|
--pf-c-text-input-group__text-input--PaddingRight: var(--pf-global--spacer--sm);
|
|
19
20
|
--pf-c-text-input-group__text-input--PaddingBottom: var(--pf-global--spacer--form-element);
|
|
20
21
|
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-global--spacer--sm);
|
|
21
|
-
--pf-c-text-input-group--m-icon__text-input--PaddingLeft: var(--pf-global--spacer--xl);
|
|
22
22
|
--pf-c-text-input-group__text-input--MinWidth: 12ch;
|
|
23
23
|
--pf-c-text-input-group__text-input--m-hint--Color: var(--pf-global--Color--dark-200); // matches placeholder text color
|
|
24
24
|
|
|
@@ -41,10 +41,6 @@
|
|
|
41
41
|
&:hover {
|
|
42
42
|
--pf-c-text-input-group__text--after--BorderBottomColor: var(--pf-c-text-input-group--hover__text--after--BorderBottomColor);
|
|
43
43
|
}
|
|
44
|
-
|
|
45
|
-
&.pf-m-icon {
|
|
46
|
-
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-c-text-input-group--m-icon__text-input--PaddingLeft);
|
|
47
|
-
}
|
|
48
44
|
}
|
|
49
45
|
|
|
50
46
|
.pf-c-text-input-group__main {
|
|
@@ -53,6 +49,10 @@
|
|
|
53
49
|
gap: var(--pf-global--spacer--sm);
|
|
54
50
|
min-width: 0;
|
|
55
51
|
|
|
52
|
+
&.pf-m-icon {
|
|
53
|
+
--pf-c-text-input-group__text-input--PaddingLeft: var(--pf-c-text-input-group__main--m-icon__text-input--PaddingLeft);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
56
|
> :first-child:not(.pf-c-text-input-group__text) {
|
|
57
57
|
margin-left: var(--pf-c-text-input-group__main--first-child--not--text-input--MarginLeft);
|
|
58
58
|
}
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
--pf-c-toolbar--PaddingBottom: var(--pf-global--spacer--md);
|
|
70
70
|
--pf-c-toolbar__item--Display: block;
|
|
71
71
|
--pf-c-toolbar__group--Display: flex;
|
|
72
|
-
--pf-c-toolbar--m-sticky
|
|
73
|
-
--pf-c-toolbar--m-sticky
|
|
72
|
+
--pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);
|
|
73
|
+
--pf-c-toolbar--m-sticky--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);
|
|
74
74
|
--pf-c-toolbar__content--Display: flex;
|
|
75
75
|
--pf-c-toolbar__content--PaddingRight: var(--pf-global--spacer--md);
|
|
76
76
|
--pf-c-toolbar__content--PaddingLeft: var(--pf-global--spacer--md);
|
|
@@ -141,11 +141,11 @@
|
|
|
141
141
|
--pf-c-toolbar__content--PaddingRight: var(--pf-c-toolbar--m-page-insets--inset);
|
|
142
142
|
--pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--m-page-insets--inset);
|
|
143
143
|
}
|
|
144
|
-
.pf-c-toolbar.pf-m-sticky
|
|
144
|
+
.pf-c-toolbar.pf-m-sticky {
|
|
145
145
|
position: sticky;
|
|
146
146
|
top: 0;
|
|
147
|
-
z-index: var(--pf-c-toolbar--m-sticky
|
|
148
|
-
box-shadow: var(--pf-c-toolbar--m-sticky
|
|
147
|
+
z-index: var(--pf-c-toolbar--m-sticky--ZIndex);
|
|
148
|
+
box-shadow: var(--pf-c-toolbar--m-sticky--BoxShadow);
|
|
149
149
|
}
|
|
150
150
|
.pf-c-toolbar.pf-m-full-height {
|
|
151
151
|
--pf-c-toolbar--PaddingTop: var(--pf-c-toolbar--m-full-height--PaddingTop);
|
|
@@ -17,8 +17,8 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
17
17
|
--pf-c-toolbar__group--Display: flex;
|
|
18
18
|
|
|
19
19
|
// Sticky
|
|
20
|
-
--pf-c-toolbar--m-sticky
|
|
21
|
-
--pf-c-toolbar--m-sticky
|
|
20
|
+
--pf-c-toolbar--m-sticky--ZIndex: var(--pf-global--ZIndex--xs);
|
|
21
|
+
--pf-c-toolbar--m-sticky--BoxShadow: var(--pf-global--BoxShadow--sm-bottom);
|
|
22
22
|
|
|
23
23
|
// Content
|
|
24
24
|
--pf-c-toolbar__content--Display: flex;
|
|
@@ -133,11 +133,11 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
133
133
|
--pf-c-toolbar__content--PaddingLeft: var(--pf-c-toolbar--m-page-insets--inset);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
&.pf-m-sticky
|
|
136
|
+
&.pf-m-sticky {
|
|
137
137
|
position: sticky;
|
|
138
138
|
top: 0;
|
|
139
|
-
z-index: var(--pf-c-toolbar--m-sticky
|
|
140
|
-
box-shadow: var(--pf-c-toolbar--m-sticky
|
|
139
|
+
z-index: var(--pf-c-toolbar--m-sticky--ZIndex);
|
|
140
|
+
box-shadow: var(--pf-c-toolbar--m-sticky--BoxShadow);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
&.pf-m-full-height {
|