@patternfly/patternfly 4.159.1 → 4.161.0
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/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Black.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-BlackItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Bold.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-BoldItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Light.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-LightItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Medium.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-MediumItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Regular.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplayVF-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplayVF-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Bold.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-BoldItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Light.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-LightItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Medium.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-MediumItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Regular.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Bold.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-BoldItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Light.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-LightItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Medium.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-MediumItalic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Regular.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatTextVF-updated-Italic.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/RedHatText/RedHatTextVF-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatDisplayVF-updated-ItalicModified.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatDisplayVFModified-updated.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatTextVF-updated-ItalicModified.woff2 +0 -0
- package/assets/fonts/RedHatFont-updated/modified/RedHatTextVFModified-updated.woff2 +0 -0
- package/base/_common.scss +5 -1
- package/base/_fonts.scss +100 -0
- package/base/_globals.scss +0 -16
- package/base/_variables.scss +25 -1
- package/base/patternfly-common.css +4 -0
- package/base/patternfly-fonts.css +84 -0
- package/base/patternfly-globals.css +0 -14
- package/base/patternfly-variables.css +21 -0
- package/components/Table/table.css +3 -3
- package/components/Table/table.scss +3 -3
- package/components/Toolbar/toolbar.css +4 -2
- package/components/Toolbar/toolbar.scss +6 -2
- package/docs/components/Select/examples/Select.md +12 -11
- package/docs/components/Table/examples/Table.md +550 -42
- package/docs/demos/Button/examples/Button.md +176 -0
- package/docs/demos/Card/examples/Card.md +164 -112
- package/docs/demos/PasswordGenerator/examples/PasswordGenerator.md +79 -0
- package/docs/demos/PasswordStrength/examples/PasswordStrength.md +4 -4
- package/package.json +1 -1
- package/patternfly-base-no-reset.css +109 -0
- package/patternfly-base.css +109 -14
- package/patternfly-no-reset.css +116 -5
- package/patternfly.css +116 -19
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/scss-variables.scss +6 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-MediumItalic.woff2
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/base/_common.scss
CHANGED
|
@@ -17,9 +17,13 @@
|
|
|
17
17
|
html {
|
|
18
18
|
font-size: unset !important; // the important is needed because we don't know if pf3 will be loaded after pfnext
|
|
19
19
|
}
|
|
20
|
+
// stylelint-enable
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
.pf-screen-reader {
|
|
23
24
|
@include pf-u-screen-reader; // for use with assistive technologies
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
+
|
|
27
|
+
.pf-m-tabular-nums {
|
|
28
|
+
font-variant-numeric: tabular-nums;
|
|
29
|
+
}
|
package/base/_fonts.scss
CHANGED
|
@@ -56,6 +56,106 @@
|
|
|
56
56
|
text-rendering: optimizeLegibility;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
// RedHatFont-updated
|
|
60
|
+
@font-face {
|
|
61
|
+
font-family: "RedHatDisplayUpdated";
|
|
62
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Regular.woff2") format("woff2");
|
|
63
|
+
font-style: normal;
|
|
64
|
+
font-weight: 300;
|
|
65
|
+
text-rendering: optimizeLegibility;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@font-face {
|
|
69
|
+
font-family: "RedHatDisplayUpdated";
|
|
70
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Medium.woff2") format("woff2");
|
|
71
|
+
font-style: normal;
|
|
72
|
+
font-weight: 400;
|
|
73
|
+
text-rendering: optimizeLegibility;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
@font-face {
|
|
77
|
+
font-family: "RedHatDisplayUpdated";
|
|
78
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Bold.woff2") format("woff2");
|
|
79
|
+
font-style: normal;
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
text-rendering: optimizeLegibility;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@font-face {
|
|
85
|
+
font-family: "RedHatTextUpdated";
|
|
86
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatText/RedHatText-updated-Regular.woff2") format("woff2");
|
|
87
|
+
font-style: normal;
|
|
88
|
+
font-weight: 400;
|
|
89
|
+
text-rendering: optimizeLegibility;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "RedHatTextUpdated";
|
|
94
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatText/RedHatText-updated-Medium.woff2") format("woff2");
|
|
95
|
+
font-style: normal;
|
|
96
|
+
font-weight: 700;
|
|
97
|
+
text-rendering: optimizeLegibility;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
// RedHatMono
|
|
101
|
+
@font-face {
|
|
102
|
+
font-family: "RedHatMono";
|
|
103
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatMono/RedHatMono-updated-Regular.woff2") format("woff2");
|
|
104
|
+
font-style: normal;
|
|
105
|
+
font-weight: 400;
|
|
106
|
+
font-display: fallback;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
// Variable fonts
|
|
110
|
+
@font-face {
|
|
111
|
+
font-family: "RedHatDisplayVF";
|
|
112
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/modified/RedHatDisplayVFModified-updated.woff2") format("woff2-variations");
|
|
113
|
+
font-style: normal;
|
|
114
|
+
font-weight: 300 900;
|
|
115
|
+
font-display: fallback;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@font-face {
|
|
119
|
+
font-family: "RedHatDisplayVF";
|
|
120
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/modified/RedHatDisplayVF-updated-ItalicModified.woff2") format("woff2-variations");
|
|
121
|
+
font-style: italic;
|
|
122
|
+
font-weight: 300 900;
|
|
123
|
+
font-display: fallback;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@font-face {
|
|
127
|
+
font-family: "RedHatTextVF";
|
|
128
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/modified/RedHatTextVFModified-updated.woff2") format("woff2-variations");
|
|
129
|
+
font-style: normal;
|
|
130
|
+
font-weight: 400 500;
|
|
131
|
+
font-display: fallback;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@font-face {
|
|
135
|
+
font-family: "RedHatTextVF";
|
|
136
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/modified/RedHatTextVF-updated-ItalicModified.woff2") format("woff2-variations");
|
|
137
|
+
font-style: italic;
|
|
138
|
+
font-weight: 400 500;
|
|
139
|
+
font-display: fallback;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
@font-face {
|
|
143
|
+
font-family: "RedHatMonoVF";
|
|
144
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated.woff2") format("woff2-variations");
|
|
145
|
+
font-style: normal;
|
|
146
|
+
font-weight: 300 700;
|
|
147
|
+
font-display: fallback;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
@font-face {
|
|
151
|
+
font-family: "RedHatMonoVF";
|
|
152
|
+
src: url("#{$pf-global--font-path}/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated-Italic.woff2") format("woff2-variations");
|
|
153
|
+
font-style: italic;
|
|
154
|
+
font-weight: 300 700;
|
|
155
|
+
font-display: fallback;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
|
|
59
159
|
@if $pf-global--enable-font-overpass-cdn {
|
|
60
160
|
@import url("https://fonts.googleapis.com/css?family=Overpass|Overpass+Mono");
|
|
61
161
|
} @else {
|
package/base/_globals.scss
CHANGED
|
@@ -127,22 +127,6 @@
|
|
|
127
127
|
cursor: pointer;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
|
-
button,
|
|
131
|
-
[type="button"],
|
|
132
|
-
[type="reset"],
|
|
133
|
-
[type="submit"] {
|
|
134
|
-
// Remove the inner border and padding in Firefox.
|
|
135
|
-
&::-moz-focus-inner {
|
|
136
|
-
padding: 0;
|
|
137
|
-
border-style: none;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
// Restore the focus styles unset by the previous rule.
|
|
141
|
-
&:-moz-focusring {
|
|
142
|
-
outline: 1px dotted ButtonText;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
130
|
@include pf-m-overpass-font {
|
|
147
131
|
a {
|
|
148
132
|
font-weight: var(--pf-global--FontWeight--semi-bold);
|
package/base/_variables.scss
CHANGED
|
@@ -234,6 +234,12 @@
|
|
|
234
234
|
--pf-global--FontFamily--sans-serif: #{$pf-global--FontFamily--sans-serif};
|
|
235
235
|
--pf-global--FontFamily--heading--sans-serif: #{$pf-global--FontFamily--heading--sans-serif};
|
|
236
236
|
--pf-global--FontFamily--monospace: #{$pf-global--FontFamily--monospace};
|
|
237
|
+
--pf-global--FontFamily--redhat-updated--sans-serif: #{$pf-global--FontFamily--redhat-updated--sans-serif};
|
|
238
|
+
--pf-global--FontFamily--redhat-updated--heading--sans-serif: #{$pf-global--FontFamily--redhat-updated--heading--sans-serif};
|
|
239
|
+
--pf-global--FontFamily--redhat--monospace: #{$pf-global--FontFamily--redhat--monospace};
|
|
240
|
+
--pf-global--FontFamily--redhatVF--sans-serif: #{$pf-global--FontFamily--redhatVF--sans-serif};
|
|
241
|
+
--pf-global--FontFamily--redhatVF--heading--sans-serif: #{$pf-global--FontFamily--redhatVF--heading--sans-serif};
|
|
242
|
+
--pf-global--FontFamily--redhatVF--monospace: #{$pf-global--FontFamily--redhatVF--monospace};
|
|
237
243
|
--pf-global--FontFamily--overpass--sans-serif: #{$pf-global--FontFamily--overpass--sans-serif};
|
|
238
244
|
--pf-global--FontFamily--overpass--monospace: #{$pf-global--FontFamily--overpass--monospace};
|
|
239
245
|
|
|
@@ -274,7 +280,7 @@
|
|
|
274
280
|
--pf-global--target-size--MinHeight: #{$pf-global--target-size--MinHeight};
|
|
275
281
|
}
|
|
276
282
|
|
|
277
|
-
//
|
|
283
|
+
// Overpass font overrides
|
|
278
284
|
@include pf-m-overpass-font {
|
|
279
285
|
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--overpass--sans-serif);
|
|
280
286
|
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--sans-serif);
|
|
@@ -282,3 +288,21 @@
|
|
|
282
288
|
--pf-global--FontWeight--semi-bold: var(--pf-global--FontWeight--overpass--semi-bold);
|
|
283
289
|
--pf-global--FontWeight--bold: var(--pf-global--FontWeight--overpass--bold);
|
|
284
290
|
}
|
|
291
|
+
|
|
292
|
+
// RedHatFont updated font overrides
|
|
293
|
+
.pf-m-redhat-updated-font {
|
|
294
|
+
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhat-updated--sans-serif);
|
|
295
|
+
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhat-updated--heading--sans-serif);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
// RedHatMono font overrides
|
|
299
|
+
.pf-m-redhatmono-font {
|
|
300
|
+
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--redhat--monospace);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
// RedHat variable font overrides
|
|
304
|
+
.pf-m-redhatVF-font {
|
|
305
|
+
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhatVF--sans-serif);
|
|
306
|
+
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhatVF--heading--sans-serif);
|
|
307
|
+
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--redhatVF--monospace);
|
|
308
|
+
}
|
|
@@ -33,6 +33,90 @@
|
|
|
33
33
|
font-weight: 700;
|
|
34
34
|
text-rendering: optimizeLegibility;
|
|
35
35
|
}
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "RedHatDisplayUpdated";
|
|
38
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Regular.woff2") format("woff2");
|
|
39
|
+
font-style: normal;
|
|
40
|
+
font-weight: 300;
|
|
41
|
+
text-rendering: optimizeLegibility;
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-family: "RedHatDisplayUpdated";
|
|
45
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Medium.woff2") format("woff2");
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
text-rendering: optimizeLegibility;
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: "RedHatDisplayUpdated";
|
|
52
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatDisplay/RedHatDisplay-updated-Bold.woff2") format("woff2");
|
|
53
|
+
font-style: normal;
|
|
54
|
+
font-weight: 700;
|
|
55
|
+
text-rendering: optimizeLegibility;
|
|
56
|
+
}
|
|
57
|
+
@font-face {
|
|
58
|
+
font-family: "RedHatTextUpdated";
|
|
59
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Regular.woff2") format("woff2");
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 400;
|
|
62
|
+
text-rendering: optimizeLegibility;
|
|
63
|
+
}
|
|
64
|
+
@font-face {
|
|
65
|
+
font-family: "RedHatTextUpdated";
|
|
66
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatText/RedHatText-updated-Medium.woff2") format("woff2");
|
|
67
|
+
font-style: normal;
|
|
68
|
+
font-weight: 700;
|
|
69
|
+
text-rendering: optimizeLegibility;
|
|
70
|
+
}
|
|
71
|
+
@font-face {
|
|
72
|
+
font-family: "RedHatMono";
|
|
73
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatMono/RedHatMono-updated-Regular.woff2") format("woff2");
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
font-display: fallback;
|
|
77
|
+
}
|
|
78
|
+
@font-face {
|
|
79
|
+
font-family: "RedHatDisplayVF";
|
|
80
|
+
src: url("./assets/fonts/RedHatFont-updated/modified/RedHatDisplayVFModified-updated.woff2") format("woff2-variations");
|
|
81
|
+
font-style: normal;
|
|
82
|
+
font-weight: 300 900;
|
|
83
|
+
font-display: fallback;
|
|
84
|
+
}
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: "RedHatDisplayVF";
|
|
87
|
+
src: url("./assets/fonts/RedHatFont-updated/modified/RedHatDisplayVF-updated-ItalicModified.woff2") format("woff2-variations");
|
|
88
|
+
font-style: italic;
|
|
89
|
+
font-weight: 300 900;
|
|
90
|
+
font-display: fallback;
|
|
91
|
+
}
|
|
92
|
+
@font-face {
|
|
93
|
+
font-family: "RedHatTextVF";
|
|
94
|
+
src: url("./assets/fonts/RedHatFont-updated/modified/RedHatTextVFModified-updated.woff2") format("woff2-variations");
|
|
95
|
+
font-style: normal;
|
|
96
|
+
font-weight: 400 500;
|
|
97
|
+
font-display: fallback;
|
|
98
|
+
}
|
|
99
|
+
@font-face {
|
|
100
|
+
font-family: "RedHatTextVF";
|
|
101
|
+
src: url("./assets/fonts/RedHatFont-updated/modified/RedHatTextVF-updated-ItalicModified.woff2") format("woff2-variations");
|
|
102
|
+
font-style: italic;
|
|
103
|
+
font-weight: 400 500;
|
|
104
|
+
font-display: fallback;
|
|
105
|
+
}
|
|
106
|
+
@font-face {
|
|
107
|
+
font-family: "RedHatMonoVF";
|
|
108
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated.woff2") format("woff2-variations");
|
|
109
|
+
font-style: normal;
|
|
110
|
+
font-weight: 300 700;
|
|
111
|
+
font-display: fallback;
|
|
112
|
+
}
|
|
113
|
+
@font-face {
|
|
114
|
+
font-family: "RedHatMonoVF";
|
|
115
|
+
src: url("./assets/fonts/RedHatFont-updated/RedHatMono/RedHatMonoVF-updated-Italic.woff2") format("woff2-variations");
|
|
116
|
+
font-style: italic;
|
|
117
|
+
font-weight: 300 700;
|
|
118
|
+
font-display: fallback;
|
|
119
|
+
}
|
|
36
120
|
@font-face {
|
|
37
121
|
font-family: "overpass";
|
|
38
122
|
font-style: normal;
|
|
@@ -116,20 +116,6 @@ a {
|
|
|
116
116
|
cursor: pointer;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
button::-moz-focus-inner,
|
|
120
|
-
[type=button]::-moz-focus-inner,
|
|
121
|
-
[type=reset]::-moz-focus-inner,
|
|
122
|
-
[type=submit]::-moz-focus-inner {
|
|
123
|
-
padding: 0;
|
|
124
|
-
border-style: none;
|
|
125
|
-
}
|
|
126
|
-
button:-moz-focusring,
|
|
127
|
-
[type=button]:-moz-focusring,
|
|
128
|
-
[type=reset]:-moz-focusring,
|
|
129
|
-
[type=submit]:-moz-focusring {
|
|
130
|
-
outline: 1px dotted ButtonText;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
119
|
.pf-m-overpass-font a {
|
|
134
120
|
font-weight: var(--pf-global--FontWeight--semi-bold);
|
|
135
121
|
}
|
|
@@ -198,6 +198,12 @@
|
|
|
198
198
|
--pf-global--FontFamily--sans-serif: "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif;
|
|
199
199
|
--pf-global--FontFamily--heading--sans-serif: "RedHatDisplay", "Overpass", overpass, helvetica, arial, sans-serif;
|
|
200
200
|
--pf-global--FontFamily--monospace: "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
|
|
201
|
+
--pf-global--FontFamily--redhat-updated--sans-serif: "RedHatTextUpdated", "Overpass", overpass, helvetica, arial, sans-serif;
|
|
202
|
+
--pf-global--FontFamily--redhat-updated--heading--sans-serif: "RedHatDisplayUpdated", "Overpass", overpass, helvetica, arial, sans-serif;
|
|
203
|
+
--pf-global--FontFamily--redhat--monospace: "RedHatMono", "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
|
|
204
|
+
--pf-global--FontFamily--redhatVF--sans-serif: "RedHatTextVF", "RedHatText", "Overpass", overpass, helvetica, arial, sans-serif;
|
|
205
|
+
--pf-global--FontFamily--redhatVF--heading--sans-serif: "RedHatDisplayVF", "RedHatDisplay", "Overpass", overpass, helvetica, arial, sans-serif;
|
|
206
|
+
--pf-global--FontFamily--redhatVF--monospace: "RedHatMonoVF", "RedHatMono", "Liberation Mono", consolas, "SFMono-Regular", menlo, monaco, "Courier New", monospace;
|
|
201
207
|
--pf-global--FontFamily--overpass--sans-serif: "overpass", overpass, "open sans", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
202
208
|
--pf-global--FontFamily--overpass--monospace: "overpass-mono", overpass-mono, "SFMono-Regular", menlo, monaco, consolas, "Liberation Mono", "Courier New", monospace;
|
|
203
209
|
--pf-global--FontSize--4xl: 2.25rem;
|
|
@@ -232,4 +238,19 @@
|
|
|
232
238
|
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--overpass--monospace);
|
|
233
239
|
--pf-global--FontWeight--semi-bold: var(--pf-global--FontWeight--overpass--semi-bold);
|
|
234
240
|
--pf-global--FontWeight--bold: var(--pf-global--FontWeight--overpass--bold);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.pf-m-redhat-updated-font {
|
|
244
|
+
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhat-updated--sans-serif);
|
|
245
|
+
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhat-updated--heading--sans-serif);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.pf-m-redhatmono-font {
|
|
249
|
+
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--redhat--monospace);
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.pf-m-redhatVF-font {
|
|
253
|
+
--pf-global--FontFamily--sans-serif: var(--pf-global--FontFamily--redhatVF--sans-serif);
|
|
254
|
+
--pf-global--FontFamily--heading--sans-serif: var(--pf-global--FontFamily--redhatVF--heading--sans-serif);
|
|
255
|
+
--pf-global--FontFamily--monospace: var(--pf-global--FontFamily--redhatVF--monospace);
|
|
235
256
|
}
|
|
@@ -227,8 +227,8 @@
|
|
|
227
227
|
--pf-c-table--m-compact__expandable-row-content--PaddingRight: var(--pf-global--spacer--lg);
|
|
228
228
|
--pf-c-table--m-compact__expandable-row-content--PaddingBottom: var(--pf-global--spacer--lg);
|
|
229
229
|
--pf-c-table--m-compact__expandable-row-content--PaddingLeft: var(--pf-global--spacer--lg);
|
|
230
|
-
--pf-c-table--nested--first-last-child--PaddingRight: var(--pf-
|
|
231
|
-
--pf-c-table--nested--first-last-child--PaddingLeft: var(--pf-
|
|
230
|
+
--pf-c-table--nested--first-last-child--PaddingRight: var(--pf-c-table--m-compact--cell--first-last-child--PaddingLeft);
|
|
231
|
+
--pf-c-table--nested--first-last-child--PaddingLeft: var(--pf-c-table--m-compact--cell--first-last-child--PaddingRight);
|
|
232
232
|
--pf-c-table__expandable-row--m-expanded--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
233
233
|
--pf-c-table--tr--m-hoverable--BoxShadow--top: var(--pf-c-table--tr--BoxShadow--top--base);
|
|
234
234
|
--pf-c-table--tr--m-hoverable--BackgroundColor: transparent;
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
.pf-c-table__check {
|
|
717
717
|
--pf-c-table--cell--FontSize: var(--pf-c-table__check--input--FontSize);
|
|
718
718
|
}
|
|
719
|
-
.pf-c-table__check > input {
|
|
719
|
+
.pf-c-table__check > input:not([disabled]) {
|
|
720
720
|
cursor: pointer;
|
|
721
721
|
}
|
|
722
722
|
|
|
@@ -240,8 +240,8 @@
|
|
|
240
240
|
--pf-c-table--m-compact__expandable-row-content--PaddingLeft: var(--pf-global--spacer--lg);
|
|
241
241
|
|
|
242
242
|
// Nested table
|
|
243
|
-
--pf-c-table--nested--first-last-child--PaddingRight: var(--pf-
|
|
244
|
-
--pf-c-table--nested--first-last-child--PaddingLeft: var(--pf-
|
|
243
|
+
--pf-c-table--nested--first-last-child--PaddingRight: var(--pf-c-table--m-compact--cell--first-last-child--PaddingLeft);
|
|
244
|
+
--pf-c-table--nested--first-last-child--PaddingLeft: var(--pf-c-table--m-compact--cell--first-last-child--PaddingRight);
|
|
245
245
|
|
|
246
246
|
// Modifier - expandable row expanded
|
|
247
247
|
--pf-c-table__expandable-row--m-expanded--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
@@ -902,7 +902,7 @@
|
|
|
902
902
|
.pf-c-table__check {
|
|
903
903
|
--pf-c-table--cell--FontSize: var(--pf-c-table__check--input--FontSize);
|
|
904
904
|
|
|
905
|
-
> input {
|
|
905
|
+
> input:not([disabled]) {
|
|
906
906
|
cursor: pointer;
|
|
907
907
|
}
|
|
908
908
|
}
|
|
@@ -112,6 +112,8 @@
|
|
|
112
112
|
--pf-c-toolbar__item--m-chip-group--spacer: var(--pf-global--spacer--sm);
|
|
113
113
|
--pf-c-toolbar__item--m-label--spacer: var(--pf-c-toolbar__item--spacer);
|
|
114
114
|
--pf-c-toolbar__item--m-label--FontWeight: var(--pf-global--FontWeight--bold);
|
|
115
|
+
--pf-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-global--spacer--sm));
|
|
116
|
+
--pf-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-global--FontSize--sm);
|
|
115
117
|
--pf-c-toolbar__toggle--m-expanded__c-button--m-plain--Color: var(--pf-global--Color--100);
|
|
116
118
|
--pf-c-toolbar--c-divider--m-vertical--spacer: var(--pf-c-toolbar--spacer--base);
|
|
117
119
|
--pf-c-toolbar--m-full-height--PaddingTop: 0;
|
|
@@ -379,8 +381,8 @@
|
|
|
379
381
|
grid-row-gap: var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap);
|
|
380
382
|
}
|
|
381
383
|
.pf-c-toolbar__expandable-content .pf-m-label {
|
|
382
|
-
|
|
383
|
-
|
|
384
|
+
margin-bottom: var(--pf-c-toolbar__expandable-content__item--m-label--MarginBottom);
|
|
385
|
+
font-size: var(--pf-c-toolbar__expandable-content__item--m-label--FontSize);
|
|
384
386
|
}
|
|
385
387
|
|
|
386
388
|
.pf-c-toolbar__content.pf-m-chip-container,
|
|
@@ -99,6 +99,10 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
99
99
|
--pf-c-toolbar__item--m-label--spacer: var(--pf-c-toolbar__item--spacer);
|
|
100
100
|
--pf-c-toolbar__item--m-label--FontWeight: var(--pf-global--FontWeight--bold);
|
|
101
101
|
|
|
102
|
+
// Label in expanded content
|
|
103
|
+
--pf-c-toolbar__expandable-content__item--m-label--MarginBottom: calc(-1 * var(--pf-c-toolbar__expandable-content--m-expanded--GridRowGap) + var(--pf-global--spacer--sm));
|
|
104
|
+
--pf-c-toolbar__expandable-content__item--m-label--FontSize: var(--pf-global--FontSize--sm);
|
|
105
|
+
|
|
102
106
|
// Toggle
|
|
103
107
|
--pf-c-toolbar__toggle--m-expanded__c-button--m-plain--Color: var(--pf-global--Color--100);
|
|
104
108
|
|
|
@@ -382,8 +386,8 @@ $pf-c-toolbar--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl"
|
|
|
382
386
|
}
|
|
383
387
|
|
|
384
388
|
.pf-m-label {
|
|
385
|
-
|
|
386
|
-
|
|
389
|
+
margin-bottom: var(--pf-c-toolbar__expandable-content__item--m-label--MarginBottom);
|
|
390
|
+
font-size: var(--pf-c-toolbar__expandable-content__item--m-label--FontSize);
|
|
387
391
|
}
|
|
388
392
|
}
|
|
389
393
|
|
|
@@ -235,17 +235,18 @@ The single select should be used when the user is selecting an option from a lis
|
|
|
235
235
|
|
|
236
236
|
### Usage
|
|
237
237
|
|
|
238
|
-
| Class | Applied to
|
|
239
|
-
| ------------------------------ |
|
|
240
|
-
| `.pf-c-select` | `<div>`
|
|
241
|
-
| `.pf-c-select__toggle` | `<button>`
|
|
242
|
-
| `.pf-c-select__toggle-wrapper` | `<div>`
|
|
243
|
-
| `.pf-c-select__toggle-arrow` | `<span>`
|
|
244
|
-
| `.pf-c-select__menu` | `<ul>`
|
|
245
|
-
| `.pf-c-select__menu-item` | `<li>`
|
|
246
|
-
| `.pf-c-select__menu-item-icon` | `<i>`
|
|
247
|
-
| `.pf-m-top` | `.pf-c-select`
|
|
248
|
-
| `.pf-m-
|
|
238
|
+
| Class | Applied to | Outcome |
|
|
239
|
+
| ------------------------------ | -------------------- | ---------------------------------------------------------------- |
|
|
240
|
+
| `.pf-c-select` | `<div>` | Initiates a custom select. |
|
|
241
|
+
| `.pf-c-select__toggle` | `<button>` | Initiates a custom toggle. |
|
|
242
|
+
| `.pf-c-select__toggle-wrapper` | `<div>` | Initiates a custom select toggle wrapper. |
|
|
243
|
+
| `.pf-c-select__toggle-arrow` | `<span>` | Initiates the caret to toggle the dropdown. |
|
|
244
|
+
| `.pf-c-select__menu` | `<ul>` | Initiates the custom select dropdown menu. |
|
|
245
|
+
| `.pf-c-select__menu-item` | `<li>` | Initiates the items in the custom select dropdown menu. |
|
|
246
|
+
| `.pf-c-select__menu-item-icon` | `<i>` | Initiates the selected item icon. |
|
|
247
|
+
| `.pf-m-top` | `.pf-c-select` | Modifies the select menu to display above the toggle. |
|
|
248
|
+
| `.pf-m-align-right` | `.pf-c-select__menu` | Modifies the select menu to display right aligned to the toggle. |
|
|
249
|
+
| `.pf-m-active` | `.pf-c-select` | Forces display of the active state of the toggle. |
|
|
249
250
|
|
|
250
251
|
## States
|
|
251
252
|
|