@patternfly/react-styles 6.0.0-alpha.6 → 6.0.0-alpha.8
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/css/components/Button/button.css +44 -14
- package/css/components/Card/card.css +97 -194
- package/css/components/Card/card.d.ts +3 -9
- package/css/components/Card/card.js +3 -9
- package/css/components/Card/card.mjs +3 -9
- package/css/components/ClipboardCopy/clipboard-copy.css +30 -33
- package/css/components/ClipboardCopy/clipboard-copy.d.ts +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.js +1 -2
- package/css/components/ClipboardCopy/clipboard-copy.mjs +1 -2
- package/css/components/CodeBlock/code-block.css +18 -9
- package/css/components/DescriptionList/description-list.css +39 -34
- package/css/components/DragDrop/drag-drop.css +18 -14
- package/css/components/DragDrop/drag-drop.d.ts +1 -2
- package/css/components/DragDrop/drag-drop.js +1 -2
- package/css/components/DragDrop/drag-drop.mjs +1 -2
- package/css/components/Drawer/drawer.css +113 -113
- package/css/components/Drawer/drawer.d.ts +3 -3
- package/css/components/Drawer/drawer.js +3 -3
- package/css/components/Drawer/drawer.mjs +3 -3
- package/css/components/FileUpload/file-upload.css +28 -34
- package/css/components/FormControl/form-control.css +3 -3
- package/css/components/Icon/icon.css +154 -18
- package/css/components/Icon/icon.d.ts +11 -0
- package/css/components/Icon/icon.js +11 -0
- package/css/components/Icon/icon.mjs +11 -0
- package/css/components/InlineEdit/inline-edit.css +3 -2
- package/css/components/InputGroup/input-group.css +22 -38
- package/css/components/InputGroup/input-group.d.ts +1 -2
- package/css/components/InputGroup/input-group.js +1 -2
- package/css/components/InputGroup/input-group.mjs +1 -2
- package/css/components/JumpLinks/jump-links.css +34 -34
- package/css/components/Label/label-group.css +39 -44
- package/css/components/Label/label.css +258 -355
- package/css/components/Label/label.d.ts +11 -10
- package/css/components/Label/label.js +11 -10
- package/css/components/Label/label.mjs +11 -10
- package/css/components/Nav/nav.css +240 -918
- package/css/components/Nav/nav.d.ts +9 -20
- package/css/components/Nav/nav.js +9 -20
- package/css/components/Nav/nav.mjs +9 -20
- package/css/components/NumberInput/number-input.css +8 -8
- package/css/components/NumberInput/number-input.d.ts +0 -3
- package/css/components/NumberInput/number-input.js +0 -3
- package/css/components/NumberInput/number-input.mjs +0 -3
- package/css/components/Sidebar/sidebar.css +20 -9
- package/css/components/Sidebar/sidebar.d.ts +1 -0
- package/css/components/Sidebar/sidebar.js +1 -0
- package/css/components/Sidebar/sidebar.mjs +1 -0
- package/css/components/SimpleList/simple-list.css +1 -1
- package/css/components/Tile/tile.css +40 -81
- package/css/components/Tile/tile.d.ts +0 -1
- package/css/components/Tile/tile.js +0 -1
- package/css/components/Tile/tile.mjs +0 -1
- package/css/components/Timestamp/timestamp.css +12 -9
- package/css/components/ToggleGroup/toggle-group.css +34 -47
- package/css/components/ToggleGroup/toggle-group.d.ts +0 -1
- package/css/components/ToggleGroup/toggle-group.js +0 -1
- package/css/components/ToggleGroup/toggle-group.mjs +0 -1
- package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -0
- package/css/docs/components/Nav/examples/Navigation.css +1 -39
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -2
- package/css/docs/components/Nav/examples/Navigation.js +0 -2
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -2
- package/package.json +3 -3
@@ -1,40 +1,29 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
declare const _default: {
|
3
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
|
-
"divider": "pf-v5-c-divider",
|
5
|
-
"menu": "pf-v5-c-menu",
|
6
|
-
"menuContent": "pf-v5-c-menu__content",
|
7
|
-
"menuItem": "pf-v5-c-menu__item",
|
8
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
9
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
10
5
|
"modifiers": {
|
11
|
-
"flyout": "pf-m-flyout",
|
12
|
-
"top": "pf-m-top",
|
13
|
-
"left": "pf-m-left",
|
14
|
-
"current": "pf-m-current",
|
15
|
-
"drillUp": "pf-m-drill-up",
|
16
|
-
"horizontal": "pf-m-horizontal",
|
17
|
-
"tertiary": "pf-m-tertiary",
|
18
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
19
|
-
"light": "pf-m-light",
|
20
6
|
"scrollable": "pf-m-scrollable",
|
21
7
|
"overflowHidden": "pf-m-overflow-hidden",
|
22
|
-
"
|
8
|
+
"fullWidth": "pf-m-full-width",
|
9
|
+
"fill": "pf-m-fill",
|
23
10
|
"expanded": "pf-m-expanded",
|
24
|
-
"drilldown": "pf-m-drilldown",
|
25
11
|
"hover": "pf-m-hover",
|
26
|
-
"
|
12
|
+
"current": "pf-m-current",
|
13
|
+
"flyout": "pf-m-flyout",
|
14
|
+
"horizontal": "pf-m-horizontal",
|
15
|
+
"subnav": "pf-m-subnav"
|
27
16
|
},
|
28
17
|
"nav": "pf-v5-c-nav",
|
29
18
|
"navItem": "pf-v5-c-nav__item",
|
30
19
|
"navLink": "pf-v5-c-nav__link",
|
31
20
|
"navList": "pf-v5-c-nav__list",
|
21
|
+
"navNav": "pf-v5-c-nav__nav",
|
32
22
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
33
23
|
"navSection": "pf-v5-c-nav__section",
|
34
24
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
35
25
|
"navSubnav": "pf-v5-c-nav__subnav",
|
36
26
|
"navToggle": "pf-v5-c-nav__toggle",
|
37
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
38
|
-
"themeDark": "pf-v5-theme-dark"
|
27
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
39
28
|
};
|
40
29
|
export default _default;
|
@@ -2,40 +2,29 @@
|
|
2
2
|
exports.__esModule = true;
|
3
3
|
require('./nav.css');
|
4
4
|
exports.default = {
|
5
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
5
6
|
"dirRtl": "pf-v5-m-dir-rtl",
|
6
|
-
"divider": "pf-v5-c-divider",
|
7
|
-
"menu": "pf-v5-c-menu",
|
8
|
-
"menuContent": "pf-v5-c-menu__content",
|
9
|
-
"menuItem": "pf-v5-c-menu__item",
|
10
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
11
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
12
7
|
"modifiers": {
|
13
|
-
"flyout": "pf-m-flyout",
|
14
|
-
"top": "pf-m-top",
|
15
|
-
"left": "pf-m-left",
|
16
|
-
"current": "pf-m-current",
|
17
|
-
"drillUp": "pf-m-drill-up",
|
18
|
-
"horizontal": "pf-m-horizontal",
|
19
|
-
"tertiary": "pf-m-tertiary",
|
20
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
21
|
-
"light": "pf-m-light",
|
22
8
|
"scrollable": "pf-m-scrollable",
|
23
9
|
"overflowHidden": "pf-m-overflow-hidden",
|
24
|
-
"
|
10
|
+
"fullWidth": "pf-m-full-width",
|
11
|
+
"fill": "pf-m-fill",
|
25
12
|
"expanded": "pf-m-expanded",
|
26
|
-
"drilldown": "pf-m-drilldown",
|
27
13
|
"hover": "pf-m-hover",
|
28
|
-
"
|
14
|
+
"current": "pf-m-current",
|
15
|
+
"flyout": "pf-m-flyout",
|
16
|
+
"horizontal": "pf-m-horizontal",
|
17
|
+
"subnav": "pf-m-subnav"
|
29
18
|
},
|
30
19
|
"nav": "pf-v5-c-nav",
|
31
20
|
"navItem": "pf-v5-c-nav__item",
|
32
21
|
"navLink": "pf-v5-c-nav__link",
|
33
22
|
"navList": "pf-v5-c-nav__list",
|
23
|
+
"navNav": "pf-v5-c-nav__nav",
|
34
24
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
35
25
|
"navSection": "pf-v5-c-nav__section",
|
36
26
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
37
27
|
"navSubnav": "pf-v5-c-nav__subnav",
|
38
28
|
"navToggle": "pf-v5-c-nav__toggle",
|
39
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
40
|
-
"themeDark": "pf-v5-theme-dark"
|
29
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
41
30
|
};
|
@@ -1,39 +1,28 @@
|
|
1
1
|
import './nav.css';
|
2
2
|
export default {
|
3
|
+
"buttonIcon": "pf-v5-c-button__icon",
|
3
4
|
"dirRtl": "pf-v5-m-dir-rtl",
|
4
|
-
"divider": "pf-v5-c-divider",
|
5
|
-
"menu": "pf-v5-c-menu",
|
6
|
-
"menuContent": "pf-v5-c-menu__content",
|
7
|
-
"menuItem": "pf-v5-c-menu__item",
|
8
|
-
"menuItemToggleIcon": "pf-v5-c-menu__item-toggle-icon",
|
9
|
-
"menuListItem": "pf-v5-c-menu__list-item",
|
10
5
|
"modifiers": {
|
11
|
-
"flyout": "pf-m-flyout",
|
12
|
-
"top": "pf-m-top",
|
13
|
-
"left": "pf-m-left",
|
14
|
-
"current": "pf-m-current",
|
15
|
-
"drillUp": "pf-m-drill-up",
|
16
|
-
"horizontal": "pf-m-horizontal",
|
17
|
-
"tertiary": "pf-m-tertiary",
|
18
|
-
"horizontalSubnav": "pf-m-horizontal-subnav",
|
19
|
-
"light": "pf-m-light",
|
20
6
|
"scrollable": "pf-m-scrollable",
|
21
7
|
"overflowHidden": "pf-m-overflow-hidden",
|
22
|
-
"
|
8
|
+
"fullWidth": "pf-m-full-width",
|
9
|
+
"fill": "pf-m-fill",
|
23
10
|
"expanded": "pf-m-expanded",
|
24
|
-
"drilldown": "pf-m-drilldown",
|
25
11
|
"hover": "pf-m-hover",
|
26
|
-
"
|
12
|
+
"current": "pf-m-current",
|
13
|
+
"flyout": "pf-m-flyout",
|
14
|
+
"horizontal": "pf-m-horizontal",
|
15
|
+
"subnav": "pf-m-subnav"
|
27
16
|
},
|
28
17
|
"nav": "pf-v5-c-nav",
|
29
18
|
"navItem": "pf-v5-c-nav__item",
|
30
19
|
"navLink": "pf-v5-c-nav__link",
|
31
20
|
"navList": "pf-v5-c-nav__list",
|
21
|
+
"navNav": "pf-v5-c-nav__nav",
|
32
22
|
"navScrollButton": "pf-v5-c-nav__scroll-button",
|
33
23
|
"navSection": "pf-v5-c-nav__section",
|
34
24
|
"navSectionTitle": "pf-v5-c-nav__section-title",
|
35
25
|
"navSubnav": "pf-v5-c-nav__subnav",
|
36
26
|
"navToggle": "pf-v5-c-nav__toggle",
|
37
|
-
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
38
|
-
"themeDark": "pf-v5-theme-dark"
|
27
|
+
"navToggleIcon": "pf-v5-c-nav__toggle-icon"
|
39
28
|
};
|
@@ -6,12 +6,12 @@
|
|
6
6
|
appearance: none;
|
7
7
|
}
|
8
8
|
|
9
|
+
:root,
|
9
10
|
.pf-v5-c-number-input {
|
10
|
-
--pf-v5-c-number-input__unit--c-input-group--MarginLeft: var(--pf-
|
11
|
-
--pf-v5-c-number-input__icon--FontSize: var(--pf-
|
12
|
-
--pf-v5-c-number-input--c-form-control--width-base: calc(var(--pf-
|
13
|
-
--pf-v5-c-number-input--c-form-control--width-icon:
|
14
|
-
--pf-v5-c-number-input--m-status--c-form-control--width-icon: var(--pf-v5-global--spacer--xl);
|
11
|
+
--pf-v5-c-number-input__unit--c-input-group--MarginLeft: var(--pf-t--global--spacer--sm);
|
12
|
+
--pf-v5-c-number-input__icon--FontSize: var(--pf-t--global--font--size--xs);
|
13
|
+
--pf-v5-c-number-input--c-form-control--width-base: calc(var(--pf-t--global--spacer--md) * 2 + var(--pf-t--global--border--width--box--default) * 2);
|
14
|
+
--pf-v5-c-number-input--c-form-control--width-icon: var(--pf-t--global--spacer--xl);
|
15
15
|
--pf-v5-c-number-input--c-form-control--width-chars: 4;
|
16
16
|
--pf-v5-c-number-input--c-form-control--Width:
|
17
17
|
calc(
|
@@ -19,12 +19,12 @@
|
|
19
19
|
var(--pf-v5-c-number-input--c-form-control--width-base) + var(--pf-v5-c-number-input--c-form-control--width-chars) * 1ch
|
20
20
|
) + var(--pf-v5-c-number-input--c-form-control--width-icon)
|
21
21
|
);
|
22
|
+
}
|
23
|
+
|
24
|
+
.pf-v5-c-number-input {
|
22
25
|
display: inline-flex;
|
23
26
|
align-items: center;
|
24
27
|
}
|
25
|
-
.pf-v5-c-number-input.pf-m-status {
|
26
|
-
--pf-v5-c-number-input--c-form-control--width-icon: var(--pf-v5-c-number-input--m-status--c-form-control--width-icon);
|
27
|
-
}
|
28
28
|
.pf-v5-c-number-input .pf-v5-c-form-control {
|
29
29
|
width: var(--pf-v5-c-number-input--c-form-control--Width);
|
30
30
|
}
|
@@ -2,9 +2,6 @@ import './number-input.css';
|
|
2
2
|
declare const _default: {
|
3
3
|
"formControl": "pf-v5-c-form-control",
|
4
4
|
"inputGroup": "pf-v5-c-input-group",
|
5
|
-
"modifiers": {
|
6
|
-
"status": "pf-m-status"
|
7
|
-
},
|
8
5
|
"numberInput": "pf-v5-c-number-input",
|
9
6
|
"numberInputIcon": "pf-v5-c-number-input__icon",
|
10
7
|
"numberInputUnit": "pf-v5-c-number-input__unit"
|
@@ -4,9 +4,6 @@ require('./number-input.css');
|
|
4
4
|
exports.default = {
|
5
5
|
"formControl": "pf-v5-c-form-control",
|
6
6
|
"inputGroup": "pf-v5-c-input-group",
|
7
|
-
"modifiers": {
|
8
|
-
"status": "pf-m-status"
|
9
|
-
},
|
10
7
|
"numberInput": "pf-v5-c-number-input",
|
11
8
|
"numberInputIcon": "pf-v5-c-number-input__icon",
|
12
9
|
"numberInputUnit": "pf-v5-c-number-input__unit"
|
@@ -2,9 +2,6 @@ import './number-input.css';
|
|
2
2
|
export default {
|
3
3
|
"formControl": "pf-v5-c-form-control",
|
4
4
|
"inputGroup": "pf-v5-c-input-group",
|
5
|
-
"modifiers": {
|
6
|
-
"status": "pf-m-status"
|
7
|
-
},
|
8
5
|
"numberInput": "pf-v5-c-number-input",
|
9
6
|
"numberInputIcon": "pf-v5-c-number-input__icon",
|
10
7
|
"numberInputUnit": "pf-v5-c-number-input__unit"
|
@@ -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
|
}
|
@@ -7,7 +7,7 @@
|
|
7
7
|
--pf-v5-c-simple-list__item-link--Color: var(--pf-t--global--text--color--subtle);
|
8
8
|
--pf-v5-c-simple-list__item-link--FontSize: var(--pf-t--global--font--size--body--default);
|
9
9
|
--pf-v5-c-simple-list__item-link--m-current--Color: var(--pf-t--global--text--color--regular);
|
10
|
-
--pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--
|
10
|
+
--pf-v5-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-t--global--background--color--action--plain--clicked);
|
11
11
|
--pf-v5-c-simple-list__item-link--hover--Color: var(--pf-t--global--text--color--subtle);
|
12
12
|
--pf-v5-c-simple-list__item-link--hover--BackgroundColor: var(--pf-t--global--background--color--action--plain--hover);
|
13
13
|
--pf-v5-c-simple-list__item-link--MixBlendMode: var(--pf-t--global--background--color--action--plain--hover--blend);
|
@@ -1,45 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-tile--
|
4
|
-
--pf-v5-c-tile--
|
5
|
-
--pf-v5-c-tile--
|
6
|
-
--pf-v5-c-tile--
|
7
|
-
--pf-v5-c-tile--
|
8
|
-
--pf-v5-c-tile--
|
9
|
-
--pf-v5-c-tile--before--BorderColor: var(--pf-
|
10
|
-
--pf-v5-c-tile--before--BorderWidth: var(--pf-
|
11
|
-
--pf-v5-c-tile--
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-tile) {
|
3
|
+
--pf-v5-c-tile--PaddingTop: var(--pf-t--global--spacer--lg);
|
4
|
+
--pf-v5-c-tile--PaddingRight: var(--pf-t--global--spacer--lg);
|
5
|
+
--pf-v5-c-tile--PaddingBottom: var(--pf-t--global--spacer--lg);
|
6
|
+
--pf-v5-c-tile--PaddingLeft: var(--pf-t--global--spacer--lg);
|
7
|
+
--pf-v5-c-tile--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
8
|
+
--pf-v5-c-tile--BorderRadius: var(--pf-t--global--border--radius--medium);
|
9
|
+
--pf-v5-c-tile--before--BorderColor: var(--pf-t--global--border--color--default);
|
10
|
+
--pf-v5-c-tile--before--BorderWidth: var(--pf-t--global--border--width--box--default);
|
11
|
+
--pf-v5-c-tile--before--BorderRadius: var(--pf-v5-c-tile--BorderRadius);
|
12
12
|
--pf-v5-c-tile--after--BackgroundColor: transparent;
|
13
|
-
--pf-v5-c-
|
14
|
-
--pf-v5-c-
|
15
|
-
--pf-v5-c-
|
16
|
-
--pf-v5-c-
|
17
|
-
--pf-v5-c-
|
18
|
-
--pf-v5-c-
|
19
|
-
--pf-v5-c-
|
20
|
-
--pf-v5-c-
|
21
|
-
--pf-v5-c-
|
22
|
-
--pf-v5-c-tile--
|
23
|
-
--pf-v5-c-tile--
|
24
|
-
--pf-v5-c-tile--
|
25
|
-
--pf-v5-c-tile--
|
26
|
-
--pf-v5-c-tile--
|
27
|
-
--pf-v5-c-
|
28
|
-
--pf-v5-c-
|
29
|
-
--pf-v5-c-tile--m-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
--pf-v5-c-tile--m-selected--after--ScaleY: 2;
|
34
|
-
--pf-v5-c-tile--m-selected__icon--Color: var(--pf-v5-global--primary-color--100);
|
35
|
-
--pf-v5-c-tile--m-selected__title--Color: var(--pf-v5-global--primary-color--100);
|
36
|
-
--pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--300);
|
37
|
-
--pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--100);
|
38
|
-
--pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--100);
|
39
|
-
--pf-v5-c-tile--m-disabled__body--Color: var(--pf-v5-global--disabled-color--100);
|
40
|
-
--pf-v5-c-tile__header--m-stacked__icon--MarginBottom: var(--pf-v5-global--spacer--xs);
|
41
|
-
--pf-v5-c-tile__header--m-stacked__icon--FontSize: var(--pf-v5-global--icon--FontSize--lg);
|
42
|
-
--pf-v5-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-v5-global--icon--FontSize--xl);
|
13
|
+
--pf-v5-c-tile__icon--MarginRight: var(--pf-t--global--spacer--sm);
|
14
|
+
--pf-v5-c-tile__icon--FontSize: var(--pf-t--global--icon--size--body--default);
|
15
|
+
--pf-v5-c-tile__icon--Color: var(--pf-t--global--icon--color--regular);
|
16
|
+
--pf-v5-c-tile__title--Color: var(--pf-t--global--text--color--regular);
|
17
|
+
--pf-v5-c-tile__title--FontWeight: var(--pf-t--global--font--weight--body--bold);
|
18
|
+
--pf-v5-c-tile__body--Color: var(--pf-t--global--text--color--regular);
|
19
|
+
--pf-v5-c-tile__body--FontSize: var(--pf-t--global--font--size--body--sm);
|
20
|
+
--pf-v5-c-tile--hover--before--BorderColor: var(--pf-t--global--border--color--hover);
|
21
|
+
--pf-v5-c-tile--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
22
|
+
--pf-v5-c-tile--m-selected--before--BorderWidth: var(--pf-t--global--border--width--box--clicked);
|
23
|
+
--pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
24
|
+
--pf-v5-c-tile--m-disabled__title--Color: var(--pf-t--global--text--color--on-disabled);
|
25
|
+
--pf-v5-c-tile--m-disabled__icon--Color: var(--pf-t--global--icon--color--on-disabled);
|
26
|
+
--pf-v5-c-tile--m-disabled__body--Color: var(--pf-t--global--text--color--on-disabled);
|
27
|
+
--pf-v5-c-tile__header--m-stacked__icon--MarginBottom: var(--pf-t--global--spacer--md);
|
28
|
+
--pf-v5-c-tile__header--m-stacked__icon--FontSize: var(--pf-t--global--icon--size--xl);
|
29
|
+
--pf-v5-c-tile--m-display-lg__header--m-stacked__icon--FontSize: var(--pf-t--global--icon--size--2xl);
|
30
|
+
}
|
31
|
+
|
32
|
+
.pf-v5-c-tile {
|
43
33
|
position: relative;
|
44
34
|
display: inline-grid;
|
45
35
|
grid-template-rows: min-content;
|
@@ -47,11 +37,9 @@
|
|
47
37
|
padding-block-end: var(--pf-v5-c-tile--PaddingBottom);
|
48
38
|
padding-inline-start: var(--pf-v5-c-tile--PaddingLeft);
|
49
39
|
padding-inline-end: var(--pf-v5-c-tile--PaddingRight);
|
50
|
-
text-align: center;
|
51
40
|
cursor: pointer;
|
52
41
|
background-color: var(--pf-v5-c-tile--BackgroundColor);
|
53
|
-
|
54
|
-
transform: translateY(var(--pf-v5-c-tile--TranslateY));
|
42
|
+
border-radius: var(--pf-v5-c-tile--BorderRadius);
|
55
43
|
}
|
56
44
|
.pf-v5-c-tile::before, .pf-v5-c-tile::after {
|
57
45
|
position: absolute;
|
@@ -61,42 +49,21 @@
|
|
61
49
|
.pf-v5-c-tile::before {
|
62
50
|
inset: 0;
|
63
51
|
border: var(--pf-v5-c-tile--before--BorderWidth) solid var(--pf-v5-c-tile--before--BorderColor);
|
64
|
-
|
65
|
-
.pf-v5-c-tile::after {
|
66
|
-
inset-block-end: 0;
|
67
|
-
inset-inline-start: 0;
|
68
|
-
inset-inline-end: 0;
|
69
|
-
height: var(--pf-v5-c-tile--after--Height);
|
70
|
-
background-color: var(--pf-v5-c-tile--after--BackgroundColor);
|
71
|
-
transition: var(--pf-v5-c-tile--after--Transition);
|
72
|
-
transform: scaleY(var(--pf-v5-c-tile--after--ScaleY)) translateY(var(--pf-v5-c-tile--after--TranslateY));
|
52
|
+
border-radius: var(--pf-v5-c-tile--before--BorderRadius);
|
73
53
|
}
|
74
54
|
.pf-v5-c-tile:hover {
|
75
|
-
--pf-v5-c-
|
76
|
-
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--hover__icon--Color);
|
77
|
-
--pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--hover--after--BackgroundColor);
|
55
|
+
--pf-v5-c-tile--before--BorderColor: var(--pf-v5-c-tile--hover--before--BorderColor);
|
78
56
|
}
|
79
|
-
.pf-v5-c-tile
|
80
|
-
--pf-v5-c-
|
81
|
-
--pf-v5-c-
|
82
|
-
--pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--focus--after--BackgroundColor);
|
83
|
-
}
|
84
|
-
.pf-v5-c-tile:active, .pf-v5-c-tile.pf-m-selected {
|
85
|
-
--pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--m-selected__title--Color);
|
86
|
-
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-selected__icon--Color);
|
87
|
-
--pf-v5-c-tile--TranslateY: var(--pf-v5-c-tile--m-selected--TranslateY);
|
88
|
-
--pf-v5-c-tile--Transition: var(--pf-v5-c-tile--m-selected--Transition);
|
89
|
-
--pf-v5-c-tile--after--Height: var(--pf-v5-c-tile--m-selected--after--Height);
|
90
|
-
--pf-v5-c-tile--after--BackgroundColor: var(--pf-v5-c-tile--m-selected--after--BackgroundColor);
|
91
|
-
--pf-v5-c-tile--after--Transition: var(--pf-v5-c-tile--m-selected--after--Transition);
|
92
|
-
--pf-v5-c-tile--after--ScaleY: var(--pf-v5-c-tile--m-selected--after--ScaleY);
|
57
|
+
.pf-v5-c-tile.pf-m-selected {
|
58
|
+
--pf-v5-c-tile--before--BorderColor: var(--pf-v5-c-tile--m-selected--before--BorderColor);
|
59
|
+
--pf-v5-c-tile--before--BorderWidth: var(--pf-v5-c-tile--m-selected--before--BorderWidth);
|
93
60
|
}
|
94
61
|
.pf-v5-c-tile.pf-m-disabled {
|
95
62
|
--pf-v5-c-tile--BackgroundColor: var(--pf-v5-c-tile--m-disabled--BackgroundColor);
|
96
63
|
--pf-v5-c-tile__title--Color: var(--pf-v5-c-tile--m-disabled__title--Color);
|
64
|
+
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-disabled__icon--Color);
|
97
65
|
--pf-v5-c-tile__body--Color: var(--pf-v5-c-tile--m-disabled__body--Color);
|
98
66
|
--pf-v5-c-tile--before--BorderWidth: 0;
|
99
|
-
--pf-v5-c-tile__icon--Color: var(--pf-v5-c-tile--m-disabled__icon--Color);
|
100
67
|
pointer-events: none;
|
101
68
|
}
|
102
69
|
.pf-v5-c-tile.pf-m-display-lg .pf-v5-c-tile__header.pf-m-stacked {
|
@@ -106,22 +73,21 @@
|
|
106
73
|
.pf-v5-c-tile__header {
|
107
74
|
display: flex;
|
108
75
|
align-items: center;
|
109
|
-
justify-content: center;
|
110
76
|
}
|
111
77
|
.pf-v5-c-tile__header.pf-m-stacked {
|
112
78
|
--pf-v5-c-tile__icon--MarginRight: 0;
|
113
79
|
--pf-v5-c-tile__icon--FontSize: var(--pf-v5-c-tile__header--m-stacked__icon--FontSize);
|
114
80
|
flex-direction: column;
|
115
|
-
|
81
|
+
align-items: flex-start;
|
116
82
|
}
|
117
83
|
.pf-v5-c-tile__header.pf-m-stacked .pf-v5-c-tile__icon {
|
118
84
|
display: flex;
|
119
85
|
align-items: center;
|
120
|
-
justify-content: center;
|
121
86
|
margin-block-end: var(--pf-v5-c-tile__header--m-stacked__icon--MarginBottom);
|
122
87
|
}
|
123
88
|
|
124
89
|
.pf-v5-c-tile__title {
|
90
|
+
font-weight: var(--pf-v5-c-tile__title--FontWeight);
|
125
91
|
color: var(--pf-v5-c-tile__title--Color);
|
126
92
|
}
|
127
93
|
|
@@ -134,11 +100,4 @@
|
|
134
100
|
margin-inline-end: var(--pf-v5-c-tile__icon--MarginRight);
|
135
101
|
font-size: var(--pf-v5-c-tile__icon--FontSize);
|
136
102
|
color: var(--pf-v5-c-tile__icon--Color);
|
137
|
-
}
|
138
|
-
|
139
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-tile {
|
140
|
-
--pf-v5-c-tile--m-disabled--BackgroundColor: var(--pf-v5-global--disabled-color--200);
|
141
|
-
--pf-v5-c-tile--m-disabled__title--Color: var(--pf-v5-global--disabled-color--300);
|
142
|
-
--pf-v5-c-tile--m-disabled__icon--Color: var(--pf-v5-global--disabled-color--300);
|
143
|
-
--pf-v5-c-tile--m-disabled__body--Color: var(--pf-v5-global--disabled-color--300);
|
144
103
|
}
|
@@ -1,16 +1,19 @@
|
|
1
|
-
.pf-v5-c-timestamp {
|
2
|
-
--pf-v5-c-timestamp--FontSize: var(--pf-
|
3
|
-
--pf-v5-c-timestamp--Color: var(--pf-
|
1
|
+
:root, .pf-v5-c-timestamp {
|
2
|
+
--pf-v5-c-timestamp--FontSize: var(--pf-t--global--font--size--body--sm);
|
3
|
+
--pf-v5-c-timestamp--Color: var(--pf-t--global--text--color--subtle);
|
4
4
|
--pf-v5-c-timestamp--OutlineOffset: 0.1875rem;
|
5
5
|
--pf-v5-c-timestamp--m-help-text--TextDecorationLine: underline;
|
6
6
|
--pf-v5-c-timestamp--m-help-text--TextDecorationStyle: dashed;
|
7
|
-
--pf-v5-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-
|
7
|
+
--pf-v5-c-timestamp--m-help-text--TextDecorationThickness: var(--pf-t--global--border--width--regular);
|
8
8
|
--pf-v5-c-timestamp--m-help-text--TextUnderlineOffset: 0.25rem;
|
9
|
-
--pf-v5-c-timestamp--m-help-text--TextDecorationColor: var(--pf-
|
10
|
-
--pf-v5-c-timestamp--m-help-text--hover--Color: var(--pf-
|
11
|
-
--pf-v5-c-timestamp--m-help-text--focus--Color: var(--pf-
|
12
|
-
--pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-
|
13
|
-
--pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-
|
9
|
+
--pf-v5-c-timestamp--m-help-text--TextDecorationColor: var(--pf-t--global--border--color--default);
|
10
|
+
--pf-v5-c-timestamp--m-help-text--hover--Color: var(--pf-t--global--text--color--regular);
|
11
|
+
--pf-v5-c-timestamp--m-help-text--focus--Color: var(--pf-t--global--text--color--regular);
|
12
|
+
--pf-v5-c-timestamp--m-help-text--hover--TextDecorationColor: var(--pf-t--global--text--color--regular);
|
13
|
+
--pf-v5-c-timestamp--m-help-text--focus--TextDecorationColor: var(--pf-t--global--text--color--regular);
|
14
|
+
}
|
15
|
+
|
16
|
+
.pf-v5-c-timestamp {
|
14
17
|
display: inline-block;
|
15
18
|
font-size: var(--pf-v5-c-timestamp--FontSize);
|
16
19
|
color: var(--pf-v5-c-timestamp--Color);
|