@patternfly/patternfly 6.3.0-prerelease.2 → 6.3.0-prerelease.21
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/README.md +1 -1
- package/assets/images/icon-help.hbs +3 -0
- package/assets/images/icon-outlined-star.hbs +3 -0
- package/assets/images/icon-star.hbs +3 -0
- package/base/patternfly-common.css +11 -11
- package/base/patternfly-common.scss +12 -12
- package/components/Accordion/accordion.css +71 -1
- package/components/Accordion/accordion.scss +75 -4
- package/components/Alert/alert-group.css +52 -31
- package/components/Alert/alert-group.scss +77 -46
- package/components/Button/button.css +27 -0
- package/components/Button/button.scss +30 -1
- package/components/CodeEditor/code-editor.css +3 -0
- package/components/CodeEditor/code-editor.scss +3 -1
- package/components/Drawer/drawer.css +28 -14
- package/components/Drawer/drawer.scss +28 -9
- package/components/DualListSelector/dual-list-selector.css +36 -0
- package/components/DualListSelector/dual-list-selector.scss +43 -0
- package/components/ExpandableSection/expandable-section.css +45 -1
- package/components/ExpandableSection/expandable-section.scss +48 -1
- package/components/MenuToggle/menu-toggle.css +8 -4
- package/components/MenuToggle/menu-toggle.scss +15 -3
- package/components/Page/page.css +4 -3
- package/components/Page/page.scss +4 -2
- package/components/ProgressStepper/progress-stepper.scss +1 -0
- package/components/Skeleton/skeleton.css +22 -2
- package/components/Skeleton/skeleton.scss +25 -3
- package/components/Spinner/spinner.css +5 -0
- package/components/Spinner/spinner.scss +6 -0
- package/components/Table/table-grid.css +6 -5
- package/components/Table/table-grid.scss +2 -1
- package/components/Table/table.css +33 -0
- package/components/Table/table.scss +33 -0
- package/components/Tabs/tabs.css +25 -15
- package/components/Tabs/tabs.scss +26 -13
- package/components/Timestamp/timestamp.css +4 -0
- package/components/Timestamp/timestamp.scss +7 -0
- package/components/TreeView/tree-view.css +33 -0
- package/components/TreeView/tree-view.scss +36 -2
- package/components/Truncate/truncate.css +6 -0
- package/components/Truncate/truncate.scss +9 -0
- package/components/_index.css +408 -76
- package/docs/components/Button/examples/Button.md +73 -3
- package/docs/components/CodeEditor/examples/CodeEditor.md +26 -2
- package/docs/components/Divider/examples/Divider.md +1 -1
- package/docs/components/Drawer/examples/Drawer.md +4 -0
- package/docs/components/DualListSelector/examples/DualListSelector.md +518 -0
- package/docs/components/Form/examples/Form.md +156 -12
- package/docs/components/Menu/examples/Menu.md +120 -4
- package/docs/components/MenuToggle/examples/MenuToggle.md +3 -4
- package/docs/components/ModalBox/examples/ModalBox.md +13 -1
- package/docs/components/Page/examples/Page.md +1 -0
- package/docs/components/ProgressStepper/examples/ProgressStepper.md +32 -6
- package/docs/components/Spinner/examples/Spinner.md +10 -0
- package/docs/components/Table/examples/Table.md +330 -16
- package/docs/components/Tabs/examples/Tabs.md +1214 -6729
- package/docs/components/Truncate/examples/Truncate.md +53 -10
- package/docs/demos/Card/examples/Card.md +0 -57
- package/docs/demos/DescriptionList/examples/DescriptionList.md +0 -38
- package/docs/demos/Drawer/examples/Drawer.md +0 -38
- package/docs/demos/Form/examples/BasicForms.md +130 -10
- package/docs/demos/Masthead/examples/Masthead.md +1 -1
- package/docs/demos/Modal/examples/Modal.md +39 -3
- package/docs/demos/Nav/examples/Nav.md +2 -2
- package/docs/demos/Page/examples/Page.md +355 -0
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +13 -1
- package/docs/demos/PrimaryDetail/examples/PrimaryDetail.md +0 -76
- package/docs/demos/Table/examples/Table.md +67 -23
- package/docs/demos/Tabs/examples/Tabs.md +0 -570
- package/package.json +6 -6
- package/patternfly-base-no-globals.css +11 -11
- package/patternfly-base.css +11 -11
- package/patternfly-no-globals.css +419 -87
- package/patternfly.css +419 -87
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
|
@@ -9,6 +9,18 @@
|
|
|
9
9
|
--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: 0;
|
|
10
10
|
--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate: 90deg;
|
|
11
11
|
--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
|
12
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: 0s;
|
|
13
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
14
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: 0s;
|
|
15
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
16
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--slide: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide);
|
|
17
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
|
|
18
|
+
--pf-v6-c-expandable-section__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
19
|
+
--pf-v6-c-expandable-section__content--TransitionDelay--hide: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade);
|
|
20
|
+
--pf-v6-c-expandable-section__content--Opacity: 0;
|
|
21
|
+
--pf-v6-c-expandable-section__content--TranslateY: 0;
|
|
22
|
+
--pf-v6-c-expandable-section--m-expanded__content--Opacity: 1;
|
|
23
|
+
--pf-v6-c-expandable-section--m-expanded__content--TranslateY: 0;
|
|
12
24
|
--pf-v6-c-expandable-section__content--MaxWidth: auto;
|
|
13
25
|
--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth: 46.875rem;
|
|
14
26
|
--pf-v6-c-expandable-section--m-display-lg--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -20,20 +32,39 @@
|
|
|
20
32
|
--pf-v6-c-expandable-section--m-display-lg--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
21
33
|
--pf-v6-c-expandable-section--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
|
22
34
|
--pf-v6-c-expandable-section--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
35
|
+
--pf-v6-c-expandable-section--m-display-lg--TransitionDelay: var(--pf-v6-c-expandable-section__content--TransitionDuration--collapse--fade);
|
|
23
36
|
--pf-v6-c-expandable-section--m-indented__content--PaddingInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) + var(--pf-t--global--spacer--gap--text-to-element--default) + var(--pf-v6-c-expandable-section__toggle-icon--MinWidth));
|
|
24
37
|
--pf-v6-c-expandable-section--m-truncate__content--LineClamp: 3;
|
|
25
38
|
--pf-v6-c-expandable-section--m-truncate--Gap: var(--pf-t--global--spacer--xs);
|
|
26
39
|
}
|
|
40
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
41
|
+
.pf-v6-c-expandable-section {
|
|
42
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
43
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
44
|
+
--pf-v6-c-expandable-section__content--TranslateY: -.5rem;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
27
47
|
|
|
28
48
|
.pf-v6-c-expandable-section {
|
|
29
49
|
display: flex;
|
|
30
50
|
flex-direction: column;
|
|
31
|
-
gap:
|
|
51
|
+
gap: 0;
|
|
52
|
+
transition-delay: var(--pf-v6-c-expandable-section__content--TransitionDelay--hide);
|
|
53
|
+
transition-duration: 0s;
|
|
54
|
+
transition-property: gap, padding-block-end;
|
|
32
55
|
}
|
|
33
56
|
.pf-v6-c-expandable-section.pf-m-expanded {
|
|
34
57
|
--pf-v6-c-expandable-section__toggle-icon--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--Rotate);
|
|
35
58
|
--pf-v6-c-expandable-section__toggle-icon--m-expand-top--Rotate: var(--pf-v6-c-expandable-section--m-expanded__toggle-icon--m-expand-top--Rotate);
|
|
36
59
|
--pf-v6-c-expandable-section--m-display-lg--PaddingBlockEnd: var(--pf-v6-c-expandable-section--m-display-lg--m-expanded--PaddingBlockEnd);
|
|
60
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--slide: var(--pf-v6-c-expandable-section__content--TransitionDuration--expand--slide);
|
|
61
|
+
--pf-v6-c-expandable-section__content--TransitionDuration--fade: var(--pf-v6-c-expandable-section__content--TransitionDuration--expand--fade);
|
|
62
|
+
--pf-v6-c-expandable-section__content--Opacity: var(--pf-v6-c-expandable-section--m-expanded__content--Opacity);
|
|
63
|
+
--pf-v6-c-expandable-section__content--TranslateY: var(--pf-v6-c-expandable-section--m-expanded__content--TranslateY);
|
|
64
|
+
--pf-v6-c-expandable-section__content--Visibility: auto;
|
|
65
|
+
--pf-v6-c-expandable-section__content--MaxHeight: 9999px;
|
|
66
|
+
--pf-v6-c-expandable-section__content--TransitionDelay--hide: 0s;
|
|
67
|
+
gap: var(--pf-v6-c-expandable-section--Gap);
|
|
37
68
|
}
|
|
38
69
|
.pf-v6-c-expandable-section.pf-m-limit-width {
|
|
39
70
|
--pf-v6-c-expandable-section__content--MaxWidth: var(--pf-v6-c-expandable-section--m-limit-width__content--MaxWidth);
|
|
@@ -79,4 +110,17 @@
|
|
|
79
110
|
max-width: var(--pf-v6-c-expandable-section__content--MaxWidth);
|
|
80
111
|
padding-block-end: var(--pf-v6-c-expandable-section__content--PaddingBlockEnd, 0);
|
|
81
112
|
padding-inline-start: var(--pf-v6-c-expandable-section__content--PaddingInlineStart, 0);
|
|
113
|
+
}
|
|
114
|
+
.pf-v6-c-expandable-section__content:where([hidden]) {
|
|
115
|
+
display: revert;
|
|
116
|
+
}
|
|
117
|
+
.pf-v6-c-expandable-section:where(:not(.pf-m-truncate)) .pf-v6-c-expandable-section__content {
|
|
118
|
+
max-height: var(--pf-v6-c-expandable-section__content--MaxHeight, 0);
|
|
119
|
+
visibility: var(--pf-v6-c-expandable-section__content--Visibility, hidden);
|
|
120
|
+
opacity: var(--pf-v6-c-expandable-section__content--Opacity);
|
|
121
|
+
transition-delay: 0s, 0s, var(--pf-v6-c-expandable-section__content--TransitionDelay--hide, 0s), var(--pf-v6-c-expandable-section__content--TransitionDelay--hide, 0s);
|
|
122
|
+
transition-timing-function: var(--pf-v6-c-expandable-section__content--TransitionTimingFunction);
|
|
123
|
+
transition-duration: var(--pf-v6-c-expandable-section__content--TransitionDuration--fade), var(--pf-v6-c-expandable-section__content--TransitionDuration--slide), 0s, 0s;
|
|
124
|
+
transition-property: opacity, translate, visibility, max-height;
|
|
125
|
+
translate: 0 var(--pf-v6-c-expandable-section__content--TranslateY);
|
|
82
126
|
}
|
|
@@ -13,6 +13,24 @@
|
|
|
13
13
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: 0;
|
|
14
14
|
--#{$expandable-section}--m-expanded__toggle-icon--Rotate: 90deg;
|
|
15
15
|
--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate: -90deg;
|
|
16
|
+
--#{$expandable-section}__content--TransitionDuration--collapse--slide: 0s;
|
|
17
|
+
--#{$expandable-section}__content--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
18
|
+
--#{$expandable-section}__content--TransitionDuration--expand--slide: 0s;
|
|
19
|
+
--#{$expandable-section}__content--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
20
|
+
--#{$expandable-section}__content--TransitionDuration--slide: var(--#{$expandable-section}__content--TransitionDuration--collapse--slide);
|
|
21
|
+
--#{$expandable-section}__content--TransitionDuration--fade: var(--#{$expandable-section}__content--TransitionDuration--collapse--fade);
|
|
22
|
+
--#{$expandable-section}__content--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
23
|
+
--#{$expandable-section}__content--TransitionDelay--hide: var(--#{$expandable-section}__content--TransitionDuration--fade);
|
|
24
|
+
--#{$expandable-section}__content--Opacity: 0;
|
|
25
|
+
--#{$expandable-section}__content--TranslateY: 0;
|
|
26
|
+
--#{$expandable-section}--m-expanded__content--Opacity: 1;
|
|
27
|
+
--#{$expandable-section}--m-expanded__content--TranslateY: 0;
|
|
28
|
+
|
|
29
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
30
|
+
--#{$expandable-section}__content--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
31
|
+
--#{$expandable-section}__content--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
32
|
+
--#{$expandable-section}__content--TranslateY: -.5rem;
|
|
33
|
+
}
|
|
16
34
|
|
|
17
35
|
// Content
|
|
18
36
|
--#{$expandable-section}__content--MaxWidth: auto;
|
|
@@ -30,6 +48,7 @@
|
|
|
30
48
|
--#{$expandable-section}--m-display-lg--BorderWidth: var(--pf-t--global--border--width--box--default);
|
|
31
49
|
--#{$expandable-section}--m-display-lg--BorderColor: var(--pf-t--global--border--color--default);
|
|
32
50
|
--#{$expandable-section}--m-display-lg--BorderRadius: var(--pf-t--global--border--radius--medium);
|
|
51
|
+
--#{$expandable-section}--m-display-lg--TransitionDelay: var(--#{$expandable-section}__content--TransitionDuration--collapse--fade);
|
|
33
52
|
|
|
34
53
|
// Indented
|
|
35
54
|
--#{$expandable-section}--m-indented__content--PaddingInlineStart: calc(var(--pf-t--global--spacer--action--horizontal--plain--default) + var(--pf-t--global--spacer--gap--text-to-element--default) + var(--#{$expandable-section}__toggle-icon--MinWidth));
|
|
@@ -42,12 +61,24 @@
|
|
|
42
61
|
.#{$expandable-section} {
|
|
43
62
|
display: flex;
|
|
44
63
|
flex-direction: column;
|
|
45
|
-
gap:
|
|
64
|
+
gap: 0;
|
|
65
|
+
transition-delay: var(--#{$expandable-section}__content--TransitionDelay--hide);
|
|
66
|
+
transition-duration: 0s;
|
|
67
|
+
transition-property: gap, padding-block-end;
|
|
46
68
|
|
|
47
69
|
&.pf-m-expanded {
|
|
48
70
|
--#{$expandable-section}__toggle-icon--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--Rotate);
|
|
49
71
|
--#{$expandable-section}__toggle-icon--m-expand-top--Rotate: var(--#{$expandable-section}--m-expanded__toggle-icon--m-expand-top--Rotate);
|
|
50
72
|
--#{$expandable-section}--m-display-lg--PaddingBlockEnd: var(--#{$expandable-section}--m-display-lg--m-expanded--PaddingBlockEnd);
|
|
73
|
+
--#{$expandable-section}__content--TransitionDuration--slide: var(--#{$expandable-section}__content--TransitionDuration--expand--slide);
|
|
74
|
+
--#{$expandable-section}__content--TransitionDuration--fade: var(--#{$expandable-section}__content--TransitionDuration--expand--fade);
|
|
75
|
+
--#{$expandable-section}__content--Opacity: var(--#{$expandable-section}--m-expanded__content--Opacity);
|
|
76
|
+
--#{$expandable-section}__content--TranslateY: var(--#{$expandable-section}--m-expanded__content--TranslateY);
|
|
77
|
+
--#{$expandable-section}__content--Visibility: auto;
|
|
78
|
+
--#{$expandable-section}__content--MaxHeight: 9999px;
|
|
79
|
+
--#{$expandable-section}__content--TransitionDelay--hide: 0s;
|
|
80
|
+
|
|
81
|
+
gap: var(--pf-v6-c-expandable-section--Gap);
|
|
51
82
|
}
|
|
52
83
|
|
|
53
84
|
&.pf-m-limit-width {
|
|
@@ -70,6 +101,7 @@
|
|
|
70
101
|
|
|
71
102
|
&.pf-m-truncate {
|
|
72
103
|
--#{$expandable-section}--Gap: var(--#{$expandable-section}--m-truncate--Gap);
|
|
104
|
+
|
|
73
105
|
&:not(.pf-m-expanded) .#{$expandable-section}__content {
|
|
74
106
|
// stylelint-disable
|
|
75
107
|
display: -webkit-box;
|
|
@@ -99,4 +131,19 @@
|
|
|
99
131
|
max-width: var(--#{$expandable-section}__content--MaxWidth);
|
|
100
132
|
padding-block-end: var(--#{$expandable-section}__content--PaddingBlockEnd, 0);
|
|
101
133
|
padding-inline-start: var(--#{$expandable-section}__content--PaddingInlineStart, 0);
|
|
134
|
+
|
|
135
|
+
&:where([hidden]) {
|
|
136
|
+
display: revert;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.#{$expandable-section}:where(:not(.pf-m-truncate)) & {
|
|
140
|
+
max-height: var(--#{$expandable-section}__content--MaxHeight, 0);
|
|
141
|
+
visibility: var(--#{$expandable-section}__content--Visibility, hidden);
|
|
142
|
+
opacity: var(--#{$expandable-section}__content--Opacity);
|
|
143
|
+
transition-delay: 0s, 0s, var(--#{$expandable-section}__content--TransitionDelay--hide, 0s), var(--#{$expandable-section}__content--TransitionDelay--hide, 0s);
|
|
144
|
+
transition-timing-function: var(--#{$expandable-section}__content--TransitionTimingFunction);
|
|
145
|
+
transition-duration: var(--#{$expandable-section}__content--TransitionDuration--fade), var(--#{$expandable-section}__content--TransitionDuration--slide), 0s, 0s;
|
|
146
|
+
transition-property: opacity, translate, visibility, max-height;
|
|
147
|
+
translate: 0 var(--#{$expandable-section}__content--TranslateY);
|
|
148
|
+
}
|
|
102
149
|
}
|
|
@@ -450,16 +450,20 @@
|
|
|
450
450
|
flex-wrap: nowrap;
|
|
451
451
|
}
|
|
452
452
|
|
|
453
|
-
.pf-v6-c-menu-toggle__icon {
|
|
454
|
-
flex-shrink: 0;
|
|
455
|
-
}
|
|
456
453
|
.pf-v6-c-menu-toggle__icon.pf-m-avatar .pf-v6-c-avatar,
|
|
457
454
|
.pf-v6-c-menu-toggle__icon.pf-m-avatar img,
|
|
458
|
-
.pf-v6-c-menu-toggle__icon.pf-m-avatar svg {
|
|
455
|
+
.pf-v6-c-menu-toggle__icon.pf-m-avatar svg, .pf-v6-c-menu-toggle:not(.pf-m-plain) .pf-v6-c-menu-toggle__icon {
|
|
459
456
|
margin-block-start: calc(var(--pf-v6-c-menu-toggle--PaddingBlockStart) * -1);
|
|
460
457
|
margin-block-end: calc(var(--pf-v6-c-menu-toggle--PaddingBlockEnd) * -1);
|
|
461
458
|
}
|
|
462
459
|
|
|
460
|
+
.pf-v6-c-menu-toggle__icon {
|
|
461
|
+
flex-shrink: 0;
|
|
462
|
+
}
|
|
463
|
+
.pf-v6-c-menu-toggle__icon :where(picture, img) {
|
|
464
|
+
vertical-align: middle;
|
|
465
|
+
}
|
|
466
|
+
|
|
463
467
|
.pf-v6-c-menu-toggle__controls {
|
|
464
468
|
display: flex;
|
|
465
469
|
gap: var(--pf-v6-c-menu-toggle__controls--Gap);
|
|
@@ -567,17 +567,29 @@
|
|
|
567
567
|
flex-wrap: nowrap;
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
+
%pf-v6-menu-toggle__icon--MarginBlock {
|
|
571
|
+
margin-block-start: calc(var(--#{$menu-toggle}--PaddingBlockStart) * -1);
|
|
572
|
+
margin-block-end: calc(var(--#{$menu-toggle}--PaddingBlockEnd) * -1);
|
|
573
|
+
}
|
|
574
|
+
|
|
570
575
|
.#{$menu-toggle}__icon {
|
|
571
576
|
flex-shrink: 0;
|
|
572
|
-
|
|
577
|
+
|
|
578
|
+
@at-root .#{$menu-toggle}:not(.pf-m-plain) & {
|
|
579
|
+
@extend %pf-v6-menu-toggle__icon--MarginBlock;
|
|
580
|
+
}
|
|
581
|
+
|
|
573
582
|
&.pf-m-avatar {
|
|
574
583
|
.#{$avatar},
|
|
575
584
|
img,
|
|
576
585
|
svg {
|
|
577
|
-
|
|
578
|
-
margin-block-end: calc(var(--#{$menu-toggle}--PaddingBlockEnd) * -1);
|
|
586
|
+
@extend %pf-v6-menu-toggle__icon--MarginBlock;
|
|
579
587
|
}
|
|
580
588
|
}
|
|
589
|
+
|
|
590
|
+
:where(picture, img) {
|
|
591
|
+
vertical-align: middle;
|
|
592
|
+
}
|
|
581
593
|
}
|
|
582
594
|
|
|
583
595
|
// - Menu toggle controls
|
package/components/Page/page.css
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
--pf-v6-c-page--inset: var(--pf-t--global--spacer--inset--page-chrome);
|
|
4
4
|
--pf-v6-c-page--c-masthead--ZIndex: var(--pf-t--global--z-index--md);
|
|
5
5
|
--pf-v6-c-page__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
6
|
-
--pf-v6-c-page__sidebar--Width: 18.125rem;
|
|
7
|
-
--pf-v6-c-page__sidebar--
|
|
6
|
+
--pf-v6-c-page__sidebar--Width--base: 18.125rem;
|
|
7
|
+
--pf-v6-c-page__sidebar--Width: var(--pf-v6-c-page__sidebar--Width--base);
|
|
8
|
+
--pf-v6-c-page__sidebar--xl--Width: var(--pf-v6-c-page__sidebar--Width--base);
|
|
8
9
|
--pf-v6-c-page__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
10
|
--pf-v6-c-page__sidebar--BoxShadow: none;
|
|
10
11
|
--pf-v6-c-page__sidebar--TransitionDuration: var(--pf-t--global--motion--duration--slide-in--default);
|
|
@@ -432,7 +433,7 @@
|
|
|
432
433
|
-webkit-overflow-scrolling: touch;
|
|
433
434
|
}
|
|
434
435
|
@media screen and (min-width: 75rem) {
|
|
435
|
-
.pf-v6-c-masthead + .pf-v6-c-page__main-container, .pf-v6-c-page__sidebar.pf-m-collapsed + .pf-v6-c-page__main-container,
|
|
436
|
+
.pf-v6-c-page.pf-m-no-sidebar, .pf-v6-c-masthead + .pf-v6-c-page__main-container, .pf-v6-c-page__sidebar.pf-m-collapsed + .pf-v6-c-page__main-container,
|
|
436
437
|
.pf-v6-c-masthead + .pf-v6-c-page__drawer,
|
|
437
438
|
.pf-v6-c-page__sidebar.pf-m-collapsed + .pf-v6-c-page__drawer {
|
|
438
439
|
--pf-v6-c-page__main-container--GridArea: var(--pf-v6-c-page--masthead--main-container--GridArea);
|
|
@@ -14,8 +14,9 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
14
14
|
|
|
15
15
|
// Sidebar
|
|
16
16
|
--#{$page}__sidebar--ZIndex: var(--pf-t--global--z-index--sm);
|
|
17
|
-
--#{$page}__sidebar--Width: #{pf-size-prem(290px)};
|
|
18
|
-
--#{$page}__sidebar--
|
|
17
|
+
--#{$page}__sidebar--Width--base: #{pf-size-prem(290px)};
|
|
18
|
+
--#{$page}__sidebar--Width: var(--#{$page}__sidebar--Width--base);
|
|
19
|
+
--#{$page}__sidebar--xl--Width: var(--#{$page}__sidebar--Width--base);
|
|
19
20
|
--#{$page}__sidebar--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
20
21
|
--#{$page}__sidebar--BoxShadow: none;
|
|
21
22
|
|
|
@@ -352,6 +353,7 @@ $pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg
|
|
|
352
353
|
-webkit-overflow-scrolling: touch;
|
|
353
354
|
|
|
354
355
|
@media screen and (min-width: $pf-v6-global--breakpoint--xl) {
|
|
356
|
+
@at-root .#{$page}.pf-m-no-sidebar,
|
|
355
357
|
.#{$masthead} + &,
|
|
356
358
|
.#{$page}__sidebar.pf-m-collapsed + & {
|
|
357
359
|
--#{$page}__main-container--GridArea: var(--#{$page}--masthead--main-container--GridArea);
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
12
12
|
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
13
13
|
--pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
|
14
|
-
--pf-v6-c-skeleton--after--TranslateX:
|
|
15
|
-
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
|
|
14
|
+
--pf-v6-c-skeleton--after--TranslateX: 0;
|
|
15
|
+
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading-reduced-motion;
|
|
16
16
|
--pf-v6-c-skeleton--after--AnimationDuration: 3s;
|
|
17
17
|
--pf-v6-c-skeleton--after--AnimationIterationCount: infinite;
|
|
18
18
|
--pf-v6-c-skeleton--after--AnimationTimingFunction: linear;
|
|
@@ -44,6 +44,15 @@
|
|
|
44
44
|
--pf-v6-c-skeleton--m-height-75--Height: 75%;
|
|
45
45
|
--pf-v6-c-skeleton--m-height-100--Height: 100%;
|
|
46
46
|
}
|
|
47
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
48
|
+
.pf-v6-c-skeleton {
|
|
49
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
50
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
51
|
+
--pf-v6-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
|
52
|
+
--pf-v6-c-skeleton--after--TranslateX: -100%;
|
|
53
|
+
--pf-v6-c-skeleton--after--AnimationName: pf-v6-c-skeleton-loading;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
47
56
|
|
|
48
57
|
.pf-v6-c-skeleton {
|
|
49
58
|
position: relative;
|
|
@@ -163,4 +172,15 @@
|
|
|
163
172
|
100% {
|
|
164
173
|
transform: translateX(100%);
|
|
165
174
|
}
|
|
175
|
+
}
|
|
176
|
+
@keyframes pf-v6-c-skeleton-loading-reduced-motion {
|
|
177
|
+
0% {
|
|
178
|
+
opacity: 0.25;
|
|
179
|
+
}
|
|
180
|
+
60% {
|
|
181
|
+
opacity: 1;
|
|
182
|
+
}
|
|
183
|
+
100% {
|
|
184
|
+
opacity: 0.25;
|
|
185
|
+
}
|
|
166
186
|
}
|
|
@@ -14,15 +14,23 @@
|
|
|
14
14
|
// After
|
|
15
15
|
--#{$skeleton}--after--LinearGradientAngle: 90deg;
|
|
16
16
|
--#{$skeleton}--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
17
|
-
--#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
17
|
+
--#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
18
18
|
--#{$skeleton}--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
|
19
|
-
--#{$skeleton}--after--TranslateX:
|
|
20
|
-
--#{$skeleton}--after--AnimationName: #{$skeleton}-loading;
|
|
19
|
+
--#{$skeleton}--after--TranslateX: 0;
|
|
20
|
+
--#{$skeleton}--after--AnimationName: #{$skeleton}-loading-reduced-motion;
|
|
21
21
|
--#{$skeleton}--after--AnimationDuration: 3s;
|
|
22
22
|
--#{$skeleton}--after--AnimationIterationCount: infinite;
|
|
23
23
|
--#{$skeleton}--after--AnimationTimingFunction: linear;
|
|
24
24
|
--#{$skeleton}--after--AnimationDelay: .5s;
|
|
25
25
|
|
|
26
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
27
|
+
--#{$skeleton}--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
|
28
|
+
--#{$skeleton}--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
|
29
|
+
--#{$skeleton}--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
|
30
|
+
--#{$skeleton}--after--TranslateX: -100%;
|
|
31
|
+
--#{$skeleton}--after--AnimationName: #{$skeleton}-loading;
|
|
32
|
+
}
|
|
33
|
+
|
|
26
34
|
// Circle
|
|
27
35
|
--#{$skeleton}--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
|
|
28
36
|
--#{$skeleton}--m-circle--before--PaddingBlockEnd: 100%;
|
|
@@ -209,3 +217,17 @@
|
|
|
209
217
|
transform: translateX(100%);
|
|
210
218
|
}
|
|
211
219
|
}
|
|
220
|
+
|
|
221
|
+
@keyframes #{$skeleton}-loading-reduced-motion {
|
|
222
|
+
0% {
|
|
223
|
+
opacity: 0.25;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
60% {
|
|
227
|
+
opacity: 1;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
100% {
|
|
231
|
+
opacity: 0.25;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--pf-v6-c-spinner--StrokeWidth: 10;
|
|
9
9
|
--pf-v6-c-spinner__path--StrokeWidth: var(--pf-v6-c-spinner--StrokeWidth);
|
|
10
10
|
--pf-v6-c-spinner__path--AnimationTimingFunction: ease-in-out;
|
|
11
|
+
--pf-v6-c-spinner--m-xs--diameter: var(--pf-t--global--icon--size--sm);
|
|
11
12
|
--pf-v6-c-spinner--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
|
12
13
|
--pf-v6-c-spinner--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
|
13
14
|
--pf-v6-c-spinner--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
|
@@ -24,6 +25,10 @@
|
|
|
24
25
|
.pf-v6-c-spinner.pf-m-inline {
|
|
25
26
|
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-inline--diameter);
|
|
26
27
|
}
|
|
28
|
+
.pf-v6-c-spinner.pf-m-xs {
|
|
29
|
+
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-xs--diameter);
|
|
30
|
+
--pf-v6-c-spinner--StrokeWidth: 15;
|
|
31
|
+
}
|
|
27
32
|
.pf-v6-c-spinner.pf-m-sm {
|
|
28
33
|
--pf-v6-c-spinner--diameter: var(--pf-v6-c-spinner--m-sm--diameter);
|
|
29
34
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
--#{$spinner}__path--AnimationTimingFunction: ease-in-out;
|
|
15
15
|
|
|
16
16
|
// sizes
|
|
17
|
+
--#{$spinner}--m-xs--diameter: var(--pf-t--global--icon--size--sm);
|
|
17
18
|
--#{$spinner}--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
|
18
19
|
--#{$spinner}--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
|
19
20
|
--#{$spinner}--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
|
@@ -34,6 +35,11 @@
|
|
|
34
35
|
--#{$spinner}--diameter: var(--#{$spinner}--m-inline--diameter);
|
|
35
36
|
}
|
|
36
37
|
|
|
38
|
+
&.pf-m-xs {
|
|
39
|
+
--#{$spinner}--diameter: var(--#{$spinner}--m-xs--diameter);
|
|
40
|
+
--#{$spinner}--StrokeWidth: 15;
|
|
41
|
+
}
|
|
42
|
+
|
|
37
43
|
&.pf-m-sm {
|
|
38
44
|
--#{$spinner}--diameter: var(--#{$spinner}--m-sm--diameter);
|
|
39
45
|
}
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
--pf-v6-c-table--cell--first-child--responsive--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
35
35
|
--pf-v6-c-table--cell--responsive--PaddingInlineEnd: 0;
|
|
36
36
|
--pf-v6-c-table--cell--responsive--PaddingInlineStart: 0;
|
|
37
|
+
--pf-v6-c-table--cell--responsive--th--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
37
38
|
--pf-v6-c-table--m-compact__tr--responsive--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
38
39
|
--pf-v6-c-table--m-compact__tr--responsive--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
39
40
|
--pf-v6-c-table--m-compact__tr__td--responsive--PaddingBlockStart: var(--pf-t--global--spacer--xs);
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
}
|
|
159
160
|
.pf-m-grid.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
|
160
161
|
position: revert;
|
|
161
|
-
font-weight:
|
|
162
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
|
162
163
|
text-align: start;
|
|
163
164
|
content: attr(data-label);
|
|
164
165
|
}
|
|
@@ -458,7 +459,7 @@
|
|
|
458
459
|
}
|
|
459
460
|
.pf-m-grid-md.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
|
460
461
|
position: revert;
|
|
461
|
-
font-weight:
|
|
462
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
|
462
463
|
text-align: start;
|
|
463
464
|
content: attr(data-label);
|
|
464
465
|
}
|
|
@@ -761,7 +762,7 @@
|
|
|
761
762
|
}
|
|
762
763
|
.pf-m-grid-lg.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
|
763
764
|
position: revert;
|
|
764
|
-
font-weight:
|
|
765
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
|
765
766
|
text-align: start;
|
|
766
767
|
content: attr(data-label);
|
|
767
768
|
}
|
|
@@ -1064,7 +1065,7 @@
|
|
|
1064
1065
|
}
|
|
1065
1066
|
.pf-m-grid-xl.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
|
1066
1067
|
position: revert;
|
|
1067
|
-
font-weight:
|
|
1068
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
|
1068
1069
|
text-align: start;
|
|
1069
1070
|
content: attr(data-label);
|
|
1070
1071
|
}
|
|
@@ -1367,7 +1368,7 @@
|
|
|
1367
1368
|
}
|
|
1368
1369
|
.pf-m-grid-2xl.pf-v6-c-table :where(.pf-v6-c-table__th, .pf-v6-c-table__td)[data-label]::before {
|
|
1369
1370
|
position: revert;
|
|
1370
|
-
font-weight:
|
|
1371
|
+
font-weight: var(--pf-v6-c-table--cell--responsive--th--FontWeight);
|
|
1371
1372
|
text-align: start;
|
|
1372
1373
|
content: attr(data-label);
|
|
1373
1374
|
}
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
--#{$table}--cell--first-child--responsive--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
95
95
|
--#{$table}--cell--responsive--PaddingInlineEnd: 0;
|
|
96
96
|
--#{$table}--cell--responsive--PaddingInlineStart: 0;
|
|
97
|
+
--#{$table}--cell--responsive--th--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
|
97
98
|
|
|
98
99
|
// * Table grid compact table
|
|
99
100
|
--#{$table}--m-compact__tr--responsive--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
@@ -272,7 +273,7 @@
|
|
|
272
273
|
|
|
273
274
|
&::before {
|
|
274
275
|
position: revert;
|
|
275
|
-
font-weight:
|
|
276
|
+
font-weight: var(--#{$table}--cell--responsive--th--FontWeight);
|
|
276
277
|
text-align: start;
|
|
277
278
|
content: attr(data-label);
|
|
278
279
|
}
|
|
@@ -74,6 +74,17 @@
|
|
|
74
74
|
--pf-v6-c-table__action--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
75
75
|
--pf-v6-c-table__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
76
76
|
--pf-v6-c-table__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
77
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: 0s;
|
|
78
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
79
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
80
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
81
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--slide: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide);
|
|
82
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--fade: var(--pf-v6-c-table__expandable-row--TransitionDuration--collapse--fade);
|
|
83
|
+
--pf-v6-c-table__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
84
|
+
--pf-v6-c-table__expandable-row--Opacity: 0;
|
|
85
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity: 1;
|
|
86
|
+
--pf-v6-c-table__expandable-row--TranslateY: 0;
|
|
87
|
+
--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY: 0;
|
|
77
88
|
--pf-v6-c-table__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
78
89
|
--pf-v6-c-table__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
79
90
|
--pf-v6-c-table__expandable-row-content--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
|
@@ -134,6 +145,13 @@
|
|
|
134
145
|
--pf-v6-c-table--m-sticky-header--ZIndex: calc(var(--pf-t--global--z-index--xs) + 1);
|
|
135
146
|
--pf-v6-c-table--m-sticky-header--border--ZIndex: calc(var(--pf-t--global--z-index--xs) + 2);
|
|
136
147
|
}
|
|
148
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
149
|
+
.pf-v6-c-table {
|
|
150
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
151
|
+
--pf-v6-c-table__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
152
|
+
--pf-v6-c-table__expandable-row--TranslateY: -.5rem;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
137
155
|
|
|
138
156
|
.pf-v6-c-table {
|
|
139
157
|
width: 100%;
|
|
@@ -702,6 +720,12 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
702
720
|
.pf-v6-c-table__expandable-row {
|
|
703
721
|
position: relative;
|
|
704
722
|
border-block-end: 0 solid transparent;
|
|
723
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
724
|
+
transition-timing-function: var(--pf-v6-c-table__expandable-row--TransitionTimingFunction);
|
|
725
|
+
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--slide), var(--pf-v6-c-table__expandable-row--TransitionDuration--fade);
|
|
726
|
+
transition-property: opacity, translate, display;
|
|
727
|
+
transition-behavior: allow-discrete;
|
|
728
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
705
729
|
}
|
|
706
730
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__th,
|
|
707
731
|
:not(.pf-v6-c-table__control-row) ~ .pf-v6-c-table__expandable-row > .pf-v6-c-table__td {
|
|
@@ -730,6 +754,15 @@ thead .pf-v6-c-table__check .pf-v6-c-radio.pf-m-standalone {
|
|
|
730
754
|
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
731
755
|
border-block-end-color: var(--pf-v6-c-table__expandable-row--m-expanded--BorderBlockEndColor);
|
|
732
756
|
border-block-end-width: var(--pf-v6-c-table--border-width--base);
|
|
757
|
+
opacity: var(--pf-v6-c-table__tbody--m-expanded__expandable-row--Opacity);
|
|
758
|
+
transition-duration: var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--slide), var(--pf-v6-c-table__expandable-row--TransitionDuration--expand--fade);
|
|
759
|
+
translate: 0 var(--pf-v6-c-table__tbody--m-expanded__expandable-row--TranslateY);
|
|
760
|
+
}
|
|
761
|
+
@starting-style {
|
|
762
|
+
.pf-v6-c-table__expandable-row.pf-m-expanded {
|
|
763
|
+
opacity: var(--pf-v6-c-table__expandable-row--Opacity);
|
|
764
|
+
translate: 0 var(--pf-v6-c-table__expandable-row--TranslateY);
|
|
765
|
+
}
|
|
733
766
|
}
|
|
734
767
|
.pf-v6-c-table__expandable-row:not(.pf-m-expanded) {
|
|
735
768
|
display: none;
|
|
@@ -118,6 +118,25 @@
|
|
|
118
118
|
--#{$table}__action--PaddingInlineStart: var(--pf-t--global--spacer--sm);
|
|
119
119
|
--#{$table}__action--PaddingInlineEnd: var(--pf-t--global--spacer--sm);
|
|
120
120
|
|
|
121
|
+
// * Table expandable row
|
|
122
|
+
--#{$table}__expandable-row--TransitionDuration--expand--slide: 0s;
|
|
123
|
+
--#{$table}__expandable-row--TransitionDuration--expand--fade: var(--pf-t--global--motion--duration--fade--default);
|
|
124
|
+
--#{$table}__expandable-row--TransitionDuration--collapse--slide: 0s;
|
|
125
|
+
--#{$table}__expandable-row--TransitionDuration--collapse--fade: var(--pf-t--global--motion--duration--fade--short);
|
|
126
|
+
--#{$table}__expandable-row--TransitionDuration--slide: var(--#{$table}__expandable-row--TransitionDuration--collapse--slide);
|
|
127
|
+
--#{$table}__expandable-row--TransitionDuration--fade: var(--#{$table}__expandable-row--TransitionDuration--collapse--fade);
|
|
128
|
+
--#{$table}__expandable-row--TransitionTimingFunction: var(--pf-t--global--motion--timing-function--default);
|
|
129
|
+
--#{$table}__expandable-row--Opacity: 0;
|
|
130
|
+
--#{$table}__tbody--m-expanded__expandable-row--Opacity: 1;
|
|
131
|
+
--#{$table}__expandable-row--TranslateY: 0;
|
|
132
|
+
--#{$table}__tbody--m-expanded__expandable-row--TranslateY: 0;
|
|
133
|
+
|
|
134
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
135
|
+
--#{$table}__expandable-row--TransitionDuration--expand--slide: var(--pf-t--global--motion--duration--fade--default);
|
|
136
|
+
--#{$table}__expandable-row--TransitionDuration--collapse--slide: var(--pf-t--global--motion--duration--fade--short);
|
|
137
|
+
--#{$table}__expandable-row--TranslateY: -.5rem;
|
|
138
|
+
}
|
|
139
|
+
|
|
121
140
|
// * Table expandable row content
|
|
122
141
|
--#{$table}__expandable-row-content--PaddingBlockStart: var(--pf-t--global--spacer--md);
|
|
123
142
|
--#{$table}__expandable-row-content--PaddingBlockEnd: var(--pf-t--global--spacer--md);
|
|
@@ -953,6 +972,12 @@
|
|
|
953
972
|
.#{$table}__expandable-row {
|
|
954
973
|
position: relative;
|
|
955
974
|
border-block-end: 0 solid transparent;
|
|
975
|
+
opacity: var(--#{$table}__expandable-row--Opacity);
|
|
976
|
+
transition-timing-function: var(--#{$table}__expandable-row--TransitionTimingFunction);
|
|
977
|
+
transition-duration: var(--#{$table}__expandable-row--TransitionDuration--fade), var(--#{$table}__expandable-row--TransitionDuration--slide), var(--#{$table}__expandable-row--TransitionDuration--fade);
|
|
978
|
+
transition-property: opacity, translate, display;
|
|
979
|
+
transition-behavior: allow-discrete;
|
|
980
|
+
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
956
981
|
|
|
957
982
|
@at-root :not(.#{$table}__control-row) ~ .#{$table}__expandable-row {
|
|
958
983
|
> .#{$table}__th,
|
|
@@ -989,6 +1014,14 @@
|
|
|
989
1014
|
&.pf-m-expanded {
|
|
990
1015
|
border-block-end-color: var(--#{$table}__expandable-row--m-expanded--BorderBlockEndColor);
|
|
991
1016
|
border-block-end-width: var(--#{$table}--border-width--base);
|
|
1017
|
+
opacity: var(--#{$table}__tbody--m-expanded__expandable-row--Opacity);
|
|
1018
|
+
transition-duration: var(--#{$table}__expandable-row--TransitionDuration--expand--fade), var(--#{$table}__expandable-row--TransitionDuration--expand--slide), var(--#{$table}__expandable-row--TransitionDuration--expand--fade);
|
|
1019
|
+
translate: 0 var(--#{$table}__tbody--m-expanded__expandable-row--TranslateY);
|
|
1020
|
+
|
|
1021
|
+
@starting-style {
|
|
1022
|
+
opacity: var(--#{$table}__expandable-row--Opacity);
|
|
1023
|
+
translate: 0 var(--#{$table}__expandable-row--TranslateY);
|
|
1024
|
+
}
|
|
992
1025
|
}
|
|
993
1026
|
|
|
994
1027
|
&:not(.pf-m-expanded) {
|