@patternfly/patternfly 6.0.0-alpha.200 → 6.0.0-alpha.202

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.
Files changed (77) hide show
  1. package/base/normalize.scss +3 -3
  2. package/base/patternfly-variables.css +2 -6
  3. package/base/tokens/tokens-charts-dark.scss +1 -1
  4. package/base/tokens/tokens-charts.scss +1 -1
  5. package/base/tokens/tokens-dark.scss +1 -1
  6. package/base/tokens/tokens-default.scss +3 -3
  7. package/base/tokens/tokens-local.scss +0 -6
  8. package/base/tokens/tokens-palette.scss +1 -1
  9. package/components/Breadcrumb/breadcrumb.css +9 -6
  10. package/components/Breadcrumb/breadcrumb.scss +9 -6
  11. package/components/Button/button.css +16 -7
  12. package/components/Button/button.scss +17 -7
  13. package/components/Content/content.css +8 -5
  14. package/components/Content/content.scss +8 -5
  15. package/components/DescriptionList/description-list.css +10 -15
  16. package/components/DescriptionList/description-list.scss +10 -16
  17. package/components/JumpLinks/jump-links.css +1 -1
  18. package/components/JumpLinks/jump-links.scss +1 -2
  19. package/components/Label/label.css +15 -14
  20. package/components/Label/label.scss +16 -14
  21. package/components/Masthead/masthead.css +172 -95
  22. package/components/Masthead/masthead.scss +74 -49
  23. package/components/Nav/nav.css +5 -4
  24. package/components/Nav/nav.scss +5 -4
  25. package/components/Page/page.css +18 -12
  26. package/components/Page/page.scss +18 -12
  27. package/components/ProgressStepper/progress-stepper.css +8 -7
  28. package/components/ProgressStepper/progress-stepper.scss +8 -8
  29. package/components/SimpleList/simple-list.css +1 -1
  30. package/components/SimpleList/simple-list.scss +1 -2
  31. package/components/Tabs/tabs.css +1 -1
  32. package/components/Tabs/tabs.scss +1 -3
  33. package/components/Timestamp/timestamp.css +8 -17
  34. package/components/Timestamp/timestamp.scss +8 -18
  35. package/components/ToggleGroup/toggle-group.css +2 -2
  36. package/components/ToggleGroup/toggle-group.scss +2 -4
  37. package/components/_index.css +274 -187
  38. package/docs/components/Alert/examples/Alert.md +4 -4
  39. package/docs/components/Card/examples/Card.md +4 -4
  40. package/docs/components/ClipboardCopy/examples/ClipboardCopy.md +2 -2
  41. package/docs/components/DescriptionList/examples/DescriptionList.md +30 -5
  42. package/docs/components/Form/examples/Form.md +2 -2
  43. package/docs/components/Masthead/examples/masthead.md +506 -493
  44. package/docs/components/Nav/examples/Navigation.md +0 -1
  45. package/docs/components/Page/examples/Page.md +98 -89
  46. package/docs/components/Table/examples/Table.md +58 -58
  47. package/docs/components/Wizard/examples/Wizard.md +1 -1
  48. package/docs/demos/AboutModal/examples/AboutModal.md +87 -83
  49. package/docs/demos/Alert/examples/Alert.md +263 -251
  50. package/docs/demos/BackToTop/examples/BackToTop.md +87 -83
  51. package/docs/demos/Banner/examples/Banner.md +177 -173
  52. package/docs/demos/Card/examples/Card.md +12 -12
  53. package/docs/demos/CardView/examples/CardView.md +90 -88
  54. package/docs/demos/Dashboard/examples/Dashboard.md +92 -88
  55. package/docs/demos/DataList/examples/DataList.md +352 -344
  56. package/docs/demos/DescriptionList/examples/DescriptionList.md +262 -252
  57. package/docs/demos/Drawer/examples/Drawer.md +437 -423
  58. package/docs/demos/Form/examples/BasicForms.md +11 -11
  59. package/docs/demos/JumpLinks/examples/JumpLinks.md +524 -500
  60. package/docs/demos/Masthead/examples/Masthead.md +772 -736
  61. package/docs/demos/Modal/examples/Modal.md +522 -498
  62. package/docs/demos/Nav/examples/Nav.md +511 -487
  63. package/docs/demos/NotificationDrawer/examples/NotificationDrawer.md +435 -425
  64. package/docs/demos/Page/examples/Page.md +959 -915
  65. package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +611 -584
  66. package/docs/demos/Skeleton/examples/Skeleton.md +87 -83
  67. package/docs/demos/Table/examples/Table.md +1326 -1294
  68. package/docs/demos/Tabs/examples/Tabs.md +526 -504
  69. package/docs/demos/Toolbar/examples/Toolbar.md +174 -166
  70. package/docs/demos/Wizard/examples/Wizard.md +790 -767
  71. package/package.json +1 -1
  72. package/patternfly-base-no-globals.css +2 -6
  73. package/patternfly-base.css +5 -9
  74. package/patternfly-no-globals.css +276 -193
  75. package/patternfly.css +279 -196
  76. package/patternfly.min.css +1 -1
  77. package/patternfly.min.css.map +1 -1
