@patternfly/react-styles 6.0.0-alpha.1 → 6.0.0-alpha.10
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +102 -0
- package/README.md +1 -1
- package/css/assets/images/PF-Backdrop.svg +1 -0
- package/css/assets/images/PF-HorizontalLogo-Color.svg +29 -0
- package/css/assets/images/PF-HorizontalLogo-Reverse.svg +28 -0
- package/css/assets/images/PF-IconLogo-Reverse.svg +14 -0
- package/css/assets/images/PF-IconLogo-color.svg +17 -0
- package/css/assets/images/PF-IconLogo.svg +17 -0
- package/css/assets/images/logo__pf--reverse-on-md.svg +1 -1
- package/css/assets/images/pf-background.svg +22 -0
- package/css/assets/images/pf-c-brand__logo-on-lg-white.svg +32 -0
- package/css/assets/images/pf-c-brand__logo-on-md-white.svg +42 -0
- package/css/assets/images/pf-c-brand__logo-on-sm-white.svg +17 -0
- package/css/assets/images/pf-c-brand__logo-on-sm.svg +1 -1
- package/css/assets/images/pf-c-brand__logo-on-xl-white.svg +39 -0
- package/css/assets/images/pf_logo_white.hbs +35 -0
- package/css/assets/images/pf_logo_white.svg +38 -0
- package/css/components/AboutModalBox/about-modal-box.css +57 -94
- package/css/components/AboutModalBox/about-modal-box.d.ts +1 -2
- package/css/components/AboutModalBox/about-modal-box.js +1 -2
- package/css/components/AboutModalBox/about-modal-box.mjs +1 -2
- package/css/components/Accordion/accordion.css +85 -177
- package/css/components/Accordion/accordion.d.ts +3 -2
- package/css/components/Accordion/accordion.js +3 -2
- package/css/components/Accordion/accordion.mjs +3 -2
- package/css/components/ActionList/action-list.css +18 -17
- package/css/components/Alert/alert-group.css +20 -16
- package/css/components/Alert/alert.css +57 -84
- package/css/components/Alert/alert.d.ts +1 -2
- package/css/components/Alert/alert.js +1 -2
- package/css/components/Alert/alert.mjs +1 -2
- package/css/components/Avatar/avatar.css +10 -13
- package/css/components/Avatar/avatar.d.ts +1 -2
- package/css/components/Avatar/avatar.js +1 -2
- package/css/components/Avatar/avatar.mjs +1 -2
- package/css/components/BackToTop/back-to-top.css +17 -16
- package/css/components/Backdrop/backdrop.css +6 -2
- package/css/components/BackgroundImage/background-image.css +5 -1
- package/css/components/Badge/badge.css +23 -15
- package/css/components/Badge/badge.d.ts +2 -2
- package/css/components/Badge/badge.js +2 -2
- package/css/components/Badge/badge.mjs +2 -2
- package/css/components/Banner/banner.css +90 -64
- package/css/components/Banner/banner.d.ts +12 -4
- package/css/components/Banner/banner.js +12 -4
- package/css/components/Banner/banner.mjs +12 -4
- package/css/components/Breadcrumb/breadcrumb.css +19 -16
- package/css/components/Button/button.css +444 -435
- package/css/components/Button/button.d.ts +10 -9
- package/css/components/Button/button.js +10 -9
- package/css/components/Button/button.mjs +10 -9
- package/css/components/Card/card.css +100 -194
- package/css/components/Card/card.d.ts +5 -9
- package/css/components/Card/card.js +5 -9
- package/css/components/Card/card.mjs +5 -9
- package/css/components/Check/check.css +24 -21
- 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/Content/content.css +67 -67
- package/css/components/DataList/data-list.css +101 -158
- package/css/components/DataList/data-list.d.ts +1 -2
- package/css/components/DataList/data-list.js +1 -2
- package/css/components/DataList/data-list.mjs +1 -2
- package/css/components/DescriptionList/description-list.css +39 -34
- package/css/components/Divider/divider.css +97 -177
- package/css/components/Divider/divider.d.ts +1 -0
- package/css/components/Divider/divider.js +1 -0
- package/css/components/Divider/divider.mjs +1 -0
- 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 +112 -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/Dropdown/dropdown.css +1 -3
- package/css/components/Dropdown/dropdown.d.ts +0 -1
- package/css/components/Dropdown/dropdown.js +0 -1
- package/css/components/Dropdown/dropdown.mjs +0 -1
- package/css/components/EmptyState/empty-state.css +57 -34
- package/css/components/EmptyState/empty-state.d.ts +6 -1
- package/css/components/EmptyState/empty-state.js +6 -1
- package/css/components/EmptyState/empty-state.mjs +6 -1
- package/css/components/ExpandableSection/expandable-section.css +64 -62
- package/css/components/ExpandableSection/expandable-section.d.ts +1 -3
- package/css/components/ExpandableSection/expandable-section.js +1 -3
- package/css/components/ExpandableSection/expandable-section.mjs +1 -3
- package/css/components/FileUpload/file-upload.css +28 -34
- package/css/components/Form/form.css +68 -114
- package/css/components/Form/form.d.ts +2 -6
- package/css/components/Form/form.js +2 -6
- package/css/components/Form/form.mjs +2 -6
- package/css/components/FormControl/form-control.css +86 -111
- package/css/components/FormControl/form-control.d.ts +1 -2
- package/css/components/FormControl/form-control.js +1 -2
- package/css/components/FormControl/form-control.mjs +1 -2
- package/css/components/HelperText/helper-text.css +28 -34
- package/css/components/HelperText/helper-text.d.ts +1 -2
- package/css/components/HelperText/helper-text.js +1 -2
- package/css/components/HelperText/helper-text.mjs +1 -2
- package/css/components/Hint/hint.css +28 -21
- package/css/components/Hint/hint.d.ts +1 -2
- package/css/components/Hint/hint.js +1 -2
- package/css/components/Hint/hint.mjs +1 -2
- 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 +8 -7
- 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/List/list.css +16 -16
- package/css/components/Login/login.css +70 -97
- package/css/components/Login/login.d.ts +0 -2
- package/css/components/Login/login.js +0 -2
- package/css/components/Login/login.mjs +0 -2
- package/css/components/Masthead/masthead.css +262 -498
- package/css/components/Masthead/masthead.d.ts +3 -45
- package/css/components/Masthead/masthead.js +3 -45
- package/css/components/Masthead/masthead.mjs +3 -45
- package/css/components/Menu/menu.css +3 -0
- package/css/components/Menu/menu.d.ts +1 -0
- package/css/components/Menu/menu.js +1 -0
- package/css/components/Menu/menu.mjs +1 -0
- package/css/components/MenuToggle/menu-toggle.css +58 -80
- package/css/components/ModalBox/modal-box.css +59 -52
- package/css/components/ModalBox/modal-box.d.ts +1 -2
- package/css/components/ModalBox/modal-box.js +1 -2
- package/css/components/ModalBox/modal-box.mjs +1 -2
- 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/Nav/nav.css +241 -917
- 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/NotificationBadge/notification-badge.css +56 -81
- package/css/components/NotificationBadge/notification-badge.d.ts +1 -5
- package/css/components/NotificationBadge/notification-badge.js +1 -5
- package/css/components/NotificationBadge/notification-badge.mjs +1 -5
- package/css/components/NotificationDrawer/notification-drawer.css +104 -115
- package/css/components/NotificationDrawer/notification-drawer.d.ts +3 -3
- package/css/components/NotificationDrawer/notification-drawer.js +3 -3
- package/css/components/NotificationDrawer/notification-drawer.mjs +3 -3
- 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/Page/page.css +112 -209
- package/css/components/Page/page.d.ts +5 -12
- package/css/components/Page/page.js +5 -12
- package/css/components/Page/page.mjs +5 -12
- package/css/components/Pagination/pagination.css +64 -121
- package/css/components/Pagination/pagination.d.ts +2 -5
- package/css/components/Pagination/pagination.js +2 -5
- package/css/components/Pagination/pagination.mjs +2 -5
- package/css/components/Panel/panel.css +27 -23
- package/css/components/Panel/panel.d.ts +2 -2
- package/css/components/Panel/panel.js +2 -2
- package/css/components/Panel/panel.mjs +2 -2
- package/css/components/Popover/popover.css +42 -53
- package/css/components/Popover/popover.d.ts +1 -2
- package/css/components/Popover/popover.js +1 -2
- package/css/components/Popover/popover.mjs +1 -2
- package/css/components/Progress/progress.css +31 -45
- package/css/components/Progress/progress.d.ts +1 -2
- package/css/components/Progress/progress.js +1 -2
- package/css/components/Progress/progress.mjs +1 -2
- package/css/components/Radio/radio.css +27 -20
- 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 +35 -52
- package/css/components/SimpleList/simple-list.d.ts +2 -2
- package/css/components/SimpleList/simple-list.js +2 -2
- package/css/components/SimpleList/simple-list.mjs +2 -2
- package/css/components/Skeleton/skeleton.css +18 -20
- package/css/components/Skeleton/skeleton.d.ts +1 -2
- package/css/components/Skeleton/skeleton.js +1 -2
- package/css/components/Skeleton/skeleton.mjs +1 -2
- package/css/components/SkipToContent/skip-to-content.css +6 -3
- package/css/components/Slider/slider.css +34 -30
- package/css/components/Spinner/spinner.css +17 -34
- package/css/components/Switch/switch.css +42 -38
- package/css/components/Switch/switch.d.ts +1 -2
- package/css/components/Switch/switch.js +1 -2
- package/css/components/Switch/switch.mjs +1 -2
- package/css/components/TabContent/tab-content.css +17 -11
- package/css/components/TabContent/tab-content.d.ts +1 -1
- package/css/components/TabContent/tab-content.js +1 -1
- package/css/components/TabContent/tab-content.mjs +1 -1
- package/css/components/Table/table-grid.css +8 -8
- package/css/components/Table/table.css +85 -90
- package/css/components/Table/table.d.ts +2 -0
- package/css/components/Table/table.js +2 -0
- package/css/components/Table/table.mjs +2 -0
- 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/Title/title.css +70 -19
- package/css/components/Title/title.d.ts +7 -1
- package/css/components/Title/title.js +7 -1
- package/css/components/Title/title.mjs +7 -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 +2527 -1032
- package/css/components/Toolbar/toolbar.d.ts +406 -102
- package/css/components/Toolbar/toolbar.js +406 -102
- package/css/components/Toolbar/toolbar.mjs +406 -102
- package/css/components/Tooltip/tooltip.css +16 -18
- package/css/components/Tooltip/tooltip.d.ts +0 -1
- package/css/components/Tooltip/tooltip.js +0 -1
- package/css/components/Tooltip/tooltip.mjs +0 -1
- package/css/components/Truncate/truncate.css +4 -0
- package/css/docs/components/Brand/examples/Brand.css +12 -0
- package/css/docs/components/Brand/examples/Brand.d.ts +10 -0
- package/css/docs/components/Brand/examples/Brand.js +11 -0
- package/css/docs/components/Brand/examples/Brand.mjs +9 -0
- package/css/docs/components/Button/examples/Button.css +4 -0
- package/css/docs/components/Divider/examples/Divider.css +3 -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 -22
- package/css/docs/components/Nav/examples/Navigation.d.ts +0 -3
- package/css/docs/components/Nav/examples/Navigation.js +0 -3
- package/css/docs/components/Nav/examples/Navigation.mjs +0 -3
- package/css/docs/components/Page/examples/Page.css +0 -8
- package/css/docs/components/Page/examples/Page.d.ts +0 -7
- package/css/docs/components/Page/examples/Page.js +0 -7
- package/css/docs/components/Page/examples/Page.mjs +0 -7
- package/css/docs/components/Toolbar/examples/Toolbar.css +20 -15
- package/css/docs/components/Truncate/examples/Truncate.css +2 -2
- package/css/docs/demos/Toolbar/examples/Toolbar.css +15 -0
- package/css/docs/demos/Toolbar/examples/Toolbar.d.ts +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.js +6 -1
- package/css/docs/demos/Toolbar/examples/Toolbar.mjs +6 -1
- package/package.json +3 -3
- package/css/docs/components/Avatar/examples/Avatar.css +0 -3
- package/css/docs/components/Avatar/examples/Avatar.d.ts +0 -3
- package/css/docs/components/Avatar/examples/Avatar.js +0 -4
- package/css/docs/components/Avatar/examples/Avatar.mjs +0 -2
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.css +0 -3
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.d.ts +0 -5
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.js +0 -6
- package/css/docs/components/NotificationBadge/examples/NotificationBadge.mjs +0 -4
@@ -1,12 +1,12 @@
|
|
1
1
|
import './simple-list.css';
|
2
2
|
declare const _default: {
|
3
3
|
"modifiers": {
|
4
|
+
"link": "pf-m-link",
|
4
5
|
"current": "pf-m-current"
|
5
6
|
},
|
6
7
|
"simpleList": "pf-v5-c-simple-list",
|
7
8
|
"simpleListItemLink": "pf-v5-c-simple-list__item-link",
|
8
9
|
"simpleListSection": "pf-v5-c-simple-list__section",
|
9
|
-
"simpleListTitle": "pf-v5-c-simple-list__title"
|
10
|
-
"themeDark": "pf-v5-theme-dark"
|
10
|
+
"simpleListTitle": "pf-v5-c-simple-list__title"
|
11
11
|
};
|
12
12
|
export default _default;
|
@@ -3,11 +3,11 @@ exports.__esModule = true;
|
|
3
3
|
require('./simple-list.css');
|
4
4
|
exports.default = {
|
5
5
|
"modifiers": {
|
6
|
+
"link": "pf-m-link",
|
6
7
|
"current": "pf-m-current"
|
7
8
|
},
|
8
9
|
"simpleList": "pf-v5-c-simple-list",
|
9
10
|
"simpleListItemLink": "pf-v5-c-simple-list__item-link",
|
10
11
|
"simpleListSection": "pf-v5-c-simple-list__section",
|
11
|
-
"simpleListTitle": "pf-v5-c-simple-list__title"
|
12
|
-
"themeDark": "pf-v5-theme-dark"
|
12
|
+
"simpleListTitle": "pf-v5-c-simple-list__title"
|
13
13
|
};
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import './simple-list.css';
|
2
2
|
export default {
|
3
3
|
"modifiers": {
|
4
|
+
"link": "pf-m-link",
|
4
5
|
"current": "pf-m-current"
|
5
6
|
},
|
6
7
|
"simpleList": "pf-v5-c-simple-list",
|
7
8
|
"simpleListItemLink": "pf-v5-c-simple-list__item-link",
|
8
9
|
"simpleListSection": "pf-v5-c-simple-list__section",
|
9
|
-
"simpleListTitle": "pf-v5-c-simple-list__title"
|
10
|
-
"themeDark": "pf-v5-theme-dark"
|
10
|
+
"simpleListTitle": "pf-v5-c-simple-list__title"
|
11
11
|
};
|
@@ -1,31 +1,32 @@
|
|
1
1
|
@charset "UTF-8";
|
2
|
+
:root,
|
2
3
|
.pf-v5-c-skeleton {
|
3
|
-
--pf-v5-c-skeleton--BackgroundColor: var(--pf-
|
4
|
+
--pf-v5-c-skeleton--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
4
5
|
--pf-v5-c-skeleton--Width: auto;
|
5
6
|
--pf-v5-c-skeleton--Height: auto;
|
6
|
-
--pf-v5-c-skeleton--BorderRadius: var(--pf-
|
7
|
+
--pf-v5-c-skeleton--BorderRadius: var(--pf-t--global--spacer--sm);
|
7
8
|
--pf-v5-c-skeleton--before--PaddingBottom: 0;
|
8
9
|
--pf-v5-c-skeleton--before--Height: auto;
|
9
10
|
--pf-v5-c-skeleton--before--Content: " ";
|
10
11
|
--pf-v5-c-skeleton--after--LinearGradientAngle: 90deg;
|
11
|
-
--pf-v5-c-skeleton--after--LinearGradientColorStop1: var(--pf-
|
12
|
-
--pf-v5-c-skeleton--after--LinearGradientColorStop2:
|
13
|
-
--pf-v5-c-skeleton--after--LinearGradientColorStop3: var(--pf-
|
12
|
+
--pf-v5-c-skeleton--after--LinearGradientColorStop1: var(--pf-t--global--background--color--secondary--default);
|
13
|
+
--pf-v5-c-skeleton--after--LinearGradientColorStop2: var(--pf-t--global--background--color--secondary--hover);
|
14
|
+
--pf-v5-c-skeleton--after--LinearGradientColorStop3: var(--pf-t--global--background--color--secondary--default);
|
14
15
|
--pf-v5-c-skeleton--after--TranslateX: -100%;
|
15
16
|
--pf-v5-c-skeleton--after--AnimationName: pf-v5-c-skeleton-loading;
|
16
|
-
--pf-v5-c-skeleton--after--AnimationDuration:
|
17
|
+
--pf-v5-c-skeleton--after--AnimationDuration: 3s;
|
17
18
|
--pf-v5-c-skeleton--after--AnimationIterationCount: infinite;
|
18
19
|
--pf-v5-c-skeleton--after--AnimationTimingFunction: linear;
|
19
20
|
--pf-v5-c-skeleton--after--AnimationDelay: .5s;
|
20
|
-
--pf-v5-c-skeleton--m-circle--BorderRadius: var(--pf-
|
21
|
+
--pf-v5-c-skeleton--m-circle--BorderRadius: var(--pf-t--global--border--radius--pill);
|
21
22
|
--pf-v5-c-skeleton--m-circle--before--PaddingBottom: 100%;
|
22
|
-
--pf-v5-c-skeleton--m-text-4xl--Height: calc(var(--pf-
|
23
|
-
--pf-v5-c-skeleton--m-text-3xl--Height: calc(var(--pf-
|
24
|
-
--pf-v5-c-skeleton--m-text-2xl--Height: calc(var(--pf-
|
25
|
-
--pf-v5-c-skeleton--m-text-xl--Height: calc(var(--pf-
|
26
|
-
--pf-v5-c-skeleton--m-text-lg--Height: calc(var(--pf-
|
27
|
-
--pf-v5-c-skeleton--m-text-md--Height: calc(var(--pf-
|
28
|
-
--pf-v5-c-skeleton--m-text-sm--Height: calc(var(--pf-
|
23
|
+
--pf-v5-c-skeleton--m-text-4xl--Height: calc(var(--pf-t--global--font--size--4xl) * var(--pf-t--global--font--line-height--heading));
|
24
|
+
--pf-v5-c-skeleton--m-text-3xl--Height: calc(var(--pf-t--global--font--size--3xl) * var(--pf-t--global--font--line-height--heading));
|
25
|
+
--pf-v5-c-skeleton--m-text-2xl--Height: calc(var(--pf-t--global--font--size--2xl) * var(--pf-t--global--font--line-height--heading));
|
26
|
+
--pf-v5-c-skeleton--m-text-xl--Height: calc(var(--pf-t--global--font--size--xl) * var(--pf-t--global--font--line-height--heading));
|
27
|
+
--pf-v5-c-skeleton--m-text-lg--Height: calc(var(--pf-t--global--font--size--lg) * var(--pf-t--global--font--line-height--body));
|
28
|
+
--pf-v5-c-skeleton--m-text-md--Height: calc(var(--pf-t--global--font--size--md) * var(--pf-t--global--font--line-height--body));
|
29
|
+
--pf-v5-c-skeleton--m-text-sm--Height: calc(var(--pf-t--global--font--size--sm) * var(--pf-t--global--font--line-height--body));
|
29
30
|
--pf-v5-c-skeleton--m-width-sm--Width: 6.25rem;
|
30
31
|
--pf-v5-c-skeleton--m-width-md--Width: 12.5rem;
|
31
32
|
--pf-v5-c-skeleton--m-width-lg--Width: 18.75rem;
|
@@ -43,6 +44,9 @@
|
|
43
44
|
--pf-v5-c-skeleton--m-height-66--Height: calc(100% / 3 * 2);
|
44
45
|
--pf-v5-c-skeleton--m-height-75--Height: 75%;
|
45
46
|
--pf-v5-c-skeleton--m-height-100--Height: 100%;
|
47
|
+
}
|
48
|
+
|
49
|
+
.pf-v5-c-skeleton {
|
46
50
|
position: relative;
|
47
51
|
width: var(--pf-v5-c-skeleton--Width);
|
48
52
|
height: var(--pf-v5-c-skeleton--Height);
|
@@ -160,10 +164,4 @@
|
|
160
164
|
100% {
|
161
165
|
transform: translateX(100%);
|
162
166
|
}
|
163
|
-
}
|
164
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-skeleton {
|
165
|
-
--pf-v5-c-skeleton--BackgroundColor: var(--pf-v5-global--palette--black-600);
|
166
|
-
--pf-v5-c-skeleton--after--LinearGradientColorStop1: var(--pf-v5-global--palette--black-600);
|
167
|
-
--pf-v5-c-skeleton--after--LinearGradientColorStop2: var(--pf-v5-global--palette--black-500);
|
168
|
-
--pf-v5-c-skeleton--after--LinearGradientColorStop3: var(--pf-v5-global--palette--black-600);
|
169
167
|
}
|
@@ -1,7 +1,10 @@
|
|
1
|
-
|
2
|
-
--pf-v5-c-skip-to-content--Top: var(--pf-
|
1
|
+
:root {
|
2
|
+
--pf-v5-c-skip-to-content--Top: var(--pf-t--global--spacer--md);
|
3
3
|
--pf-v5-c-skip-to-content--ZIndex: var(--pf-v5-global--ZIndex--2xl);
|
4
|
-
--pf-v5-c-skip-to-content--focus--Left: var(--pf-
|
4
|
+
--pf-v5-c-skip-to-content--focus--Left: var(--pf-t--global--spacer--md);
|
5
|
+
}
|
6
|
+
|
7
|
+
.pf-v5-c-skip-to-content {
|
5
8
|
position: absolute;
|
6
9
|
inset-block-start: var(--pf-v5-c-skip-to-content--Top);
|
7
10
|
inset-inline-start: -300%;
|
@@ -1,63 +1,67 @@
|
|
1
|
+
:root,
|
1
2
|
.pf-v5-c-slider {
|
2
3
|
--pf-v5-c-slider--value: 0;
|
3
4
|
--pf-v5-c-slider__step--Left: 0;
|
4
|
-
--pf-v5-c-slider__rail--PaddingTop: var(--pf-
|
5
|
-
--pf-v5-c-slider__rail--PaddingBottom: var(--pf-
|
5
|
+
--pf-v5-c-slider__rail--PaddingTop: var(--pf-t--global--spacer--md);
|
6
|
+
--pf-v5-c-slider__rail--PaddingBottom: var(--pf-t--global--spacer--md);
|
6
7
|
--pf-v5-c-slider__rail-track--Height: 0.25rem;
|
7
|
-
--pf-v5-c-slider__rail-track--before--base--BackgroundColor: var(--pf-
|
8
|
-
--pf-v5-c-slider__rail-track--before--fill--BackgroundColor: var(--pf-
|
9
|
-
--pf-v5-c-slider__rail-track--before--BorderRadius: var(--pf-
|
8
|
+
--pf-v5-c-slider__rail-track--before--base--BackgroundColor: var(--pf-t--global--border--color--default);
|
9
|
+
--pf-v5-c-slider__rail-track--before--fill--BackgroundColor: var(--pf-t--global--border--color--hover);
|
10
|
+
--pf-v5-c-slider__rail-track--before--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
10
11
|
--pf-v5-c-slider__rail-track--before--fill--BackgroundColor--gradient-stop: var(--pf-v5-c-slider--value);
|
11
|
-
--pf-v5-c-
|
12
|
-
--pf-v5-c-slider__steps--FontSize: var(--pf-v5-global--FontSize--sm);
|
12
|
+
--pf-v5-c-slider__steps--FontSize: var(--pf-t--global--font--size--sm);
|
13
13
|
--pf-v5-c-slider__steps--Height: var(--pf-v5-c-slider__steps--FontSize);
|
14
|
-
--pf-v5-c-slider__step-tick--Top: var(--pf-
|
14
|
+
--pf-v5-c-slider__step-tick--Top: var(--pf-t--global--spacer--md);
|
15
15
|
--pf-v5-c-slider__step-tick--Width: 0.25rem;
|
16
16
|
--pf-v5-c-slider__step-tick--Height: 0.25rem;
|
17
|
-
--pf-v5-c-slider__step-tick--BackgroundColor: var(--pf-
|
17
|
+
--pf-v5-c-slider__step-tick--BackgroundColor: var(--pf-t--global--icon--color--subtle);
|
18
18
|
--pf-v5-c-slider__step-tick--TranslateX: -50%;
|
19
|
-
--pf-v5-c-slider__step-tick--BorderRadius: var(--pf-
|
20
|
-
--pf-v5-c-slider__step--m-active__slider-tick--BackgroundColor: var(--pf-
|
19
|
+
--pf-v5-c-slider__step-tick--BorderRadius: var(--pf-t--global--border--radius--large);
|
20
|
+
--pf-v5-c-slider__step--m-active__slider-tick--BackgroundColor: var(--pf-t--global--icon--color--brand--clicked);
|
21
21
|
--pf-v5-c-slider__step--first-child__step-tick--TranslateX: 0;
|
22
22
|
--pf-v5-c-slider__step--last-child__step-tick--TranslateX: -100%;
|
23
23
|
--pf-v5-c-slider__step-label--TranslateX: -50%;
|
24
|
-
--pf-v5-c-slider__step-label--Top: calc(var(--pf-
|
24
|
+
--pf-v5-c-slider__step-label--Top: calc(var(--pf-t--global--spacer--xl) + var(--pf-v5-c-slider__rail-track--Height));
|
25
25
|
--pf-v5-c-slider__step--first-child__step-label--TranslateX: 0;
|
26
26
|
--pf-v5-c-slider__step--last-child__step-label--TranslateX: -100%;
|
27
|
-
--pf-v5-c-slider__thumb--Top: calc(var(--pf-v5-c-slider__rail-track--Height) / 2 + var(--pf-
|
27
|
+
--pf-v5-c-slider__thumb--Top: calc(var(--pf-v5-c-slider__rail-track--Height) / 2 + var(--pf-t--global--spacer--md));
|
28
28
|
--pf-v5-c-slider__thumb--Width: 1rem;
|
29
29
|
--pf-v5-c-slider__thumb--Height: 1rem;
|
30
30
|
--pf-v5-c-slider__thumb--Left: var(--pf-v5-c-slider--value);
|
31
|
-
--pf-v5-c-slider__thumb--BackgroundColor: var(--pf-
|
31
|
+
--pf-v5-c-slider__thumb--BackgroundColor: var(--pf-t--global--color--brand--default);
|
32
32
|
--pf-v5-c-slider__thumb--TranslateX: -50%;
|
33
33
|
--pf-v5-c-slider__thumb--TranslateY: -50%;
|
34
|
-
--pf-v5-c-slider__thumb--BorderRadius: var(--pf-
|
34
|
+
--pf-v5-c-slider__thumb--BorderRadius: var(--pf-t--global--border--radius--large);
|
35
35
|
--pf-v5-c-slider__thumb--BoxShadow--base:
|
36
|
-
0 0 0 2px var(--pf-
|
37
|
-
0 0 0 3px var(--pf-
|
36
|
+
0 0 0 2px var(--pf-t--global--background--color--primary--default),
|
37
|
+
0 0 0 3px var(--pf-t--global--color--brand--default);
|
38
38
|
--pf-v5-c-slider__thumb--hover--BoxShadow: var(--pf-v5-c-slider__thumb--BoxShadow--base);
|
39
39
|
--pf-v5-c-slider__thumb--focus--BoxShadow: var(--pf-v5-c-slider__thumb--BoxShadow--base);
|
40
40
|
--pf-v5-c-slider__thumb--active--BoxShadow:
|
41
41
|
var(--pf-v5-c-slider__thumb--BoxShadow--base),
|
42
|
-
0 0 2px 5px var(--pf-
|
43
|
-
--pf-v5-c-slider__thumb--before--Width:
|
44
|
-
--pf-v5-c-slider__thumb--before--Height: var(--pf-v5-
|
45
|
-
--pf-v5-c-slider__thumb--before--BorderRadius: var(--pf-
|
42
|
+
0 0 2px 5px var(--pf-t--global--color--nonstatus--blue--clicked);
|
43
|
+
--pf-v5-c-slider__thumb--before--Width: 44px;
|
44
|
+
--pf-v5-c-slider__thumb--before--Height: var(--pf-v5-c-slider__thumb--before--Width);
|
45
|
+
--pf-v5-c-slider__thumb--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
46
46
|
--pf-v5-c-slider__thumb--before--TranslateX: -50%;
|
47
47
|
--pf-v5-c-slider__thumb--before--TranslateY: -50%;
|
48
|
-
--pf-v5-c-slider__value--MarginLeft: var(--pf-
|
49
|
-
--pf-v5-c-slider__value--c-form-control--width-base:
|
48
|
+
--pf-v5-c-slider__value--MarginLeft: var(--pf-t--global--spacer--md);
|
49
|
+
--pf-v5-c-slider__value--c-form-control--width-base: calc(var(--pf-v5-c-form-control--PaddingLeft) + var(--pf-v5-c-form-control--PaddingRight) + 1.25rem);
|
50
50
|
--pf-v5-c-slider__value--c-form-control--width-chars: 3;
|
51
|
-
--pf-v5-c-slider__value--c-form-control--Width: calc(var(--pf-v5-c-slider__value--c-form-control--width-base) +
|
51
|
+
--pf-v5-c-slider__value--c-form-control--Width: calc(var(--pf-v5-c-slider__value--c-form-control--width-base) + var(--pf-v5-c-slider__value--c-form-control--width-chars) * 1ch);
|
52
52
|
--pf-v5-c-slider__value--m-floating--TranslateX: -50%;
|
53
53
|
--pf-v5-c-slider__value--m-floating--TranslateY: -100%;
|
54
54
|
--pf-v5-c-slider__value--m-floating--Left: var(--pf-v5-c-slider--value);
|
55
|
-
--pf-v5-c-slider__value--m-floating--ZIndex: var(--pf-
|
56
|
-
--pf-v5-c-slider__actions--MarginRight: var(--pf-
|
57
|
-
--pf-v5-c-slider__main--actions--MarginLeft: var(--pf-
|
58
|
-
--pf-v5-c-slider--m-disabled__rail-track--before--fill--BackgroundColor: var(--pf-
|
59
|
-
--pf-v5-c-slider--m-disabled__step--m-active__slider-tick--BackgroundColor: var(--pf-
|
60
|
-
--pf-v5-c-slider--m-disabled__thumb--BackgroundColor: var(--pf-
|
55
|
+
--pf-v5-c-slider__value--m-floating--ZIndex: var(--pf-t--global--Zindex--sm);
|
56
|
+
--pf-v5-c-slider__actions--MarginRight: var(--pf-t--global--spacer--sm);
|
57
|
+
--pf-v5-c-slider__main--actions--MarginLeft: var(--pf-t--global--spacer--sm);
|
58
|
+
--pf-v5-c-slider--m-disabled__rail-track--before--fill--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
59
|
+
--pf-v5-c-slider--m-disabled__step--m-active__slider-tick--BackgroundColor: var(--pf-t--global--icon--color--disabled);
|
60
|
+
--pf-v5-c-slider--m-disabled__thumb--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
61
|
+
}
|
62
|
+
|
63
|
+
.pf-v5-c-slider {
|
64
|
+
--pf-v5-c-slider__rail-track--before--fill--direction: right;
|
61
65
|
display: flex;
|
62
66
|
}
|
63
67
|
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-slider {
|
@@ -1,16 +1,26 @@
|
|
1
|
+
:root,
|
1
2
|
.pf-v5-c-spinner {
|
2
|
-
--pf-v5-c-spinner--diameter: var(--pf-
|
3
|
+
--pf-v5-c-spinner--diameter: var(--pf-t--global--icon--size--2xl);
|
3
4
|
--pf-v5-c-spinner--Width: var(--pf-v5-c-spinner--diameter);
|
4
5
|
--pf-v5-c-spinner--Height: var(--pf-v5-c-spinner--diameter);
|
5
|
-
--pf-v5-c-spinner--Color: var(--pf-
|
6
|
-
--pf-v5-c-spinner--
|
7
|
-
--pf-v5-c-spinner--
|
8
|
-
--pf-v5-c-spinner--
|
9
|
-
--pf-v5-c-
|
6
|
+
--pf-v5-c-spinner--Color: var(--pf-t--global--icon--color--brand--default);
|
7
|
+
--pf-v5-c-spinner--AnimationDuration: 1.4s;
|
8
|
+
--pf-v5-c-spinner--AnimationTimingFunction: linear;
|
9
|
+
--pf-v5-c-spinner--StrokeWidth: 10;
|
10
|
+
--pf-v5-c-spinner__path--StrokeWidth: var(--pf-v5-c-spinner--StrokeWidth);
|
11
|
+
--pf-v5-c-spinner__path--AnimationTimingFunction: ease-in-out;
|
12
|
+
--pf-v5-c-spinner--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
13
|
+
--pf-v5-c-spinner--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
14
|
+
--pf-v5-c-spinner--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
15
|
+
--pf-v5-c-spinner--m-xl--diameter: var(--pf-t--global--icon--size--2xl);
|
10
16
|
--pf-v5-c-spinner--m-inline--diameter: 1em;
|
17
|
+
}
|
18
|
+
|
19
|
+
.pf-v5-c-spinner {
|
11
20
|
width: var(--pf-v5-c-spinner--Width);
|
12
21
|
height: var(--pf-v5-c-spinner--Height);
|
13
22
|
overflow: hidden;
|
23
|
+
animation: pf-v5-c-spinner-animation-rotate calc(var(--pf-v5-c-spinner--AnimationDuration) * 2) var(--pf-v5-c-spinner--AnimationTimingFunction) infinite;
|
14
24
|
}
|
15
25
|
.pf-v5-c-spinner.pf-m-inline {
|
16
26
|
--pf-v5-c-spinner--diameter: var(--pf-v5-c-spinner--m-inline--diameter);
|
@@ -28,33 +38,6 @@
|
|
28
38
|
--pf-v5-c-spinner--diameter: var(--pf-v5-c-spinner--m-xl--diameter);
|
29
39
|
}
|
30
40
|
|
31
|
-
svg.pf-v5-c-spinner {
|
32
|
-
--pf-v5-c-spinner--diameter: var(--pf-v5-global--icon--FontSize--xl);
|
33
|
-
--pf-v5-c-spinner--AnimationDuration: 1.4s;
|
34
|
-
--pf-v5-c-spinner--AnimationTimingFunction: linear;
|
35
|
-
--pf-v5-c-spinner--stroke-width: 10;
|
36
|
-
--pf-v5-c-spinner__path--Stroke: var(--pf-v5-c-spinner--Color);
|
37
|
-
--pf-v5-c-spinner__path--StrokeWidth: var(--pf-v5-c-spinner--stroke-width);
|
38
|
-
--pf-v5-c-spinner__path--AnimationTimingFunction: ease-in-out;
|
39
|
-
--pf-v5-c-spinner--m-sm--diameter: var(--pf-v5-global--icon--FontSize--sm);
|
40
|
-
--pf-v5-c-spinner--m-md--diameter: var(--pf-v5-global--icon--FontSize--md);
|
41
|
-
--pf-v5-c-spinner--m-lg--diameter: var(--pf-v5-global--icon--FontSize--lg);
|
42
|
-
--pf-v5-c-spinner--m-xl--diameter: var(--pf-v5-global--icon--FontSize--xl);
|
43
|
-
animation: pf-v5-c-spinner-animation-rotate calc(var(--pf-v5-c-spinner--AnimationDuration) * 2) var(--pf-v5-c-spinner--AnimationTimingFunction) infinite;
|
44
|
-
}
|
45
|
-
svg.pf-v5-c-spinner.pf-m-sm {
|
46
|
-
--pf-v5-c-spinner--diameter: var(--pf-v5-c-spinner--m-sm--diameter);
|
47
|
-
}
|
48
|
-
svg.pf-v5-c-spinner.pf-m-md {
|
49
|
-
--pf-v5-c-spinner--diameter: var(--pf-v5-c-spinner--m-md--diameter);
|
50
|
-
}
|
51
|
-
svg.pf-v5-c-spinner.pf-m-lg {
|
52
|
-
--pf-v5-c-spinner--diameter: var(--pf-v5-c-spinner--m-lg--diameter);
|
53
|
-
}
|
54
|
-
svg.pf-v5-c-spinner.pf-m-xl {
|
55
|
-
--pf-v5-c-spinner--diameter: var(--pf-v5-c-spinner--m-xl--diameter);
|
56
|
-
}
|
57
|
-
|
58
41
|
.pf-v5-c-spinner__path {
|
59
42
|
width: 100%;
|
60
43
|
height: 100%;
|
@@ -62,7 +45,7 @@ svg.pf-v5-c-spinner.pf-m-xl {
|
|
62
45
|
stroke-dasharray: 283;
|
63
46
|
stroke-dashoffset: 280;
|
64
47
|
stroke-linecap: round;
|
65
|
-
stroke-width: var(--pf-v5-c-spinner--
|
48
|
+
stroke-width: var(--pf-v5-c-spinner--StrokeWidth);
|
66
49
|
transform-origin: 50% 50%;
|
67
50
|
animation: pf-v5-c-spinner-animation-dash var(--pf-v5-c-spinner--AnimationDuration) var(--pf-v5-c-spinner__path--AnimationTimingFunction) infinite;
|
68
51
|
}
|
@@ -1,37 +1,41 @@
|
|
1
|
+
:root,
|
1
2
|
.pf-v5-c-switch {
|
2
|
-
--pf-v5-c-switch--FontSize: var(--pf-
|
3
|
-
--pf-v5-c-
|
4
|
-
--pf-v5-c-switch--ColumnGap: var(--pf-v5-c-switch__label--PaddingLeft);
|
3
|
+
--pf-v5-c-switch--FontSize: var(--pf-t--global--font--size--sm);
|
4
|
+
--pf-v5-c-switch--ColumnGap: var(--pf-t--global--spacer--sm);
|
5
5
|
--pf-v5-c-switch__toggle-icon--FontSize: calc(var(--pf-v5-c-switch--FontSize) * .625);
|
6
|
-
--pf-v5-c-switch__toggle-icon--Color: var(--pf-
|
6
|
+
--pf-v5-c-switch__toggle-icon--Color: var(--pf-t--global--icon--color--on-brand--default);
|
7
7
|
--pf-v5-c-switch__toggle-icon--Left: calc(var(--pf-v5-c-switch--FontSize) * .4);
|
8
8
|
--pf-v5-c-switch__toggle-icon--Offset: 0.125rem;
|
9
|
-
--pf-v5-c-switch__input--disabled__toggle-icon--Color: var(--pf-
|
10
|
-
--pf-v5-c-switch--LineHeight: var(--pf-
|
9
|
+
--pf-v5-c-switch__input--disabled__toggle-icon--Color: var(--pf-t--global--icon--color--disabled);
|
10
|
+
--pf-v5-c-switch--LineHeight: var(--pf-t--global--font--line-height--body);
|
11
11
|
--pf-v5-c-switch--Height: auto;
|
12
|
-
--pf-v5-c-switch__input--checked__toggle--BackgroundColor: var(--pf-
|
12
|
+
--pf-v5-c-switch__input--checked__toggle--BackgroundColor: var(--pf-t--global--color--brand--default);
|
13
13
|
--pf-v5-c-switch__input--checked__toggle--before--TranslateX: calc(100% + var(--pf-v5-c-switch__toggle-icon--Offset));
|
14
|
-
--pf-v5-c-switch__input--
|
15
|
-
--pf-v5-c-switch__input--
|
16
|
-
--pf-v5-c-switch__input--
|
17
|
-
--pf-v5-c-switch__input--
|
18
|
-
--pf-v5-c-switch__input--disabled__toggle--
|
19
|
-
--pf-v5-c-switch__input--
|
20
|
-
--pf-v5-c-switch__input--
|
21
|
-
--pf-v5-c-switch__input--
|
14
|
+
--pf-v5-c-switch__input--checked__toggle--BorderWidth: 0;
|
15
|
+
--pf-v5-c-switch__input--checked__label--Color: var(--pf-t--global--text--color--regular);
|
16
|
+
--pf-v5-c-switch__input--not-checked__label--Color: var(--pf-t--global--text--color--subtle);
|
17
|
+
--pf-v5-c-switch__input--disabled__label--Color: var(--pf-t--global--text--color--disabled);
|
18
|
+
--pf-v5-c-switch__input--disabled__toggle--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
19
|
+
--pf-v5-c-switch__input--checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--inverse);
|
20
|
+
--pf-v5-c-switch__input--not-checked__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--subtle);
|
21
|
+
--pf-v5-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-t--global--icon--color--on-disabled);
|
22
|
+
--pf-v5-c-switch__input--focus__toggle--OutlineWidth: var(--pf-t--global--border--width--strong);
|
23
|
+
--pf-v5-c-switch__input--focus__toggle--OutlineOffset: var(--pf-t--global--spacer--xs);
|
24
|
+
--pf-v5-c-switch__input--focus__toggle--OutlineColor: var(--pf-t--global--color--brand--default);
|
22
25
|
--pf-v5-c-switch__toggle--Height: calc(var(--pf-v5-c-switch--FontSize) * var(--pf-v5-c-switch--LineHeight));
|
23
|
-
--pf-v5-c-switch__toggle--BackgroundColor: var(--pf-
|
24
|
-
--pf-v5-c-switch__toggle--
|
26
|
+
--pf-v5-c-switch__toggle--BackgroundColor: var(--pf-t--global--background--color--control--default);
|
27
|
+
--pf-v5-c-switch__toggle--BorderColor: var(--pf-t--global--border--color--default);
|
28
|
+
--pf-v5-c-switch__toggle--BorderWidth: var(--pf-t--global--border--width--control--default);
|
29
|
+
--pf-v5-c-switch__toggle--BorderRadius: var(--pf-t--global--border--radius--pill);
|
25
30
|
--pf-v5-c-switch__toggle--before--Width: calc(var(--pf-v5-c-switch--FontSize) - var(--pf-v5-c-switch__toggle-icon--Offset));
|
26
31
|
--pf-v5-c-switch__toggle--before--Height: var(--pf-v5-c-switch__toggle--before--Width);
|
27
|
-
--pf-v5-c-switch__toggle--before--
|
28
|
-
--pf-v5-c-switch__toggle--before--
|
29
|
-
--pf-v5-c-switch__toggle--before--BackgroundColor: var(--pf-v5-global--BackgroundColor--100);
|
30
|
-
--pf-v5-c-switch__toggle--before--BorderRadius: var(--pf-v5-global--BorderRadius--lg);
|
31
|
-
--pf-v5-c-switch__toggle--before--BoxShadow: var(--pf-v5-global--BoxShadow--md);
|
32
|
+
--pf-v5-c-switch__toggle--before--Left: calc((var(--pf-v5-c-switch__toggle--Height) - var(--pf-v5-c-switch__toggle--before--Height)) / 2);
|
33
|
+
--pf-v5-c-switch__toggle--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
32
34
|
--pf-v5-c-switch__toggle--before--Transition: transform .25s ease 0s;
|
33
35
|
--pf-v5-c-switch__toggle--Width: calc(var(--pf-v5-c-switch__toggle--Height) + var(--pf-v5-c-switch__toggle-icon--Offset) + var(--pf-v5-c-switch__toggle--before--Width));
|
34
|
-
|
36
|
+
}
|
37
|
+
|
38
|
+
.pf-v5-c-switch {
|
35
39
|
position: relative;
|
36
40
|
display: inline-grid;
|
37
41
|
grid-template-columns: auto;
|
@@ -56,7 +60,7 @@
|
|
56
60
|
cursor: pointer;
|
57
61
|
opacity: 0;
|
58
62
|
}
|
59
|
-
.pf-v5-c-switch__input:focus ~ .pf-v5-c-switch__toggle {
|
63
|
+
.pf-v5-c-switch__input:focus-visible ~ .pf-v5-c-switch__toggle {
|
60
64
|
outline: var(--pf-v5-c-switch__input--focus__toggle--OutlineWidth) solid var(--pf-v5-c-switch__input--focus__toggle--OutlineColor);
|
61
65
|
outline-offset: var(--pf-v5-c-switch__input--focus__toggle--OutlineOffset);
|
62
66
|
}
|
@@ -64,13 +68,15 @@
|
|
64
68
|
color: var(--pf-v5-c-switch__input--checked__label--Color);
|
65
69
|
}
|
66
70
|
.pf-v5-c-switch__input:checked ~ .pf-v5-c-switch__toggle {
|
71
|
+
--pf-v5-c-switch__toggle--BorderWidth: var(--pf-v5-c-switch__input--checked__toggle--BorderWidth);
|
67
72
|
background-color: var(--pf-v5-c-switch__input--checked__toggle--BackgroundColor);
|
68
73
|
}
|
69
74
|
.pf-v5-c-switch__input:checked ~ .pf-v5-c-switch__toggle::before {
|
70
|
-
transform:
|
75
|
+
transform: translate(var(--pf-v5-c-switch__input--checked__toggle--before--TranslateX), -50%);
|
76
|
+
background-color: var(--pf-v5-c-switch__input--checked__toggle--before--BackgroundColor);
|
71
77
|
}
|
72
78
|
:where(.pf-v5-m-dir-rtl, [dir=rtl]) .pf-v5-c-switch__input:checked ~ .pf-v5-c-switch__toggle::before {
|
73
|
-
transform:
|
79
|
+
transform: translate(calc(var(--pf-v5-c-switch__input--checked__toggle--before--TranslateX) * var(--pf-v5-global--inverse--multiplier)), -50%);
|
74
80
|
}
|
75
81
|
|
76
82
|
.pf-v5-c-switch__input:checked ~ .pf-m-off {
|
@@ -111,16 +117,23 @@
|
|
111
117
|
}
|
112
118
|
.pf-v5-c-switch__toggle::before {
|
113
119
|
position: absolute;
|
114
|
-
inset-block-start:
|
120
|
+
inset-block-start: 50%;
|
115
121
|
inset-inline-start: var(--pf-v5-c-switch__toggle--before--Left);
|
116
122
|
display: block;
|
117
123
|
width: var(--pf-v5-c-switch__toggle--before--Width);
|
118
124
|
height: var(--pf-v5-c-switch__toggle--before--Height);
|
119
125
|
content: "";
|
120
|
-
background-color: var(--pf-v5-c-
|
126
|
+
background-color: var(--pf-v5-c-switch__input--not-checked__toggle--before--BackgroundColor);
|
121
127
|
border-radius: var(--pf-v5-c-switch__toggle--before--BorderRadius);
|
122
|
-
box-shadow: var(--pf-v5-c-switch__toggle--before--BoxShadow);
|
123
128
|
transition: var(--pf-v5-c-switch__toggle--before--Transition);
|
129
|
+
transform: translateY(-50%);
|
130
|
+
}
|
131
|
+
.pf-v5-c-switch__toggle::after {
|
132
|
+
position: absolute;
|
133
|
+
inset: 0;
|
134
|
+
content: "";
|
135
|
+
border: var(--pf-v5-c-switch__toggle--BorderWidth) solid var(--pf-v5-c-switch__toggle--BorderColor);
|
136
|
+
border-radius: var(--pf-v5-c-switch__toggle--BorderRadius);
|
124
137
|
}
|
125
138
|
|
126
139
|
.pf-v5-c-switch__toggle-icon {
|
@@ -137,14 +150,5 @@
|
|
137
150
|
.pf-v5-c-switch__label {
|
138
151
|
display: inline-block;
|
139
152
|
grid-column: 2;
|
140
|
-
color: var(--pf-v5-c-switch__label--Color);
|
141
153
|
vertical-align: top;
|
142
|
-
}
|
143
|
-
|
144
|
-
:where(.pf-v5-theme-dark) .pf-v5-c-switch {
|
145
|
-
--pf-v5-c-switch__toggle-icon--Color: var(--pf-v5-global--BackgroundColor--100);
|
146
|
-
--pf-v5-c-switch__input--not-checked__label--Color: var(--pf-v5-global--Color--100);
|
147
|
-
--pf-v5-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-v5-global--disabled-color--100);
|
148
|
-
--pf-v5-c-switch__toggle--before--BoxShadow: none;
|
149
|
-
--pf-v5-c-switch__input--disabled__toggle-icon--Color: var(--pf-v5-global--disabled-color--100);
|
150
154
|
}
|
@@ -10,7 +10,6 @@ declare const _default: {
|
|
10
10
|
"switchInput": "pf-v5-c-switch__input",
|
11
11
|
"switchLabel": "pf-v5-c-switch__label",
|
12
12
|
"switchToggle": "pf-v5-c-switch__toggle",
|
13
|
-
"switchToggleIcon": "pf-v5-c-switch__toggle-icon"
|
14
|
-
"themeDark": "pf-v5-theme-dark"
|
13
|
+
"switchToggleIcon": "pf-v5-c-switch__toggle-icon"
|
15
14
|
};
|
16
15
|
export default _default;
|
@@ -12,6 +12,5 @@ exports.default = {
|
|
12
12
|
"switchInput": "pf-v5-c-switch__input",
|
13
13
|
"switchLabel": "pf-v5-c-switch__label",
|
14
14
|
"switchToggle": "pf-v5-c-switch__toggle",
|
15
|
-
"switchToggleIcon": "pf-v5-c-switch__toggle-icon"
|
16
|
-
"themeDark": "pf-v5-theme-dark"
|
15
|
+
"switchToggleIcon": "pf-v5-c-switch__toggle-icon"
|
17
16
|
};
|
@@ -10,6 +10,5 @@ export default {
|
|
10
10
|
"switchInput": "pf-v5-c-switch__input",
|
11
11
|
"switchLabel": "pf-v5-c-switch__label",
|
12
12
|
"switchToggle": "pf-v5-c-switch__toggle",
|
13
|
-
"switchToggleIcon": "pf-v5-c-switch__toggle-icon"
|
14
|
-
"themeDark": "pf-v5-theme-dark"
|
13
|
+
"switchToggleIcon": "pf-v5-c-switch__toggle-icon"
|
15
14
|
};
|
@@ -1,17 +1,23 @@
|
|
1
|
+
:root,
|
1
2
|
.pf-v5-c-tab-content {
|
2
3
|
--pf-v5-c-tab-content__body--PaddingTop: 0;
|
3
4
|
--pf-v5-c-tab-content__body--PaddingRight: 0;
|
4
5
|
--pf-v5-c-tab-content__body--PaddingBottom: 0;
|
5
6
|
--pf-v5-c-tab-content__body--PaddingLeft: 0;
|
6
|
-
--pf-v5-c-tab-
|
7
|
-
--pf-v5-c-tab-content__body--m-padding--
|
8
|
-
--pf-v5-c-tab-content__body--m-padding--
|
9
|
-
--pf-v5-c-tab-content__body--m-padding--
|
10
|
-
--pf-v5-c-tab-content__body--m-padding--
|
11
|
-
--pf-v5-c-tab-content__body--m-padding--xl--
|
12
|
-
--pf-v5-c-tab-content__body--m-padding--xl--
|
13
|
-
--pf-v5-c-tab-content__body--m-padding--xl--
|
14
|
-
--pf-v5-c-tab-
|
7
|
+
--pf-v5-c-tab-content--BackgroundColor: transparent;
|
8
|
+
--pf-v5-c-tab-content__body--m-padding--PaddingTop: var(--pf-t--global--spacer--md);
|
9
|
+
--pf-v5-c-tab-content__body--m-padding--PaddingRight: var(--pf-t--global--spacer--md);
|
10
|
+
--pf-v5-c-tab-content__body--m-padding--PaddingBottom: var(--pf-t--global--spacer--md);
|
11
|
+
--pf-v5-c-tab-content__body--m-padding--PaddingLeft: var(--pf-t--global--spacer--md);
|
12
|
+
--pf-v5-c-tab-content__body--m-padding--xl--PaddingTop: var(--pf-t--global--spacer--lg);
|
13
|
+
--pf-v5-c-tab-content__body--m-padding--xl--PaddingRight: var(--pf-t--global--spacer--lg);
|
14
|
+
--pf-v5-c-tab-content__body--m-padding--xl--PaddingBottom: var(--pf-t--global--spacer--lg);
|
15
|
+
--pf-v5-c-tab-content__body--m-padding--xl--PaddingLeft: var(--pf-t--global--spacer--lg);
|
16
|
+
--pf-v5-c-tab-content--m-secondary--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
17
|
+
}
|
18
|
+
|
19
|
+
.pf-v5-c-tab-content {
|
20
|
+
background-color: var(--pf-v5-c-tab-content--BackgroundColor);
|
15
21
|
}
|
16
22
|
@media screen and (min-width: 1200px) {
|
17
23
|
.pf-v5-c-tab-content {
|
@@ -21,8 +27,8 @@
|
|
21
27
|
--pf-v5-c-tab-content__body--m-padding--PaddingLeft: var(--pf-v5-c-tab-content__body--m-padding--xl--PaddingLeft);
|
22
28
|
}
|
23
29
|
}
|
24
|
-
.pf-v5-c-tab-content.pf-m-
|
25
|
-
|
30
|
+
.pf-v5-c-tab-content.pf-m-secondary {
|
31
|
+
--pf-v5-c-tab-content--BackgroundColor: var(--pf-v5-c-tab-content--m-secondary--BackgroundColor);
|
26
32
|
}
|
27
33
|
|
28
34
|
.pf-v5-c-tab-content__body {
|
@@ -1,13 +1,13 @@
|
|
1
1
|
.pf-v5-c-table[class*=pf-m-grid] {
|
2
|
-
--pf-v5-c-table--responsive--BorderColor: var(--pf-
|
3
|
-
--pf-v5-c-table__tbody--responsive--border-width--base: var(--pf-
|
2
|
+
--pf-v5-c-table--responsive--BorderColor: var(--pf-t--global--border--color--default);
|
3
|
+
--pf-v5-c-table__tbody--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
4
4
|
--pf-v5-c-table__tbody--after--border-width--base: var(--pf-v5-global--BorderWidth--lg);
|
5
5
|
--pf-v5-c-table__tbody--after--BorderLeftWidth: 0;
|
6
|
-
--pf-v5-c-table__tbody--after--BorderColor: var(--pf-
|
7
|
-
--pf-v5-c-table__tr--responsive--border-width--base: var(--pf-
|
6
|
+
--pf-v5-c-table__tbody--after--BorderColor: var(--pf-t--global--border--color--active);
|
7
|
+
--pf-v5-c-table__tr--responsive--border-width--base: var(--pf-t--global--border--width--divider--default);
|
8
8
|
--pf-v5-c-table__tr--responsive--last-child--BorderBottomWidth: var(--pf-v5-global--BorderWidth--sm);
|
9
9
|
--pf-v5-c-table__tr--responsive--GridColumnGap: var(--pf-v5-global--spacer--md);
|
10
|
-
--pf-v5-c-table__tr--responsive--MarginTop: var(--pf-
|
10
|
+
--pf-v5-c-table__tr--responsive--MarginTop: var(--pf-t--global--border--width--divider--default);
|
11
11
|
--pf-v5-c-table__tr--responsive--PaddingTop: var(--pf-v5-global--spacer--md);
|
12
12
|
--pf-v5-c-table__tr--responsive--PaddingRight: var(--pf-v5-global--spacer--lg);
|
13
13
|
--pf-v5-c-table__tr--responsive--xl--PaddingRight: var(--pf-v5-global--spacer--md);
|
@@ -23,7 +23,7 @@
|
|
23
23
|
--pf-v5-c-table__tbody--m-expanded--after__tr--BorderLeftWidth: var(--pf-v5-c-table__expandable-row--after--border-width--base);
|
24
24
|
--pf-v5-c-table__tbody--m-expanded--after__tr--BorderLeftColor: var(--pf-v5-global--active-color--400);
|
25
25
|
--pf-v5-c-table__tbody--m-selected--after__tr--BorderLeftWidth: var(--pf-v5-c-table__expandable-row--after--border-width--base);
|
26
|
-
--pf-v5-c-table__tbody--m-selected--after__tr--BorderLeftColor: var(--pf-
|
26
|
+
--pf-v5-c-table__tbody--m-selected--after__tr--BorderLeftColor: var(--pf-t--global--border--color--active);
|
27
27
|
--pf-v5-c-table--m-grid--cell--hidden-visible--Display: grid;
|
28
28
|
--pf-v5-c-table--m-grid--cell--PaddingTop: 0;
|
29
29
|
--pf-v5-c-table--m-grid--cell--PaddingRight: 0;
|
@@ -47,8 +47,8 @@
|
|
47
47
|
--pf-v5-c-table__expandable-row-content--responsive--PaddingLeft: var(--pf-v5-global--spacer--lg);
|
48
48
|
--pf-v5-c-table__expandable-row-content--responsive--xl--PaddingRight: var(--pf-v5-global--spacer--md);
|
49
49
|
--pf-v5-c-table__expandable-row-content--responsive--xl--PaddingLeft: var(--pf-v5-global--spacer--md);
|
50
|
-
--pf-v5-c-table__expandable-row-content--BackgroundColor: var(--pf-
|
51
|
-
--pf-v5-c-table__check--responsive--MarginLeft: var(--pf-
|
50
|
+
--pf-v5-c-table__expandable-row-content--BackgroundColor: var(--pf-t--global--background--color--primary--default);
|
51
|
+
--pf-v5-c-table__check--responsive--MarginLeft: var(--pf-t--global--border--width--divider--default);
|
52
52
|
--pf-v5-c-table__check--responsive--MarginTop: 0.875rem;
|
53
53
|
--pf-v5-c-table--m-grid__favorite--MarginTop: 0.5rem;
|
54
54
|
--pf-v5-c-table--m-grid__check--favorite--MarginLeft: var(--pf-v5-global--spacer--xl);
|