@patternfly/patternfly 5.0.0-alpha.57 → 5.0.0-alpha.58
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/assets/images/pf_logo.svg +11 -11
- package/base/patternfly-variables.css +3 -1
- package/base/themes/dark/_variables.scss +2 -0
- package/components/Alert/alert.css +7 -7
- package/components/Alert/themes/dark/alert.scss +7 -7
- package/components/AppLauncher/app-launcher.css +1 -0
- package/components/AppLauncher/app-launcher.scss +1 -0
- package/components/Badge/badge.css +1 -0
- package/components/Badge/themes/dark/badge.scss +1 -0
- package/components/Banner/banner.css +6 -8
- package/components/Banner/banner.scss +5 -5
- package/components/Banner/themes/dark/banner.scss +2 -6
- package/components/Button/button.css +4 -0
- package/components/Button/button.scss +2 -0
- package/components/Button/themes/dark/button.scss +4 -2
- package/components/CalendarMonth/calendar-month.css +3 -3
- package/components/CalendarMonth/calendar-month.scss +1 -5
- package/components/CalendarMonth/themes/dark/calendar-month.scss +2 -0
- package/components/DragDrop/drag-drop.css +23 -7
- package/components/DragDrop/drag-drop.scss +36 -17
- package/components/DragDrop/themes/dark/drag-drop.scss +7 -0
- package/components/Dropdown/dropdown.css +2 -0
- package/components/Dropdown/themes/dark/dropdown.scss +2 -0
- package/components/DualListSelector/dual-list-selector.css +9 -3
- package/components/DualListSelector/dual-list-selector.scss +10 -3
- package/components/DualListSelector/themes/dark/dual-list-selector.scss +9 -0
- package/components/FormControl/form-control.css +1 -1
- package/components/FormControl/themes/dark/form-control.scss +1 -1
- package/components/InputGroup/input-group.css +1 -1
- package/components/InputGroup/themes/dark/input-group.scss +1 -1
- package/components/Label/label.css +6 -0
- package/components/Label/themes/dark/label.scss +6 -0
- package/components/Menu/menu.css +0 -1
- package/components/Menu/themes/dark/menu.scss +0 -1
- package/components/MenuToggle/menu-toggle.css +7 -5
- package/components/MenuToggle/menu-toggle.scss +2 -3
- package/components/MenuToggle/themes/dark/menu-toggle.scss +17 -14
- package/components/Nav/nav.css +1 -1
- package/components/Nav/nav.scss +1 -1
- package/components/NotificationBadge/notification-badge.css +1 -0
- package/components/NotificationBadge/themes/dark/notification-badge.scss +1 -0
- package/components/Panel/panel.css +6 -0
- package/components/Panel/panel.scss +9 -0
- package/components/Panel/themes/dark/panel.scss +7 -0
- package/components/Popover/popover.css +1 -1
- package/components/Popover/themes/dark/popover.scss +1 -1
- package/components/ProgressStepper/progress-stepper.css +1 -0
- package/components/ProgressStepper/progress-stepper.scss +240 -239
- package/components/Tabs/tabs.css +1 -0
- package/components/Tabs/themes/dark/tabs.scss +1 -0
- package/components/TextInputGroup/text-input-group.css +8 -0
- package/components/TextInputGroup/text-input-group.scss +7 -0
- package/components/TextInputGroup/themes/dark/text-input-group.scss +11 -0
- package/components/ToggleGroup/themes/dark/toggle-group.scss +1 -0
- package/components/ToggleGroup/toggle-group.css +3 -0
- package/components/ToggleGroup/toggle-group.scss +2 -0
- package/components/Wizard/themes/dark/wizard.scss +0 -2
- package/components/Wizard/wizard.css +2 -4
- package/components/Wizard/wizard.scss +2 -2
- package/docs/components/DualListSelector/examples/DualListSelector.md +1 -1
- package/docs/components/Slider/examples/Slider.md +15 -13
- package/docs/components/TextInputGroup/examples/TextInputGroup.css +4 -0
- package/package.json +2 -2
- package/patternfly-base-no-globals.css +3 -1
- package/patternfly-base.css +3 -1
- package/patternfly-no-globals.css +150 -43
- package/patternfly.css +150 -43
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/mixins.scss +3 -1
- package/sass-utilities/themes/dark/scss-variables.scss +7 -2
|
@@ -3,183 +3,183 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
3
3
|
|
|
4
4
|
// Default layout is vertical
|
|
5
5
|
@mixin pf-v5-c-progress-stepper--m-vertical {
|
|
6
|
-
--#{$progress
|
|
7
|
-
--#{$progress
|
|
8
|
-
--#{$progress}-
|
|
9
|
-
--#{$progress}-
|
|
10
|
-
--#{$progress}-
|
|
11
|
-
--#{$progress}-
|
|
12
|
-
--#{$progress}-
|
|
13
|
-
--#{$progress}-
|
|
14
|
-
--#{$progress}-
|
|
15
|
-
--#{$progress}-
|
|
16
|
-
--#{$progress}-
|
|
17
|
-
--#{$progress}-
|
|
18
|
-
--#{$progress}-
|
|
19
|
-
--#{$progress}-
|
|
20
|
-
--#{$progress}-
|
|
6
|
+
--#{$progress-stepper}--GridAutoFlow: var(--#{$progress-stepper}--m-vertical--GridAutoFlow);
|
|
7
|
+
--#{$progress-stepper}--GridTemplateColumns: var(--#{$progress-stepper}--m-vertical--GridTemplateColumns);
|
|
8
|
+
--#{$progress-stepper}__step-connector--before--Top: var(--#{$progress-stepper}--m-vertical__step-connector--before--Top);
|
|
9
|
+
--#{$progress-stepper}__step-connector--before--Left: var(--#{$progress-stepper}--m-vertical__step-connector--before--Left);
|
|
10
|
+
--#{$progress-stepper}__step-connector--before--Width: var(--#{$progress-stepper}--m-vertical__step-connector--before--Width);
|
|
11
|
+
--#{$progress-stepper}__step-connector--before--Height: var(--#{$progress-stepper}--m-vertical__step-connector--before--Height);
|
|
12
|
+
--#{$progress-stepper}__step-connector--before--BorderRightWidth: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightWidth);
|
|
13
|
+
--#{$progress-stepper}__step-connector--before--BorderRightColor: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightColor);
|
|
14
|
+
--#{$progress-stepper}__step-connector--before--BorderBottomWidth: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderBottomWidth);
|
|
15
|
+
--#{$progress-stepper}__step-connector--before--BorderBottomColor: var(--#{$progress-stepper}--m-vertical__step-connector--before--BorderBottomColor);
|
|
16
|
+
--#{$progress-stepper}__step-connector--before--Transform: var(--#{$progress-stepper}--m-vertical__step-connector--before--Transform);
|
|
17
|
+
--#{$progress-stepper}__step-main--MarginTop: var(--#{$progress-stepper}--m-vertical__step-main--MarginTop);
|
|
18
|
+
--#{$progress-stepper}__step-main--MarginRight: var(--#{$progress-stepper}--m-vertical__step-main--MarginRight);
|
|
19
|
+
--#{$progress-stepper}__step-main--MarginBottom: var(--#{$progress-stepper}--m-vertical__step-main--MarginBottom);
|
|
20
|
+
--#{$progress-stepper}__step-main--MarginLeft: var(--#{$progress-stepper}--m-vertical__step-main--MarginLeft);
|
|
21
21
|
|
|
22
22
|
// Compact vertical
|
|
23
|
-
--#{$progress
|
|
24
|
-
--#{$progress
|
|
25
|
-
--#{$progress
|
|
23
|
+
--#{$progress-stepper}--m-compact--GridTemplateColumns: var(--#{$progress-stepper}--m-vertical--m-compact--GridTemplateColumns);
|
|
24
|
+
--#{$progress-stepper}--m-compact__step-connector--GridRow: var(--#{$progress-stepper}--m-vertical--m-compact__step-connector--GridRow);
|
|
25
|
+
--#{$progress-stepper}--m-compact__step-connector--PaddingBottom: var(--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBottom);
|
|
26
26
|
|
|
27
27
|
// Center
|
|
28
|
-
--#{$progress
|
|
29
|
-
--#{$progress
|
|
28
|
+
--#{$progress-stepper}--m-center__step-connector--before--Content: none; // border swap
|
|
29
|
+
--#{$progress-stepper}--m-center__step-main--before--Content: ""; // border swap
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
@mixin pf-v5-c-progress-stepper--m-horizontal {
|
|
33
|
-
--#{$progress
|
|
34
|
-
--#{$progress
|
|
35
|
-
--#{$progress}-
|
|
36
|
-
--#{$progress}-
|
|
37
|
-
--#{$progress}-
|
|
38
|
-
--#{$progress}-
|
|
39
|
-
--#{$progress}-
|
|
40
|
-
--#{$progress}-
|
|
41
|
-
--#{$progress}-
|
|
42
|
-
--#{$progress}-
|
|
43
|
-
--#{$progress}-
|
|
44
|
-
--#{$progress}-
|
|
45
|
-
--#{$progress}-
|
|
46
|
-
--#{$progress}-
|
|
47
|
-
--#{$progress}-
|
|
33
|
+
--#{$progress-stepper}--GridAutoFlow: var(--#{$progress-stepper}--m-horizontal--GridAutoFlow);
|
|
34
|
+
--#{$progress-stepper}--GridTemplateColumns: var(--#{$progress-stepper}--m-horizontal--GridTemplateColumns);
|
|
35
|
+
--#{$progress-stepper}__step-connector--before--Top: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Top);
|
|
36
|
+
--#{$progress-stepper}__step-connector--before--Left: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Left);
|
|
37
|
+
--#{$progress-stepper}__step-connector--before--Width: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Width);
|
|
38
|
+
--#{$progress-stepper}__step-connector--before--Height: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Height);
|
|
39
|
+
--#{$progress-stepper}__step-connector--before--BorderRightWidth: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderRightWidth);
|
|
40
|
+
--#{$progress-stepper}__step-connector--before--BorderRightColor: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderRightColor);
|
|
41
|
+
--#{$progress-stepper}__step-connector--before--BorderBottomWidth: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomWidth);
|
|
42
|
+
--#{$progress-stepper}__step-connector--before--BorderBottomColor: var(--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomColor);
|
|
43
|
+
--#{$progress-stepper}__step-connector--before--Transform: var(--#{$progress-stepper}--m-horizontal__step-connector--before--Transform);
|
|
44
|
+
--#{$progress-stepper}__step-main--MarginTop: var(--#{$progress-stepper}--m-horizontal__step-main--MarginTop);
|
|
45
|
+
--#{$progress-stepper}__step-main--MarginRight: var(--#{$progress-stepper}--m-horizontal__step-main--MarginRight);
|
|
46
|
+
--#{$progress-stepper}__step-main--MarginBottom: var(--#{$progress-stepper}--m-horizontal__step-main--MarginBottom);
|
|
47
|
+
--#{$progress-stepper}__step-main--MarginLeft: var(--#{$progress-stepper}--m-horizontal__step-main--MarginLeft);
|
|
48
48
|
|
|
49
49
|
// Compact horizontal
|
|
50
|
-
--#{$progress
|
|
51
|
-
--#{$progress
|
|
52
|
-
--#{$progress
|
|
50
|
+
--#{$progress-stepper}--m-compact--GridTemplateColumns: var(--#{$progress-stepper}--m-horizontal--m-compact--GridTemplateColumns);
|
|
51
|
+
--#{$progress-stepper}--m-compact__step-connector--GridRow: var(--#{$progress-stepper}--m-horizontal--m-compact__step-connector--GridRow);
|
|
52
|
+
--#{$progress-stepper}--m-compact__step-connector--PaddingBottom: var(--#{$progress-stepper}--m-horizontal--m-compact__step-connector--PaddingBottom);
|
|
53
53
|
|
|
54
54
|
// Center
|
|
55
|
-
--#{$progress
|
|
56
|
-
--#{$progress
|
|
55
|
+
--#{$progress-stepper}--m-center__step-connector--before--Content: ""; // border swap
|
|
56
|
+
--#{$progress-stepper}--m-center__step-main--before--Content: none; // border swap
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
// Progress stepper is vertically oriented by default
|
|
60
|
-
.#{$progress
|
|
60
|
+
.#{$progress-stepper} {
|
|
61
61
|
// Vertical - these are the default settings
|
|
62
|
-
--#{$progress
|
|
63
|
-
--#{$progress
|
|
64
|
-
--#{$progress
|
|
65
|
-
--#{$progress
|
|
66
|
-
--#{$progress
|
|
67
|
-
--#{$progress
|
|
68
|
-
--#{$progress
|
|
69
|
-
--#{$progress
|
|
70
|
-
--#{$progress
|
|
71
|
-
--#{$progress
|
|
72
|
-
--#{$progress
|
|
73
|
-
--#{$progress
|
|
74
|
-
--#{$progress
|
|
75
|
-
--#{$progress
|
|
76
|
-
--#{$progress
|
|
62
|
+
--#{$progress-stepper}--m-vertical--GridAutoFlow: row;
|
|
63
|
+
--#{$progress-stepper}--m-vertical--GridTemplateColumns: auto 1fr;
|
|
64
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--Top: 0;
|
|
65
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--Left: calc(var(--#{$progress-stepper}__step-icon--Width) / 2);
|
|
66
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--Width: auto;
|
|
67
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--Height: 100%;
|
|
68
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
69
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderRightColor: var(--#{$pf-global}--BorderColor--100);
|
|
70
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderBottomWidth: 0;
|
|
71
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--BorderBottomColor: transparent;
|
|
72
|
+
--#{$progress-stepper}--m-vertical__step-connector--before--Transform: translateX(-50%);
|
|
73
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginTop: var(--#{$pf-global}--spacer--xs);
|
|
74
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginRight: 0;
|
|
75
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginBottom: var(--#{$pf-global}--spacer--xl);
|
|
76
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginLeft: var(--#{$pf-global}--spacer--xs);
|
|
77
77
|
|
|
78
78
|
// Compact, vertical
|
|
79
|
-
--#{$progress
|
|
80
|
-
--#{$progress
|
|
81
|
-
--#{$progress
|
|
82
|
-
--#{$progress
|
|
79
|
+
--#{$progress-stepper}--m-vertical--m-compact--GridTemplateColumns: 1fr;
|
|
80
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-connector--PaddingBottom: var(--#{$pf-global}--spacer--sm);
|
|
81
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-connector--GridRow: auto;
|
|
82
|
+
--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginRight: 0;
|
|
83
83
|
|
|
84
84
|
// Center, vertical
|
|
85
|
-
--#{$progress
|
|
86
|
-
--#{$progress
|
|
85
|
+
--#{$progress-stepper}--m-vertical--m-center__step-main--MarginRight: 0;
|
|
86
|
+
--#{$progress-stepper}--m-vertical--m-center__step-main--MarginLeft: 0;
|
|
87
87
|
|
|
88
88
|
// Horizontal
|
|
89
|
-
--#{$progress
|
|
90
|
-
--#{$progress
|
|
91
|
-
--#{$progress
|
|
92
|
-
--#{$progress
|
|
93
|
-
--#{$progress
|
|
94
|
-
--#{$progress
|
|
95
|
-
--#{$progress
|
|
96
|
-
--#{$progress
|
|
97
|
-
--#{$progress
|
|
98
|
-
--#{$progress
|
|
99
|
-
--#{$progress
|
|
100
|
-
--#{$progress
|
|
101
|
-
--#{$progress
|
|
102
|
-
--#{$progress
|
|
103
|
-
--#{$progress
|
|
89
|
+
--#{$progress-stepper}--m-horizontal--GridAutoFlow: column;
|
|
90
|
+
--#{$progress-stepper}--m-horizontal--GridTemplateColumns: initial;
|
|
91
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--Top: calc(var(--#{$progress-stepper}__step-icon--Height) / 2);
|
|
92
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--Left: 0;
|
|
93
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--Width: 100%;
|
|
94
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--Height: auto;
|
|
95
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderRightWidth: 0;
|
|
96
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderRightColor: unset;
|
|
97
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
98
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--BorderBottomColor: var(--#{$pf-global}--BorderColor--100);
|
|
99
|
+
--#{$progress-stepper}--m-horizontal__step-connector--before--Transform: translateY(-50%);
|
|
100
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginTop: var(--#{$pf-global}--spacer--sm);
|
|
101
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginRight: var(--#{$pf-global}--spacer--sm);
|
|
102
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginBottom: 0;
|
|
103
|
+
--#{$progress-stepper}--m-horizontal__step-main--MarginLeft: 0;
|
|
104
104
|
|
|
105
105
|
// Compact, horizontal
|
|
106
|
-
--#{$progress
|
|
107
|
-
--#{$progress
|
|
108
|
-
--#{$progress
|
|
106
|
+
--#{$progress-stepper}--m-horizontal--m-compact--GridTemplateColumns: repeat(auto-fill, #{pf-size-prem(28px)});
|
|
107
|
+
--#{$progress-stepper}--m-horizontal--m-compact__step-connector--PaddingBottom: 0;
|
|
108
|
+
--#{$progress-stepper}--m-horizontal--m-compact__step-connector--GridRow: 2;
|
|
109
109
|
|
|
110
110
|
// Compact
|
|
111
|
-
--#{$progress
|
|
112
|
-
--#{$progress
|
|
113
|
-
--#{$progress
|
|
114
|
-
--#{$progress
|
|
115
|
-
--#{$progress
|
|
116
|
-
--#{$progress
|
|
117
|
-
--#{$progress
|
|
118
|
-
--#{$progress
|
|
119
|
-
--#{$progress
|
|
120
|
-
--#{$progress
|
|
111
|
+
--#{$progress-stepper}--m-compact--GridAutoFlow: row;
|
|
112
|
+
--#{$progress-stepper}--m-compact__step-main--MarginTop: 0;
|
|
113
|
+
--#{$progress-stepper}--m-compact__step-main--MarginBottom: var(--#{$pf-global}--spacer--sm);
|
|
114
|
+
--#{$progress-stepper}--m-compact__step-connector--MinWidth: #{pf-size-prem(28px)};
|
|
115
|
+
--#{$progress-stepper}--m-compact__step-icon--Width: #{pf-size-prem(18px)};
|
|
116
|
+
--#{$progress-stepper}--m-compact__step-icon--FontSize: var(--#{$pf-global}--icon--FontSize--sm);
|
|
117
|
+
--#{$progress-stepper}--m-compact__step-title--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
118
|
+
--#{$progress-stepper}--m-compact__step-title--FontWeight: var(--#{$pf-global}--FontWeight--normal);
|
|
119
|
+
--#{$progress-stepper}--m-compact__pficon--MarginTop: 2px;
|
|
120
|
+
--#{$progress-stepper}--m-compact__fa-exclamation-triangle--MarginTop: -3px;
|
|
121
121
|
|
|
122
122
|
// Center
|
|
123
|
-
--#{$progress
|
|
124
|
-
--#{$progress
|
|
125
|
-
--#{$progress
|
|
126
|
-
--#{$progress
|
|
127
|
-
--#{$progress
|
|
128
|
-
--#{$progress
|
|
129
|
-
--#{$progress
|
|
130
|
-
--#{$progress
|
|
123
|
+
--#{$progress-stepper}--m-center__step-connector--before--Left: 50%;
|
|
124
|
+
--#{$progress-stepper}--m-center--GridTemplateColumns: 1fr;
|
|
125
|
+
--#{$progress-stepper}--m-center__step-connector--JustifyContent: center;
|
|
126
|
+
--#{$progress-stepper}--m-center__step-main--MarginRight: var(--#{$pf-global}--spacer--xs);
|
|
127
|
+
--#{$progress-stepper}--m-center__step-main--MarginLeft: var(--#{$pf-global}--spacer--xs);
|
|
128
|
+
--#{$progress-stepper}--m-center__step-main--TextAlign: center;
|
|
129
|
+
--#{$progress-stepper}--m-center__step-description--MarginRight: 0;
|
|
130
|
+
--#{$progress-stepper}--m-center__step-description--MarginLeft: 0;
|
|
131
131
|
|
|
132
132
|
// Stepper variables
|
|
133
|
-
--#{$progress
|
|
133
|
+
--#{$progress-stepper}--GridTemplateRows: auto 1fr;
|
|
134
134
|
|
|
135
135
|
// Step connector variables
|
|
136
|
-
--#{$progress}-
|
|
136
|
+
--#{$progress-stepper}__step-connector--JustifyContent: start;
|
|
137
137
|
|
|
138
138
|
// Step icon variables
|
|
139
|
-
--#{$progress}-
|
|
140
|
-
--#{$progress}-
|
|
141
|
-
--#{$progress}-
|
|
142
|
-
--#{$progress}-
|
|
143
|
-
--#{$progress}-
|
|
144
|
-
--#{$progress}-
|
|
145
|
-
--#{$progress}-
|
|
146
|
-
--#{$progress}-
|
|
139
|
+
--#{$progress-stepper}__step-icon--ZIndex: var(--#{$pf-global}--ZIndex--xs);
|
|
140
|
+
--#{$progress-stepper}__step-icon--Width: #{pf-size-prem(28px)};
|
|
141
|
+
--#{$progress-stepper}__step-icon--Height: var(--#{$progress-stepper}__step-icon--Width);
|
|
142
|
+
--#{$progress-stepper}__step-icon--FontSize: var(--#{$pf-global}--icon--FontSize--md);
|
|
143
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$pf-global}--Color--100);
|
|
144
|
+
--#{$progress-stepper}__step-icon--BackgroundColor: var(--#{$pf-global}--BackgroundColor--light-200);
|
|
145
|
+
--#{$progress-stepper}__step-icon--BorderWidth: var(--#{$pf-global}--BorderWidth--md);
|
|
146
|
+
--#{$progress-stepper}__step-icon--BorderColor: var(--#{$pf-global}--BorderColor--100);
|
|
147
147
|
|
|
148
148
|
// Icon adjustments to fix differences in alignment
|
|
149
|
-
--#{$progress}
|
|
150
|
-
--#{$progress}-
|
|
149
|
+
--#{$progress-stepper}__pficon--MarginTop: 3px;
|
|
150
|
+
--#{$progress-stepper}__fa-exclamation-triangle--MarginTop: -5px;
|
|
151
151
|
|
|
152
152
|
// Step Title variables
|
|
153
|
-
--#{$progress}-
|
|
154
|
-
--#{$progress}-
|
|
155
|
-
--#{$progress}-
|
|
156
|
-
--#{$progress}-
|
|
157
|
-
--#{$progress}
|
|
158
|
-
--#{$progress}
|
|
159
|
-
--#{$progress}
|
|
160
|
-
--#{$progress}
|
|
153
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$pf-global}--Color--100);
|
|
154
|
+
--#{$progress-stepper}__step-title--TextAlign: left;
|
|
155
|
+
--#{$progress-stepper}__step-title--FontSize: var(--#{$pf-global}--FontSize--md);
|
|
156
|
+
--#{$progress-stepper}__step-title--FontWeight: var(--#{$pf-global}--FontWeight--normal);
|
|
157
|
+
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--#{$pf-global}--FontWeight--bold);
|
|
158
|
+
--#{$progress-stepper}__step--m-current__step-title--Color: var(--#{$pf-global}--Color--100);
|
|
159
|
+
--#{$progress-stepper}__step--m-pending__step-title--Color: var(--#{$pf-global}--Color--200);
|
|
160
|
+
--#{$progress-stepper}__step--m-danger__step-title--Color: var(--#{$pf-global}--danger-color--100);
|
|
161
161
|
|
|
162
162
|
// Help text variables for the step title
|
|
163
|
-
--#{$progress}-
|
|
164
|
-
--#{$progress}-
|
|
165
|
-
--#{$progress}-
|
|
166
|
-
--#{$progress}-
|
|
167
|
-
--#{$progress}-
|
|
168
|
-
--#{$progress}-
|
|
169
|
-
--#{$progress}-
|
|
163
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$pf-global}--BorderColor--200);
|
|
164
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness: var(--#{$pf-global}--BorderWidth--sm);
|
|
165
|
+
--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset: #{pf-size-prem(4px)};
|
|
166
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationColor: var(--#{$pf-global}--Color--100);
|
|
167
|
+
--#{$progress-stepper}__step-title--m-help-text--focus--TextDecorationColor: var(--#{$pf-global}--Color--100);
|
|
168
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--#{$pf-global}--Color--100);
|
|
169
|
+
--#{$progress-stepper}__step-title--m-help-text--focus--Color: var(--#{$pf-global}--Color--100);
|
|
170
170
|
|
|
171
171
|
// Help text variables the step title for failure state
|
|
172
|
-
--#{$progress}
|
|
173
|
-
--#{$progress}
|
|
174
|
-
--#{$progress}
|
|
175
|
-
--#{$progress}
|
|
176
|
-
--#{$progress}
|
|
172
|
+
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--Color: var(--#{$pf-global}--danger-color--200);
|
|
173
|
+
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--Color: var(--#{$pf-global}--danger-color--200);
|
|
174
|
+
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--TextDecorationColor: var(--#{$pf-global}--danger-color--100);
|
|
175
|
+
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--TextDecorationColor: var(--#{$pf-global}--danger-color--200);
|
|
176
|
+
--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--TextDecorationColor: var(--#{$pf-global}--danger-color--200);
|
|
177
177
|
|
|
178
178
|
// Step Description variables
|
|
179
|
-
--#{$progress}-
|
|
180
|
-
--#{$progress}-
|
|
181
|
-
--#{$progress}-
|
|
182
|
-
--#{$progress}-
|
|
179
|
+
--#{$progress-stepper}__step-description--MarginTop: var(--#{$pf-global}--spacer--xs);
|
|
180
|
+
--#{$progress-stepper}__step-description--FontSize: var(--#{$pf-global}--FontSize--sm);
|
|
181
|
+
--#{$progress-stepper}__step-description--Color: var(--#{$pf-global}--Color--200);
|
|
182
|
+
--#{$progress-stepper}__step-description--TextAlign: left;
|
|
183
183
|
|
|
184
184
|
// Vertical by default
|
|
185
185
|
@include pf-v5-c-progress-stepper--m-vertical;
|
|
@@ -191,236 +191,237 @@ $pf-v5-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
191
191
|
|
|
192
192
|
position: relative;
|
|
193
193
|
display: grid;
|
|
194
|
-
grid-template-rows: var(--#{$progress
|
|
195
|
-
grid-template-columns: var(--#{$progress
|
|
194
|
+
grid-template-rows: var(--#{$progress-stepper}--GridTemplateRows);
|
|
195
|
+
grid-template-columns: var(--#{$progress-stepper}--GridTemplateColumns);
|
|
196
196
|
grid-auto-columns: 1fr; // gives even spacing between steps
|
|
197
|
-
grid-auto-flow: var(--#{$progress
|
|
197
|
+
grid-auto-flow: var(--#{$progress-stepper}--GridAutoFlow);
|
|
198
198
|
|
|
199
199
|
// Progress stepper Modifiers
|
|
200
200
|
&.pf-m-center {
|
|
201
|
-
--#{$progress}-
|
|
202
|
-
--#{$progress}-
|
|
203
|
-
--#{$progress}-
|
|
204
|
-
--#{$progress
|
|
205
|
-
--#{$progress}-
|
|
206
|
-
--#{$progress}-
|
|
207
|
-
--#{$progress}-
|
|
208
|
-
--#{$progress}-
|
|
209
|
-
--#{$progress
|
|
210
|
-
--#{$progress
|
|
211
|
-
|
|
212
|
-
grid-template-columns: var(--#{$progress
|
|
213
|
-
|
|
214
|
-
.#{$progress}-
|
|
201
|
+
--#{$progress-stepper}__step-connector--JustifyContent: var(--#{$progress-stepper}--m-center__step-connector--JustifyContent);
|
|
202
|
+
--#{$progress-stepper}__step-main--MarginRight: var(--#{$progress-stepper}--m-center__step-main--MarginRight);
|
|
203
|
+
--#{$progress-stepper}__step-main--MarginLeft: var(--#{$progress-stepper}--m-center__step-main--MarginLeft);
|
|
204
|
+
--#{$progress-stepper}--step-main--TextAlign: var(--#{$progress-stepper}--m-center__step-main--TextAlign, auto);
|
|
205
|
+
--#{$progress-stepper}__step-title--TextAlign: var(--#{$progress-stepper}--m-center__step-title--TextAlign, auto);
|
|
206
|
+
--#{$progress-stepper}__step-description--MarginRight: var(--#{$progress-stepper}--m-center__step-description--MarginRight);
|
|
207
|
+
--#{$progress-stepper}__step-description--MarginLeft: var(--#{$progress-stepper}--m-center__step-description--MarginLeft);
|
|
208
|
+
--#{$progress-stepper}__step-description--TextAlign: var(--#{$progress-stepper}--m-center__step-description--TextAlign, auto);
|
|
209
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginRight: var(--#{$progress-stepper}--m-vertical--m-center__step-main--MarginRight);
|
|
210
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginLeft: var(--#{$progress-stepper}--m-vertical--m-center__step-main--MarginLeft);
|
|
211
|
+
|
|
212
|
+
grid-template-columns: var(--#{$progress-stepper}--m-center--GridTemplateColumns);
|
|
213
|
+
|
|
214
|
+
.#{$progress-stepper}__step-main {
|
|
215
215
|
position: relative;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
-
.#{$progress}
|
|
219
|
-
left: var(--#{$progress
|
|
218
|
+
.#{$progress-stepper}__step:not(:last-of-type) > .#{$progress-stepper}__step-connector::before {
|
|
219
|
+
left: var(--#{$progress-stepper}--m-center__step-connector--before--Left);
|
|
220
220
|
}
|
|
221
221
|
|
|
222
222
|
// If not compact variant, swap borders from connector to main
|
|
223
223
|
&:not(.pf-m-compact) {
|
|
224
|
-
.#{$progress}
|
|
225
|
-
content: var(--#{$progress
|
|
224
|
+
.#{$progress-stepper}__step:not(:last-of-type) > .#{$progress-stepper}__step-main::before {
|
|
225
|
+
content: var(--#{$progress-stepper}--m-center__step-main--before--Content);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
.#{$progress}
|
|
229
|
-
content: var(--#{$progress
|
|
228
|
+
.#{$progress-stepper}__step:not(:last-of-type) > .#{$progress-stepper}__step-connector::before {
|
|
229
|
+
content: var(--#{$progress-stepper}--m-center__step-connector--before--Content);
|
|
230
230
|
}
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
&.pf-m-compact {
|
|
235
|
-
--#{$progress}-
|
|
236
|
-
--#{$progress}-
|
|
237
|
-
--#{$progress}-
|
|
238
|
-
--#{$progress}-
|
|
239
|
-
--#{$progress}-
|
|
240
|
-
--#{$progress}
|
|
241
|
-
--#{$progress}
|
|
242
|
-
--#{$progress}-
|
|
243
|
-
--#{$progress
|
|
244
|
-
--#{$progress
|
|
235
|
+
--#{$progress-stepper}__step-main--MarginTop: var(--#{$progress-stepper}--m-compact__step-main--MarginTop);
|
|
236
|
+
--#{$progress-stepper}__step-main--MarginBottom: var(--#{$progress-stepper}--m-compact__step-main--MarginBottom);
|
|
237
|
+
--#{$progress-stepper}__step-icon--Width: var(--#{$progress-stepper}--m-compact__step-icon--Width);
|
|
238
|
+
--#{$progress-stepper}__step-icon--FontSize: var(--#{$progress-stepper}--m-compact__step-icon--FontSize);
|
|
239
|
+
--#{$progress-stepper}__step-title--FontSize: var(--#{$progress-stepper}--m-compact__step-title--FontSize);
|
|
240
|
+
--#{$progress-stepper}__step--m-current__step-title--FontWeight: var(--#{$progress-stepper}--m-compact__step-title--FontWeight);
|
|
241
|
+
--#{$progress-stepper}__pficon--MarginTop: var(--#{$progress-stepper}--m-compact__pficon--MarginTop);
|
|
242
|
+
--#{$progress-stepper}__fa-exclamation-triangle--MarginTop: var(--#{$progress-stepper}--m-compact__fa-exclamation-triangle--MarginTop);
|
|
243
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginLeft: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginLeft);
|
|
244
|
+
--#{$progress-stepper}--m-vertical__step-main--MarginRight: var(--#{$progress-stepper}--m-vertical--m-compact__step-main--MarginRight);
|
|
245
245
|
|
|
246
246
|
display: inline-grid;
|
|
247
|
-
grid-template-columns: var(--#{$progress
|
|
248
|
-
grid-auto-flow: var(--#{$progress
|
|
247
|
+
grid-template-columns: var(--#{$progress-stepper}--m-compact--GridTemplateColumns);
|
|
248
|
+
grid-auto-flow: var(--#{$progress-stepper}--m-compact--GridAutoFlow);
|
|
249
249
|
|
|
250
|
-
.#{$progress}-
|
|
251
|
-
grid-row: var(--#{$progress
|
|
252
|
-
min-width: var(--#{$progress
|
|
253
|
-
padding-bottom: var(--#{$progress
|
|
250
|
+
.#{$progress-stepper}__step-connector {
|
|
251
|
+
grid-row: var(--#{$progress-stepper}--m-compact__step-connector--GridRow);
|
|
252
|
+
min-width: var(--#{$progress-stepper}--m-compact__step-connector--MinWidth);
|
|
253
|
+
padding-bottom: var(--#{$progress-stepper}--m-compact__step-connector--PaddingBottom);
|
|
254
254
|
}
|
|
255
255
|
|
|
256
|
-
.#{$progress}-
|
|
257
|
-
margin-bottom: var(--#{$progress
|
|
256
|
+
.#{$progress-stepper}__step-main {
|
|
257
|
+
margin-bottom: var(--#{$progress-stepper}--m-compact__step-main--MarginBottom);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
-
.#{$progress}
|
|
260
|
+
.#{$progress-stepper}__step:not(.pf-m-current) .#{$progress-stepper}__step-main {
|
|
261
261
|
@include pf-v5-u-screen-reader;
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
// For this compact variant only, move the main content for the current step to above the icons
|
|
265
265
|
// stylelint-disable
|
|
266
|
-
.#{$progress}
|
|
266
|
+
.#{$progress-stepper}__step.pf-m-current .#{$progress-stepper}__step-main {
|
|
267
267
|
grid-column: 1/-1;
|
|
268
268
|
grid-row: 1/2;
|
|
269
269
|
}
|
|
270
270
|
// stylelint-enable
|
|
271
271
|
|
|
272
|
-
.#{$progress}-
|
|
272
|
+
.#{$progress-stepper}__step-description {
|
|
273
273
|
display: none;
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
// Step
|
|
279
|
-
.#{$progress}
|
|
279
|
+
.#{$progress-stepper}__step {
|
|
280
280
|
display: contents;
|
|
281
281
|
|
|
282
282
|
// Step Modifiers
|
|
283
283
|
&.pf-m-current {
|
|
284
|
-
--#{$progress}-
|
|
285
|
-
--#{$progress}-
|
|
284
|
+
--#{$progress-stepper}__step-title--FontWeight: var(--#{$progress-stepper}__step--m-current__step-title--FontWeight);
|
|
285
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step--m-current__step-title--Color);
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
&.pf-m-pending {
|
|
289
|
-
--#{$progress}-
|
|
289
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step--m-pending__step-title--Color);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
&.pf-m-success {
|
|
293
|
-
--#{$progress}-
|
|
293
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$pf-global}--success-color--100);
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
&.pf-m-danger {
|
|
297
|
-
--#{$progress}-
|
|
298
|
-
--#{$progress}-
|
|
297
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$pf-global}--danger-color--100);
|
|
298
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step--m-danger__step-title--Color);
|
|
299
299
|
|
|
300
300
|
// Help text variables for failure state
|
|
301
|
-
--#{$progress}-
|
|
302
|
-
--#{$progress}-
|
|
303
|
-
--#{$progress}-
|
|
304
|
-
--#{$progress}-
|
|
305
|
-
--#{$progress}-
|
|
301
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--Color: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--Color);
|
|
302
|
+
--#{$progress-stepper}__step-title--m-help-text--focus--Color: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--Color);
|
|
303
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--TextDecorationColor);
|
|
304
|
+
--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationColor: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--hover--TextDecorationColor);
|
|
305
|
+
--#{$progress-stepper}__step-title--m-help-text--focus--TextDecorationColor: var(--#{$progress-stepper}__step--m-danger__step-title--m-help-text--focus--TextDecorationColor);
|
|
306
306
|
}
|
|
307
307
|
|
|
308
308
|
&.pf-m-warning {
|
|
309
|
-
--#{$progress}-
|
|
309
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$pf-global}--warning-color--100);
|
|
310
310
|
}
|
|
311
311
|
|
|
312
312
|
&.pf-m-info {
|
|
313
|
-
--#{$progress}-
|
|
313
|
+
--#{$progress-stepper}__step-icon--Color: var(--#{$pf-global}--info-color--100);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
&:last-child {
|
|
317
|
-
--#{$progress}-
|
|
317
|
+
--#{$progress-stepper}__step-main--MarginBottom: 0;
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
// The step icon wrapper provides a container on which to use the before for the line connecting the steps
|
|
322
|
-
.#{$progress}-
|
|
322
|
+
.#{$progress-stepper}__step-connector {
|
|
323
323
|
position: relative;
|
|
324
324
|
display: flex;
|
|
325
|
-
justify-content: var(--#{$progress}-
|
|
325
|
+
justify-content: var(--#{$progress-stepper}__step-connector--JustifyContent);
|
|
326
326
|
width: 100%;
|
|
327
327
|
|
|
328
|
-
.#{$progress}
|
|
328
|
+
.#{$progress-stepper}__step:not(:last-of-type) > &::before {
|
|
329
329
|
position: absolute;
|
|
330
|
-
top: var(--#{$progress}-
|
|
331
|
-
left: var(--#{$progress}-
|
|
332
|
-
width: var(--#{$progress}-
|
|
333
|
-
height: var(--#{$progress}-
|
|
330
|
+
top: var(--#{$progress-stepper}__step-connector--before--Top); // half the height
|
|
331
|
+
left: var(--#{$progress-stepper}__step-connector--before--Left);
|
|
332
|
+
width: var(--#{$progress-stepper}__step-connector--before--Width);
|
|
333
|
+
height: var(--#{$progress-stepper}__step-connector--before--Height);
|
|
334
334
|
content: "";
|
|
335
|
-
border-right: var(--#{$progress}-
|
|
336
|
-
border-bottom: var(--#{$progress}-
|
|
337
|
-
transform: var(--#{$progress}-
|
|
335
|
+
border-right: var(--#{$progress-stepper}__step-connector--before--BorderRightWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderRightColor);
|
|
336
|
+
border-bottom: var(--#{$progress-stepper}__step-connector--before--BorderBottomWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderBottomColor);
|
|
337
|
+
transform: var(--#{$progress-stepper}__step-connector--before--Transform);
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
// Step icon
|
|
342
|
-
.#{$progress}-
|
|
343
|
-
z-index: var(--#{$progress}-
|
|
342
|
+
.#{$progress-stepper}__step-icon {
|
|
343
|
+
z-index: var(--#{$progress-stepper}__step-icon--ZIndex);
|
|
344
344
|
display: flex;
|
|
345
345
|
align-items: center;
|
|
346
346
|
justify-content: center;
|
|
347
|
-
width: var(--#{$progress}-
|
|
348
|
-
height: var(--#{$progress}-
|
|
349
|
-
font-size: var(--#{$progress}-
|
|
350
|
-
color: var(--#{$progress}-
|
|
351
|
-
background-color: var(--#{$progress}-
|
|
352
|
-
border: var(--#{$progress}-
|
|
347
|
+
width: var(--#{$progress-stepper}__step-icon--Width);
|
|
348
|
+
height: var(--#{$progress-stepper}__step-icon--Height);
|
|
349
|
+
font-size: var(--#{$progress-stepper}__step-icon--FontSize);
|
|
350
|
+
color: var(--#{$progress-stepper}__step-icon--Color);
|
|
351
|
+
background-color: var(--#{$progress-stepper}__step-icon--BackgroundColor);
|
|
352
|
+
border: var(--#{$progress-stepper}__step-icon--BorderWidth) solid var(--#{$progress-stepper}__step-icon--BorderColor);
|
|
353
353
|
border-radius: 50%;
|
|
354
354
|
|
|
355
355
|
// Align pficons with the font awesome icons
|
|
356
356
|
// stylelint-disable
|
|
357
357
|
.pf-v5-pficon {
|
|
358
|
-
margin-top: var(--#{$progress}
|
|
358
|
+
margin-top: var(--#{$progress-stepper}__pficon--MarginTop);
|
|
359
359
|
}
|
|
360
360
|
|
|
361
361
|
// Push the triangle up to fit inside the circle
|
|
362
362
|
.fa-exclamation-triangle {
|
|
363
|
-
margin-top: var(--#{$progress}-
|
|
363
|
+
margin-top: var(--#{$progress-stepper}__fa-exclamation-triangle--MarginTop);
|
|
364
364
|
}
|
|
365
365
|
// stylelint-enable
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
// Step main
|
|
369
|
-
.#{$progress}-
|
|
369
|
+
.#{$progress-stepper}__step-main {
|
|
370
370
|
min-width: 0;
|
|
371
|
-
margin: var(--#{$progress}-
|
|
372
|
-
text-align: var(--#{$progress
|
|
371
|
+
margin: var(--#{$progress-stepper}__step-main--MarginTop) var(--#{$progress-stepper}__step-main--MarginRight) var(--#{$progress-stepper}__step-main--MarginBottom) var(--#{$progress-stepper}__step-main--MarginLeft);
|
|
372
|
+
text-align: var(--#{$progress-stepper}--step-main--TextAlign, auto);
|
|
373
373
|
overflow-wrap: anywhere;
|
|
374
374
|
|
|
375
375
|
// Draw a new border for vertical alignment using step main
|
|
376
|
-
.#{$progress}
|
|
376
|
+
.#{$progress-stepper}__step:not(:last-of-type) > &::before {
|
|
377
377
|
position: absolute;
|
|
378
|
-
top: calc(100% + var(--#{$progress}-
|
|
379
|
-
left: calc(50% - calc(var(--#{$progress}-
|
|
378
|
+
top: calc(100% + var(--#{$progress-stepper}__step-main--MarginTop));
|
|
379
|
+
left: calc(50% - calc(var(--#{$progress-stepper}__step-connector--before--BorderRightWidth) / 2));
|
|
380
380
|
width: auto;
|
|
381
|
-
height: calc(var(--#{$progress}-
|
|
382
|
-
border-right: var(--#{$progress}-
|
|
381
|
+
height: calc(var(--#{$progress-stepper}__step-main--MarginTop) + var(--#{$progress-stepper}__step-main--MarginBottom));
|
|
382
|
+
border-right: var(--#{$progress-stepper}__step-connector--before--BorderRightWidth) solid var(--#{$progress-stepper}__step-connector--before--BorderRightColor);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
// Step title
|
|
387
|
-
.#{$progress}-
|
|
388
|
-
font-size: var(--#{$progress}-
|
|
389
|
-
font-weight: var(--#{$progress}-
|
|
390
|
-
color: var(--#{$progress}-
|
|
391
|
-
text-align: var(--#{$progress}-
|
|
387
|
+
.#{$progress-stepper}__step-title {
|
|
388
|
+
font-size: var(--#{$progress-stepper}__step-title--FontSize);
|
|
389
|
+
font-weight: var(--#{$progress-stepper}__step-title--FontWeight);
|
|
390
|
+
color: var(--#{$progress-stepper}__step-title--Color);
|
|
391
|
+
text-align: var(--#{$progress-stepper}__step-title--TextAlign);
|
|
392
|
+
background:none;
|
|
392
393
|
border: 0;
|
|
393
394
|
|
|
394
395
|
&.pf-m-help-text {
|
|
395
396
|
text-decoration: underline;
|
|
396
|
-
text-decoration-thickness: var(--#{$progress}-
|
|
397
|
+
text-decoration-thickness: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationThickness);
|
|
397
398
|
text-decoration-style: dashed;
|
|
398
|
-
text-decoration-color: var(--#{$progress}-
|
|
399
|
-
text-underline-offset: var(--#{$progress}-
|
|
399
|
+
text-decoration-color: var(--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor);
|
|
400
|
+
text-underline-offset: var(--#{$progress-stepper}__step-title--m-help-text--TextUnderlineOffset);
|
|
400
401
|
cursor: pointer;
|
|
401
402
|
|
|
402
403
|
&:hover {
|
|
403
|
-
--#{$progress}-
|
|
404
|
-
--#{$progress}-
|
|
404
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--hover--Color);
|
|
405
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$progress-stepper}__step-title--m-help-text--hover--TextDecorationColor);
|
|
405
406
|
}
|
|
406
407
|
|
|
407
408
|
&:focus {
|
|
408
|
-
--#{$progress}-
|
|
409
|
-
--#{$progress}-
|
|
409
|
+
--#{$progress-stepper}__step-title--Color: var(--#{$progress-stepper}__step-title--m-help-text--focus--Color);
|
|
410
|
+
--#{$progress-stepper}__step-title--m-help-text--TextDecorationColor: var(--#{$progress-stepper}__step-title--m-help-text--focus--TextDecorationColor);
|
|
410
411
|
}
|
|
411
412
|
}
|
|
412
413
|
}
|
|
413
414
|
|
|
414
415
|
// Step description
|
|
415
|
-
.#{$progress}-
|
|
416
|
-
margin-top: var(--#{$progress}-
|
|
417
|
-
font-size: var(--#{$progress}-
|
|
418
|
-
color: var(--#{$progress}-
|
|
419
|
-
text-align: var(--#{$progress}-
|
|
416
|
+
.#{$progress-stepper}__step-description {
|
|
417
|
+
margin-top: var(--#{$progress-stepper}__step-description--MarginTop);
|
|
418
|
+
font-size: var(--#{$progress-stepper}__step-description--FontSize);
|
|
419
|
+
color: var(--#{$progress-stepper}__step-description--Color);
|
|
420
|
+
text-align: var(--#{$progress-stepper}__step-description--TextAlign);
|
|
420
421
|
}
|
|
421
422
|
|
|
422
423
|
// stylelint-disable no-duplicate-selectors
|
|
423
|
-
.#{$progress
|
|
424
|
+
.#{$progress-stepper} {
|
|
424
425
|
@each $breakpoint, $breakpoint-value in $pf-v5-c-progress-stepper--breakpoint-map {
|
|
425
426
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
426
427
|
|