@@ -6,37 +6,52 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
6
6
  :where(:root, .#{$masthead}) {
7
7
  // * Masthead
8
8
  --#{$masthead}--RowGap: var(--pf-t--global--spacer--sm);
9
- --#{$masthead}--ColumnGap: var(--pf-t--global--spacer--md);
9
+ --#{$masthead}--ColumnGap: var(--pf-t--global--spacer--gutter--default);
10
10
  --#{$masthead}--BorderWidth: var(--pf-t--global--border--width--divider--default);
11
11
  --#{$masthead}--PaddingBlock: var(--pf-t--global--spacer--md);
12
12
  --#{$masthead}--PaddingInline: var(--pf-t--global--spacer--lg);
13
13
  --#{$masthead}--BorderColor: var(--pf-t--global--border--color--default);
14
14
  --#{$masthead}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
15
15
 
16
+ // * Masthead main container holds the toggle and brand
17
+ --#{$masthead}__main--ColumnGap: var(--pf-t--global--spacer--md);
18
+ --#{$masthead}__main--MarginInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
19
+
16
20
  // * Masthead brand
17
- --#{$masthead}__brand--MarginInlineEnd: var(--pf-t--global--spacer--md);
18
- --#{$masthead}__brand--MaxHeight: #{pf-size-prem(38px)};
21
+ --#{$masthead}__logo--MaxHeight: #{pf-size-prem(38px)};
22
+ --#{$masthead}__logo--Width: #{pf-size-prem(189px)}; // width of sidebar - toggle - inline padding - gutter = 189
19
23
 
20
24
  // * Masthead toggle
21
25
  --#{$masthead}__toggle--Size: var(--pf-t--global--icon--size--xl);
22
26
 
27
+ // * Masthead content
28
+ --#{$masthead}__content--ColumnGap: var(--pf-t--global--spacer--md);
29
+
23
30
  // * Masthead stack
31
+ --#{$masthead}--m-display-stack--ColumnGap: var(--pf-t--global--spacer--gutter--default);
24
32
  --#{$masthead}--m-display-stack--GridTemplateColumns: max-content 1fr;
25
- --#{$masthead}--m-display-stack__main--GridColumn: -1 / 1;
26
- --#{$masthead}--m-display-stack__main--Order: -1;
27
- --#{$masthead}--m-display-stack__main--PaddingBlockEnd: var(--#{$masthead}--RowGap);
28
- --#{$masthead}--m-display-stack__main--BorderBlockEnd: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
33
+ --#{$masthead}--m-display-stack__brand--GridColumn: -1 / 1;
34
+ --#{$masthead}--m-display-stack__brand--Order: -1;
35
+ --#{$masthead}--m-display-stack__brand--PaddingBlockEnd: var(--#{$masthead}--RowGap);
36
+ --#{$masthead}--m-display-stack__brand--BorderBlockEnd: var(--#{$masthead}--BorderWidth) solid var(--#{$masthead}--BorderColor);
29
37
  --#{$masthead}--m-display-stack__content--GridColumn: 2;
30
38
  --#{$masthead}--m-display-stack__content--Order: 1;
39
+ --#{$masthead}--m-display-stack__main--Display: contents;
40
+ --#{$masthead}--m-display-stack__main--ColumnGap: unset; // no column gap needed until it's flex display
31
41
 
32
42
  // * Masthead inline
33
- --#{$masthead}--m-display-inline--GridTemplateColumns: max-content max-content 1fr;
34
- --#{$masthead}--m-display-inline__main--GridColumn: 2;
35
- --#{$masthead}--m-display-inline__main--Order: 0;
36
- --#{$masthead}--m-display-inline__main--PaddingBlockEnd: 0;
37
- --#{$masthead}--m-display-inline__main--BorderBlockEnd: 0;
38
- --#{$masthead}--m-display-inline__content--GridColumn: 3;
43
+ --#{$masthead}--m-display-inline--ColumnGap: 0;
44
+ --#{$masthead}--m-display-inline--GridTemplateColumns: min-content 1fr;
45
+ --#{$masthead}--m-display-inline--breakpoint--xl--GridTemplateColumns: subgrid;
46
+ --#{$masthead}--m-display-inline__brand--GridColumn: initial;
47
+ --#{$masthead}--m-display-inline__brand--Order: initial;
48
+ --#{$masthead}--m-display-inline__brand--PaddingBlockEnd: 0;
49
+ --#{$masthead}--m-display-inline__brand--BorderBlockEnd: 0;
50
+ --#{$masthead}--m-display-inline__main--GridColumn: 1;
51
+ --#{$masthead}--m-display-inline__content--GridColumn: 2;
39
52
  --#{$masthead}--m-display-inline__content--Order: 0;
53
+ --#{$masthead}--m-display-inline__main--Display: flex;
54
+ --#{$masthead}--m-display-inline__main--ColumnGap: var(--pf-t--global--spacer--md);
40
55
 
41
56
  // * Masthead toolbar
42
57
  --#{$masthead}__expandable-content--BoxShadow: var(--pf-t--global--box-shadow--md--bottom);
@@ -45,29 +60,36 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
45
60
  // * Masthead toolbar
46
61
  --#{$masthead}--c-toolbar--Width: 100%;
47
62
  --#{$masthead}--c-toolbar--PaddingBlock: 0;
48
- --#{$masthead}--c-toolbar--PaddingInline: 0;
49
63
  }
50
64
 
51
65
  // * Masthead display stack
52
66
  @mixin pf-v6-c-masthead--m-display-stack {
67
+ --#{$masthead}--ColumnGap: var(--#{$masthead}--m-display-stack--ColumnGap);
53
68
  --#{$masthead}--GridTemplateColumns: var(--#{$masthead}--m-display-stack--GridTemplateColumns);
54
- --#{$masthead}__main--GridColumn: var(--#{$masthead}--m-display-stack__main--GridColumn);
55
- --#{$masthead}__main--Order: var(--#{$masthead}--m-display-stack__main--Order);
56
- --#{$masthead}__main--PaddingBlockEnd: var(--#{$masthead}--m-display-stack__main--PaddingBlockEnd);
57
- --#{$masthead}__main--BorderBlockEnd: var(--#{$masthead}--m-display-stack__main--BorderBlockEnd);
69
+ --#{$masthead}__brand--GridColumn: var(--#{$masthead}--m-display-stack__brand--GridColumn);
70
+ --#{$masthead}__brand--Order: var(--#{$masthead}--m-display-stack__brand--Order);
71
+ --#{$masthead}__brand--PaddingBlockEnd: var(--#{$masthead}--m-display-stack__brand--PaddingBlockEnd);
72
+ --#{$masthead}__brand--BorderBlockEnd: var(--#{$masthead}--m-display-stack__brand--BorderBlockEnd);
73
+ --#{$masthead}__main--GridColumn: unset;
58
74
  --#{$masthead}__content--GridColumn: var(--#{$masthead}--m-display-stack__content--GridColumn);
59
75
  --#{$masthead}__content--Order: var(--#{$masthead}--m-display-stack__content--Order);
76
+ --#{$masthead}__main--Display: var(--#{$masthead}--m-display-stack__main--Display);
77
+ --#{$masthead}__main--ColumnGap: var(--#{$masthead}--m-display-stack__main--ColumnGap);
60
78
  }
