@patternfly/patternfly 6.0.0-alpha.119 → 6.0.0-alpha.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/fontawesome/_animated.scss +1 -0
- package/assets/fontawesome/_bordered-pulled.scss +1 -0
- package/assets/fontawesome/_core.scss +2 -0
- package/assets/fontawesome/_fixed-width.scss +2 -0
- package/assets/fontawesome/_icons.scss +1 -0
- package/assets/fontawesome/_index.scss +12 -0
- package/assets/fontawesome/_larger.scss +4 -2
- package/assets/fontawesome/_list.scss +4 -2
- package/assets/fontawesome/_rotated-flipped.scss +2 -0
- package/assets/fontawesome/_screen-reader.scss +1 -0
- package/assets/fontawesome/_stacked.scss +3 -1
- package/assets/fontawesome/_variables.scss +3 -2
- package/assets/fontawesome/fontawesome.scss +12 -12
- package/assets/pficon/pficon.scss +3 -0
- package/base/_index.scss +10 -0
- package/base/{_globals.scss → normalize.scss} +5 -35
- package/base/patternfly-common.scss +50 -2
- package/base/patternfly-fa-icons.css +1 -1
- package/base/patternfly-fa-icons.scss +35 -2
- package/base/patternfly-fonts.scss +49 -2
- package/base/patternfly-pf-icons.scss +1 -2
- package/base/patternfly-svg-icons.css +5 -0
- package/base/{_svg-icons.scss → patternfly-svg-icons.scss} +2 -0
- package/base/patternfly-variables.scss +14 -2
- package/base/reset.scss +33 -0
- package/base/tokens/_index.scss +6 -0
- package/components/AboutModalBox/about-modal-box.css +8 -8
- package/components/AboutModalBox/about-modal-box.scss +3 -4
- package/components/Accordion/accordion.css +1 -1
- package/components/Accordion/accordion.scss +8 -8
- package/components/ActionList/action-list.css +1 -1
- package/components/ActionList/action-list.scss +3 -1
- package/components/Alert/alert-group.scss +1 -1
- package/components/Alert/alert.css +1 -1
- package/components/Alert/alert.scss +3 -3
- package/components/AppLauncher/app-launcher.scss +1 -3
- package/components/Avatar/avatar.css +1 -1
- package/components/Avatar/avatar.scss +3 -2
- package/components/BackToTop/back-to-top.css +2 -2
- package/components/BackToTop/back-to-top.scss +2 -2
- package/components/Backdrop/backdrop.css +1 -2
- package/components/Backdrop/backdrop.scss +2 -3
- package/components/BackgroundImage/background-image.css +1 -2
- package/components/BackgroundImage/background-image.scss +2 -3
- package/components/Badge/badge.css +1 -1
- package/components/Badge/badge.scss +2 -2
- package/components/Banner/banner.css +2 -2
- package/components/Banner/banner.scss +3 -3
- package/components/Brand/brand.scss +2 -1
- package/components/Breadcrumb/breadcrumb.css +1 -2
- package/components/Breadcrumb/breadcrumb.scss +3 -2
- package/components/Button/button.css +1 -2
- package/components/Button/button.scss +3 -2
- package/components/CalendarMonth/calendar-month.css +1 -2
- package/components/CalendarMonth/calendar-month.scss +5 -5
- package/components/Card/card.css +1 -2
- package/components/Card/card.scss +4 -5
- package/components/Check/check.css +1 -2
- package/components/Check/check.scss +2 -3
- package/components/Chip/chip-group.scss +1 -1
- package/components/Chip/chip.scss +1 -1
- package/components/ClipboardCopy/clipboard-copy.css +1 -2
- package/components/ClipboardCopy/clipboard-copy.scss +2 -3
- package/components/CodeBlock/code-block.css +1 -1
- package/components/CodeBlock/code-block.scss +2 -2
- package/components/CodeEditor/code-editor.css +1 -1
- package/components/CodeEditor/code-editor.scss +2 -2
- package/components/Content/content.css +1 -2
- package/components/Content/content.scss +2 -3
- package/components/ContextSelector/context-selector.scss +1 -1
- package/components/DataList/data-list-grid.scss +2 -0
- package/components/DataList/data-list.css +3 -3
- package/components/DataList/data-list.scss +5 -5
- package/components/DatePicker/date-picker.css +1 -2
- package/components/DatePicker/date-picker.scss +2 -3
- package/components/DescriptionList/description-list-order.scss +2 -0
- package/components/DescriptionList/description-list.css +7 -7
- package/components/DescriptionList/description-list.scss +5 -4
- package/components/Divider/divider.css +1 -2
- package/components/Divider/divider.scss +3 -3
- package/components/DragDrop/drag-drop.css +2 -2
- package/components/DragDrop/drag-drop.scss +3 -3
- package/components/Drawer/drawer.css +3 -6
- package/components/Drawer/drawer.scss +14 -13
- package/components/Dropdown/dropdown.scss +2 -1
- package/components/DualListSelector/dual-list-selector.css +1 -1
- package/components/DualListSelector/dual-list-selector.scss +4 -3
- package/components/EmptyState/empty-state.css +1 -1
- package/components/EmptyState/empty-state.scss +2 -2
- package/components/ExpandableSection/expandable-section.css +1 -1
- package/components/ExpandableSection/expandable-section.scss +7 -9
- package/components/FileUpload/file-upload.css +1 -2
- package/components/FileUpload/file-upload.scss +2 -3
- package/components/Form/form.css +1 -2
- package/components/Form/form.scss +4 -4
- package/components/FormControl/form-control.css +1 -2
- package/components/FormControl/form-control.scss +6 -5
- package/components/HelperText/helper-text.css +1 -1
- package/components/HelperText/helper-text.scss +4 -3
- package/components/Hint/hint.css +1 -1
- package/components/Hint/hint.scss +2 -2
- package/components/Icon/icon.css +1 -2
- package/components/Icon/icon.scss +2 -3
- package/components/InlineEdit/inline-edit.css +1 -2
- package/components/InlineEdit/inline-edit.scss +2 -3
- package/components/InputGroup/input-group.css +1 -2
- package/components/InputGroup/input-group.scss +2 -3
- package/components/JumpLinks/jump-links.css +1 -2
- package/components/JumpLinks/jump-links.scss +3 -3
- package/components/Label/label-group.css +1 -2
- package/components/Label/label-group.scss +2 -3
- package/components/Label/label.css +1 -2
- package/components/Label/label.scss +2 -4
- package/components/List/list.scss +1 -1
- package/components/LogViewer/log-viewer.scss +1 -1
- package/components/Login/login.css +9 -9
- package/components/Login/login.scss +2 -2
- package/components/Masthead/masthead.css +1 -2
- package/components/Masthead/masthead.scss +3 -2
- package/components/Menu/menu.css +1 -2
- package/components/Menu/menu.scss +3 -2
- package/components/MenuToggle/menu-toggle.css +1 -2
- package/components/MenuToggle/menu-toggle.scss +2 -3
- package/components/ModalBox/modal-box.css +2 -2
- package/components/ModalBox/modal-box.scss +3 -3
- package/components/MultipleFileUpload/multiple-file-upload.css +1 -2
- package/components/MultipleFileUpload/multiple-file-upload.scss +2 -3
- package/components/Nav/nav.css +1 -2
- package/components/Nav/nav.scss +3 -2
- package/components/NotificationBadge/notification-badge.css +1 -1
- package/components/NotificationBadge/notification-badge.scss +2 -2
- package/components/NotificationDrawer/notification-drawer.css +1 -2
- package/components/NotificationDrawer/notification-drawer.scss +2 -3
- package/components/NumberInput/number-input.css +1 -2
- package/components/NumberInput/number-input.scss +2 -3
- package/components/OptionsMenu/options-menu.scss +1 -1
- package/components/OverflowMenu/overflow-menu.css +1 -1
- package/components/OverflowMenu/overflow-menu.scss +3 -1
- package/components/Page/page.css +5 -5
- package/components/Page/page.scss +3 -2
- package/components/Pagination/pagination.css +3 -6
- package/components/Pagination/pagination.scss +3 -3
- package/components/Panel/panel.css +1 -2
- package/components/Panel/panel.scss +2 -3
- package/components/Popover/popover.scss +1 -1
- package/components/Progress/progress.css +1 -2
- package/components/Progress/progress.scss +5 -6
- package/components/ProgressStepper/progress-stepper.css +2 -4
- package/components/ProgressStepper/progress-stepper.scss +3 -3
- package/components/Radio/radio.css +1 -2
- package/components/Radio/radio.scss +2 -3
- package/components/Select/select.scss +1 -1
- package/components/Sidebar/sidebar.css +1 -2
- package/components/Sidebar/sidebar.scss +5 -5
- package/components/SimpleList/simple-list.css +1 -1
- package/components/SimpleList/simple-list.scss +3 -3
- package/components/Skeleton/skeleton.css +1 -2
- package/components/Skeleton/skeleton.scss +2 -3
- package/components/SkipToContent/skip-to-content.css +1 -1
- package/components/SkipToContent/skip-to-content.scss +2 -2
- package/components/Slider/slider.css +1 -2
- package/components/Slider/slider.scss +12 -13
- package/components/Spinner/spinner.css +1 -2
- package/components/Spinner/spinner.scss +4 -5
- package/components/Switch/switch.css +1 -2
- package/components/Switch/switch.scss +2 -3
- package/components/TabContent/tab-content.css +1 -2
- package/components/TabContent/tab-content.scss +3 -3
- package/components/Table/table-grid.scss +2 -0
- package/components/Table/table-scrollable.css +1 -2
- package/components/Table/table-scrollable.scss +3 -3
- package/components/Table/table-tree-view.css +1 -2
- package/components/Table/table-tree-view.scss +3 -2
- package/components/Table/table.css +1 -2
- package/components/Table/table.scss +3 -2
- package/components/Tabs/tabs.css +1 -2
- package/components/Tabs/tabs.scss +7 -7
- package/components/TextInputGroup/text-input-group.css +1 -2
- package/components/TextInputGroup/text-input-group.scss +4 -4
- package/components/Tile/tile.css +1 -2
- package/components/Tile/tile.scss +2 -3
- package/components/Timestamp/timestamp.css +1 -1
- package/components/Timestamp/timestamp.scss +4 -3
- package/components/Title/title.css +1 -1
- package/components/Title/title.scss +3 -3
- package/components/ToggleGroup/toggle-group.css +1 -2
- package/components/ToggleGroup/toggle-group.scss +3 -4
- package/components/Toolbar/toolbar.css +1 -2
- package/components/Toolbar/toolbar.scss +3 -2
- package/components/Tooltip/tooltip.css +1 -1
- package/components/Tooltip/tooltip.scss +5 -4
- package/components/TreeView/tree-view.css +1 -2
- package/components/TreeView/tree-view.scss +3 -3
- package/components/Truncate/truncate.css +1 -2
- package/components/Truncate/truncate.scss +2 -3
- package/components/Wizard/wizard.css +2 -4
- package/components/Wizard/wizard.scss +2 -3
- package/components/_index.css +25850 -0
- package/components/_index.scss +91 -0
- package/layouts/Bullseye/bullseye.css +1 -2
- package/layouts/Bullseye/bullseye.scss +3 -2
- package/layouts/Flex/flex.css +1 -2
- package/layouts/Flex/flex.scss +5 -4
- package/layouts/Gallery/gallery.css +1 -2
- package/layouts/Gallery/gallery.scss +3 -2
- package/layouts/Grid/grid.css +1 -2
- package/layouts/Grid/grid.scss +3 -2
- package/layouts/Level/level.css +1 -2
- package/layouts/Level/level.scss +3 -2
- package/layouts/Split/split.css +1 -2
- package/layouts/Split/split.scss +3 -2
- package/layouts/Stack/stack.css +1 -2
- package/layouts/Stack/stack.scss +3 -2
- package/layouts/_index.css +3454 -0
- package/layouts/_index.scss +8 -0
- package/package.json +1 -2
- package/patternfly-addons.scss +2 -12
- package/patternfly-base-no-globals.css +1156 -1156
- package/patternfly-base-no-globals.scss +5 -3
- package/patternfly-base.css +1251 -1251
- package/patternfly-base.scss +2 -5
- package/patternfly-charts.scss +1 -1
- package/patternfly-no-globals.css +1278 -1341
- package/patternfly-no-globals.scss +5 -4
- package/patternfly.css +1374 -1437
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/patternfly.scss +3 -4
- package/sass-utilities/_index.scss +6 -0
- package/sass-utilities/functions.scss +10 -4
- package/sass-utilities/mixins.scss +9 -7
- package/sass-utilities/{component-namespaces.scss → namespaces-components.scss} +3 -0
- package/sass-utilities/{layout-namespaces.scss → namespaces-layouts.scss} +3 -1
- package/sass-utilities/scss-variables.scss +0 -2
- package/utilities/Accessibility/accessibility.scss +2 -0
- package/utilities/Alignment/alignment.scss +2 -0
- package/utilities/BackgroundColor/{BackgroundColor.scss → background-color.scss} +1 -4
- package/utilities/BoxShadow/box-shadow.scss +2 -1
- package/utilities/Display/display.scss +2 -1
- package/utilities/Flex/flex.scss +2 -1
- package/utilities/Float/float.scss +4 -4
- package/utilities/Sizing/sizing.scss +2 -0
- package/utilities/Spacing/spacing.scss +2 -2
- package/utilities/Text/text.scss +2 -1
- package/utilities/_index.css +7777 -0
- package/utilities/_index.scss +10 -0
- package/base/_base.scss +0 -2
- package/base/_common.scss +0 -50
- package/base/_fa-icons.scss +0 -33
- package/base/_fonts.scss +0 -48
- package/base/_icons.scss +0 -3
- package/base/_pficons.scss +0 -2
- package/base/_variables.scss +0 -14
- package/base/patternfly-globals.css +0 -116
- package/base/patternfly-globals.scss +0 -2
- package/base/patternfly-icons.css +0 -4728
- package/base/patternfly-icons.scss +0 -2
- package/components/_all.scss +0 -91
- package/layouts/_all.scss +0 -7
- package/sass-utilities/_all.scss +0 -7
- package/sass-utilities/div.import.scss +0 -3
- package/sass-utilities/div.scss +0 -4
- /package/base/tokens/{_tokens-charts.scss → tokens-charts.scss} +0 -0
- /package/base/tokens/{_tokens-dark.scss → tokens-dark.scss} +0 -0
- /package/base/tokens/{_tokens-default.scss → tokens-default.scss} +0 -0
- /package/base/tokens/{_tokens-font.scss → tokens-font.scss} +0 -0
- /package/base/tokens/{_tokens-palette.scss → tokens-palette.scss} +0 -0
- /package/base/tokens/{_workspace-overrides.scss → workspace-overrides.scss} +0 -0
- /package/sass-utilities/{_init.scss → init.scss} +0 -0
- /package/utilities/BackgroundColor/{BackgroundColor.css → background-color.css} +0 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-menu-toggle) {
|
|
1
|
+
:where(:root, .pf-v6-c-menu-toggle) {
|
|
3
2
|
--pf-v6-c-menu-toggle--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
4
3
|
--pf-v6-c-menu-toggle--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
5
4
|
--pf-v6-c-menu-toggle--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
3
|
// TODO: standardize this layout
|
|
4
4
|
// TODO: add .#{$menu-toggle}__main to house extra elements, like .#{$menu-toggle}__icon, .#{$menu-toggle}__text, .#{$menu-toggle}__count, .#{$menu-toggle}__controls
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
// TODO: update text-input-button to use gap
|
|
9
9
|
// TODO: label all variables group - // * Menu toggle (vars) // - Menu toggle (selectors)
|
|
10
10
|
|
|
11
|
-
:where(:root)
|
|
12
|
-
:where(.#{$menu-toggle}) {
|
|
11
|
+
:where(:root, .#{$menu-toggle}) {
|
|
13
12
|
--#{$menu-toggle}--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
14
13
|
--#{$menu-toggle}--PaddingTop: var(--pf-t--global--spacer--sm);
|
|
15
14
|
--#{$menu-toggle}--PaddingRight: var(--pf-t--global--spacer--sm);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root, .pf-v6-c-modal-box) {
|
|
2
2
|
--pf-v6-c-modal-box--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
3
3
|
--pf-v6-c-modal-box--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
4
4
|
--pf-v6-c-modal-box--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
--pf-v6-c-modal-box__footer--c-button--sm--MarginRight: calc(var(--pf-v6-c-modal-box__footer--c-button--MarginRight) / 2);
|
|
49
49
|
}
|
|
50
50
|
@media (min-width: 1200px) {
|
|
51
|
-
:root {
|
|
51
|
+
:where(:root, .pf-v6-c-modal-box) {
|
|
52
52
|
--pf-v6-c-modal-box--m-align-top--spacer: var(--pf-v6-c-modal-box--m-align-top--xl--spacer);
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root {
|
|
3
|
+
:where(:root, .#{$modal-box}) {
|
|
4
4
|
--#{$modal-box}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
5
5
|
--#{$modal-box}--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
6
6
|
--#{$modal-box}--BoxShadow: var(--pf-t--global--box-shadow--lg);
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
// Description
|
|
50
50
|
--#{$modal-box}__description--FontSize: var(--pf-t--global--font--size--body--sm);
|
|
51
51
|
--#{$modal-box}__description--Color: var(--pf-t--global--text--color--subtle);
|
|
52
|
-
|
|
52
|
+
|
|
53
53
|
// Body
|
|
54
54
|
--#{$modal-box}__body--MinHeight: calc(var(--pf-t--global--font--size--body--default) * var(--pf-t--global--font--line-height--body)); // Allow for at least 1 line of content in the body
|
|
55
55
|
--#{$modal-box}__body--PaddingTop: var(--pf-t--global--spacer--lg);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
:where(.pf-v6-c-multiple-file-upload) {
|
|
1
|
+
:where(:root, .pf-v6-c-multiple-file-upload) {
|
|
3
2
|
--pf-v6-c-multiple-file-upload--GridTemplateColumns: 1fr;
|
|
4
3
|
--pf-v6-c-multiple-file-upload--Gap: var(--pf-t--global--spacer--md);
|
|
5
4
|
--pf-v6-c-multiple-file-upload__main--TextAlign: center;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
:where(.#{$multiple-file-upload}) {
|
|
3
|
+
:where(:root, .#{$multiple-file-upload}) {
|
|
5
4
|
--#{$multiple-file-upload}--GridTemplateColumns: 1fr;
|
|
6
5
|
--#{$multiple-file-upload}--Gap: var(--pf-t--global--spacer--md);
|
|
7
6
|
|
package/components/Nav/nav.css
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-nav) {
|
|
1
|
+
:where(:root, .pf-v6-c-nav) {
|
|
3
2
|
--pf-v6-c-nav__link--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
4
3
|
--pf-v6-c-nav__link--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
5
4
|
--pf-v6-c-nav__link--PaddingInlineStart: var(--pf-t--global--spacer--md);
|
package/components/Nav/nav.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
3
|
+
:where(:root, .#{$nav}) {
|
|
3
4
|
// * Nav shared values
|
|
4
5
|
--#{$nav}__link--PaddingBlockStart: var(--pf-t--global--spacer--sm);
|
|
5
6
|
--#{$nav}__link--PaddingBlockEnd: var(--pf-t--global--spacer--sm);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root {
|
|
3
|
+
:where(:root, .#{$notification-badge}) {
|
|
4
4
|
--#{$notification-badge}--BackgroundColor: transparent;
|
|
5
5
|
--#{$notification-badge}--MinWidth: 40px;
|
|
6
6
|
--#{$notification-badge}--Gap: var(--pf-t--global--spacer--xs);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
.pf-v6-c-notification-drawer {
|
|
1
|
+
:where(:root, .pf-v6-c-notification-drawer) {
|
|
3
2
|
--pf-v6-c-notification-drawer--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
4
3
|
--pf-v6-c-notification-drawer__header--PaddingTop: var(--pf-t--global--spacer--md);
|
|
5
4
|
--pf-v6-c-notification-drawer__header--PaddingRight: var(--pf-t--global--spacer--lg);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$notification-drawer} {
|
|
3
|
+
:where(:root, .#{$notification-drawer}) {
|
|
5
4
|
--#{$notification-drawer}--BackgroundColor: var(--pf-t--global--background--color--floating--default);
|
|
6
5
|
|
|
7
6
|
// Header
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
.pf-v6-c-number-input {
|
|
1
|
+
:where(:root, .pf-v6-c-number-input) {
|
|
3
2
|
--pf-v6-c-number-input__unit--c-input-group--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
4
3
|
--pf-v6-c-number-input__icon--FontSize: var(--pf-t--global--font--size--xs);
|
|
5
4
|
--pf-v6-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);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$number-input} {
|
|
3
|
+
:where(:root, .#{$number-input}) {
|
|
5
4
|
// unit
|
|
6
5
|
--#{$number-input}__unit--c-input-group--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
7
6
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root, .pf-v6-c-overflow-menu) {
|
|
2
2
|
--pf-v6-c-overflow-menu--ColumnGap: var(--pf-t--global--spacer--md);
|
|
3
3
|
--pf-v6-c-overflow-menu__group--ColumnGap: var(--pf-t--global--spacer--md);
|
|
4
4
|
--pf-v6-c-overflow-menu__group--m-button-group--ColumnGap: var(--pf-t--global--spacer--sm);
|
package/components/Page/page.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root {
|
|
1
|
+
:where(:root, .pf-v6-c-page) {
|
|
2
2
|
--pf-v6-c-page--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
3
3
|
--pf-v6-c-page--inset: var(--pf-t--global--spacer--md);
|
|
4
4
|
--pf-v6-c-page--xl--inset: var(--pf-t--global--spacer--xl);
|
|
@@ -110,25 +110,25 @@
|
|
|
110
110
|
--pf-v6-c-page__main-wizard--BorderTopWidth: var(--pf-t--global--border--width--button--default);
|
|
111
111
|
}
|
|
112
112
|
@media (min-width: 1200px) {
|
|
113
|
-
:root {
|
|
113
|
+
:where(:root, .pf-v6-c-page) {
|
|
114
114
|
--pf-v6-c-page__header-brand--PaddingLeft: var(--pf-v6-c-page__header-brand--xl--PaddingLeft);
|
|
115
115
|
--pf-v6-c-page--inset: var(--pf-v6-c-page--xl--inset);
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
@media screen and (min-width: 1200px) {
|
|
119
|
-
:root {
|
|
119
|
+
:where(:root, .pf-v6-c-page) {
|
|
120
120
|
--pf-v6-c-page__header-nav--BackgroundColor: var(--pf-v6-c-page__header-nav--xl--BackgroundColor);
|
|
121
121
|
--pf-v6-c-page__header-nav--PaddingRight: var(--pf-v6-c-page__header-nav--xl--PaddingRight);
|
|
122
122
|
--pf-v6-c-page__header-nav--PaddingLeft: var(--pf-v6-c-page__header-nav--xl--PaddingLeft);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
@media screen and (min-width: 1200px) {
|
|
126
|
-
:root {
|
|
126
|
+
:where(:root, .pf-v6-c-page) {
|
|
127
127
|
--pf-v6-c-page__header-tools--MarginRight: var(--pf-v6-c-page__header-tools--xl--MarginRight);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
@media screen and (min-width: 1200px) {
|
|
131
|
-
:root {
|
|
131
|
+
:where(:root, .pf-v6-c-page) {
|
|
132
132
|
--pf-v6-c-page__sidebar--TranslateX: var(--pf-v6-c-page__sidebar--xl--TranslateX);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
2
3
|
// stylelint-disable
|
|
3
4
|
$pf-page-v6--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
4
5
|
$pf-page-v6--height-breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
5
6
|
// stylelint-enable
|
|
6
7
|
|
|
7
|
-
:root {
|
|
8
|
+
:where(:root, .#{$page}) {
|
|
8
9
|
--#{$page}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
9
10
|
--#{$page}--inset: var(--pf-t--global--spacer--md);
|
|
10
11
|
--#{$page}--xl--inset: var(--pf-t--global--spacer--xl);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-pagination) {
|
|
1
|
+
:where(:root, .pf-v6-c-pagination) {
|
|
3
2
|
--pf-v6-c-pagination--inset: 0;
|
|
4
3
|
--pf-v6-c-pagination--ColumnGap: var(--pf-t--global--spacer--lg);
|
|
5
4
|
--pf-v6-c-pagination--m-page-insets--inset: var(--pf-t--global--spacer--lg);
|
|
@@ -34,8 +33,7 @@
|
|
|
34
33
|
--pf-v6-c-pagination--m-display-full__page-menu--Display: inline-flex;
|
|
35
34
|
}
|
|
36
35
|
@media screen and (min-width: 768px) {
|
|
37
|
-
:where(:root)
|
|
38
|
-
:where(.pf-v6-c-pagination) {
|
|
36
|
+
:where(:root, .pf-v6-c-pagination) {
|
|
39
37
|
--pf-v6-c-pagination--m-bottom--BoxShadow: none;
|
|
40
38
|
--pf-v6-c-pagination__page-menu--Display: inline-flex;
|
|
41
39
|
--pf-v6-c-pagination__nav--Display: inline-flex;
|
|
@@ -43,8 +41,7 @@
|
|
|
43
41
|
}
|
|
44
42
|
}
|
|
45
43
|
@media screen and (min-width: 1200px) {
|
|
46
|
-
:where(:root)
|
|
47
|
-
:where(.pf-v6-c-pagination) {
|
|
44
|
+
:where(:root, .pf-v6-c-pagination) {
|
|
48
45
|
--pf-v6-c-pagination__scroll-button--Width: var(--pf-v6-c-pagination__scroll-button--xl--Width);
|
|
49
46
|
}
|
|
50
47
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
2
3
|
$pf-v6-c-pagination--breakpoint-map: build-breakpoint-map();
|
|
3
4
|
$pf-v6-c-pagination--variable-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
4
5
|
|
|
5
|
-
:where(:root)
|
|
6
|
-
:where(.#{$pagination}) {
|
|
6
|
+
:where(:root, .#{$pagination}) {
|
|
7
7
|
--#{$pagination}--inset: 0;
|
|
8
8
|
--#{$pagination}--ColumnGap: var(--pf-t--global--spacer--lg);
|
|
9
9
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$panel} {
|
|
3
|
+
:where(:root, .#{$panel}) {
|
|
5
4
|
--#{$panel}--Width: auto;
|
|
6
5
|
--#{$panel}--MinWidth: auto;
|
|
7
6
|
--#{$panel}--MaxWidth: none;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
.pf-v6-c-progress {
|
|
1
|
+
:where(:root, .pf-v6-c-progress) {
|
|
3
2
|
--pf-v6-c-progress--GridGap: var(--pf-t--global--spacer--md);
|
|
4
3
|
--pf-v6-c-progress__bar--Height: var(--pf-t--global--spacer--md);
|
|
5
4
|
--pf-v6-c-progress__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$progress} {
|
|
3
|
+
:where(:root, .#{$progress}) {
|
|
5
4
|
// Component variables
|
|
6
5
|
--#{$progress}--GridGap: var(--pf-t--global--spacer--md);
|
|
7
|
-
|
|
6
|
+
|
|
8
7
|
// Element variables
|
|
9
8
|
--#{$progress}__bar--Height: var(--pf-t--global--spacer--md);
|
|
10
9
|
--#{$progress}__bar--BackgroundColor: var(--pf-t--global--color--nonstatus--gray--default); // the bar always needs white under it so that the semi-transparent color shows correctly
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
--#{$progress}__indicator--Height: var(--#{$progress}__bar--Height);
|
|
15
14
|
--#{$progress}__indicator--BackgroundColor: var(--pf-t--global--color--brand--default);
|
|
16
15
|
--#{$progress}__helper-text--MarginTop: calc(var(--pf-t--global--spacer--sm) - var(--#{$progress}--GridGap));
|
|
17
|
-
|
|
16
|
+
|
|
18
17
|
// Modifier variables
|
|
19
18
|
--#{$progress}--m-success__indicator--BackgroundColor: var(--pf-t--global--color--status--success--default);
|
|
20
19
|
--#{$progress}--m-warning__indicator--BackgroundColor: var(--pf-t--global--color--status--warning--default);
|
|
@@ -135,7 +134,7 @@
|
|
|
135
134
|
--#{$progress}__status-icon--Color: var(--#{$progress}--m-warning__status-icon--Color);
|
|
136
135
|
--#{$progress}--m-inside__measure--Color: var(--#{$progress}--m-warning--m-inside__measure--Color);
|
|
137
136
|
}
|
|
138
|
-
|
|
137
|
+
|
|
139
138
|
&.pf-m-danger {
|
|
140
139
|
--#{$progress}__indicator--BackgroundColor: var(--#{$progress}--m-danger__indicator--BackgroundColor);
|
|
141
140
|
--#{$progress}__status-icon--Color: var(--#{$progress}--m-danger__status-icon--Color);
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:where(:root)
|
|
2
|
-
:where(.pf-v6-c-progress-stepper) {
|
|
1
|
+
:where(:root, .pf-v6-c-progress-stepper) {
|
|
3
2
|
--pf-v6-c-progress-stepper--m-vertical--GridAutoFlow: row;
|
|
4
3
|
--pf-v6-c-progress-stepper--m-vertical--GridTemplateColumns: auto 1fr;
|
|
5
4
|
--pf-v6-c-progress-stepper--m-vertical__step-connector--before--Top: 0;
|
|
@@ -118,8 +117,7 @@
|
|
|
118
117
|
--pf-v6-c-progress-stepper--m-center__step-main--before--Content: "";
|
|
119
118
|
}
|
|
120
119
|
@media screen and (min-width: 768px) {
|
|
121
|
-
:where(:root)
|
|
122
|
-
:where(.pf-v6-c-progress-stepper) {
|
|
120
|
+
:where(:root, .pf-v6-c-progress-stepper) {
|
|
123
121
|
--pf-v6-c-progress-stepper--GridAutoFlow: var(--pf-v6-c-progress-stepper--m-horizontal--GridAutoFlow);
|
|
124
122
|
--pf-v6-c-progress-stepper--GridTemplateColumns: var(--pf-v6-c-progress-stepper--m-horizontal--GridTemplateColumns);
|
|
125
123
|
--pf-v6-c-progress-stepper__step-connector--before--Top: var(--pf-v6-c-progress-stepper--m-horizontal__step-connector--before--Top);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
|
+
|
|
2
3
|
$pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
3
4
|
|
|
4
5
|
// Default layout is vertical
|
|
@@ -57,8 +58,7 @@ $pf-v6-c-progress-stepper--breakpoint-map: build-breakpoint-map();
|
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
// Progress stepper is vertically oriented by default
|
|
60
|
-
:where(:root)
|
|
61
|
-
:where(.#{$progress-stepper}) {
|
|
61
|
+
:where(:root, .#{$progress-stepper}) {
|
|
62
62
|
// Vertical - these are the default settings
|
|
63
63
|
--#{$progress-stepper}--m-vertical--GridAutoFlow: row;
|
|
64
64
|
--#{$progress-stepper}--m-vertical--GridTemplateColumns: auto 1fr;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
.pf-v6-c-radio {
|
|
1
|
+
:where(:root, .pf-v6-c-radio) {
|
|
3
2
|
--pf-v6-c-radio--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
4
3
|
--pf-v6-c-radio--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
5
4
|
--pf-v6-c-radio--Height: calc(var(--pf-v6-c-radio__label--FontSize) * var(--pf-v6-c-radio__label--LineHeight));
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$radio} {
|
|
3
|
+
:where(:root, .#{$radio}) {
|
|
5
4
|
--#{$radio}--GridGap: var(--pf-t--global--spacer--sm) var(--pf-t--global--spacer--sm);
|
|
6
5
|
--#{$radio}--AccentColor: var(--pf-t--global--icon--color--brand--default);
|
|
7
6
|
--#{$radio}--Height: calc(var(--#{$radio}__label--FontSize) * var(--#{$radio}__label--LineHeight));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
:where(.pf-v6-c-sidebar) {
|
|
1
|
+
:where(:root, .pf-v6-c-sidebar) {
|
|
3
2
|
--pf-v6-c-sidebar--inset: var(--pf-t--global--spacer--md);
|
|
4
3
|
--pf-v6-c-sidebar--xl--inset: var(--pf-t--global--spacer--lg);
|
|
5
4
|
--pf-v6-c-sidebar--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
@use '../../sass-utilities' as *;
|
|
3
|
+
|
|
2
4
|
$pf-v6-c-sidebar--breakpoint-map--width: build-breakpoint-map("base", "sm", "md", "lg", "xl", "2xl");
|
|
3
5
|
$pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
4
6
|
|
|
5
|
-
:root,
|
|
6
|
-
:where(.#{$sidebar}) {
|
|
7
|
+
:where(:root, .#{$sidebar}) {
|
|
7
8
|
--#{$sidebar}--inset: var(--pf-t--global--spacer--md);
|
|
8
9
|
--#{$sidebar}--xl--inset: var(--pf-t--global--spacer--lg);
|
|
9
10
|
--#{$sidebar}--BorderWidth--base: var(--pf-t--global--border--width--regular);
|
|
@@ -243,7 +244,6 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
243
244
|
}
|
|
244
245
|
}
|
|
245
246
|
|
|
246
|
-
|
|
247
247
|
// Responsive width modifiers
|
|
248
248
|
@each $breakpoint, $breakpoint-value in $pf-v6-c-sidebar--breakpoint-map--width {
|
|
249
249
|
$breakpoint-name: if($breakpoint != "base", -on-#{$breakpoint}, "");
|
|
@@ -254,7 +254,7 @@ $pf-v6-c-sidebar__panel--list--width: ("default", 25, 33, 50, 66, 75, 100);
|
|
|
254
254
|
@if $width-value == "default" {
|
|
255
255
|
--pf-v6-c-sidebar__panel--FlexBasis: var(--pf-v6-c-sidebar__panel--FlexBasis--base);
|
|
256
256
|
} @else {
|
|
257
|
-
--pf-v6-c-sidebar__panel--FlexBasis: #{percentage(div($width-value, 100))};
|
|
257
|
+
--pf-v6-c-sidebar__panel--FlexBasis: #{percentage(math.div($width-value, 100))};
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root, .pf-v6-c-simple-list {
|
|
1
|
+
:where(:root, .pf-v6-c-simple-list) {
|
|
2
2
|
--pf-v6-c-simple-list__item-link--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
3
3
|
--pf-v6-c-simple-list__item-link--PaddingRight: var(--pf-t--global--spacer--md);
|
|
4
4
|
--pf-v6-c-simple-list__item-link--PaddingBottom: var(--pf-t--global--spacer--xs);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root, .#{$simple-list} {
|
|
3
|
+
:where(:root, .#{$simple-list}) {
|
|
4
4
|
// Simple list item link
|
|
5
5
|
--#{$simple-list}__item-link--PaddingTop: var(--pf-t--global--spacer--xs);
|
|
6
6
|
--#{$simple-list}__item-link--PaddingRight: var(--pf-t--global--spacer--md);
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
background-color: var(--#{$simple-list}__item-link--BackgroundColor);
|
|
48
48
|
border: none;
|
|
49
49
|
border-radius: var(--#{$simple-list}__item-link--BorderRadius);
|
|
50
|
-
|
|
50
|
+
|
|
51
51
|
&.pf-m-link {
|
|
52
52
|
--#{$simple-list}__item-link--Color: var(--#{$simple-list}__item-link--m-link--Color);
|
|
53
53
|
--#{$simple-list}__item-link--hover--Color: var(--#{$simple-list}__item-link--m-link--m-current--Color);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$skeleton} {
|
|
3
|
+
:where(:root, .#{$skeleton}) {
|
|
5
4
|
--#{$skeleton}--BackgroundColor: var(--pf-t--global--background--color--secondary--default);
|
|
6
5
|
--#{$skeleton}--Width: auto;
|
|
7
6
|
--#{$skeleton}--Height: auto;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root {
|
|
3
|
+
:where(:root, .#{$skip-to-content}) {
|
|
4
4
|
--#{$skip-to-content}--Top: var(--pf-t--global--spacer--md);
|
|
5
5
|
--#{$skip-to-content}--ZIndex: var(--pf-t--global--z-index--2xl);
|
|
6
6
|
--#{$skip-to-content}--focus--Left: var(--pf-t--global--spacer--md);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$slider} {
|
|
3
|
+
:where(:root, .#{$slider}) {
|
|
5
4
|
--#{$slider}--value: 0; // should always be set inline
|
|
6
5
|
--#{$slider}__step--Left: 0; // should always be set inline
|
|
7
|
-
|
|
6
|
+
|
|
8
7
|
// rail
|
|
9
8
|
--#{$slider}__rail--PaddingTop: var(--pf-t--global--spacer--md);
|
|
10
9
|
--#{$slider}__rail--PaddingBottom: var(--pf-t--global--spacer--md);
|
|
@@ -13,11 +12,11 @@
|
|
|
13
12
|
--#{$slider}__rail-track--before--fill--BackgroundColor: var(--pf-t--global--border--color--hover);
|
|
14
13
|
--#{$slider}__rail-track--before--BorderRadius: var(--pf-t--global--border--radius--tiny);
|
|
15
14
|
--#{$slider}__rail-track--before--fill--BackgroundColor--gradient-stop: var(--#{$slider}--value);
|
|
16
|
-
|
|
15
|
+
|
|
17
16
|
// steps
|
|
18
17
|
--#{$slider}__steps--FontSize: var(--pf-t--global--font--size--sm);
|
|
19
18
|
--#{$slider}__steps--Height: var(--#{$slider}__steps--FontSize);
|
|
20
|
-
|
|
19
|
+
|
|
21
20
|
// step tick
|
|
22
21
|
--#{$slider}__step-tick--Top: var(--pf-t--global--spacer--md);
|
|
23
22
|
--#{$slider}__step-tick--Width: #{pf-size-prem(4px)};
|
|
@@ -28,13 +27,13 @@
|
|
|
28
27
|
--#{$slider}__step--m-active__slider-tick--BackgroundColor: var(--pf-t--global--icon--color--brand--clicked);
|
|
29
28
|
--#{$slider}__step--first-child__step-tick--TranslateX: 0;
|
|
30
29
|
--#{$slider}__step--last-child__step-tick--TranslateX: -100%;
|
|
31
|
-
|
|
30
|
+
|
|
32
31
|
// step label
|
|
33
32
|
--#{$slider}__step-label--TranslateX: -50%;
|
|
34
33
|
--#{$slider}__step-label--Top: calc(var(--pf-t--global--spacer--xl) + var(--#{$slider}__rail-track--Height));
|
|
35
34
|
--#{$slider}__step--first-child__step-label--TranslateX: 0;
|
|
36
35
|
--#{$slider}__step--last-child__step-label--TranslateX: -100%;
|
|
37
|
-
|
|
36
|
+
|
|
38
37
|
// thumb
|
|
39
38
|
--#{$slider}__thumb--Top: calc(var(--#{$slider}__rail-track--Height) / 2 + var(--pf-t--global--spacer--md));
|
|
40
39
|
--#{$slider}__thumb--Width: #{pf-size-prem(16px)};
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
--#{$slider}__thumb--before--BorderRadius: var(--pf-t--global--border--radius--large);
|
|
58
57
|
--#{$slider}__thumb--before--TranslateX: -50%;
|
|
59
58
|
--#{$slider}__thumb--before--TranslateY: -50%;
|
|
60
|
-
|
|
59
|
+
|
|
61
60
|
// value
|
|
62
61
|
--#{$slider}__value--MarginLeft: var(--pf-t--global--spacer--md);
|
|
63
62
|
--#{$slider}__value--c-form-control--width-base: calc(var(--#{$form-control}--PaddingLeft) + var(--#{$form-control}--PaddingRight) + #{pf-size-prem(20px)}); // form control base width + number input spinner width
|
|
@@ -67,11 +66,11 @@
|
|
|
67
66
|
--#{$slider}__value--m-floating--TranslateY: -100%;
|
|
68
67
|
--#{$slider}__value--m-floating--Left: var(--#{$slider}--value);
|
|
69
68
|
--#{$slider}__value--m-floating--ZIndex: var(--pf-t--global--z-index--sm);
|
|
70
|
-
|
|
69
|
+
|
|
71
70
|
// actions
|
|
72
71
|
--#{$slider}__actions--MarginRight: var(--pf-t--global--spacer--sm);
|
|
73
72
|
--#{$slider}__main--actions--MarginLeft: var(--pf-t--global--spacer--sm);
|
|
74
|
-
|
|
73
|
+
|
|
75
74
|
// disabled
|
|
76
75
|
--#{$slider}--m-disabled__rail-track--before--fill--BackgroundColor: var(--pf-t--global--background--color--disabled--default);
|
|
77
76
|
--#{$slider}--m-disabled__step--m-active__slider-tick--BackgroundColor: var(--pf-t--global--icon--color--disabled);
|
|
@@ -80,11 +79,11 @@
|
|
|
80
79
|
|
|
81
80
|
.#{$slider} {
|
|
82
81
|
@include pf-v6-bidirectional-style(
|
|
83
|
-
$prop: --#{$slider}__rail-track--before--fill--direction,
|
|
82
|
+
$prop: --#{$slider}__rail-track--before--fill--direction,
|
|
84
83
|
$ltr-val: right,
|
|
85
84
|
$rtl-val: left
|
|
86
85
|
);
|
|
87
|
-
|
|
86
|
+
|
|
88
87
|
display: flex;
|
|
89
88
|
|
|
90
89
|
&.pf-m-disabled {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
@use '../../sass-utilities' as *;
|
|
2
2
|
|
|
3
|
-
:root,
|
|
4
|
-
.#{$spinner} {
|
|
3
|
+
:where(:root, .#{$spinner}) {
|
|
5
4
|
--#{$spinner}--diameter: var(--pf-t--global--icon--size--2xl);
|
|
6
5
|
--#{$spinner}--Width: var(--#{$spinner}--diameter);
|
|
7
6
|
--#{$spinner}--Height: var(--#{$spinner}--diameter);
|
|
@@ -13,13 +12,13 @@
|
|
|
13
12
|
// path
|
|
14
13
|
--#{$spinner}__path--StrokeWidth: var(--#{$spinner}--StrokeWidth);
|
|
15
14
|
--#{$spinner}__path--AnimationTimingFunction: ease-in-out;
|
|
16
|
-
|
|
15
|
+
|
|
17
16
|
// sizes
|
|
18
17
|
--#{$spinner}--m-sm--diameter: var(--pf-t--global--icon--size--md);
|
|
19
18
|
--#{$spinner}--m-md--diameter: var(--pf-t--global--icon--size--lg);
|
|
20
19
|
--#{$spinner}--m-lg--diameter: var(--pf-t--global--icon--size--xl);
|
|
21
20
|
--#{$spinner}--m-xl--diameter: var(--pf-t--global--icon--size--2xl);
|
|
22
|
-
|
|
21
|
+
|
|
23
22
|
// inline
|
|
24
23
|
--#{$spinner}--m-inline--diameter: 1em;
|
|
25
24
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
:root,
|
|
2
|
-
.pf-v6-c-switch {
|
|
1
|
+
:where(:root, .pf-v6-c-switch) {
|
|
3
2
|
--pf-v6-c-switch--FontSize: var(--pf-t--global--font--size--sm);
|
|
4
3
|
--pf-v6-c-switch--ColumnGap: var(--pf-t--global--spacer--sm);
|
|
5
4
|
--pf-v6-c-switch__toggle-icon--FontSize: calc(var(--pf-v6-c-switch--FontSize) * .625);
|