@patternfly/patternfly 4.196.0 → 4.196.1
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/base/_globals.scss +7 -0
- package/base/_variables.scss +8 -0
- package/base/patternfly-globals.css +4 -0
- package/base/patternfly-variables.css +84 -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 +44 -0
- package/components/Label/label.scss +7 -0
- 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 +65 -0
- package/components/Page/page.scss +12 -0
- 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/Table/examples/Table.md +477 -3
- package/package.json +1 -1
- package/patternfly-base-no-reset.css +92 -4
- package/patternfly-base.css +92 -4
- package/patternfly-no-reset.css +2194 -32
- package/patternfly-theme-dark.css +0 -636
- package/patternfly-theme-dark.scss +1 -7
- package/patternfly.css +2194 -32
- package/patternfly.min.css +1 -1
- package/patternfly.min.css.map +1 -1
- 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
|
@@ -283,4 +283,21 @@
|
|
|
283
283
|
.pf-c-context-selector__menu-list-item.pf-m-disabled, .pf-c-context-selector__menu-list-item:disabled {
|
|
284
284
|
--pf-c-context-selector__menu-list-item--Color: var(--pf-c-context-selector__menu-list-item--disabled--Color);
|
|
285
285
|
pointer-events: none;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
:where(.pf-theme-dark) .pf-c-context-selector {
|
|
289
|
+
--pf-c-context-selector__menu--Top: 100%;
|
|
290
|
+
--pf-c-context-selector__menu-list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
291
|
+
}
|
|
292
|
+
:where(.pf-theme-dark) .pf-c-context-selector__toggle {
|
|
293
|
+
background: var(--pf-global--BackgroundColor--400);
|
|
294
|
+
}
|
|
295
|
+
:where(.pf-theme-dark) .pf-c-context-selector__toggle.pf-m-plain {
|
|
296
|
+
background: transparent;
|
|
297
|
+
}
|
|
298
|
+
:where(.pf-theme-dark) .pf-c-context-selector__menu {
|
|
299
|
+
background: var(--pf-global--BackgroundColor--300);
|
|
300
|
+
}
|
|
301
|
+
:where(.pf-theme-dark) .pf-c-context-selector__menu-footer {
|
|
302
|
+
border-top: 1px solid var(--pf-global--BorderColor--300);
|
|
286
303
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-context-selector() {
|
|
2
4
|
.pf-c-context-selector {
|
|
3
5
|
--pf-c-context-selector__menu--Top: 100%;
|
|
4
6
|
--pf-c-context-selector__menu-list-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
@@ -906,4 +906,11 @@
|
|
|
906
906
|
}
|
|
907
907
|
.pf-c-data-list__expandable-content .pf-c-data-list__expandable-content-body.pf-m-no-padding {
|
|
908
908
|
padding: 0;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
:where(.pf-theme-dark) .pf-c-data-list {
|
|
912
|
+
--pf-c-data-list--BorderTopColor: var(--pf-global--BorderColor--100);
|
|
913
|
+
--pf-c-data-list--sm--BorderTopColor: var(--pf-global--BorderColor--100);
|
|
914
|
+
--pf-c-data-list__item--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
915
|
+
--pf-c-data-list__item--sm--BorderBottomColor: var(--pf-global--BorderColor--100);
|
|
909
916
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-data-list() {
|
|
2
4
|
.pf-c-data-list {
|
|
3
5
|
--pf-c-data-list--BorderTopColor: var(--pf-global--BorderColor--100);
|
|
4
6
|
--pf-c-data-list--sm--BorderTopColor: var(--pf-global--BorderColor--100);
|
|
@@ -49,4 +49,9 @@
|
|
|
49
49
|
.pf-c-date-picker.pf-m-top .pf-c-date-picker__calendar {
|
|
50
50
|
--pf-c-date-picker__calendar--Top: var(--pf-c-date-picker--m-top__calendar--Top);
|
|
51
51
|
transform: translateY(var(--pf-c-date-picker--m-top__calendar--TranslateY));
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:where(.pf-theme-dark) .pf-c-date-picker {
|
|
55
|
+
--pf-c-date-picker__calendar--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
56
|
+
--pf-c-date-picker__calendar--Top: 100%;
|
|
52
57
|
}
|
|
@@ -57,3 +57,10 @@
|
|
|
57
57
|
transform: translateY(var(--pf-c-date-picker--m-top__calendar--TranslateY));
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
+
|
|
61
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
62
|
+
@import "themes/dark/date-picker";
|
|
63
|
+
|
|
64
|
+
@include pf-theme-dark {
|
|
65
|
+
@include pf-theme-dark-date-picker;
|
|
66
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-date-picker() {
|
|
2
4
|
.pf-c-date-picker {
|
|
3
5
|
--pf-c-date-picker__calendar--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
6
|
--pf-c-date-picker__calendar--Top: 100%;
|
|
@@ -820,4 +820,11 @@
|
|
|
820
820
|
display: none;
|
|
821
821
|
visibility: hidden;
|
|
822
822
|
}
|
|
823
|
+
}
|
|
824
|
+
:where(.pf-theme-dark) .pf-c-drawer {
|
|
825
|
+
--pf-c-drawer__panel--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
826
|
+
--pf-c-drawer__splitter--BackgroundColor: transparent;
|
|
827
|
+
}
|
|
828
|
+
:where(.pf-theme-dark) .pf-c-drawer.pf-m-inline, :where(.pf-theme-dark) .pf-c-drawer.pf-m-static {
|
|
829
|
+
--pf-c-drawer__panel--BackgroundColor: var(--pf-global--BackgroundColor--100);
|
|
823
830
|
}
|
|
@@ -564,4 +564,26 @@
|
|
|
564
564
|
font-size: var(--pf-c-dropdown__group-title--FontSize);
|
|
565
565
|
font-weight: var(--pf-c-dropdown__group-title--FontWeight);
|
|
566
566
|
color: var(--pf-c-dropdown__group-title--Color);
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
:where(.pf-theme-dark) .pf-c-dropdown {
|
|
570
|
+
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
571
|
+
--pf-c-dropdown__toggle--before--BorderTopColor: transparent;
|
|
572
|
+
--pf-c-dropdown__toggle--before--BorderRightColor: transparent;
|
|
573
|
+
--pf-c-dropdown__toggle--before--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
574
|
+
--pf-c-dropdown__toggle--before--BorderLeftColor: transparent;
|
|
575
|
+
--pf-c-dropdown__toggle--disabled--BackgroundColor: var(--pf-global--palette--black-500);
|
|
576
|
+
--pf-c-dropdown__toggle--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
577
|
+
--pf-c-dropdown__menu--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
578
|
+
--pf-c-dropdown__menu--Top: 100%;
|
|
579
|
+
--pf-c-dropdown--m-top__menu--TranslateY: -100%;
|
|
580
|
+
--pf-c-dropdown__menu-item--hover--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
581
|
+
--pf-c-dropdown__group-title--FontSize: var(--pf-global--FontSize--xs);
|
|
582
|
+
--pf-c-dropdown__group-title--FontWeight: var(--pf-global--FontWeight--bold);
|
|
583
|
+
}
|
|
584
|
+
:where(.pf-theme-dark) .pf-c-dropdown__toggle:not(.pf-m-plain):disabled, :where(.pf-theme-dark) .pf-c-dropdown__toggle:not(.pf-m-plain).pf-m-disabled {
|
|
585
|
+
color: var(--pf-global--palette--black-100);
|
|
586
|
+
}
|
|
587
|
+
:where(.pf-theme-dark) .pf-c-dropdown__toggle.pf-m-plain {
|
|
588
|
+
background: transparent;
|
|
567
589
|
}
|
|
@@ -687,3 +687,10 @@ $pf-c-dropdown--breakpoint-map: build-breakpoint-map("base", "sm", "md", "lg", "
|
|
|
687
687
|
font-weight: var(--pf-c-dropdown__group-title--FontWeight);
|
|
688
688
|
color: var(--pf-c-dropdown__group-title--Color);
|
|
689
689
|
}
|
|
690
|
+
|
|
691
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
692
|
+
@import "themes/dark/dropdown";
|
|
693
|
+
|
|
694
|
+
@include pf-theme-dark {
|
|
695
|
+
@include pf-theme-dark-dropdown;
|
|
696
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-dropdown() {
|
|
2
4
|
.pf-c-dropdown {
|
|
3
5
|
--pf-c-dropdown__toggle--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
4
6
|
--pf-c-dropdown__toggle--before--BorderTopColor: transparent;
|
package/components/Form/form.css
CHANGED
|
@@ -500,4 +500,8 @@
|
|
|
500
500
|
}
|
|
501
501
|
.pf-c-form__field-group-body > .pf-c-form__field-group:last-child {
|
|
502
502
|
margin-bottom: var(--pf-c-form__field-group-body__field-group--last-child--MarginBottom);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
:where(.pf-theme-dark) .pf-c-form {
|
|
506
|
+
--pf-c-form__helper-text--m-success--Color: var(--pf-global--success-color--100);
|
|
503
507
|
}
|
|
@@ -517,3 +517,10 @@ $pf-c-form--m-horizontal--breakpoint-map: build-breakpoint-map("sm", "md", "lg",
|
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
}
|
|
520
|
+
|
|
521
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
522
|
+
@import "themes/dark/form";
|
|
523
|
+
|
|
524
|
+
@include pf-theme-dark {
|
|
525
|
+
@include pf-theme-dark-form;
|
|
526
|
+
}
|
|
@@ -315,4 +315,26 @@ textarea.pf-c-form-control {
|
|
|
315
315
|
}
|
|
316
316
|
.pf-c-form-control.pf-m-resize-horizontal {
|
|
317
317
|
resize: horizontal;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
:where(.pf-theme-dark) .pf-c-form-control {
|
|
321
|
+
--pf-c-form-control__select--BackgroundUrl: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235ba352' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E");
|
|
322
|
+
--pf-c-form-control--BorderTopColor: transparent;
|
|
323
|
+
--pf-c-form-control--BorderRightColor: transparent;
|
|
324
|
+
--pf-c-form-control--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
325
|
+
--pf-c-form-control--BorderLeftColor: transparent;
|
|
326
|
+
--pf-c-form-control--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
327
|
+
--pf-c-form-control--disabled--Color: var(--pf-global--disabled-color--300);
|
|
328
|
+
--pf-c-form-control--disabled--BackgroundColor: var(--pf-global--disabled-color--200);
|
|
329
|
+
--pf-c-form-control--readonly--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
330
|
+
color: var(--pf-global--Color--100);
|
|
331
|
+
}
|
|
332
|
+
:where(.pf-theme-dark) .pf-c-form-control::-webkit-calendar-picker-indicator {
|
|
333
|
+
filter: invert(1);
|
|
334
|
+
}
|
|
335
|
+
:where(.pf-theme-dark) .pf-c-form-control[readonly] {
|
|
336
|
+
border-bottom-color: var(--pf-global--palette--black-700);
|
|
337
|
+
}
|
|
338
|
+
:where(.pf-theme-dark) .pf-c-form-control:disabled {
|
|
339
|
+
color: var(--pf-global--palette--black-100);
|
|
318
340
|
}
|
|
@@ -439,3 +439,10 @@ $pf-c-form-control--m-clock--Coordinates: "M256 8C119 8 8 119 8 256s111 248 248
|
|
|
439
439
|
resize: horizontal;
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
+
|
|
443
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
444
|
+
@import "themes/dark/form-control";
|
|
445
|
+
|
|
446
|
+
@include pf-theme-dark {
|
|
447
|
+
@include pf-theme-dark-form-control;
|
|
448
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-form-control() {
|
|
2
4
|
.pf-c-form-control {
|
|
3
5
|
--pf-c-form-control__select--BackgroundUrl: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235ba352' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E");
|
|
4
6
|
--pf-c-form-control--BorderTopColor: transparent;
|
|
@@ -81,3 +81,10 @@
|
|
|
81
81
|
.pf-c-helper-text__item-text {
|
|
82
82
|
color: var(--pf-c-helper-text__item-text--Color);
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
86
|
+
@import "themes/dark/helper-text";
|
|
87
|
+
|
|
88
|
+
@include pf-theme-dark {
|
|
89
|
+
@include pf-theme-dark-helper-text;
|
|
90
|
+
}
|
package/components/Hint/hint.css
CHANGED
|
@@ -57,4 +57,9 @@
|
|
|
57
57
|
}
|
|
58
58
|
.pf-c-hint__footer > :not(:last-child) {
|
|
59
59
|
margin-right: var(--pf-c-hint__footer--child--MarginRight);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:where(.pf-theme-dark) .pf-c-hint {
|
|
63
|
+
--pf-c-hint--BackgroundColor: var(--pf-global--BackgroundColor--400);
|
|
64
|
+
--pf-c-hint--BorderColor: var(--pf-global--BorderColor--300);
|
|
60
65
|
}
|
|
@@ -67,4 +67,26 @@ label.pf-c-input-group__text {
|
|
|
67
67
|
.pf-c-input-group__text.pf-m-plain {
|
|
68
68
|
--pf-c-input-group__text--BorderWidth: 0;
|
|
69
69
|
margin-left: 0;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:where(.pf-theme-dark) .pf-c-input-group {
|
|
73
|
+
--pf-c-input-group--BackgroundColor: transparent;
|
|
74
|
+
--pf-c-input-group__text--BorderTopColor: transparent;
|
|
75
|
+
--pf-c-input-group__text--BorderRightColor: transparent;
|
|
76
|
+
--pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
77
|
+
--pf-c-input-group__text--BorderLeftColor: transparent;
|
|
78
|
+
--pf-c-input-group__text--BackgroundColor: var(--pf-global--palette--black-600);
|
|
79
|
+
}
|
|
80
|
+
:where(.pf-theme-dark) .pf-c-input-group > * + * {
|
|
81
|
+
margin-left: 0;
|
|
82
|
+
border-left: 1px solid var(--pf-global--palette--black-700);
|
|
83
|
+
}
|
|
84
|
+
:where(.pf-theme-dark) .pf-c-input-group__text {
|
|
85
|
+
--pf-c-input-group__text--BorderTopColor: transparent;
|
|
86
|
+
--pf-c-input-group__text--BorderRightColor: transparent;
|
|
87
|
+
--pf-c-input-group__text--BorderBottomColor: var(--pf-global--BorderColor--400);
|
|
88
|
+
--pf-c-input-group__text--BorderLeftColor: transparent;
|
|
89
|
+
}
|
|
90
|
+
:where(.pf-theme-dark) .pf-c-input-group__text.pf-m-plain {
|
|
91
|
+
--pf-c-input-group__text--BackgroundColor: transparent;
|
|
70
92
|
}
|
|
@@ -393,4 +393,48 @@ button.pf-c-label__content:focus {
|
|
|
393
393
|
.pf-c-label__icon {
|
|
394
394
|
margin-right: var(--pf-c-label__icon--MarginRight);
|
|
395
395
|
color: var(--pf-c-label__icon--Color);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
:where(.pf-theme-dark) .pf-c-label {
|
|
399
|
+
--pf-c-label--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
400
|
+
--pf-c-label--m-blue--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
401
|
+
--pf-c-label--m-green--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
402
|
+
--pf-c-label--m-orange--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
403
|
+
--pf-c-label--m-red--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
404
|
+
--pf-c-label--m-purple--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
405
|
+
--pf-c-label--m-cyan--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
406
|
+
--pf-c-label__content--before--BorderWidth: 0;
|
|
407
|
+
--pf-c-label__content--before--BorderColor: transparent;
|
|
408
|
+
--pf-c-label__content--link--hover--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
409
|
+
--pf-c-label__content--link--focus--before--BorderWidth: var(--pf-global--BorderWidth--sm);
|
|
410
|
+
--pf-c-label--m-blue__content--Color: var(--pf-global--primary-color--100);
|
|
411
|
+
--pf-c-label--m-outline--m-blue__content--before--BorderColor: var(--pf-global--active-color--200);
|
|
412
|
+
--pf-c-label--m-outline--m-blue__content--link--hover--before--BorderColor: var(--pf-global--active-color--200);
|
|
413
|
+
--pf-c-label--m-outline--m-blue__content--link--focus--before--BorderColor: var(--pf-global--active-color--200);
|
|
414
|
+
--pf-c-label--m-green__content--Color: var(--pf-global--success-color--100);
|
|
415
|
+
--pf-c-label--m-outline--m-green__content--before--BorderColor: var(--pf-global--palette--green-100);
|
|
416
|
+
--pf-c-label--m-outline--m-green__content--link--hover--before--BorderColor: var(--pf-global--palette--green-100);
|
|
417
|
+
--pf-c-label--m-outline--m-green__content--link--focus--before--BorderColor: var(--pf-global--palette--green-100);
|
|
418
|
+
--pf-c-label--m-orange__content--Color: var(--pf-global--palette--orange-300);
|
|
419
|
+
--pf-c-label--m-outline--m-orange__content--Color: var(--pf-global--palette--orange-300);
|
|
420
|
+
--pf-c-label--m-outline--m-orange__content--before--BorderColor: var(--pf-global--palette--gold-100);
|
|
421
|
+
--pf-c-label--m-outline--m-orange__content--link--hover--before--BorderColor: var(--pf-global--palette--gold-100);
|
|
422
|
+
--pf-c-label--m-outline--m-orange__content--link--focus--before--BorderColor: var(--pf-global--palette--gold-100);
|
|
423
|
+
--pf-c-label--m-red__content--Color: var(--pf-global--danger-color--100);
|
|
424
|
+
--pf-c-label--m-outline--m-red__content--before--BorderColor: var(--pf-global--danger-color--100);
|
|
425
|
+
--pf-c-label--m-outline--m-red__content--link--hover--before--BorderColor: var(--pf-global--danger-color--100);
|
|
426
|
+
--pf-c-label--m-outline--m-red__content--link--focus--before--BorderColor: var(--pf-global--danger-color--100);
|
|
427
|
+
--pf-c-label--m-purple__content--Color: var(--pf-global--palette--purple-300);
|
|
428
|
+
--pf-c-label--m-purple__icon--Color: var(--pf-global--palette--purple-300);
|
|
429
|
+
--pf-c-label--m-purple__content--link--hover--before--BorderColor: var(--pf-global--palette--purple-300);
|
|
430
|
+
--pf-c-label--m-purple__content--link--focus--before--BorderColor: var(--pf-global--palette--purple-300);
|
|
431
|
+
--pf-c-label--m-outline--m-purple__content--before--BorderColor: var(--pf-global--palette--purple-100);
|
|
432
|
+
--pf-c-label--m-outline--m-purple__content--link--hover--before--BorderColor: var(--pf-global--palette--purple-100);
|
|
433
|
+
--pf-c-label--m-outline--m-purple__content--link--focus--before--BorderColor: var(--pf-global--palette--purple-100);
|
|
434
|
+
--pf-c-label--m-outline--m-purple__content--Color: var(--pf-global--palette--purple-300);
|
|
435
|
+
--pf-c-label--m-cyan__content--Color: var(--pf-global--default-color--200);
|
|
436
|
+
--pf-c-label--m-outline--m-cyan__content--Color: var(--pf-global--default-color--200);
|
|
437
|
+
--pf-c-label--m-outline--m-cyan__content--before--BorderColor: var(--pf-global--palette--cyan-100);
|
|
438
|
+
--pf-c-label--m-outline--m-cyan__content--link--hover--before--BorderColor: var(--pf-global--palette--cyan-100);
|
|
439
|
+
--pf-c-label--m-outline--m-cyan__content--link--focus--before--BorderColor: var(--pf-global--palette--cyan-100);
|
|
396
440
|
}
|
|
@@ -465,3 +465,10 @@
|
|
|
465
465
|
margin-right: var(--pf-c-label__icon--MarginRight);
|
|
466
466
|
color: var(--pf-c-label__icon--Color);
|
|
467
467
|
}
|
|
468
|
+
|
|
469
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
470
|
+
@import "themes/dark/label";
|
|
471
|
+
|
|
472
|
+
@include pf-theme-dark {
|
|
473
|
+
@include pf-theme-dark-label;
|
|
474
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@import "../../../../sass-utilities/themes/dark/all";
|
|
2
|
+
|
|
3
|
+
@mixin pf-theme-dark-label() {
|
|
2
4
|
.pf-c-label {
|
|
3
5
|
--pf-c-label--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
4
6
|
--pf-c-label--m-blue--BackgroundColor: var(--pf-global--BackgroundColor--300);
|
|
@@ -198,4 +198,32 @@
|
|
|
198
198
|
|
|
199
199
|
.pf-c-log-viewer__timestamp {
|
|
200
200
|
font-weight: var(--pf-c-log-viewer__timestamp--FontWeight);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
:where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main {
|
|
204
|
+
--pf-global--Color--100: #fff;
|
|
205
|
+
--pf-global--Color--200: #aaabac;
|
|
206
|
+
--pf-global--BorderColor--100: #444548;
|
|
207
|
+
--pf-global--primary-color--100: #1fa7f8;
|
|
208
|
+
--pf-global--link--Color: #1fa7f8;
|
|
209
|
+
--pf-global--link--Color--hover: #73bcf7;
|
|
210
|
+
--pf-global--BackgroundColor--100: #1b1d21;
|
|
211
|
+
}
|
|
212
|
+
:where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main .pf-c-button {
|
|
213
|
+
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
214
|
+
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
215
|
+
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
216
|
+
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
217
|
+
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
218
|
+
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
219
|
+
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
220
|
+
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
221
|
+
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
222
|
+
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
223
|
+
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
224
|
+
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
:where(.pf-theme-dark) .pf-c-log-viewer.pf-m-dark .pf-c-log-viewer__main {
|
|
228
|
+
color: var(--pf-global--Color--100);
|
|
201
229
|
}
|
|
@@ -211,3 +211,10 @@
|
|
|
211
211
|
.pf-c-log-viewer__timestamp {
|
|
212
212
|
font-weight: var(--pf-c-log-viewer__timestamp--FontWeight);
|
|
213
213
|
}
|
|
214
|
+
|
|
215
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
216
|
+
@import "themes/dark/log-viewer";
|
|
217
|
+
|
|
218
|
+
@include pf-theme-dark {
|
|
219
|
+
@include pf-theme-dark-log-viewer;
|
|
220
|
+
}
|
|
@@ -294,4 +294,35 @@
|
|
|
294
294
|
}
|
|
295
295
|
.pf-c-login__footer .pf-c-list:not(:only-child) {
|
|
296
296
|
padding-top: var(--pf-c-login__footer--c-list--PaddingTop);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
:where(.pf-theme-dark) .pf-c-login__header,
|
|
300
|
+
:where(.pf-theme-dark) .pf-c-login__footer {
|
|
301
|
+
--pf-global--Color--100: #fff;
|
|
302
|
+
--pf-global--Color--200: #aaabac;
|
|
303
|
+
--pf-global--BorderColor--100: #444548;
|
|
304
|
+
--pf-global--primary-color--100: #1fa7f8;
|
|
305
|
+
--pf-global--link--Color: #1fa7f8;
|
|
306
|
+
--pf-global--link--Color--hover: #73bcf7;
|
|
307
|
+
--pf-global--BackgroundColor--100: #1b1d21;
|
|
308
|
+
}
|
|
309
|
+
:where(.pf-theme-dark) .pf-c-login__header .pf-c-button,
|
|
310
|
+
:where(.pf-theme-dark) .pf-c-login__footer .pf-c-button {
|
|
311
|
+
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
312
|
+
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
313
|
+
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
314
|
+
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
315
|
+
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
316
|
+
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
317
|
+
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
318
|
+
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
319
|
+
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
320
|
+
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
321
|
+
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
322
|
+
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
:where(.pf-theme-dark) .pf-c-login__header,
|
|
326
|
+
:where(.pf-theme-dark) .pf-c-login__footer {
|
|
327
|
+
color: var(--pf-global--Color--100);
|
|
297
328
|
}
|
|
@@ -657,4 +657,36 @@
|
|
|
657
657
|
.pf-c-masthead.pf-m-inset-2xl-on-2xl {
|
|
658
658
|
--pf-c-masthead--inset: var(--pf-global--spacer--2xl);
|
|
659
659
|
}
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
:where(.pf-theme-dark) .pf-c-masthead {
|
|
663
|
+
--pf-global--Color--100: #fff;
|
|
664
|
+
--pf-global--Color--200: #aaabac;
|
|
665
|
+
--pf-global--BorderColor--100: #444548;
|
|
666
|
+
--pf-global--primary-color--100: #1fa7f8;
|
|
667
|
+
--pf-global--link--Color: #1fa7f8;
|
|
668
|
+
--pf-global--link--Color--hover: #73bcf7;
|
|
669
|
+
--pf-global--BackgroundColor--100: #1b1d21;
|
|
670
|
+
}
|
|
671
|
+
:where(.pf-theme-dark) .pf-c-masthead .pf-c-button {
|
|
672
|
+
--pf-c-button--m-primary--Color: var(--pf-global--Color--light-100);
|
|
673
|
+
--pf-c-button--m-primary--hover--Color: var(--pf-global--Color--light-100);
|
|
674
|
+
--pf-c-button--m-primary--focus--Color: var(--pf-global--Color--light-100);
|
|
675
|
+
--pf-c-button--m-primary--active--Color: var(--pf-global--Color--light-100);
|
|
676
|
+
--pf-c-button--m-primary--BackgroundColor: var(--pf-global--primary-color--300);
|
|
677
|
+
--pf-c-button--m-primary--hover--BackgroundColor: var(--pf-global--primary-color--200);
|
|
678
|
+
--pf-c-button--m-primary--focus--BackgroundColor: var(--pf-global--primary-color--200);
|
|
679
|
+
--pf-c-button--m-primary--active--BackgroundColor: var(--pf-global--primary-color--200);
|
|
680
|
+
--pf-c-button--m-secondary--Color: var(--pf-global--primary-color--100);
|
|
681
|
+
--pf-c-button--m-secondary--hover--Color: var(--pf-global--primary-color--100);
|
|
682
|
+
--pf-c-button--m-secondary--focus--Color: var(--pf-global--primary-color--100);
|
|
683
|
+
--pf-c-button--m-secondary--active--Color: var(--pf-global--primary-color--100);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
:where(.pf-theme-dark) .pf-c-masthead {
|
|
687
|
+
--pf-c-masthead--BackgroundColor: var(--pf-global--palette--black-1000);
|
|
688
|
+
color: var(--pf-global--Color--100);
|
|
689
|
+
}
|
|
690
|
+
:where(.pf-theme-dark) .pf-c-masthead .pf-c-toolbar {
|
|
691
|
+
--pf-c-toolbar--BackgroundColor: var(--pf-global--palette--black-1000);
|
|
660
692
|
}
|
|
@@ -355,3 +355,10 @@ $pf-c-masthead--inset-map: build-spacer-map("none", "sm", "md", "lg", "xl", "2xl
|
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
// stylelint-enable
|
|
358
|
+
|
|
359
|
+
// stylelint-disable no-invalid-position-at-import-rule
|
|
360
|
+
@import "themes/dark/masthead";
|
|
361
|
+
|
|
362
|
+
@include pf-theme-dark {
|
|
363
|
+
@include pf-theme-dark-masthead;
|
|
364
|
+
}
|