61
79
 
62
80
  // * Masthead display inline
63
81
  @mixin pf-v6-c-masthead--m-display-inline {
82
+ --#{$masthead}--ColumnGap: var(--#{$masthead}--m-display-inline--ColumnGap);
64
83
  --#{$masthead}--GridTemplateColumns: var(--#{$masthead}--m-display-inline--GridTemplateColumns);
84
+ --#{$masthead}__brand--GridColumn: var(--#{$masthead}--m-display-inline__brand--GridColumn);
85
+ --#{$masthead}__brand--Order: var(--#{$masthead}--m-display-inline__brand--Order);
86
+ --#{$masthead}__brand--PaddingBlockEnd: var(--#{$masthead}--m-display-inline__brand--PaddingBlockEnd);
87
+ --#{$masthead}__brand--BorderBlockEnd: var(--#{$masthead}--m-display-inline__brand--BorderBlockEnd);
65
88
  --#{$masthead}__main--GridColumn: var(--#{$masthead}--m-display-inline__main--GridColumn);
66
- --#{$masthead}__main--Order: var(--#{$masthead}--m-display-inline__main--Order);
67
- --#{$masthead}__main--PaddingBlockEnd: var(--#{$masthead}--m-display-inline__main--PaddingBlockEnd);
68
- --#{$masthead}__main--BorderBlockEnd: var(--#{$masthead}--m-display-inline__main--BorderBlockEnd);
69
89
  --#{$masthead}__content--GridColumn: var(--#{$masthead}--m-display-inline__content--GridColumn);
70
90
  --#{$masthead}__content--Order: var(--#{$masthead}--m-display-inline__content--Order);
91
+ --#{$masthead}__main--Display: var(--#{$masthead}--m-display-inline__main--Display);
92
+ --#{$masthead}__main--ColumnGap: var(--#{$masthead}--m-display-inline__main--ColumnGap);
71
93
  }
72
94
 
73
95
  // - Masthead
@@ -75,7 +97,6 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
75
97
  .#{$toolbar} {
76
98
  --#{$toolbar}--Width: var(--#{$masthead}--c-toolbar--Width);
77
99
  --#{$toolbar}--PaddingBlockEnd: 0;
78
- --#{$toolbar}__content--PaddingInline: var(--#{$masthead}--c-toolbar--PaddingInline);
79
100
  --#{$toolbar}__content--MinWidth: 0;
80
101
  }
81
102
 
@@ -135,53 +156,57 @@ $pf-v6-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "
135
156
  }
136
157
  }
137
158
 
