@patternfly/patternfly 4.195.0 → 4.196.2
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/images/icon-github.hbs +4 -0
- package/assets/images/icon-google.hbs +4 -0
- package/assets/images/icon-red-hat.hbs +1 -0
- package/base/_globals.scss +7 -0
- package/base/_variables.scss +9 -0
- package/base/patternfly-globals.css +4 -0
- package/base/patternfly-variables.css +85 -0
- package/components/AboutModalBox/about-modal-box.css +28 -0
- package/components/AboutModalBox/about-modal-box.scss +7 -0
- package/components/AboutModalBox/themes/dark/about-modal-box.scss +4 -6
- package/components/Accordion/accordion.css +6 -0
- package/components/Accordion/accordion.scss +7 -0
- package/components/Accordion/themes/dark/accordion.scss +3 -1
- package/components/Alert/alert.css +14 -0
- package/components/Alert/alert.scss +7 -0
- package/components/Alert/themes/dark/alert.scss +3 -1
- package/components/AppLauncher/app-launcher.css +12 -0
- package/components/AppLauncher/app-launcher.scss +7 -0
- package/components/AppLauncher/themes/dark/app-launcher.scss +3 -1
- package/components/Badge/badge.css +5 -0
- package/components/Badge/badge.scss +7 -0
- package/components/Badge/themes/dark/badge.scss +3 -1
- package/components/Banner/banner.css +31 -0
- package/components/Banner/banner.scss +7 -0
- package/components/Banner/themes/dark/banner.scss +4 -2
- package/components/Breadcrumb/breadcrumb.css +4 -0
- package/components/Breadcrumb/breadcrumb.scss +7 -0
- package/components/Breadcrumb/themes/dark/breadcrumb.scss +3 -1
- package/components/Button/button.css +38 -0
- package/components/Button/button.scss +7 -0
- package/components/Button/themes/dark/button.scss +3 -1
- package/components/CalendarMonth/calendar-month.css +22 -0
- package/components/CalendarMonth/calendar-month.scss +7 -0
- package/components/CalendarMonth/themes/dark/calendar-month.scss +3 -1
- package/components/Chip/chip.css +6 -0
- package/components/Chip/chip.scss +7 -0
- package/components/Chip/themes/dark/chip.scss +3 -1
- package/components/ClipboardCopy/clipboard-copy.css +11 -0
- package/components/ClipboardCopy/clipboard-copy.scss +7 -0
- package/components/ClipboardCopy/themes/dark/clipboard-copy.scss +3 -1
- package/components/CodeEditor/code-editor.css +4 -0
- package/components/CodeEditor/code-editor.scss +7 -0
- package/components/CodeEditor/themes/dark/code-editor.scss +3 -1
- package/components/ContextSelector/context-selector.css +17 -0
- package/components/ContextSelector/context-selector.scss +7 -0
- package/components/ContextSelector/themes/dark/context-selector.scss +3 -1
- package/components/DataList/data-list.css +7 -0
- package/components/DataList/data-list.scss +7 -0
- package/components/DataList/themes/dark/data-list.scss +3 -1
- package/components/DatePicker/date-picker.css +5 -0
- package/components/DatePicker/date-picker.scss +7 -0
- package/components/DatePicker/themes/dark/date-picker.scss +3 -1
- package/components/Drawer/drawer.css +7 -0
- package/components/Drawer/drawer.scss +7 -0
- package/components/Drawer/themes/dark/drawer.scss +3 -1
- package/components/Dropdown/dropdown.css +22 -0
- package/components/Dropdown/dropdown.scss +7 -0
- package/components/Dropdown/themes/dark/dropdown.scss +3 -1
- package/components/Form/form.css +4 -0
- package/components/Form/form.scss +7 -0
- package/components/Form/themes/dark/form.scss +3 -1
- package/components/FormControl/form-control.css +22 -0
- package/components/FormControl/form-control.scss +7 -0
- package/components/FormControl/themes/dark/form-control.scss +3 -1
- package/components/HelperText/helper-text.css +4 -0
- package/components/HelperText/helper-text.scss +7 -0
- package/components/HelperText/themes/dark/helper-text.scss +3 -1
- package/components/Hint/hint.css +5 -0
- package/components/Hint/hint.scss +7 -0
- package/components/Hint/themes/dark/hint.scss +3 -1
- package/components/InputGroup/input-group.css +22 -0
- package/components/InputGroup/input-group.scss +7 -0
- package/components/InputGroup/themes/dark/input-group.scss +3 -1
- package/components/Label/label.css +71 -2
- package/components/Label/label.scss +37 -2
- package/components/Label/themes/dark/label.scss +3 -1
- package/components/LogViewer/log-viewer.css +28 -0
- package/components/LogViewer/log-viewer.scss +7 -0
- package/components/LogViewer/themes/dark/log-viewer.scss +4 -2
- package/components/Login/login.css +31 -0
- package/components/Login/login.scss +7 -0
- package/components/Login/themes/dark/login.scss +4 -2
- package/components/Masthead/masthead.css +32 -0
- package/components/Masthead/masthead.scss +7 -0
- package/components/Masthead/themes/dark/masthead.scss +4 -2
- package/components/Menu/menu.css +9 -0
- package/components/Menu/menu.scss +7 -0
- package/components/Menu/themes/dark/menu.scss +3 -1
- package/components/MenuToggle/menu-toggle.css +19 -0
- package/components/MenuToggle/menu-toggle.scss +7 -0
- package/components/MenuToggle/themes/dark/menu-toggle.scss +3 -1
- package/components/ModalBox/modal-box.css +4 -0
- package/components/ModalBox/modal-box.scss +7 -0
- package/components/ModalBox/themes/dark/modal-box.scss +3 -1
- package/components/Nav/nav.css +34 -0
- package/components/Nav/nav.scss +7 -0
- package/components/Nav/themes/dark/nav.scss +3 -1
- package/components/NotificationBadge/notification-badge.css +4 -0
- package/components/NotificationBadge/notification-badge.scss +7 -0
- package/components/NotificationBadge/themes/dark/notification-badge.scss +3 -1
- package/components/NotificationDrawer/notification-drawer.css +11 -0
- package/components/NotificationDrawer/notification-drawer.scss +7 -0
- package/components/NotificationDrawer/themes/dark/notification-drawer.scss +3 -1
- package/components/OptionsMenu/options-menu.css +17 -0
- package/components/OptionsMenu/options-menu.scss +7 -0
- package/components/OptionsMenu/themes/dark/options-menu.scss +3 -1
- package/components/Page/page.css +66 -1
- package/components/Page/page.scss +13 -1
- package/components/Page/themes/dark/page.scss +4 -2
- package/components/Pagination/pagination.css +4 -0
- package/components/Pagination/pagination.scss +7 -0
- package/components/Pagination/themes/dark/pagination.scss +3 -1
- package/components/Popover/popover.css +13 -0
- package/components/Popover/popover.scss +7 -0
- package/components/Popover/themes/dark/popover.scss +3 -1
- package/components/Progress/progress.css +6 -0
- package/components/Progress/progress.scss +7 -0
- package/components/Progress/themes/dark/progress.scss +3 -1
- package/components/SearchInput/search-input.css +9 -0
- package/components/SearchInput/search-input.scss +7 -0
- package/components/SearchInput/themes/dark/search-input.scss +3 -1
- package/components/Select/select.css +16 -0
- package/components/Select/select.scss +7 -0
- package/components/Select/themes/dark/select.scss +3 -1
- package/components/SimpleList/simple-list.css +11 -0
- package/components/SimpleList/simple-list.scss +7 -0
- package/components/SimpleList/themes/dark/simple-list.scss +3 -1
- package/components/Skeleton/skeleton.css +6 -0
- package/components/Skeleton/skeleton.scss +7 -0
- package/components/Skeleton/themes/dark/skeleton.scss +3 -1
- package/components/Switch/switch.css +7 -0
- package/components/Switch/switch.scss +7 -0
- package/components/Switch/themes/dark/switch.scss +3 -1
- package/components/Table/table.css +7 -0
- package/components/Table/table.scss +7 -0
- package/components/Table/themes/dark/table.scss +7 -1
- package/components/Tabs/tabs.css +6 -0
- package/components/Tabs/tabs.scss +7 -0
- package/components/Tabs/themes/dark/tabs.scss +3 -1
- package/components/Tile/themes/dark/tile.scss +3 -1
- package/components/Tile/tile.css +7 -0
- package/components/Tile/tile.scss +7 -0
- package/components/ToggleGroup/themes/dark/toggle-group.scss +3 -1
- package/components/ToggleGroup/toggle-group.css +8 -0
- package/components/ToggleGroup/toggle-group.scss +7 -0
- package/components/Tooltip/themes/dark/tooltip.scss +3 -1
- package/components/Tooltip/tooltip.css +13 -0
- package/components/Tooltip/tooltip.scss +7 -0
- package/components/TreeView/themes/dark/tree-view.scss +3 -1
- package/components/TreeView/tree-view.css +5 -0
- package/components/TreeView/tree-view.scss +7 -0
- package/components/Wizard/themes/dark/wizard.scss +4 -2
- package/components/Wizard/wizard.css +34 -0
- package/components/Wizard/wizard.scss +7 -0
- package/docs/components/FormControl/examples/FormControl.md +2 -0
- package/docs/components/Label/examples/Label.md +147 -0
- package/docs/components/Table/examples/Table.md +477 -3
- package/docs/demos/Table/examples/Table.css +3 -0
- package/docs/demos/Table/examples/Table.md +1092 -1
- package/package.json +1 -1
- package/patternfly-base-no-reset.css +93 -4
- package/patternfly-base.css +93 -4
- package/patternfly-no-reset.css +2223 -35
- package/patternfly-theme-dark.css +0 -636
- package/patternfly-theme-dark.scss +1 -7
- package/patternfly.css +2223 -35
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- package/sass-utilities/colors.scss +1 -0
- package/sass-utilities/mixins.scss +7 -0
- package/sass-utilities/scss-variables.scss +1 -0
- package/sass-utilities/themes/dark/_all.scss +4 -0
- package/themes/dark/_patternfly-charts-theme-dark.scss +1 -1
- package/patternfly-theme-dark-prefers-color-scheme.css +0 -711
- package/patternfly-theme-dark-prefers-color-scheme.scss +0 -5
- package/themes/dark/_chart-globals.scss +0 -39
- package/themes/dark/_patternfly-theme-dark.scss +0 -119
- package/themes/dark/_variables.scss +0 -94
- package/themes/dark/colors.scss +0 -16
- package/themes/dark/globals.scss +0 -7
- package/themes/dark/mixins.scss +0 -5
- package/themes/dark/placeholders.scss +0 -30
- package/themes/dark/scss-variables.scss +0 -85
|
@@ -169,4 +169,17 @@
|
|
|
169
169
|
|
|
170
170
|
.pf-c-popover__footer {
|
|
171
171
|
margin-top: var(--pf-c-popover__footer--MarginTop);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:where(.pf-theme-dark) .pf-c-popover {
|
|
175
|
+
--pf-c-popover--BoxShadow: none;
|
|
176
|
+
--pf-c-popover__arrow--BoxShadow: none;
|
|
177
|
+
--pf-c-popover__arrow--BackgroundColor: var(--pf-c-popover__content--BackgroundColor);
|
|
178
|
+
--pf-c-popover--m-default__title-text--Color: var(--pf-global--default-color--200);
|
|
179
|
+
--pf-c-popover--m-info__title-text--Color: var(--pf-global--info-color--100);
|
|
180
|
+
--pf-c-popover--m-success__title-text--Color: var(--pf-global--success-color--100);
|
|
181
|
+
}
|
|
182
|
+
:where(.pf-theme-dark) .pf-c-popover,
|
|
183
|
+
:where(.pf-theme-dark) .pf-c-popover .pf-c-popover__arrow {
|
|
184
|
+
border: 4px solid var(--pf-global--BorderColor--400);
|
|
172
185
|
}
|
|
@@ -244,3 +244,10 @@
|
|
|
244
244
|
.pf-c-popover__footer {
|
|
245
245
|
margin-top: var(--pf-c-popover__footer--MarginTop);
|
|
246
246
|
}
|
|
247
|
+
|
|
248
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
249
|
+
@import "themes/dark/popover";
|
|
250
|
+
|
|
251
|
+
@include pf-theme-dark {
|
|
252
|
+
@include pf-theme-dark-popover;
|
|
253
|
+
}
|
|
@@ -154,4 +154,10 @@
|
|
|
154
154
|
left: 0;
|
|
155
155
|
height: var(--pf-c-progress__indicator--Height);
|
|
156
156
|
background-color: var(--pf-c-progress__indicator--BackgroundColor);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:where(.pf-theme-dark) .pf-c-progress {
|
|
160
|
+
--pf-c-progress--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
161
|
+
--pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
162
|
+
--pf-c-progress--m-warning--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
157
163
|
}
|
|
@@ -200,3 +200,10 @@
|
|
|
200
200
|
height: var(--pf-c-progress__indicator--Height);
|
|
201
201
|
background-color: var(--pf-c-progress__indicator--BackgroundColor);
|
|
202
202
|
}
|
|
203
|
+
|
|
204
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
205
|
+
@import "themes/dark/progress";
|
|
206
|
+
|
|
207
|
+
@include pf-theme-dark {
|
|
208
|
+
@include pf-theme-dark-progress;
|
|
209
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-progress() {
|
|
2
4
|
.pf-c-progress {
|
|
3
5
|
--pf-c-progress--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
4
6
|
--pf-c-progress--m-success--m-inside__measure--Color: var(--pf-global--palette--black-900);
|
|
@@ -175,4 +175,13 @@
|
|
|
175
175
|
|
|
176
176
|
.pf-c-search-input__menu-item-text {
|
|
177
177
|
flex-grow: 1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
:where(.pf-theme-dark) .pf-c-search-input {
|
|
181
|
+
--pf-c-search-input__text--before--BorderColor: transparent;
|
|
182
|
+
--pf-c-search-input__text--after--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
183
|
+
background-color: var(--pf-global--BackgroundColor--400);
|
|
184
|
+
}
|
|
185
|
+
:where(.pf-theme-dark) .pf-c-search-input__text::before {
|
|
186
|
+
border-bottom-color: var(--pf-global--BorderColor--400);
|
|
178
187
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-search-input() {
|
|
2
4
|
.pf-c-search-input {
|
|
3
5
|
--pf-c-search-input__text--before--BorderColor: transparent;
|
|
4
6
|
--pf-c-search-input__text--after--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
@@ -568,4 +568,20 @@
|
|
|
568
568
|
margin-top: var(--pf-c-select__menu-footer--MarginTop);
|
|
569
569
|
margin-bottom: var(--pf-c-select__menu-footer--MarginBottom);
|
|
570
570
|
box-shadow: var(--pf-c-select__menu-footer--BoxShadow);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
:where(.pf-theme-dark) .pf-c-select {
|
|
574
|
+
--pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
575
|
+
--pf-c-select__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
576
|
+
--pf-c-select__toggle--before--BorderTopColor: transparent;
|
|
577
|
+
--pf-c-select__toggle--before--BorderRightColor: transparent;
|
|
578
|
+
--pf-c-select__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
579
|
+
--pf-c-select__toggle--before--BorderLeftColor: transparent;
|
|
580
|
+
--pf-c-select__menu--Top: 100%;
|
|
581
|
+
--pf-c-select__menu--m-top--TranslateY: -100%;
|
|
582
|
+
--pf-c-select__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
583
|
+
--pf-c-select__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
584
|
+
}
|
|
585
|
+
:where(.pf-theme-dark) .pf-c-select__toggle:disabled, :where(.pf-theme-dark) .pf-c-select__toggle.pf-m-disabled {
|
|
586
|
+
color: var(--pf-global--palette--black-100);
|
|
571
587
|
}
|
|
@@ -694,3 +694,10 @@
|
|
|
694
694
|
margin-bottom: var(--pf-c-select__menu-footer--MarginBottom);
|
|
695
695
|
box-shadow: var(--pf-c-select__menu-footer--BoxShadow);
|
|
696
696
|
}
|
|
697
|
+
|
|
698
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
699
|
+
@import "themes/dark/select";
|
|
700
|
+
|
|
701
|
+
@include pf-theme-dark {
|
|
702
|
+
@include pf-theme-dark-select;
|
|
703
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-select() {
|
|
2
4
|
.pf-c-select {
|
|
3
5
|
--pf-c-select__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
4
6
|
--pf-c-select__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
@@ -69,4 +69,15 @@
|
|
|
69
69
|
|
|
70
70
|
.pf-c-simple-list__section + .pf-c-simple-list__section {
|
|
71
71
|
margin-top: var(--pf-c-simple-list__section--section--MarginTop);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
:where(.pf-theme-dark) .pf-c-simple-list {
|
|
75
|
+
--pf-c-simple-list__item-link--m-current--Color: var(--pf-global--active-color--100);
|
|
76
|
+
--pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
77
|
+
--pf-c-simple-list__item-link--hover--Color: var(--pf-global--Color--100);
|
|
78
|
+
--pf-c-simple-list__item-link--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
79
|
+
--pf-c-simple-list__item-link--focus--Color: var(--pf-global--Color--100);
|
|
80
|
+
--pf-c-simple-list__item-link--focus--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
81
|
+
--pf-c-simple-list__item-link--active--Color: var(--pf-global--Color--100);
|
|
82
|
+
--pf-c-simple-list__item-link--active--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
72
83
|
}
|
|
@@ -80,3 +80,10 @@
|
|
|
80
80
|
.pf-c-simple-list__section + .pf-c-simple-list__section {
|
|
81
81
|
margin-top: var(--pf-c-simple-list__section--section--MarginTop);
|
|
82
82
|
}
|
|
83
|
+
|
|
84
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
85
|
+
@import "themes/dark/simple-list";
|
|
86
|
+
|
|
87
|
+
@include pf-theme-dark {
|
|
88
|
+
@include pf-theme-dark-simple-list;
|
|
89
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-simple-list() {
|
|
2
4
|
.pf-c-simple-list {
|
|
3
5
|
--pf-c-simple-list__item-link--m-current--Color: var(--pf-global--active-color--100);
|
|
4
6
|
--pf-c-simple-list__item-link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
@@ -159,4 +159,10 @@
|
|
|
159
159
|
100% {
|
|
160
160
|
transform: translateX(100%);
|
|
161
161
|
}
|
|
162
|
+
}
|
|
163
|
+
:where(.pf-theme-dark) .pf-c-skeleton {
|
|
164
|
+
--pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
|
|
165
|
+
--pf-c-skeleton--after--LinearGradientColorStop1: var(--pf-global--palette--black-600);
|
|
166
|
+
--pf-c-skeleton--after--LinearGradientColorStop2: var(--pf-global--palette--black-500);
|
|
167
|
+
--pf-c-skeleton--after--LinearGradientColorStop3: var(--pf-global--palette--black-600);
|
|
162
168
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-skeleton() {
|
|
2
4
|
.pf-c-skeleton {
|
|
3
5
|
--pf-c-skeleton--BackgroundColor: var(--pf-global--palette--black-600);
|
|
4
6
|
--pf-c-skeleton--after--LinearGradientColorStop1: var(--pf-global--palette--black-600);
|
|
@@ -134,4 +134,11 @@
|
|
|
134
134
|
grid-column: 2;
|
|
135
135
|
color: var(--pf-c-switch__label--Color);
|
|
136
136
|
vertical-align: top;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:where(.pf-theme-dark) .pf-c-switch {
|
|
140
|
+
--pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
|
|
141
|
+
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
|
|
142
|
+
--pf-c-switch__input--disabled__toggle--before--BackgroundColor: var(--pf-global--disabled-color--100);
|
|
143
|
+
--pf-c-switch__toggle--before--BoxShadow: none;
|
|
137
144
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-switch() {
|
|
2
4
|
.pf-c-switch {
|
|
3
5
|
--pf-c-switch__toggle-icon--Color: var(--pf-global--BackgroundColor--100);
|
|
4
6
|
--pf-c-switch__input--not-checked__label--Color: var(--pf-global--Color--100);
|
|
@@ -1059,4 +1059,11 @@
|
|
|
1059
1059
|
|
|
1060
1060
|
.pf-c-table .pf-m-width-100 {
|
|
1061
1061
|
--pf-c-table--cell--Width: 100%;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
:where(.pf-theme-dark) .pf-c-table {
|
|
1065
|
+
--pf-c-table--m-striped__tr--BackgroundColor: var(--pf-global--BackgroundColor--150);
|
|
1066
|
+
}
|
|
1067
|
+
:where(.pf-theme-dark) .pf-c-table__favorite .pf-c-button:hover, :where(.pf-theme-dark) .pf-c-table__favorite .pf-c-button:focus {
|
|
1068
|
+
--pf-c-button--m-plain--Color: var(--pf-global--palette--gold-100);
|
|
1062
1069
|
}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-table() {
|
|
4
|
+
.pf-c-table {
|
|
5
|
+
--pf-c-table--m-striped__tr--BackgroundColor: var(--pf-global--BackgroundColor--150);
|
|
6
|
+
}
|
|
7
|
+
|
|
2
8
|
.pf-c-table__favorite {
|
|
3
9
|
.pf-c-button {
|
|
4
10
|
&:hover,
|
package/components/Tabs/tabs.css
CHANGED
|
@@ -825,4 +825,10 @@
|
|
|
825
825
|
--pf-c-tabs--m-vertical--inset: var(--pf-global--spacer--2xl);
|
|
826
826
|
--pf-c-tabs--m-vertical--m-box--inset: var(--pf-global--spacer--2xl);
|
|
827
827
|
}
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
:where(.pf-theme-dark) .pf-c-tabs {
|
|
831
|
+
--pf-c-tabs__scroll-button--BackgroundColor: transparent;
|
|
832
|
+
--pf-c-tabs__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
833
|
+
--pf-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
828
834
|
}
|
|
@@ -755,3 +755,10 @@ $pf-c-tabs--spacer-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl");
|
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
// stylelint-enable
|
|
758
|
+
|
|
759
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
760
|
+
@import "themes/dark/tabs";
|
|
761
|
+
|
|
762
|
+
@include pf-theme-dark {
|
|
763
|
+
@include pf-theme-dark-tabs;
|
|
764
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-tile() {
|
|
2
4
|
.pf-c-tile {
|
|
3
5
|
--pf-c-tile--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
4
6
|
--pf-c-tile--m-disabled__title--Color: var(--pf-global--disabled-color--300);
|
package/components/Tile/tile.css
CHANGED
|
@@ -134,4 +134,11 @@
|
|
|
134
134
|
margin-right: var(--pf-c-tile__icon--MarginRight);
|
|
135
135
|
font-size: var(--pf-c-tile__icon--FontSize);
|
|
136
136
|
color: var(--pf-c-tile__icon--Color);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
:where(.pf-theme-dark) .pf-c-tile {
|
|
140
|
+
--pf-c-tile--m-disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
141
|
+
--pf-c-tile--m-disabled__title--Color: var(--pf-global--disabled-color--300);
|
|
142
|
+
--pf-c-tile--m-disabled__icon--Color: var(--pf-global--disabled-color--300);
|
|
143
|
+
--pf-c-tile--m-disabled__body--Color: var(--pf-global--disabled-color--300);
|
|
137
144
|
}
|
|
@@ -172,3 +172,10 @@
|
|
|
172
172
|
font-size: var(--pf-c-tile__icon--FontSize);
|
|
173
173
|
color: var(--pf-c-tile__icon--Color);
|
|
174
174
|
}
|
|
175
|
+
|
|
176
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
177
|
+
@import "themes/dark/tile";
|
|
178
|
+
|
|
179
|
+
@include pf-theme-dark {
|
|
180
|
+
@include pf-theme-dark-tile;
|
|
181
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-toggle-group() {
|
|
2
4
|
.pf-c-toggle-group {
|
|
3
5
|
--pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--palette--black-700);
|
|
4
6
|
--pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--palette--black-700);
|
|
@@ -100,4 +100,12 @@
|
|
|
100
100
|
.pf-c-toggle-group__icon + .pf-c-toggle-group__text,
|
|
101
101
|
.pf-c-toggle-group__text + .pf-c-toggle-group__icon {
|
|
102
102
|
margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
:where(.pf-theme-dark) .pf-c-toggle-group {
|
|
106
|
+
--pf-c-toggle-group__button--hover--BackgroundColor: var(--pf-global--palette--black-700);
|
|
107
|
+
--pf-c-toggle-group__button--focus--BackgroundColor: var(--pf-global--palette--black-700);
|
|
108
|
+
--pf-c-toggle-group__button--disabled--BackgroundColor: var(--pf-global--palette--black-600);
|
|
109
|
+
--pf-c-toggle-group__button--disabled--Color: var(--pf-global--palette--black-100);
|
|
110
|
+
--pf-c-toggle-group__button--m-selected--BackgroundColor: var(--pf-global--primary-color--300);
|
|
103
111
|
}
|
|
@@ -134,3 +134,10 @@
|
|
|
134
134
|
.pf-c-toggle-group__text + .pf-c-toggle-group__icon {
|
|
135
135
|
margin-left: var(--pf-c-toggle-group__icon--text--MarginLeft);
|
|
136
136
|
}
|
|
137
|
+
|
|
138
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
139
|
+
@import "themes/dark/toggle-group";
|
|
140
|
+
|
|
141
|
+
@include pf-theme-dark {
|
|
142
|
+
@include pf-theme-dark-toggle-group;
|
|
143
|
+
}
|
|
@@ -80,4 +80,17 @@
|
|
|
80
80
|
height: var(--pf-c-tooltip__arrow--Height);
|
|
81
81
|
pointer-events: none;
|
|
82
82
|
background-color: var(--pf-c-tooltip__content--BackgroundColor);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
:where(.pf-theme-dark) .pf-c-tooltip {
|
|
86
|
+
--pf-c-tooltip--BoxShadow: none;
|
|
87
|
+
--pf-c-tooltip__content--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
88
|
+
}
|
|
89
|
+
:where(.pf-theme-dark) .pf-c-tooltip,
|
|
90
|
+
:where(.pf-theme-dark) .pf-c-tooltip__arrow {
|
|
91
|
+
border: var(--pf-global--BorderWidth--lg) solid var(--pf-global--BorderColor--300);
|
|
92
|
+
}
|
|
93
|
+
:where(.pf-theme-dark) .pf-c-tooltip__arrow {
|
|
94
|
+
--pf-c-tooltip__arrow--Width: 0.9375rem;
|
|
95
|
+
--pf-c-tooltip__arrow--Height: 0.9375rem;
|
|
83
96
|
}
|
|
@@ -124,3 +124,10 @@
|
|
|
124
124
|
pointer-events: none;
|
|
125
125
|
background-color: var(--pf-c-tooltip__content--BackgroundColor);
|
|
126
126
|
}
|
|
127
|
+
|
|
128
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
129
|
+
@import "themes/dark/tooltip";
|
|
130
|
+
|
|
131
|
+
@include pf-theme-dark {
|
|
132
|
+
@include pf-theme-dark-tooltip;
|
|
133
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-tree-view() {
|
|
2
4
|
.pf-c-tree-view {
|
|
3
5
|
--pf-c-tree-view__node--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
6
|
--pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
@@ -425,4 +425,9 @@
|
|
|
425
425
|
--pf-c-tree-view--m-compact--border--nested--Left: calc(var(--pf-c-tree-view__node--PaddingLeft) - var(--pf-c-tree-view--m-compact--base-border--Left--offset));
|
|
426
426
|
--pf-c-tree-view--m-compact--m-no-background__node--PaddingLeft: calc(var(--pf-c-tree-view--m-compact--m-no-background__node--nested-indent--base) * 9 + var(--pf-c-tree-view--m-compact--m-no-background__node--indent--base));
|
|
427
427
|
--pf-c-tree-view--m-compact--m-no-background--border--nested--Left: calc(var(--pf-c-tree-view__node--PaddingLeft) - var(--pf-c-tree-view--m-compact--m-no-background--base-border--Left--offset));
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
:where(.pf-theme-dark) .pf-c-tree-view {
|
|
431
|
+
--pf-c-tree-view__node--hover--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
432
|
+
--pf-c-tree-view__node--focus--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
428
433
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-wizard() {
|
|
2
4
|
.pf-c-wizard {
|
|
3
5
|
--pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
|
|
4
6
|
--pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
|
|
@@ -7,6 +9,6 @@
|
|
|
7
9
|
}
|
|
8
10
|
|
|
9
11
|
.pf-c-wizard__header {
|
|
10
|
-
@include pf-t-dark;
|
|
12
|
+
@include pf-theme-dark--t-dark;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -509,4 +509,38 @@
|
|
|
509
509
|
|
|
510
510
|
.pf-c-wizard__footer-cancel {
|
|
511
511
|
margin-left: var(--pf-c-wizard__footer-cancel--MarginLeft);
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
:where(.pf-theme-dark) .pf-c-wizard__header {
|
|
515
|
+
--pf-global--Color--100: #fff;
|
|
516
|
+
--pf-global--Color--200: #aaabac;
|
|
517
|
+
--pf-global--BorderColor--100: #444548;
|
|
518
|
+
--pf-global--primary-color--100: #1fa7f8;
|
|
519
|
+
--pf-global--link--Color: #1fa7f8;
|
|
520
|
+
--pf-global--link--Color--hover: #73bcf7;
|
|
521
|
+
--pf-global--BackgroundColor--100: #1b1d21;
|
|
522
|
+
}
|
|
523
|
+
:where(.pf-theme-dark) .pf-c-wizard__header .pf-c-button {
|
|
524
|
+
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
525
|
+
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
526
|
+
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
527
|
+
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
528
|
+
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
529
|
+
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
530
|
+
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
531
|
+
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
532
|
+
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
533
|
+
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
534
|
+
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
535
|
+
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
:where(.pf-theme-dark) .pf-c-wizard {
|
|
539
|
+
--pf-c-wizard__nav-link--m-disabled--Color: var(--pf-global--disabled-color--300);
|
|
540
|
+
--pf-c-wizard__nav-link--m-disabled--before--Color: var(--pf-global--disabled-color--300);
|
|
541
|
+
--pf-c-wizard__nav--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
542
|
+
--pf-c-wizard__outer-wrap--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
543
|
+
}
|
|
544
|
+
:where(.pf-theme-dark) .pf-c-wizard__header {
|
|
545
|
+
color: var(--pf-global--Color--100);
|
|
512
546
|
}
|
|
@@ -557,3 +557,10 @@
|
|
|
557
557
|
.pf-c-wizard__footer-cancel {
|
|
558
558
|
margin-left: var(--pf-c-wizard__footer-cancel--MarginLeft);
|
|
559
559
|
}
|
|
560
|
+
|
|
561
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
562
|
+
@import "themes/dark/wizard";
|
|
563
|
+
|
|
564
|
+
@include pf-theme-dark {
|
|
565
|
+
@include pf-theme-dark-wizard;
|
|
566
|
+
}
|
|
@@ -8,6 +8,8 @@ cssPrefix: pf-c-form-control
|
|
|
8
8
|
|
|
9
9
|
### Input
|
|
10
10
|
|
|
11
|
+
**Note:** In webkit browsers, inputs with status icons that are autocompleted will have their icons removed by the user agent stylesheet. If the field does not need to use autocomplete, turn it off with `autocomplete="off"` to avoid the problem. Otherwise, use [helper text](/components/helper-text/html-demos) instead to ensure that the status will remain visible if the field is autocompleted.
|
|
12
|
+
|
|
11
13
|
```html
|
|
12
14
|
<input
|
|
13
15
|
class="pf-c-form-control"
|