@patternfly/patternfly 6.0.0-alpha.57 → 6.0.0-alpha.59
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/components/CodeBlock/code-block.css +18 -9
- package/components/CodeBlock/code-block.scss +18 -10
- package/components/DescriptionList/description-list.css +9 -9
- package/components/DescriptionList/description-list.scss +3 -3
- package/components/DragDrop/drag-drop.css +18 -14
- package/components/DragDrop/drag-drop.scss +18 -17
- package/components/FileUpload/file-upload.css +28 -34
- package/components/FileUpload/file-upload.scss +30 -42
- package/components/Icon/icon.css +154 -18
- package/components/Icon/icon.scss +187 -20
- package/components/Sidebar/sidebar.css +20 -9
- package/components/Sidebar/sidebar.scss +23 -11
- package/components/ToggleGroup/toggle-group.css +34 -47
- package/components/ToggleGroup/toggle-group.scss +34 -45
- package/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/docs/components/FileUpload/examples/FileUpload.md +112 -53
- package/docs/components/Icon/examples/Icon.md +82 -11
- package/docs/components/Sidebar/examples/Sidebar.md +19 -0
- package/package.json +1 -1
- package/patternfly-no-globals.css +281 -148
- package/patternfly-theme-dark-unversioned.css +281 -148
- package/patternfly.css +281 -148
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/components/DragDrop/themes/dark/drag-drop.scss +0 -7
- package/components/ToggleGroup/themes/dark/toggle-group.scss +0 -12
package/components/Icon/icon.css
CHANGED
|
@@ -1,30 +1,67 @@
|
|
|
1
|
-
|
|
1
|
+
:root,
|
|
2
|
+
:where(.pf-v5-c-icon) {
|
|
2
3
|
--pf-v5-c-icon--Width: 1em;
|
|
3
4
|
--pf-v5-c-icon--Height: 1em;
|
|
4
|
-
--pf-v5-c-icon--m-sm--Width: var(--pf-
|
|
5
|
-
--pf-v5-c-icon--m-sm--Height: var(--pf-
|
|
6
|
-
--pf-v5-c-icon--m-md--Width: var(--pf-
|
|
7
|
-
--pf-v5-c-icon--m-md--Height: var(--pf-
|
|
8
|
-
--pf-v5-c-icon--m-lg--Width: var(--pf-
|
|
9
|
-
--pf-v5-c-icon--m-lg--Height: var(--pf-
|
|
10
|
-
--pf-v5-c-icon--m-xl--Width: var(--pf-
|
|
11
|
-
--pf-v5-c-icon--m-xl--Height: var(--pf-
|
|
5
|
+
--pf-v5-c-icon--m-sm--Width: var(--pf-t--global--icon--size--sm);
|
|
6
|
+
--pf-v5-c-icon--m-sm--Height: var(--pf-t--global--icon--size--sm);
|
|
7
|
+
--pf-v5-c-icon--m-md--Width: var(--pf-t--global--icon--size--md);
|
|
8
|
+
--pf-v5-c-icon--m-md--Height: var(--pf-t--global--icon--size--md);
|
|
9
|
+
--pf-v5-c-icon--m-lg--Width: var(--pf-t--global--icon--size--lg);
|
|
10
|
+
--pf-v5-c-icon--m-lg--Height: var(--pf-t--global--icon--size--lg);
|
|
11
|
+
--pf-v5-c-icon--m-xl--Width: var(--pf-t--global--icon--size--xl);
|
|
12
|
+
--pf-v5-c-icon--m-xl--Height: var(--pf-t--global--icon--size--xl);
|
|
13
|
+
--pf-v5-c-icon--m-2xl--Width: var(--pf-t--global--icon--size--2xl);
|
|
14
|
+
--pf-v5-c-icon--m-2xl--Height: var(--pf-t--global--icon--size--2xl);
|
|
15
|
+
--pf-v5-c-icon--m-3xl--Width: var(--pf-t--global--icon--size--3xl);
|
|
16
|
+
--pf-v5-c-icon--m-3xl--Height: var(--pf-t--global--icon--size--3xl);
|
|
17
|
+
--pf-v5-c-icon--m-body-sm--Width: var(--pf-t--global--icon--size--body--sm);
|
|
18
|
+
--pf-v5-c-icon--m-body-sm--Height: var(--pf-t--global--icon--size--body--sm);
|
|
19
|
+
--pf-v5-c-icon--m-body-default--Width: var(--pf-t--global--icon--size--body--default);
|
|
20
|
+
--pf-v5-c-icon--m-body-default--Height: var(--pf-t--global--icon--size--body--default);
|
|
21
|
+
--pf-v5-c-icon--m-body-lg--Width: var(--pf-t--global--icon--size--body--lg);
|
|
22
|
+
--pf-v5-c-icon--m-body-lg--Height: var(--pf-t--global--icon--size--body--lg);
|
|
23
|
+
--pf-v5-c-icon--m-heading-sm--Width: var(--pf-t--global--icon--size--heading--h6);
|
|
24
|
+
--pf-v5-c-icon--m-heading-sm--Height: var(--pf-t--global--icon--size--heading--h6);
|
|
25
|
+
--pf-v5-c-icon--m-heading-md--Width: var(--pf-t--global--icon--size--heading--h5);
|
|
26
|
+
--pf-v5-c-icon--m-heading-md--Height: var(--pf-t--global--icon--size--heading--h5);
|
|
27
|
+
--pf-v5-c-icon--m-heading-lg--Width: var(--pf-t--global--icon--size--heading--h4);
|
|
28
|
+
--pf-v5-c-icon--m-heading-lg--Height: var(--pf-t--global--icon--size--heading--h4);
|
|
29
|
+
--pf-v5-c-icon--m-heading-xl--Width: var(--pf-t--global--icon--size--heading--h3);
|
|
30
|
+
--pf-v5-c-icon--m-heading-xl--Height: var(--pf-t--global--icon--size--heading--h3);
|
|
31
|
+
--pf-v5-c-icon--m-heading-2xl--Width: var(--pf-t--global--icon--size--heading--h2);
|
|
32
|
+
--pf-v5-c-icon--m-heading-2xl--Height: var(--pf-t--global--icon--size--heading--h2);
|
|
33
|
+
--pf-v5-c-icon--m-heading-3xl--Width: var(--pf-t--global--icon--size--heading--h1);
|
|
34
|
+
--pf-v5-c-icon--m-heading-3xl--Height: var(--pf-t--global--icon--size--heading--h1);
|
|
12
35
|
--pf-v5-c-icon--m-inline--Width: 1em;
|
|
13
36
|
--pf-v5-c-icon--m-inline--Height: 1em;
|
|
14
37
|
--pf-v5-c-icon__content--svg--VerticalAlign: -.125em;
|
|
15
38
|
--pf-v5-c-icon__content--Color: initial;
|
|
16
|
-
--pf-v5-c-icon__content--m-danger--Color: var(--pf-
|
|
17
|
-
--pf-v5-c-icon__content--m-warning--Color: var(--pf-
|
|
18
|
-
--pf-v5-c-icon__content--m-success--Color: var(--pf-
|
|
19
|
-
--pf-v5-c-icon__content--m-info--Color: var(--pf-
|
|
20
|
-
--pf-v5-c-icon__content--m-custom--Color: var(--pf-
|
|
39
|
+
--pf-v5-c-icon__content--m-danger--Color: var(--pf-t--global--color--status--danger--default);
|
|
40
|
+
--pf-v5-c-icon__content--m-warning--Color: var(--pf-t--global--color--status--warning--default);
|
|
41
|
+
--pf-v5-c-icon__content--m-success--Color: var(--pf-t--global--color--status--success--default);
|
|
42
|
+
--pf-v5-c-icon__content--m-info--Color: var(--pf-t--global--color--status--info--default);
|
|
43
|
+
--pf-v5-c-icon__content--m-custom--Color: var(--pf-t--global--color--status--custom--default);
|
|
21
44
|
--pf-v5-c-icon--m-inline__content--Color: initial;
|
|
22
45
|
--pf-v5-c-icon__content--FontSize: 1em;
|
|
23
|
-
--pf-v5-c-icon--m-sm__content--FontSize: var(--pf-
|
|
24
|
-
--pf-v5-c-icon--m-md__content--FontSize: var(--pf-
|
|
25
|
-
--pf-v5-c-icon--m-lg__content--FontSize: var(--pf-
|
|
26
|
-
--pf-v5-c-icon--m-xl__content--FontSize: var(--pf-
|
|
46
|
+
--pf-v5-c-icon--m-sm__content--FontSize: var(--pf-t--global--icon--size--sm);
|
|
47
|
+
--pf-v5-c-icon--m-md__content--FontSize: var(--pf-t--global--icon--size--md);
|
|
48
|
+
--pf-v5-c-icon--m-lg__content--FontSize: var(--pf-t--global--icon--size--lg);
|
|
49
|
+
--pf-v5-c-icon--m-xl__content--FontSize: var(--pf-t--global--icon--size--xl);
|
|
50
|
+
--pf-v5-c-icon--m-2xl__content--FontSize: var(--pf-t--global--icon--size--2xl);
|
|
51
|
+
--pf-v5-c-icon--m-3xl__content--FontSize: var(--pf-t--global--icon--size--3xl);
|
|
52
|
+
--pf-v5-c-icon--m-body-sm__content--FontSize: var(--pf-t--global--icon--size--body--sm);
|
|
53
|
+
--pf-v5-c-icon--m-body-default__content--FontSize: var(--pf-t--global--icon--size--body--default);
|
|
54
|
+
--pf-v5-c-icon--m-body-lg__content--FontSize: var(--pf-t--global--icon--size--body--lg);
|
|
55
|
+
--pf-v5-c-icon--m-heading-sm__content--FontSize: var(--pf-t--global--icon--size--heading--h6);
|
|
56
|
+
--pf-v5-c-icon--m-heading-md__content--FontSize: var(--pf-t--global--icon--size--heading--h5);
|
|
57
|
+
--pf-v5-c-icon--m-heading-lg__content--FontSize: var(--pf-t--global--icon--size--heading--h4);
|
|
58
|
+
--pf-v5-c-icon--m-heading-xl__content--FontSize: var(--pf-t--global--icon--size--heading--h3);
|
|
59
|
+
--pf-v5-c-icon--m-heading-2xl__content--FontSize: var(--pf-t--global--icon--size--heading--h2);
|
|
60
|
+
--pf-v5-c-icon--m-heading-3xl__content--FontSize: var(--pf-t--global--icon--size--heading--h1);
|
|
27
61
|
--pf-v5-c-icon--m-inline__content--FontSize: 1em;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.pf-v5-c-icon {
|
|
28
65
|
position: relative;
|
|
29
66
|
display: inline-flex;
|
|
30
67
|
align-items: center;
|
|
@@ -62,6 +99,61 @@
|
|
|
62
99
|
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-xl--Height);
|
|
63
100
|
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-xl__content--FontSize);
|
|
64
101
|
}
|
|
102
|
+
.pf-v5-c-icon.pf-m-2xl {
|
|
103
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-2xl--Width);
|
|
104
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-2xl--Height);
|
|
105
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-2xl__content--FontSize);
|
|
106
|
+
}
|
|
107
|
+
.pf-v5-c-icon.pf-m-3xl {
|
|
108
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-3xl--Width);
|
|
109
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-3xl--Height);
|
|
110
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-3xl__content--FontSize);
|
|
111
|
+
}
|
|
112
|
+
.pf-v5-c-icon.pf-m-body-sm {
|
|
113
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-body-sm--Width);
|
|
114
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-body-sm--Height);
|
|
115
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-body-sm__content--FontSize);
|
|
116
|
+
}
|
|
117
|
+
.pf-v5-c-icon.pf-m-body-default {
|
|
118
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-body-default--Width);
|
|
119
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-body-default--Height);
|
|
120
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-body-default__content--FontSize);
|
|
121
|
+
}
|
|
122
|
+
.pf-v5-c-icon.pf-m-body-lg {
|
|
123
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-body-lg--Width);
|
|
124
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-body-lg--Height);
|
|
125
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-lg__content--FontSize);
|
|
126
|
+
}
|
|
127
|
+
.pf-v5-c-icon.pf-m-heading-sm {
|
|
128
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-heading-sm--Width);
|
|
129
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-heading-sm--Height);
|
|
130
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-sm__content--FontSize);
|
|
131
|
+
}
|
|
132
|
+
.pf-v5-c-icon.pf-m-heading-md {
|
|
133
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-heading-md--Width);
|
|
134
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-heading-md--Height);
|
|
135
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-md__content--FontSize);
|
|
136
|
+
}
|
|
137
|
+
.pf-v5-c-icon.pf-m-heading-lg {
|
|
138
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-heading-lg--Width);
|
|
139
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-heading-lg--Height);
|
|
140
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-lg__content--FontSize);
|
|
141
|
+
}
|
|
142
|
+
.pf-v5-c-icon.pf-m-heading-xl {
|
|
143
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-heading-xl--Width);
|
|
144
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-heading-xl--Height);
|
|
145
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-xl__content--FontSize);
|
|
146
|
+
}
|
|
147
|
+
.pf-v5-c-icon.pf-m-heading-2xl {
|
|
148
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-heading-2xl--Width);
|
|
149
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-heading-2xl--Height);
|
|
150
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-2xl__content--FontSize);
|
|
151
|
+
}
|
|
152
|
+
.pf-v5-c-icon.pf-m-heading-3xl {
|
|
153
|
+
--pf-v5-c-icon--Width: var(--pf-v5-c-icon--m-heading-3xl--Width);
|
|
154
|
+
--pf-v5-c-icon--Height: var(--pf-v5-c-icon--m-heading-3xl--Height);
|
|
155
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-3xl__content--FontSize);
|
|
156
|
+
}
|
|
65
157
|
.pf-v5-c-icon.pf-m-in-progress {
|
|
66
158
|
--pf-v5-c-icon__content--Opacity: 0;
|
|
67
159
|
--pf-v5-c-icon__progress--Opacity: 1;
|
|
@@ -91,6 +183,50 @@
|
|
|
91
183
|
.pf-v5-c-icon__progress.pf-m-xl {
|
|
92
184
|
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-xl__content--FontSize);
|
|
93
185
|
}
|
|
186
|
+
.pf-v5-c-icon__content.pf-m-2xl,
|
|
187
|
+
.pf-v5-c-icon__progress.pf-m-2xl {
|
|
188
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-2xl__content--FontSize);
|
|
189
|
+
}
|
|
190
|
+
.pf-v5-c-icon__content.pf-m-3xl,
|
|
191
|
+
.pf-v5-c-icon__progress.pf-m-3xl {
|
|
192
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-3xl__content--FontSize);
|
|
193
|
+
}
|
|
194
|
+
.pf-v5-c-icon__content.pf-m-body-sm,
|
|
195
|
+
.pf-v5-c-icon__progress.pf-m-body-sm {
|
|
196
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-body-sm__content--FontSize);
|
|
197
|
+
}
|
|
198
|
+
.pf-v5-c-icon__content.pf-m-body-default,
|
|
199
|
+
.pf-v5-c-icon__progress.pf-m-body-default {
|
|
200
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-md__content--FontSize);
|
|
201
|
+
}
|
|
202
|
+
.pf-v5-c-icon__content.pf-m-body-lg,
|
|
203
|
+
.pf-v5-c-icon__progress.pf-m-body-lg {
|
|
204
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-lg__content--FontSize);
|
|
205
|
+
}
|
|
206
|
+
.pf-v5-c-icon__content.pf-m-heading-sm,
|
|
207
|
+
.pf-v5-c-icon__progress.pf-m-heading-sm {
|
|
208
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-sm__content--FontSize);
|
|
209
|
+
}
|
|
210
|
+
.pf-v5-c-icon__content.pf-m-heading-md,
|
|
211
|
+
.pf-v5-c-icon__progress.pf-m-heading-md {
|
|
212
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-md__content--FontSize);
|
|
213
|
+
}
|
|
214
|
+
.pf-v5-c-icon__content.pf-m-heading-lg,
|
|
215
|
+
.pf-v5-c-icon__progress.pf-m-heading-lg {
|
|
216
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-lg__content--FontSize);
|
|
217
|
+
}
|
|
218
|
+
.pf-v5-c-icon__content.pf-m-heading-xl,
|
|
219
|
+
.pf-v5-c-icon__progress.pf-m-heading-xl {
|
|
220
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-xl__content--FontSize);
|
|
221
|
+
}
|
|
222
|
+
.pf-v5-c-icon__content.pf-m-heading-2xl,
|
|
223
|
+
.pf-v5-c-icon__progress.pf-m-heading-2xl {
|
|
224
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-2xl__content--FontSize);
|
|
225
|
+
}
|
|
226
|
+
.pf-v5-c-icon__content.pf-m-heading-3xl,
|
|
227
|
+
.pf-v5-c-icon__progress.pf-m-heading-3xl {
|
|
228
|
+
--pf-v5-c-icon__content--FontSize: var(--pf-v5-c-icon--m-heading-3xl__content--FontSize);
|
|
229
|
+
}
|
|
94
230
|
|
|
95
231
|
.pf-v5-c-icon__content {
|
|
96
232
|
color: var(--pf-v5-c-icon__content--Color, inherit);
|
|
@@ -1,17 +1,48 @@
|
|
|
1
1
|
// @debug $icon; // check your variable names located in src/patternfly/sass-utilities/component-namespaces.scss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
:root,
|
|
4
|
+
:where(.#{$icon}) {
|
|
4
5
|
// Sizes
|
|
5
6
|
--#{$icon}--Width: 1em;
|
|
6
7
|
--#{$icon}--Height: 1em;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
--#{$icon}--m-
|
|
10
|
-
--#{$icon}--m-
|
|
11
|
-
--#{$icon}--m-
|
|
12
|
-
--#{$icon}--m-
|
|
13
|
-
--#{$icon}--m-
|
|
14
|
-
--#{$icon}--m-
|
|
8
|
+
|
|
9
|
+
// Standalone icon sizes
|
|
10
|
+
--#{$icon}--m-sm--Width: var(--pf-t--global--icon--size--sm);
|
|
11
|
+
--#{$icon}--m-sm--Height: var(--pf-t--global--icon--size--sm);
|
|
12
|
+
--#{$icon}--m-md--Width: var(--pf-t--global--icon--size--md);
|
|
13
|
+
--#{$icon}--m-md--Height: var(--pf-t--global--icon--size--md);
|
|
14
|
+
--#{$icon}--m-lg--Width: var(--pf-t--global--icon--size--lg);
|
|
15
|
+
--#{$icon}--m-lg--Height: var(--pf-t--global--icon--size--lg);
|
|
16
|
+
--#{$icon}--m-xl--Width: var(--pf-t--global--icon--size--xl);
|
|
17
|
+
--#{$icon}--m-xl--Height: var(--pf-t--global--icon--size--xl);
|
|
18
|
+
--#{$icon}--m-2xl--Width: var(--pf-t--global--icon--size--2xl);
|
|
19
|
+
--#{$icon}--m-2xl--Height: var(--pf-t--global--icon--size--2xl);
|
|
20
|
+
--#{$icon}--m-3xl--Width: var(--pf-t--global--icon--size--3xl);
|
|
21
|
+
--#{$icon}--m-3xl--Height: var(--pf-t--global--icon--size--3xl);
|
|
22
|
+
|
|
23
|
+
// Body sizes
|
|
24
|
+
--#{$icon}--m-body-sm--Width: var(--pf-t--global--icon--size--body--sm);
|
|
25
|
+
--#{$icon}--m-body-sm--Height: var(--pf-t--global--icon--size--body--sm);
|
|
26
|
+
--#{$icon}--m-body-default--Width: var(--pf-t--global--icon--size--body--default);
|
|
27
|
+
--#{$icon}--m-body-default--Height: var(--pf-t--global--icon--size--body--default);
|
|
28
|
+
--#{$icon}--m-body-lg--Width: var(--pf-t--global--icon--size--body--lg);
|
|
29
|
+
--#{$icon}--m-body-lg--Height: var(--pf-t--global--icon--size--body--lg);
|
|
30
|
+
|
|
31
|
+
// Heading sizes
|
|
32
|
+
--#{$icon}--m-heading-sm--Width: var(--pf-t--global--icon--size--heading--h6);
|
|
33
|
+
--#{$icon}--m-heading-sm--Height: var(--pf-t--global--icon--size--heading--h6);
|
|
34
|
+
--#{$icon}--m-heading-md--Width: var(--pf-t--global--icon--size--heading--h5);
|
|
35
|
+
--#{$icon}--m-heading-md--Height: var(--pf-t--global--icon--size--heading--h5);
|
|
36
|
+
--#{$icon}--m-heading-lg--Width: var(--pf-t--global--icon--size--heading--h4);
|
|
37
|
+
--#{$icon}--m-heading-lg--Height: var(--pf-t--global--icon--size--heading--h4);
|
|
38
|
+
--#{$icon}--m-heading-xl--Width: var(--pf-t--global--icon--size--heading--h3);
|
|
39
|
+
--#{$icon}--m-heading-xl--Height: var(--pf-t--global--icon--size--heading--h3);
|
|
40
|
+
--#{$icon}--m-heading-2xl--Width: var(--pf-t--global--icon--size--heading--h2);
|
|
41
|
+
--#{$icon}--m-heading-2xl--Height: var(--pf-t--global--icon--size--heading--h2);
|
|
42
|
+
--#{$icon}--m-heading-3xl--Width: var(--pf-t--global--icon--size--heading--h1);
|
|
43
|
+
--#{$icon}--m-heading-3xl--Height: var(--pf-t--global--icon--size--heading--h1);
|
|
44
|
+
|
|
45
|
+
// Inline sizes
|
|
15
46
|
--#{$icon}--m-inline--Width: 1em;
|
|
16
47
|
--#{$icon}--m-inline--Height: 1em;
|
|
17
48
|
|
|
@@ -20,21 +51,42 @@
|
|
|
20
51
|
|
|
21
52
|
// Content color
|
|
22
53
|
--#{$icon}__content--Color: initial;
|
|
23
|
-
--#{$icon}__content--m-danger--Color: var(
|
|
24
|
-
--#{$icon}__content--m-warning--Color: var(
|
|
25
|
-
--#{$icon}__content--m-success--Color: var(
|
|
26
|
-
--#{$icon}__content--m-info--Color: var(
|
|
27
|
-
--#{$icon}__content--m-custom--Color: var(
|
|
54
|
+
--#{$icon}__content--m-danger--Color: var(--pf-t--global--color--status--danger--default);
|
|
55
|
+
--#{$icon}__content--m-warning--Color: var(--pf-t--global--color--status--warning--default);
|
|
56
|
+
--#{$icon}__content--m-success--Color: var(--pf-t--global--color--status--success--default);
|
|
57
|
+
--#{$icon}__content--m-info--Color: var(--pf-t--global--color--status--info--default);
|
|
58
|
+
--#{$icon}__content--m-custom--Color: var(--pf-t--global--color--status--custom--default);
|
|
28
59
|
--#{$icon}--m-inline__content--Color: initial;
|
|
29
60
|
|
|
30
61
|
// Content sizes
|
|
31
62
|
--#{$icon}__content--FontSize: 1em;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
--#{$icon}--m-
|
|
35
|
-
--#{$icon}--m-
|
|
63
|
+
|
|
64
|
+
// Standalone content sizes
|
|
65
|
+
--#{$icon}--m-sm__content--FontSize: var(--pf-t--global--icon--size--sm);
|
|
66
|
+
--#{$icon}--m-md__content--FontSize: var(--pf-t--global--icon--size--md);
|
|
67
|
+
--#{$icon}--m-lg__content--FontSize: var(--pf-t--global--icon--size--lg);
|
|
68
|
+
--#{$icon}--m-xl__content--FontSize: var(--pf-t--global--icon--size--xl);
|
|
69
|
+
--#{$icon}--m-2xl__content--FontSize: var(--pf-t--global--icon--size--2xl);
|
|
70
|
+
--#{$icon}--m-3xl__content--FontSize: var(--pf-t--global--icon--size--3xl);
|
|
71
|
+
|
|
72
|
+
// Body content sizes
|
|
73
|
+
--#{$icon}--m-body-sm__content--FontSize: var(--pf-t--global--icon--size--body--sm);
|
|
74
|
+
--#{$icon}--m-body-default__content--FontSize: var(--pf-t--global--icon--size--body--default);
|
|
75
|
+
--#{$icon}--m-body-lg__content--FontSize: var(--pf-t--global--icon--size--body--lg);
|
|
76
|
+
|
|
77
|
+
// Heading content sizes
|
|
78
|
+
--#{$icon}--m-heading-sm__content--FontSize: var(--pf-t--global--icon--size--heading--h6);
|
|
79
|
+
--#{$icon}--m-heading-md__content--FontSize: var(--pf-t--global--icon--size--heading--h5);
|
|
80
|
+
--#{$icon}--m-heading-lg__content--FontSize: var(--pf-t--global--icon--size--heading--h4);
|
|
81
|
+
--#{$icon}--m-heading-xl__content--FontSize: var(--pf-t--global--icon--size--heading--h3);
|
|
82
|
+
--#{$icon}--m-heading-2xl__content--FontSize: var(--pf-t--global--icon--size--heading--h2);
|
|
83
|
+
--#{$icon}--m-heading-3xl__content--FontSize: var(--pf-t--global--icon--size--heading--h1);
|
|
84
|
+
|
|
85
|
+
// Inline sizes
|
|
36
86
|
--#{$icon}--m-inline__content--FontSize: 1em;
|
|
87
|
+
}
|
|
37
88
|
|
|
89
|
+
.#{$icon} {
|
|
38
90
|
position: relative;
|
|
39
91
|
display: inline-flex;
|
|
40
92
|
align-items: center;
|
|
@@ -56,7 +108,7 @@
|
|
|
56
108
|
}
|
|
57
109
|
}
|
|
58
110
|
|
|
59
|
-
//
|
|
111
|
+
// Standalone size modifiers
|
|
60
112
|
&.pf-m-sm {
|
|
61
113
|
--#{$icon}--Width: var(--#{$icon}--m-sm--Width);
|
|
62
114
|
--#{$icon}--Height: var(--#{$icon}--m-sm--Height);
|
|
@@ -81,6 +133,75 @@
|
|
|
81
133
|
--#{$icon}__content--FontSize: var(--#{$icon}--m-xl__content--FontSize);
|
|
82
134
|
}
|
|
83
135
|
|
|
136
|
+
&.pf-m-2xl {
|
|
137
|
+
--#{$icon}--Width: var(--#{$icon}--m-2xl--Width);
|
|
138
|
+
--#{$icon}--Height: var(--#{$icon}--m-2xl--Height);
|
|
139
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-2xl__content--FontSize);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&.pf-m-3xl {
|
|
143
|
+
--#{$icon}--Width: var(--#{$icon}--m-3xl--Width);
|
|
144
|
+
--#{$icon}--Height: var(--#{$icon}--m-3xl--Height);
|
|
145
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-3xl__content--FontSize);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// Body size modifiers
|
|
149
|
+
&.pf-m-body-sm {
|
|
150
|
+
--#{$icon}--Width: var(--#{$icon}--m-body-sm--Width);
|
|
151
|
+
--#{$icon}--Height: var(--#{$icon}--m-body-sm--Height);
|
|
152
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-body-sm__content--FontSize);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&.pf-m-body-default {
|
|
156
|
+
--#{$icon}--Width: var(--#{$icon}--m-body-default--Width);
|
|
157
|
+
--#{$icon}--Height: var(--#{$icon}--m-body-default--Height);
|
|
158
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-body-default__content--FontSize);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&.pf-m-body-lg {
|
|
162
|
+
--#{$icon}--Width: var(--#{$icon}--m-body-lg--Width);
|
|
163
|
+
--#{$icon}--Height: var(--#{$icon}--m-body-lg--Height);
|
|
164
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-lg__content--FontSize);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
// Heading size modifiers
|
|
168
|
+
&.pf-m-heading-sm {
|
|
169
|
+
--#{$icon}--Width: var(--#{$icon}--m-heading-sm--Width);
|
|
170
|
+
--#{$icon}--Height: var(--#{$icon}--m-heading-sm--Height);
|
|
171
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-sm__content--FontSize);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&.pf-m-heading-md {
|
|
175
|
+
--#{$icon}--Width: var(--#{$icon}--m-heading-md--Width);
|
|
176
|
+
--#{$icon}--Height: var(--#{$icon}--m-heading-md--Height);
|
|
177
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-md__content--FontSize);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&.pf-m-heading-lg {
|
|
181
|
+
--#{$icon}--Width: var(--#{$icon}--m-heading-lg--Width);
|
|
182
|
+
--#{$icon}--Height: var(--#{$icon}--m-heading-lg--Height);
|
|
183
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-lg__content--FontSize);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&.pf-m-heading-xl {
|
|
187
|
+
--#{$icon}--Width: var(--#{$icon}--m-heading-xl--Width);
|
|
188
|
+
--#{$icon}--Height: var(--#{$icon}--m-heading-xl--Height);
|
|
189
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-xl__content--FontSize);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
&.pf-m-heading-2xl {
|
|
193
|
+
--#{$icon}--Width: var(--#{$icon}--m-heading-2xl--Width);
|
|
194
|
+
--#{$icon}--Height: var(--#{$icon}--m-heading-2xl--Height);
|
|
195
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-2xl__content--FontSize);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&.pf-m-heading-3xl {
|
|
199
|
+
--#{$icon}--Width: var(--#{$icon}--m-heading-3xl--Width);
|
|
200
|
+
--#{$icon}--Height: var(--#{$icon}--m-heading-3xl--Height);
|
|
201
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-3xl__content--FontSize);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// Progress modifier
|
|
84
205
|
&.pf-m-in-progress {
|
|
85
206
|
--#{$icon}__content--Opacity: 0;
|
|
86
207
|
--#{$icon}__progress--Opacity: 1;
|
|
@@ -96,7 +217,7 @@
|
|
|
96
217
|
vertical-align: var(--#{$icon}__content--svg--VerticalAlign);
|
|
97
218
|
}
|
|
98
219
|
|
|
99
|
-
//
|
|
220
|
+
// Standalone font size modifiers
|
|
100
221
|
&.pf-m-sm {
|
|
101
222
|
--#{$icon}__content--FontSize: var(--#{$icon}--m-sm__content--FontSize);
|
|
102
223
|
}
|
|
@@ -112,6 +233,52 @@
|
|
|
112
233
|
&.pf-m-xl {
|
|
113
234
|
--#{$icon}__content--FontSize: var(--#{$icon}--m-xl__content--FontSize);
|
|
114
235
|
}
|
|
236
|
+
|
|
237
|
+
&.pf-m-2xl {
|
|
238
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-2xl__content--FontSize);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
&.pf-m-3xl {
|
|
242
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-3xl__content--FontSize);
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// Body font size modifiers
|
|
246
|
+
&.pf-m-body-sm {
|
|
247
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-body-sm__content--FontSize);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
&.pf-m-body-default {
|
|
251
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-md__content--FontSize);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&.pf-m-body-lg {
|
|
255
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-lg__content--FontSize);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// Heading font size modifiers
|
|
259
|
+
&.pf-m-heading-sm {
|
|
260
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-sm__content--FontSize);
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
&.pf-m-heading-md {
|
|
264
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-md__content--FontSize);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&.pf-m-heading-lg {
|
|
268
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-lg__content--FontSize);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
&.pf-m-heading-xl {
|
|
272
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-xl__content--FontSize);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
&.pf-m-heading-2xl {
|
|
276
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-2xl__content--FontSize);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
&.pf-m-heading-3xl {
|
|
280
|
+
--#{$icon}__content--FontSize: var(--#{$icon}--m-heading-3xl__content--FontSize);
|
|
281
|
+
}
|
|
115
282
|
}
|
|
116
283
|
|
|
117
284
|
// Content element
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
--pf-v5-c-sidebar--
|
|
4
|
-
--pf-v5-c-sidebar--
|
|
5
|
-
--pf-v5-c-sidebar--BorderWidth--base: var(--pf-
|
|
6
|
-
--pf-v5-c-sidebar--BorderColor--base: var(--pf-
|
|
1
|
+
:root,
|
|
2
|
+
:where(.pf-v5-c-sidebar) {
|
|
3
|
+
--pf-v5-c-sidebar--inset: var(--pf-t--global--spacer--md);
|
|
4
|
+
--pf-v5-c-sidebar--xl--inset: var(--pf-t--global--spacer--lg);
|
|
5
|
+
--pf-v5-c-sidebar--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
6
|
+
--pf-v5-c-sidebar--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
7
7
|
--pf-v5-c-sidebar__panel--PaddingTop: 0;
|
|
8
8
|
--pf-v5-c-sidebar__panel--PaddingRight: 0;
|
|
9
9
|
--pf-v5-c-sidebar__panel--PaddingBottom: 0;
|
|
@@ -59,11 +59,16 @@
|
|
|
59
59
|
--pf-v5-c-sidebar__panel--md--FlexBasis: 15.625rem;
|
|
60
60
|
--pf-v5-c-sidebar__panel--m-split--FlexBasis: 15.625rem;
|
|
61
61
|
--pf-v5-c-sidebar__panel--m-stack--FlexBasis: auto;
|
|
62
|
-
--pf-v5-c-sidebar__panel--ZIndex: var(--pf-
|
|
63
|
-
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-
|
|
64
|
-
--pf-v5-c-
|
|
62
|
+
--pf-v5-c-sidebar__panel--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
63
|
+
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
64
|
+
--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
65
|
+
--pf-v5-c-sidebar__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
66
|
+
--pf-v5-c-sidebar__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
65
67
|
--pf-v5-c-sidebar__panel--m-sticky--Top: 0;
|
|
66
68
|
--pf-v5-c-sidebar__panel--m-sticky--Position: sticky;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.pf-v5-c-sidebar {
|
|
67
72
|
height: 100%;
|
|
68
73
|
}
|
|
69
74
|
@media (min-width: 768px) {
|
|
@@ -157,6 +162,9 @@
|
|
|
157
162
|
--pf-v5-c-sidebar__panel--Position: static;
|
|
158
163
|
--pf-v5-c-sidebar__panel--Top: auto;
|
|
159
164
|
}
|
|
165
|
+
.pf-v5-c-sidebar__panel.pf-m-secondary {
|
|
166
|
+
--pf-v5-c-sidebar__panel--BackgroundColor: var(--pf-v5-c-sidebar__panel--m-secondary--BackgroundColor);
|
|
167
|
+
}
|
|
160
168
|
|
|
161
169
|
.pf-v5-c-sidebar__content {
|
|
162
170
|
flex-grow: 1;
|
|
@@ -176,6 +184,9 @@
|
|
|
176
184
|
.pf-v5-c-sidebar__content.pf-m-no-background {
|
|
177
185
|
--pf-v5-c-sidebar__content--BackgroundColor: transparent;
|
|
178
186
|
}
|
|
187
|
+
.pf-v5-c-sidebar__content.pf-m-secondary {
|
|
188
|
+
--pf-v5-c-sidebar__content--BackgroundColor: var(--pf-v5-c-sidebar__content--m-secondary--BackgroundColor);
|
|
189
|
+
}
|
|
179
190
|
.pf-v5-c-sidebar__content + .pf-v5-c-sidebar__panel {
|
|
180
191
|
--pf-v5-c-sidebar__panel--Order: 1;
|
|
181
192
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
$pf-v5-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
3
|
$pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
--#{$sidebar}--
|
|
8
|
-
--#{$sidebar}--
|
|
9
|
-
--#{$sidebar}--BorderWidth--base: var(
|
|
10
|
-
--#{$sidebar}--BorderColor--base: var(
|
|
5
|
+
:root,
|
|
6
|
+
:where(.#{$sidebar}) {
|
|
7
|
+
--#{$sidebar}--inset: var(--pf-t--global--spacer--md);
|
|
8
|
+
--#{$sidebar}--xl--inset: var(--pf-t--global--spacer--lg);
|
|
9
|
+
--#{$sidebar}--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
10
|
+
--#{$sidebar}--BorderColor--base: var(--pf-t--global--border--color--default);
|
|
11
11
|
|
|
12
12
|
// Panel
|
|
13
13
|
--#{$sidebar}__panel--PaddingTop: 0;
|
|
@@ -85,15 +85,21 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
85
85
|
--#{$sidebar}__panel--md--FlexBasis: #{pf-size-prem(250px)};
|
|
86
86
|
--#{$sidebar}__panel--m-split--FlexBasis: #{pf-size-prem(250px)};
|
|
87
87
|
--#{$sidebar}__panel--m-stack--FlexBasis: auto;
|
|
88
|
-
--#{$sidebar}__panel--ZIndex: var(
|
|
89
|
-
--#{$sidebar}__panel--BackgroundColor: var(
|
|
88
|
+
--#{$sidebar}__panel--ZIndex: var(--pf-t--global--Zindex--xs);
|
|
89
|
+
--#{$sidebar}__panel--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
90
|
+
--#{$sidebar}__panel--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
90
91
|
|
|
91
92
|
// Content
|
|
92
|
-
--#{$sidebar}__content--BackgroundColor: var(
|
|
93
|
+
--#{$sidebar}__content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
|
94
|
+
--#{$sidebar}__content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
93
95
|
|
|
94
96
|
// Sticky
|
|
95
97
|
--#{$sidebar}__panel--m-sticky--Top: 0;
|
|
96
98
|
--#{$sidebar}__panel--m-sticky--Position: sticky;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.#{$sidebar} {
|
|
102
|
+
height: 100%;
|
|
97
103
|
|
|
98
104
|
@media (min-width: $pf-v5-global--breakpoint--md) {
|
|
99
105
|
--#{$sidebar}__main--FlexDirection: var(--#{$sidebar}__main--md--FlexDirection);
|
|
@@ -144,8 +150,6 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
144
150
|
--#{$sidebar}__main--m-border--before--Display: var(--#{$sidebar}--m-split__main--m-border--before--Display);
|
|
145
151
|
--#{$sidebar}--m-panel-right__panel--Order: var(--#{$sidebar}--m-split--m-panel-right__panel--Order);
|
|
146
152
|
}
|
|
147
|
-
|
|
148
|
-
height: 100%;
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
.#{$sidebar}__main {
|
|
@@ -192,6 +196,10 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
192
196
|
--#{$sidebar}__panel--Position: static;
|
|
193
197
|
--#{$sidebar}__panel--Top: auto;
|
|
194
198
|
}
|
|
199
|
+
|
|
200
|
+
&.pf-m-secondary {
|
|
201
|
+
--#{$sidebar}__panel--BackgroundColor: var(--#{$sidebar}__panel--m-secondary--BackgroundColor);
|
|
202
|
+
}
|
|
195
203
|
}
|
|
196
204
|
|
|
197
205
|
.#{$sidebar}__content {
|
|
@@ -214,6 +222,10 @@ $pf-v5-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
214
222
|
--#{$sidebar}__content--BackgroundColor: transparent;
|
|
215
223
|
}
|
|
216
224
|
|
|
225
|
+
&.pf-m-secondary {
|
|
226
|
+
--#{$sidebar}__content--BackgroundColor: var(--#{$sidebar}__content--m-secondary--BackgroundColor);
|
|
227
|
+
}
|
|
228
|
+
|
|
217
229
|
& + .#{$sidebar}__panel {
|
|
218
230
|
--#{$sidebar}__panel--Order: 1;
|
|
219
231
|
}
|