@patternfly/react-styles 6.0.0-alpha.7 → 6.0.0-alpha.9
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/css/components/ActionList/action-list.css +18 -17
- package/css/components/BackToTop/back-to-top.css +0 -1
- package/css/components/Button/button.css +36 -21
- 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/Masthead/masthead.css +15 -29
- package/css/components/Masthead/masthead.d.ts +0 -1
- package/css/components/Masthead/masthead.js +0 -1
- package/css/components/Masthead/masthead.mjs +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.css +77 -50
- package/css/components/MultipleFileUpload/multiple-file-upload.d.ts +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.js +0 -1
- package/css/components/MultipleFileUpload/multiple-file-upload.mjs +0 -1
- 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/OverflowMenu/overflow-menu.css +17 -47
- package/css/components/OverflowMenu/overflow-menu.d.ts +1 -3
- package/css/components/OverflowMenu/overflow-menu.js +1 -3
- package/css/components/OverflowMenu/overflow-menu.mjs +1 -3
- package/css/components/Pagination/pagination.css +6 -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/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/components/Toolbar/toolbar.css +2525 -1040
- package/css/components/Toolbar/toolbar.d.ts +406 -103
- package/css/components/Toolbar/toolbar.js +406 -103
- package/css/components/Toolbar/toolbar.mjs +406 -103
- package/css/docs/components/DragDrop/examples/DragDrop.css +1 -1
- package/css/docs/components/Label/examples/Label.css +4 -0
- package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/package.json +3 -3
@@ -1,10 +1,8 @@
|
|
1
1
|
import './overflow-menu.css';
|
2
2
|
export default {
|
3
|
-
"divider": "pf-v5-c-divider",
|
4
3
|
"modifiers": {
|
5
4
|
"buttonGroup": "pf-m-button-group",
|
6
|
-
"iconButtonGroup": "pf-m-icon-button-group"
|
7
|
-
"vertical": "pf-m-vertical"
|
5
|
+
"iconButtonGroup": "pf-m-icon-button-group"
|
8
6
|
},
|
9
7
|
"overflowMenu": "pf-v5-c-overflow-menu",
|
10
8
|
"overflowMenuContent": "pf-v5-c-overflow-menu__content",
|
@@ -6,7 +6,8 @@
|
|
6
6
|
appearance: none;
|
7
7
|
}
|
8
8
|
|
9
|
-
:root
|
9
|
+
:where(:root),
|
10
|
+
:where(.pf-v5-c-pagination) {
|
10
11
|
--pf-v5-c-pagination--inset: 0;
|
11
12
|
--pf-v5-c-pagination--ColumnGap: var(--pf-t--global--spacer--lg);
|
12
13
|
--pf-v5-c-pagination--m-page-insets--inset: var(--pf-t--global--spacer--md);
|
@@ -46,7 +47,8 @@
|
|
46
47
|
--pf-v5-c-pagination--m-display-full__page-menu--Display: inline-flex;
|
47
48
|
}
|
48
49
|
@media screen and (min-width: 768px) {
|
49
|
-
:root
|
50
|
+
:where(:root),
|
51
|
+
:where(.pf-v5-c-pagination) {
|
50
52
|
--pf-v5-c-pagination--m-bottom--BoxShadow: none;
|
51
53
|
--pf-v5-c-pagination__page-menu--Display: inline-flex;
|
52
54
|
--pf-v5-c-pagination__nav--Display: inline-flex;
|
@@ -54,7 +56,8 @@
|
|
54
56
|
}
|
55
57
|
}
|
56
58
|
@media screen and (min-width: 1200px) {
|
57
|
-
:root
|
59
|
+
:where(:root),
|
60
|
+
:where(.pf-v5-c-pagination) {
|
58
61
|
--pf-v5-c-pagination--m-bottom--PaddingRight: var(--pf-v5-c-pagination--m-bottom--xl--PaddingRight);
|
59
62
|
--pf-v5-c-pagination--m-bottom--PaddingLeft: var(--pf-v5-c-pagination--m-bottom--xl--PaddingLeft);
|
60
63
|
--pf-v5-c-pagination__scroll-button--Width: var(--pf-v5-c-pagination__scroll-button--xl--Width);
|
@@ -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,38 +1,39 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
--pf-v5-c-toggle-group__button--
|
4
|
-
--pf-v5-c-toggle-group__button--
|
5
|
-
--pf-v5-c-toggle-group__button--
|
6
|
-
--pf-v5-c-toggle-group__button--
|
7
|
-
--pf-v5-c-toggle-group__button--
|
8
|
-
--pf-v5-c-toggle-group__button--
|
9
|
-
--pf-v5-c-toggle-group__button--
|
1
|
+
:where(:root),
|
2
|
+
:where(.pf-v5-c-toggle-group) {
|
3
|
+
--pf-v5-c-toggle-group__button--PaddingTop: var(--pf-t--global--spacer--sm);
|
4
|
+
--pf-v5-c-toggle-group__button--PaddingRight: var(--pf-t--global--spacer--md);
|
5
|
+
--pf-v5-c-toggle-group__button--PaddingBottom: var(--pf-t--global--spacer--sm);
|
6
|
+
--pf-v5-c-toggle-group__button--PaddingLeft: var(--pf-t--global--spacer--md);
|
7
|
+
--pf-v5-c-toggle-group__button--FontSize: var(--pf-t--global--font--size--body--default);
|
8
|
+
--pf-v5-c-toggle-group__button--LineHeight: var(--pf-t--global--font--line-height--body);
|
9
|
+
--pf-v5-c-toggle-group__button--Color: var(--pf-t--global--text--color--regular);
|
10
|
+
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-t--global--background--color--action--plain--default);
|
10
11
|
--pf-v5-c-toggle-group__button--ZIndex: auto;
|
11
|
-
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-
|
12
|
-
--pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-
|
13
|
-
--pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-
|
14
|
-
--pf-v5-c-toggle-group__button--
|
15
|
-
--pf-v5-c-toggle-group__button--
|
16
|
-
--pf-v5-c-toggle-group__button--
|
17
|
-
--pf-v5-c-toggle-group__button--
|
18
|
-
--pf-v5-c-toggle-
|
19
|
-
--pf-v5-c-toggle-
|
20
|
-
--pf-v5-c-toggle-
|
21
|
-
--pf-v5-c-toggle-group__item--
|
22
|
-
--pf-v5-c-toggle-group__item--
|
23
|
-
--pf-v5-c-toggle-
|
24
|
-
--pf-v5-c-toggle-
|
25
|
-
--pf-v5-c-toggle-
|
26
|
-
--pf-v5-c-toggle-
|
27
|
-
--pf-v5-c-toggle-group__button--m-selected--
|
28
|
-
--pf-v5-c-toggle-group__button--m-selected--Color: initial;
|
29
|
-
--pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-v5-global--primary-color--100);
|
30
|
-
--pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-v5-global--ZIndex--xs);
|
12
|
+
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-t--global--background--color--primary--hover);
|
13
|
+
--pf-v5-c-toggle-group__button--hover--ZIndex: var(--pf-t--global--Zindex--xs);
|
14
|
+
--pf-v5-c-toggle-group__button--hover--before--BorderColor: var(--pf-t--global--border--color--default);
|
15
|
+
--pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
16
|
+
--pf-v5-c-toggle-group__button--disabled--Color: var(--pf-t--global--text--color--on-disabled);
|
17
|
+
--pf-v5-c-toggle-group__button--before--BorderWidth: var(--pf-t--global--border--width--control--default);
|
18
|
+
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-t--global--border--color--default);
|
19
|
+
--pf-v5-c-toggle-group__item--item--MarginLeft: calc(-1 * var(--pf-t--global--border--width--control--default));
|
20
|
+
--pf-v5-c-toggle-group__item--first-child__button--BorderTopLeftRadius: var(--pf-t--global--border--radius--tiny);
|
21
|
+
--pf-v5-c-toggle-group__item--first-child__button--BorderBottomLeftRadius: var(--pf-t--global--border--radius--tiny);
|
22
|
+
--pf-v5-c-toggle-group__item--last-child__button--BorderTopRightRadius: var(--pf-t--global--border--radius--tiny);
|
23
|
+
--pf-v5-c-toggle-group__item--last-child__button--BorderBottomRightRadius: var(--pf-t--global--border--radius--tiny);
|
24
|
+
--pf-v5-c-toggle-group__icon--text--MarginLeft: var(--pf-t--global--spacer--sm);
|
25
|
+
--pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-t--global--color--brand--default);
|
26
|
+
--pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-t--global--text--color--on-brand--default);
|
27
|
+
--pf-v5-c-toggle-group__button--m-selected--before--BorderColor: var(--pf-t--global--border--color--clicked);
|
28
|
+
--pf-v5-c-toggle-group__button--m-selected--ZIndex: var(--pf-t--global--Zindex--xs);
|
31
29
|
--pf-v5-c-toggle-group--m-compact__button--PaddingTop: 0;
|
32
|
-
--pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-
|
30
|
+
--pf-v5-c-toggle-group--m-compact__button--PaddingRight: var(--pf-t--global--spacer--sm);
|
33
31
|
--pf-v5-c-toggle-group--m-compact__button--PaddingBottom: 0;
|
34
|
-
--pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-
|
35
|
-
--pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-
|
32
|
+
--pf-v5-c-toggle-group--m-compact__button--PaddingLeft: var(--pf-t--global--spacer--sm);
|
33
|
+
--pf-v5-c-toggle-group--m-compact__button--FontSize: var(--pf-t--global--font--size--body--default);
|
34
|
+
}
|
35
|
+
|
36
|
+
.pf-v5-c-toggle-group {
|
36
37
|
display: flex;
|
37
38
|
}
|
38
39
|
.pf-v5-c-toggle-group.pf-m-compact {
|
@@ -79,17 +80,12 @@
|
|
79
80
|
content: "";
|
80
81
|
border: var(--pf-v5-c-toggle-group__button--before--BorderWidth) solid var(--pf-v5-c-toggle-group__button--before--BorderColor);
|
81
82
|
}
|
82
|
-
.pf-v5-c-toggle-group__button:hover {
|
83
|
+
.pf-v5-c-toggle-group__button:hover, .pf-v5-c-toggle-group__button:focus {
|
83
84
|
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--hover--BackgroundColor);
|
84
85
|
--pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--hover--ZIndex);
|
85
86
|
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--hover--before--BorderColor);
|
86
87
|
text-decoration: none;
|
87
88
|
}
|
88
|
-
.pf-v5-c-toggle-group__button:focus {
|
89
|
-
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--focus--BackgroundColor);
|
90
|
-
--pf-v5-c-toggle-group__button--ZIndex: var(--pf-v5-c-toggle-group__button--focus--ZIndex);
|
91
|
-
--pf-v5-c-toggle-group__button--before--BorderColor: var(--pf-v5-c-toggle-group__button--focus--before--BorderColor);
|
92
|
-
}
|
93
89
|
.pf-v5-c-toggle-group__button.pf-m-selected {
|
94
90
|
--pf-v5-c-toggle-group__button--BackgroundColor: var(--pf-v5-c-toggle-group__button--m-selected--BackgroundColor);
|
95
91
|
--pf-v5-c-toggle-group__button--Color: var(--pf-v5-c-toggle-group__button--m-selected--Color, inherit);
|
@@ -105,13 +101,4 @@
|
|
105
101
|
.pf-v5-c-toggle-group__icon + .pf-v5-c-toggle-group__text,
|
106
102
|
.pf-v5-c-toggle-group__text + .pf-v5-c-toggle-group__icon {
|
107
103
|
margin-inline-start: var(--pf-v5-c-toggle-group__icon--text--MarginLeft);
|
108
|
-
}
|
109
|
-
|
110
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-toggle-group {
|
111
|
-
--pf-v5-c-toggle-group__button--hover--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
112
|
-
--pf-v5-c-toggle-group__button--focus--BackgroundColor: var(--pf-v5-global--palette--black-700);
|
113
|
-
--pf-v5-c-toggle-group__button--disabled--BackgroundColor: var(--pf-v5-global--palette--black-600);
|
114
|
-
--pf-v5-c-toggle-group__button--disabled--Color: var(--pf-v5-global--palette--black-100);
|
115
|
-
--pf-v5-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-v5-global--primary-color--300);
|
116
|
-
--pf-v5-c-toggle-group__button--m-selected--Color: var(--pf-v5-global--primary-color--400);
|
117
104
|
}
|
@@ -5,7 +5,6 @@ declare const _default: {
|
|
5
5
|
"selected": "pf-m-selected",
|
6
6
|
"disabled": "pf-m-disabled"
|
7
7
|
},
|
8
|
-
"themeDark": "pf-v5-theme-dark",
|
9
8
|
"toggleGroup": "pf-v5-c-toggle-group",
|
10
9
|
"toggleGroupButton": "pf-v5-c-toggle-group__button",
|
11
10
|
"toggleGroupIcon": "pf-v5-c-toggle-group__icon",
|
@@ -7,7 +7,6 @@ exports.default = {
|
|
7
7
|
"selected": "pf-m-selected",
|
8
8
|
"disabled": "pf-m-disabled"
|
9
9
|
},
|
10
|
-
"themeDark": "pf-v5-theme-dark",
|
11
10
|
"toggleGroup": "pf-v5-c-toggle-group",
|
12
11
|
"toggleGroupButton": "pf-v5-c-toggle-group__button",
|
13
12
|
"toggleGroupIcon": "pf-v5-c-toggle-group__icon",
|