159
+ .#{$masthead}__main {
160
+ display: var(--#{$masthead}__main--Display);
161
+ grid-column: var(--#{$masthead}__main--GridColumn);
162
+ column-gap: var(--#{$masthead}__main--ColumnGap);
163
+ align-items: center;
164
+ margin-inline-end: var(--#{$masthead}__main--MarginInlineEnd);
165
+ }
166
+
138
167
  // - Masthead main masthead content masthead logo
139
168
  .#{$masthead},
140
- .#{$masthead}__main {
169
+ .#{$masthead}__brand {
141
170
  position: relative;
142
171
  }
143
172
 
144
- .#{$masthead}__main,
145
- .#{$masthead}__content,
146
- .#{$masthead}__logo,
173
+ // - Masthead brand
147
174
  .#{$masthead}__brand {
148
175
  display: flex;
176
+ flex-shrink: 0;
177
+ grid-column: var(--#{$masthead}__brand--GridColumn, revert);
178
+ row-gap: var(--#{$masthead}__brand--RowGap, var(--#{$masthead}--RowGap));
149
179
  align-self: stretch;
150
- }
151
-
152
- // - Masthead main masthead brand masthead content
153
- .#{$masthead}__main,
154
- .#{$masthead}__brand,
155
- .#{$masthead}__content {
180
+ order: var(--#{$masthead}__brand--Order, revert);
156
181
  min-width: #{pf-size-prem(4ch)}; // allow flex containers to shrink to fit possible overflow
157
- }
158
-
159
- // - Masthead Main
160
- .#{$masthead}__main {
161
- grid-column: var(--#{$masthead}__main--GridColumn);
162
- row-gap: var(--#{$masthead}__main--RowGap, var(--#{$masthead}--RowGap));
163
- align-items: var(--#{$masthead}__main--AlignItems, var(--#{$masthead}--AlignItems));
164
- order: var(--#{$masthead}__main--Order);
165
- padding-block-end: var(--#{$masthead}__main--PaddingBlockEnd);
166
- border-block-end: var(--#{$masthead}__main--BorderBlockEnd);
182
+ padding-block-end: var(--#{$masthead}__brand--PaddingBlockEnd);
183
+ border-block-end: var(--#{$masthead}__brand--BorderBlockEnd);
167
184
  }
168
185
 
169
186
  // - Masthead content
170
187
  .#{$masthead}__content {
188
+ display: flex;
171
189
  flex-wrap: wrap;
172
190
  grid-column: var(--#{$masthead}__content--GridColumn);
173
191
  grid-column-end: -1; // force content to right edge or full available width
174
192
  row-gap: var(--#{$masthead}__content-RowGap, var(--#{$masthead}--RowGap));
175
- column-gap: var(--#{$masthead}__content-ColumnGap, var(--#{$masthead}--ColumnGap));
176
- align-items: var(--#{$masthead}__content--AlignItems, var(--#{$masthead}--AlignItems));
193
+ column-gap: var(--#{$masthead}__content--ColumnGap, var(--#{$masthead}--ColumnGap));
194
+ align-self: stretch;
177
195
  order: var(--#{$masthead}__content--Order);
196
+ min-width: #{pf-size-prem(4ch)}; // allow flex containers to shrink to fit possible overflow
178
197
  }
179
198
 
180
- // - Masthead brand
181
- .#{$masthead}__brand {
182
- align-items: var(--#{$masthead}__brand--AlignItems, var(--#{$masthead}--AlignItems));
183
- max-height: var(--#{$masthead}__brand--MaxHeight);
184
- margin-inline-end: var(--#{$masthead}__brand--MarginInlineEnd);
199
+ // - Masthead logo
200
+ .#{$masthead}__logo {
201
+ position: relative;
202
+ width: var(--#{$masthead}__logo--Width);
203
+ max-height: var(--#{$masthead}__logo--MaxHeight);
204
+
205
+ > * {
206
+ max-width: 100%;
207
+ max-height: 100%;
208
+ vertical-align: middle;
209
+ }
185
210
  }
186
211
 
187
212
  // - Masthead toggle
@@ -7,8 +7,8 @@
7
7
  --pf-v6-c-nav__list--ColumnGap: var(--pf-t--global--spacer--xs);
8
8
  --pf-v6-c-nav--PaddingBlockStart: var(--pf-t--global--spacer--md);
9
9
  --pf-v6-c-nav--PaddingBlockEnd: var(--pf-t--global--spacer--md);
10
- --pf-v6-c-nav--PaddingInlineStart: var(--pf-t--global--spacer--md);
11
- --pf-v6-c-nav--PaddingInlineEnd: var(--pf-t--global--spacer--md);
10
+ --pf-v6-c-nav--PaddingInlineStart: 0;
11
+ --pf-v6-c-nav--PaddingInlineEnd: 0;
12
12
  --pf-v6-c-nav--RowGap: var(--pf-t--global--spacer--lg);
13
13
  --pf-v6-c-nav--ColumnGap: 0;
14
14
  --pf-v6-c-nav--AlignItems: baseline;
@@ -98,8 +98,9 @@
98
98
  .pf-v6-c-nav.pf-m-overflow-hidden {
99
99
  overflow: hidden;
100
100
  }
101
- .pf-v6-c-nav.pf-m-full-width {
102
- width: 100%;
101
+ .pf-v6-c-nav.pf-m-inset {
102
+ --pf-v6-c-nav--PaddingInlineStart: var(--pf-t--global--spacer--md);
103
+ --pf-v6-c-nav--PaddingInlineEnd: var(--pf-t--global--spacer--md);
103
104
  }
104
105
  .pf-v6-c-nav.pf-m-fill {
105
106
  flex-grow: 1;
@@ -12,8 +12,8 @@
12
12
  // * Nav // default to row gap if no custom value is set
13
13
  --#{$nav}--PaddingBlockStart: var(--pf-t--global--spacer--md);
14
14
  --#{$nav}--PaddingBlockEnd: var(--pf-t--global--spacer--md);
15
- --#{$nav}--PaddingInlineStart: var(--pf-t--global--spacer--md);
16
- --#{$nav}--PaddingInlineEnd: var(--pf-t--global--spacer--md);
15
+ --#{$nav}--PaddingInlineStart: 0;
16
+ --#{$nav}--PaddingInlineEnd: 0;
17
17
  --#{$nav}--RowGap: var(--pf-t--global--spacer--lg);
18
18
  --#{$nav}--ColumnGap: 0;
19
19
  --#{$nav}--AlignItems: baseline;
@@ -126,8 +126,9 @@
126
126
  overflow: hidden;
127
127
  }
128
128
 
129
- &.pf-m-full-width {
130
- width: 100%;
129
+ &.pf-m-inset {
130
+ --#{$nav}--PaddingInlineStart: var(--pf-t--global--spacer--md);
131
+ --#{$nav}--PaddingInlineEnd: var(--pf-t--global--spacer--md);
131
132
  }
132
133
 
133
134
  &.pf-m-fill {
@@ -1,7 +1,6 @@
1
1
  :where(:root, .pf-v6-c-page) {
2
2
  --pf-v6-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
3
- --pf-v6-c-page--inset: var(--pf-t--global--spacer--md);
4
- --pf-v6-c-page--xl--inset: var(--pf-t--global--spacer--xl);
3
+ --pf-v6-c-page--inset: var(--pf-t--global--spacer--inset--page-chrome);
5
4
  --pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
6
5
  --pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
7
6
  --pf-v6-c-page__sidebar--Width: 18.125rem;
@@ -15,6 +14,7 @@
15
14
  --pf-v6-c-page__sidebar--MarginInlineEnd: 0;
16
15
  --pf-v6-c-page__sidebar--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
17
16
  --pf-v6-c-page__sidebar--PaddingInlineStart: 0;
17
+ --pf-v6-c-page__sidebar--PaddingInlineEnd: 0;
18
18
  --pf-v6-c-page__sidebar-header--BorderBlockEndWidth: var(--pf-t--global--border--width--divider--default);
19
19
  --pf-v6-c-page__sidebar-header--BorderBlockEndColor: var(--pf-t--global--border--color--default);
20
20
  --pf-v6-c-page__sidebar-header--PaddingBlockStart: var(--pf-t--global--spacer--sm);
@@ -24,8 +24,8 @@
24
24
  --pf-v6-c-page__sidebar-title--LineHeight: var(--pf-t--global--font--line-height--heading);
25
25
  --pf-v6-c-page__sidebar-title--FontFamily: var(--pf-t--global--font--family--heading);
26
26
  --pf-v6-c-page__sidebar-title--FontWeight: var(--pf-t--global--font--weight--heading--default);
27
- --pf-v6-c-page__sidebar-body--PaddingInlineEnd: 0;
28
- --pf-v6-c-page__sidebar-body--PaddingInlineStart: 0;
27
+ --pf-v6-c-page__sidebar-body--PaddingInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
28
+ --pf-v6-c-page__sidebar-body--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
29
29
  --pf-v6-c-page__sidebar-body--m-page-insets--PaddingInlineEnd: var(--pf-v6-c-page--inset);
30
30
  --pf-v6-c-page__sidebar-body--m-page-insets--PaddingInlineStart: var(--pf-v6-c-page--inset);
31
31
  --pf-v6-c-page__sidebar-body--m-context-selector--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -33,8 +33,8 @@
33
33
  --pf-v6-c-page__main-container--ZIndex: var(--pf-t--global--z-index--xs);
34
34
  --pf-v6-c-page__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
35
35
  --pf-v6-c-page__main-container--BackgroundColor: var(--pf-t--global--background--color--primary--default);
36
- --pf-v6-c-page__main-container--MarginInlineStart: var(--pf-t--global--spacer--lg);
37
- --pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-t--global--spacer--lg);
36
+ --pf-v6-c-page__main-container--MarginInlineStart: var(--pf-v6-c-page--inset);
37
+ --pf-v6-c-page__main-container--MarginInlineEnd: var(--pf-v6-c-page--inset);
38
38
  --pf-v6-c-page__main-container--BorderRadius: var(--pf-t--global--border--radius--large);
39
39
  --pf-v6-c-page__main-container--BorderWidth: var(--pf-t--global--spacer--sm);
40
40
  --pf-v6-c-page__main-container--BorderColor: var(--pf-v6-c-page__main-container--BackgroundColor);
@@ -75,11 +75,6 @@
75
75
  --pf-v6-c-page__main-wizard--BorderBlockStartColor: var(--pf-t--global--border--color--default);
76
76
  --pf-v6-c-page__main-wizard--BorderBlockStartWidth: var(--pf-t--global--border--width--action--default);
77
77
  }
78
- @media (min-width: 75rem) {
79
- :where(:root, .pf-v6-c-page) {
80
- --pf-v6-c-page--inset: var(--pf-v6-c-page--xl--inset);
81
- }
82
- }
83
78
  @media screen and (min-width: 75rem) {
84
79
  :where(:root, .pf-v6-c-page) {
85
80
  --pf-v6-c-page__sidebar--TranslateX: var(--pf-v6-c-page__sidebar--xl--TranslateX);
@@ -99,7 +94,7 @@
99
94
  @media (min-width: 75rem) {
100
95
  .pf-v6-c-page {
101
96
  grid-template-areas: "header header" "sidebar main";
102
- grid-template-columns: max-content 1fr;
97
+ grid-template-columns: var(--pf-v6-c-page__sidebar--Width) 1fr;
103
98
  }
104
99
  }
105
100
 
@@ -107,6 +102,11 @@
107
102
  z-index: var(--pf-v6-c-page--c-masthead--ZIndex);
108
103
  grid-area: header;
109
104
  }
105
+ @media (min-width: 75rem) {
106
+ .pf-v6-c-page > .pf-v6-c-masthead {
107
+ --pf-v6-c-masthead--m-display-inline--GridTemplateColumns: var(--pf-v6-c-masthead--m-display-inline--breakpoint--xl--GridTemplateColumns);
108
+ }
109
+ }
110
110
 
111
111
  .pf-v6-c-page__sidebar {
112
112
  z-index: var(--pf-v6-c-page__sidebar--ZIndex);
@@ -119,6 +119,7 @@
119
119
  padding-block-start: 0;
120
120
  padding-block-end: var(--pf-v6-c-page__sidebar--PaddingBlockEnd);
121
121
  padding-inline-start: var(--pf-v6-c-page__sidebar--PaddingInlineStart);
122
+ padding-inline-end: var(--pf-v6-c-page__sidebar--PaddingInlineEnd);
122
123
  margin-inline-end: var(--pf-v6-c-page__sidebar--MarginInlineEnd);
123
124
  overflow-x: hidden;
124
125
  overflow-y: auto;
@@ -398,6 +399,11 @@
398
399
  border: var(--pf-v6-c-page__main-container--BorderWidth) solid var(--pf-v6-c-page__main-container--BorderColor);
399
400
  border-radius: var(--pf-v6-c-page__main-container--BorderRadius);
400
401
  }
402
+ @media screen and (min-width: 75rem) {
403
+ .pf-v6-c-page__main-container {
404
+ --pf-v6-c-page__main-container--MarginInlineStart: 0;
405
+ }
406
+ }
401
407
  .pf-v6-c-page__main-container.pf-m-fill, .pf-v6-c-page__main-container:has(.pf-v6-c-page__main-wizard) {
402
408
  align-self: stretch;
403
409
  }
@@ -7,16 +7,11 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
7
7
 
8
8
  :where(:root, .#{$page}) {
9
9
  --#{$page}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
10
- --#{$page}--inset: var(--pf-t--global--spacer--md);
11
- --#{$page}--xl--inset: var(--pf-t--global--spacer--xl);
10
+ --#{$page}--inset: var(--pf-t--global--spacer--inset--page-chrome);
12
11
 
13
12
  // Header
14
13
  --#{$page}--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
15
14
 
16
- @media (min-width: $pf-v6-global--breakpoint--xl) {
17
- --#{$page}--inset: var(--#{$page}--xl--inset);
18
- }
19
-
20
15
  // Sidebar
21
16
  --#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
22
17
  --#{$page}__sidebar--Width: #{pf-size-prem(290px)};
@@ -30,6 +25,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
30
25
  --#{$page}__sidebar--MarginInlineEnd: 0;
31
26
  --#{$page}__sidebar--PaddingBlockEnd: var(--pf-t--global--spacer--lg);
32
27
  --#{$page}__sidebar--PaddingInlineStart: 0;
28
+ --#{$page}__sidebar--PaddingInlineEnd: 0;
33
29
 
34
30
 
35
31
  // Sidebar header
@@ -44,8 +40,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
44
40
  --#{$page}__sidebar-title--FontWeight: var(--pf-t--global--font--weight--heading--default);
45
41
 
46
42
  // Sidebar body
47
- --#{$page}__sidebar-body--PaddingInlineEnd: 0;
48
- --#{$page}__sidebar-body--PaddingInlineStart: 0;
43
+ --#{$page}__sidebar-body--PaddingInlineEnd: var(--pf-t--global--spacer--inset--page-chrome);
44
+ --#{$page}__sidebar-body--PaddingInlineStart: var(--pf-t--global--spacer--inset--page-chrome);
49
45
  --#{$page}__sidebar-body--m-page-insets--PaddingInlineEnd: var(--#{$page}--inset);
50
46
  --#{$page}__sidebar-body--m-page-insets--PaddingInlineStart: var(--#{$page}--inset);
51
47
  --#{$page}__sidebar-body--m-context-selector--PaddingInlineEnd: var(--pf-t--global--spacer--md);
@@ -59,8 +55,8 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
59
55
  --#{$page}__main-container--ZIndex: var(--pf-t--global--z-index--xs);
60
56
  --#{$page}__main-container--MaxHeight: calc(100% - var(--pf-t--global--spacer--lg));
61
57
  --#{$page}__main-container--BackgroundColor: var(--pf-t--global--background--color--primary--default);
62
- --#{$page}__main-container--MarginInlineStart: var(--pf-t--global--spacer--lg);
63
- --#{$page}__main-container--MarginInlineEnd: var(--pf-t--global--spacer--lg);
58
+ --#{$page}__main-container--MarginInlineStart: var(--#{$page}--inset);
59
+ --#{$page}__main-container--MarginInlineEnd: var(--#{$page}--inset);
64
60
  --#{$page}__main-container--BorderRadius: var(--pf-t--global--border--radius--large);
65
61
  --#{$page}__main-container--BorderWidth: var(--pf-t--global--spacer--sm); // TODO Change to be a page outline token
66
62
  --#{$page}__main-container--BorderColor: var(--#{$page}__main-container--BackgroundColor); // TODO Border should match the background to blend in - change to be a page outline token
@@ -135,14 +131,19 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
135
131
  grid-template-areas:
136
132
  "header header"
137
133
  "sidebar main";
138
- grid-template-columns: max-content 1fr;
134
+ grid-template-columns: var(--#{$page}__sidebar--Width) 1fr;
139
135
  }
140
- }
136
+ }
141
137
 
142
138
  // Header
143
139
  .#{$page} > .#{$masthead} {
140
+ @media (min-width: $pf-v6-global--breakpoint--xl) {
141
+ --#{$masthead}--m-display-inline--GridTemplateColumns: var(--#{$masthead}--m-display-inline--breakpoint--xl--GridTemplateColumns);
142
+ }
143
+
144
144
  z-index: var(--#{$page}--c-masthead--ZIndex);
145
145
  grid-area: header;
146
+
146
147
  }
147
148
 
148
149
  // Sidebar
@@ -157,6 +158,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
157
158
  padding-block-start: 0;
158
159
  padding-block-end: var(--#{$page}__sidebar--PaddingBlockEnd);
159
160
  padding-inline-start: var(--#{$page}__sidebar--PaddingInlineStart);
161
+ padding-inline-end: var(--#{$page}__sidebar--PaddingInlineEnd);
160
162
  margin-inline-end: var(--#{$page}__sidebar--MarginInlineEnd);
161
163
  overflow-x: hidden;
162
164
  overflow-y: auto;
@@ -318,6 +320,10 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
318
320
  border: var(--#{$page}__main-container--BorderWidth) solid var(--#{$page}__main-container--BorderColor);
319
321
  border-radius: var(--#{$page}__main-container--BorderRadius);
320
322
 
323
+ @media screen and (min-width: $pf-v6-global--breakpoint--xl) {
324
+ --#{$page}__main-container--MarginInlineStart: 0;
325
+ }
326
+
321
327
  &.pf-m-fill,
322
328
  &:has(.#{$page}__main-wizard) {
323
329
  align-self: stretch;
@@ -86,9 +86,11 @@
86
86
  --pf-v6-c-progress-stepper__step--m-danger__step-title--Color: var(--pf-t--global--text--color--status--danger--default);
87
87
  --pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineStart: 0;
88
88
  --pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineEnd: 0;
89
- --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationColor: currentcolor;
90
- --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationThickness: var(--pf-t--global--link--text-decoration);
89
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
90
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
91
91
  --pf-v6-c-progress-stepper__step-title--m-help-text--TextUnderlineOffset: 0.25rem;
92
+ --pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
93
+ --pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
92
94
  --pf-v6-c-progress-stepper__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--brand--hover);
93
95
  --pf-v6-c-progress-stepper__step--m-danger__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--status--danger--hover);
94
96
  --pf-v6-c-progress-stepper__step-description--MarginBlockStart: var(--pf-t--global--spacer--xs);
@@ -314,14 +316,13 @@
314
316
  .pf-v6-c-progress-stepper__step-title.pf-m-help-text {
315
317
  padding-inline-start: var(--pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineStart);
316
318
  padding-inline-end: var(--pf-v6-c-progress-stepper__step-title--m-help-text--PaddingInlineEnd);
317
- text-decoration: underline;
318
- text-decoration-thickness: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationThickness);
319
- text-decoration-style: dashed;
320
- text-decoration-color: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationColor);
319
+ text-decoration: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationLine) var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationStyle);
321
320
  text-underline-offset: var(--pf-v6-c-progress-stepper__step-title--m-help-text--TextUnderlineOffset);
322
321
  cursor: pointer;
323
322
  }
324
- .pf-v6-c-progress-stepper__step-title.pf-m-help-text:hover, .pf-v6-c-progress-stepper__step-title.pf-m-help-text:focus {
323
+ .pf-v6-c-progress-stepper__step-title.pf-m-help-text:is(:hover, :focus) {
324
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationLine: var(--pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationLine);
325
+ --pf-v6-c-progress-stepper__step-title--m-help-text--TextDecorationStyle: var(--pf-v6-c-progress-stepper__step-title--m-help-text--hover--TextDecorationStyle);
325
326
  --pf-v6-c-progress-stepper__step-title--Color: var(--pf-v6-c-progress-stepper__step-title--m-help-text--hover--Color);
326
327
  }
327
328
 
@@ -171,9 +171,11 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
171
171
  // Help text variables for the step title
172
172
  --#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart: 0;
173
173
  --#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd: 0;
174
- --#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: currentcolor;
175
- --#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness: var(--pf-t--global--link--text-decoration);
174
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
175
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
176
176
  --#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
177
+ --#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
178
+ --#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
177
179
  --#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--pf-t--global--text--color--brand--hover);
178
180
 
179
181
  // Help text variables the step title for failure state
@@ -404,15 +406,13 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
404
406
  &.pf-m-help-text {
405
407
  padding-inline-start: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineStart);
406
408
  padding-inline-end: var(--#{$progress-stepper}__step-title--m-help-text--PaddingInlineEnd);
407
- text-decoration: underline;
408
- text-decoration-thickness: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness);
409
- text-decoration-style: dashed;
410
- text-decoration-color: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor);
409
+ text-decoration: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationLine) var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle);
411
410
  text-underline-offset: var(--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset);
412
411
  cursor: pointer;
413
412
 
414
- &:hover,
415
- &:focus {
413
+ &:is(:hover, :focus) {
414
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationLine: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationLine);
415
+ --#{$progress-stepper}__step-title--m-help-text--TextDecorationStyle: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationStyle);
416
416
  --#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--hover--Color);
417
417
  }
418
418
  }
@@ -44,7 +44,7 @@
44
44
  --pf-v6-c-simple-list__item-link--hover--Color: var(--pf-v6-c-simple-list__item-link--m-link--m-current--Color);
45
45
  --pf-v6-c-simple-list__item-link--m-current--Color: var(--pf-v6-c-simple-list__item-link--m-link--hover--Color);
46
46
  }
47
- .pf-v6-c-simple-list__item-link:hover, .pf-v6-c-simple-list__item-link:focus {
47
+ .pf-v6-c-simple-list__item-link:is(:hover, :focus) {
48
48
  --pf-v6-c-simple-list__item-link--BackgroundColor: var(--pf-v6-c-simple-list__item-link--hover--BackgroundColor);
49
49
  --pf-v6-c-simple-list__item-link--Color: var(--pf-v6-c-simple-list__item-link--hover--Color);
50
50
  text-decoration: none;
@@ -54,8 +54,7 @@
54
54
  --#{$simple-list}__item-link--m-current--Color: var(--#{$simple-list}__item-link--m-link--hover--Color);
55
55
  }
56
56
 
57
- &:hover,
58
- &:focus {
57
+ &:is(:hover, :focus) {
59
58
  --#{$simple-list}__item-link--BackgroundColor: var(--#{$simple-list}__item-link--hover--BackgroundColor);
60
59
  --#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--hover--Color);
61
60
 
@@ -541,7 +541,7 @@
541
541
  --pf-v6-c-tabs__link--after--BorderWidth: 0;
542
542
  }
543
543
 
544
- .pf-v6-c-tabs__link:disabled, .pf-v6-c-tabs__link.pf-m-disabled, .pf-v6-c-tabs__link.pf-m-aria-disabled {
544
+ .pf-v6-c-tabs__link:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
545
545
  --pf-v6-c-tabs__link--BackgroundColor: var(--pf-v6-c-tabs__link--disabled--BackgroundColor);
546
546
  }
547
547
  .pf-v6-c-tabs__item.pf-m-action.pf-m-disabled {
@@ -627,9 +627,7 @@ $pf-v6-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
627
627
  --#{$tabs}__link--after--BorderWidth: 0;
628
628
  }
629
629
 
630
- &:disabled,
631
- &.pf-m-disabled,
632
- &.pf-m-aria-disabled {
630
+ &:is(:disabled, .pf-m-disabled, .pf-m-aria-disabled) {
633
631
  --#{$tabs}__link--BackgroundColor: var(--#{$tabs}__link--disabled--BackgroundColor);
634
632
  }
635
633
 
@@ -2,15 +2,12 @@
2
2
  --pf-v6-c-timestamp--FontSize: var(--pf-t--global--font--size--body--sm);
3
3
  --pf-v6-c-timestamp--Color: var(--pf-t--global--text--color--subtle);
4
4
  --pf-v6-c-timestamp--OutlineOffset: 0.1875rem;
5
- --pf-v6-c-timestamp--m-help-text--TextDecorationLine: underline;
6
- --pf-v6-c-timestamp--m-help-text--TextDecorationStyle: dashed;
7
- --pf-v6-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
5
+ --pf-v6-c-timestamp--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
6
+ --pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
8
7
  --pf-v6-c-timestamp--m-help-text--TextUnderlineOffset: 0.25rem;
9
- --pf-v6-c-timestamp--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
10
8
  --pf-v6-c-timestamp--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
11
- --pf-v6-c-timestamp--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
12
- --pf-v6-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
13
- --pf-v6-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
9
+ --pf-v6-c-timestamp--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
10
+ --pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
14
11
  }
15
12
 
16
13
  .pf-v6-c-timestamp {
@@ -20,18 +17,12 @@
20
17
  outline-offset: var(--pf-v6-c-timestamp--OutlineOffset);
21
18
  }
22
19
  .pf-v6-c-timestamp.pf-m-help-text {
23
- text-decoration-line: var(--pf-v6-c-timestamp--m-help-text--TextDecorationLine);
24
- text-decoration-thickness: var(--pf-v6-c-timestamp--m-help-text--TextDecorationThickness);
25
- text-decoration-style: var(--pf-v6-c-timestamp--m-help-text--TextDecorationStyle);
26
- text-decoration-color: var(--pf-v6-c-timestamp--m-help-text--TextDecorationColor);
20
+ text-decoration: var(--pf-v6-c-timestamp--m-help-text--TextDecorationLine) var(--pf-v6-c-timestamp--m-help-text--TextDecorationStyle);
27
21
  text-underline-offset: var(--pf-v6-c-timestamp--m-help-text--TextUnderlineOffset);
28
22
  cursor: pointer;
29
23
  }
30
- .pf-v6-c-timestamp.pf-m-help-text:hover {
24
+ .pf-v6-c-timestamp.pf-m-help-text:is(:hover, :focus) {
31
25
  --pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--hover--Color);
32
- --pf-v6-c-timestamp--m-help-text--TextDecorationColor: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationColor);
33
- }
34
- .pf-v6-c-timestamp.pf-m-help-text:focus {
35
- --pf-v6-c-timestamp--Color: var(--pf-v6-c-timestamp--m-help-text--focus--Color);
36
- --pf-v6-c-timestamp--m-help-text--TextDecorationColor: var(--pf-v6-c-timestamp--m-help-text--focus--TextDecorationColor);
26
+ --pf-v6-c-timestamp--m-help-text--TextDecorationLine: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationLine);
27
+ --pf-v6-c-timestamp--m-help-text--TextDecorationStyle: var(--pf-v6-c-timestamp--m-help-text--hover--TextDecorationStyle);
37
28
  }
@@ -6,15 +6,12 @@
6
6
  --#{$timestamp}--OutlineOffset: #{pf-size-prem(3px)};
7
7
 
8
8
  // Help text variables for the timestamp
9
- --#{$timestamp}--m-help-text--TextDecorationLine: underline;
10
- --#{$timestamp}--m-help-text--TextDecorationStyle: dashed;
11
- --#{$timestamp}--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
9
+ --#{$timestamp}--m-help-text--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--default);
10
+ --#{$timestamp}--m-help-text--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--default);
12
11
  --#{$timestamp}--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
13
- --#{$timestamp}--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
14
12
  --#{$timestamp}--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
15
- --#{$timestamp}--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
16
- --#{$timestamp}--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
17
- --#{$timestamp}--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
13
+ --#{$timestamp}--m-help-text--hover--TextDecorationLine: var(--pf-t--global--text-decoration--help-text--line--hover);
14
+ --#{$timestamp}--m-help-text--hover--TextDecorationStyle: var(--pf-t--global--text-decoration--help-text--style--hover);
18
15
  }
19
16
 
20
17
  .#{$timestamp} {
@@ -24,21 +21,14 @@
24
21
  outline-offset: var(--#{$timestamp}--OutlineOffset);
25
22
 
26
23
  &.pf-m-help-text {
27
- text-decoration-line: var(--#{$timestamp}--m-help-text--TextDecorationLine);
28
- text-decoration-thickness: var(--#{$timestamp}--m-help-text--TextDecorationThickness);
29
- text-decoration-style: var(--#{$timestamp}--m-help-text--TextDecorationStyle);
30
- text-decoration-color: var(--#{$timestamp}--m-help-text--TextDecorationColor);
24
+ text-decoration: var(--#{$timestamp}--m-help-text--TextDecorationLine) var(--#{$timestamp}--m-help-text--TextDecorationStyle);
31
25
  text-underline-offset: var(--#{$timestamp}--m-help-text--TextUnderlineOffset);
32
26
  cursor: pointer;
33
27
 
34
- &:hover {
28
+ &:is(:hover, :focus) {
35
29
  --#{$timestamp}--Color: var(--#{$timestamp}--m-help-text--hover--Color);
36
- --#{$timestamp}--m-help-text--TextDecorationColor: var(--#{$timestamp}--m-help-text--hover--TextDecorationColor);
37
- }
38
-
39
- &:focus {
40
- --#{$timestamp}--Color: var(--#{$timestamp}--m-help-text--focus--Color);
41
- --#{$timestamp}--m-help-text--TextDecorationColor: var(--#{$timestamp}--m-help-text--focus--TextDecorationColor);
30
+ --#{$timestamp}--m-help-text--TextDecorationLine: var(--#{$timestamp}--m-help-text--hover--TextDecorationLine);
31
+ --#{$timestamp}--m-help-text--TextDecorationStyle: var(--#{$timestamp}--m-help-text--hover--TextDecorationStyle);
42
32
  }
43
33
  }
44
34
  }