@redhat-cloud-services/frontend-components 3.9.3 → 3.9.4
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/BulkSelect/bulk-select.scss +13 -13
- package/ConditionalFilter/conditional-filter.scss +78 -87
- package/CullingInfo/CullingInformation.scss +4 -4
- package/DownloadButton/DownloadButton.spec.ct.d.ts +1 -0
- package/DownloadButton/DownloadButton.spec.ct.js +24 -0
- package/EmptyTable/EmptyTable.scss +7 -7
- package/ErrorState/error-state.scss +3 -3
- package/FilterChips/filter-chips.scss +9 -10
- package/FilterHooks/tagFilterHook.scss +15 -16
- package/InsightsLabel/labels.scss +14 -12
- package/InvalidObject/icon-404.scss +5 -9
- package/LongTextTooltip/index.d.ts +1 -1
- package/LongTextTooltip/index.js +2 -2
- package/Main/main.scss +1 -1
- package/Maintenance/maintenance.scss +5 -5
- package/NotAuthorized/NotAuthorized.scss +5 -5
- package/PageHeader/page-header.scss +5 -5
- package/Pagination/pagination.scss +5 -6
- package/PrimaryToolbar/primary-toolbar.scss +40 -51
- package/Reboot/reboot.scss +7 -7
- package/SimpleTableFilter/simple-table-filter.scss +10 -10
- package/Skeleton/skeleton.scss +16 -16
- package/SkeletonTable/SkeletonTable.scss +1 -1
- package/Spinner/spinner.scss +15 -17
- package/TableToolbar/TableToolbar.scss +9 -9
- package/TagCount/tagCount.scss +4 -4
- package/TagModal/tagModal.scss +1 -1
- package/Unavailable/Unavailable.scss +1 -1
- package/cypress/cypress.webpack.config.js +37 -0
- package/cypress/fixtures/example.json +5 -0
- package/cypress/plugins/index.js +30 -0
- package/cypress/support/commands.js +25 -0
- package/cypress/support/index.js +21 -0
- package/cypress.json +9 -0
- package/esm/BulkSelect/bulk-select.scss +13 -13
- package/esm/ConditionalFilter/conditional-filter.scss +78 -87
- package/esm/CullingInfo/CullingInformation.scss +4 -4
- package/esm/DownloadButton/DownloadButton.spec.ct.js +19 -0
- package/esm/EmptyTable/EmptyTable.scss +7 -7
- package/esm/ErrorState/error-state.scss +3 -3
- package/esm/FilterChips/filter-chips.scss +9 -10
- package/esm/FilterHooks/tagFilterHook.scss +15 -16
- package/esm/InsightsLabel/labels.scss +14 -12
- package/esm/InvalidObject/icon-404.scss +5 -9
- package/esm/LongTextTooltip/index.js +1 -1
- package/esm/Main/main.scss +1 -1
- package/esm/Maintenance/maintenance.scss +5 -5
- package/esm/NotAuthorized/NotAuthorized.scss +5 -5
- package/esm/PageHeader/page-header.scss +5 -5
- package/esm/Pagination/pagination.scss +5 -6
- package/esm/PrimaryToolbar/primary-toolbar.scss +40 -51
- package/esm/Reboot/reboot.scss +7 -7
- package/esm/SimpleTableFilter/simple-table-filter.scss +10 -10
- package/esm/Skeleton/skeleton.scss +16 -16
- package/esm/SkeletonTable/SkeletonTable.scss +1 -1
- package/esm/Spinner/spinner.scss +15 -17
- package/esm/TableToolbar/TableToolbar.scss +9 -9
- package/esm/TagCount/tagCount.scss +4 -4
- package/esm/TagModal/tagModal.scss +1 -1
- package/esm/Unavailable/Unavailable.scss +1 -1
- package/esm/usePendoFeedback/usePendoFeedback.js +1 -5
- package/package.json +10 -2
- package/useChrome/useChrome.d.ts +1 -1
- package/usePendoFeedback/usePendoFeedback.d.ts +1 -1
- package/usePendoFeedback/usePendoFeedback.js +1 -5
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
.ins-c-bulk-select {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
.pf-c-dropdown__toggle-check span.pf-c-dropdown__toggle-text {
|
|
3
|
+
display: initial;
|
|
4
|
+
}
|
|
5
|
+
.ins-c-bulk-select__selected {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
@media only screen and (max-width: 768px) {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
11
|
+
.ins-c-bulk-select {
|
|
12
|
+
.pf-c-dropdown__toggle-check span.pf-c-dropdown__toggle-text {
|
|
13
|
+
display: none;
|
|
14
|
+
}
|
|
15
|
+
.ins-c-bulk-select__selected {
|
|
16
|
+
display: initial;
|
|
18
17
|
}
|
|
18
|
+
}
|
|
19
19
|
}
|
|
@@ -1,110 +1,101 @@
|
|
|
1
1
|
@import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
|
|
2
2
|
|
|
3
3
|
.ins-c-conditional-filter {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
& > svg {
|
|
18
|
-
margin-right: var(--pf-global--spacer--xs);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.ins-c-conditional-filter__no-label .pf-c-dropdown__toggle-text {
|
|
23
|
-
width: auto;
|
|
4
|
+
&.mobile {
|
|
5
|
+
display: none !important;
|
|
6
|
+
visibility: hidden !important;
|
|
7
|
+
}
|
|
8
|
+
.pf-c-select__toggle-wrapper .pf-c-select__toggle-text {
|
|
9
|
+
@include rem('max-width', 150px);
|
|
10
|
+
}
|
|
11
|
+
.ins-c-conditional-filter__group {
|
|
12
|
+
.pf-c-dropdown__toggle-text {
|
|
13
|
+
width: auto;
|
|
14
|
+
text-align: left;
|
|
15
|
+
& > svg {
|
|
16
|
+
margin-right: var(--pf-global--spacer--xs);
|
|
24
17
|
}
|
|
18
|
+
}
|
|
19
|
+
.ins-c-conditional-filter__no-label .pf-c-dropdown__toggle-text {
|
|
20
|
+
width: auto;
|
|
25
21
|
}
|
|
22
|
+
}
|
|
26
23
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
padding: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.pf-c-select__option-button {
|
|
37
|
-
padding: 0;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.pf-c-select__menu-item-icon {
|
|
41
|
-
display: none;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
input.ins-c-conditional-filter[type="text"] {
|
|
46
|
-
@include rem('padding-right', 35px);
|
|
47
|
-
@include rem('margin-right', -23px);
|
|
48
|
-
|
|
49
|
-
& + svg {
|
|
50
|
-
position: relative;
|
|
51
|
-
@include rem('left', -5px);
|
|
52
|
-
@include rem('top', 2px);
|
|
53
|
-
}
|
|
24
|
+
.pf-l-split__item {
|
|
25
|
+
.pf-c-select__menu-group {
|
|
26
|
+
.pf-c-select__menu-group-title:empty {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
padding: 0;
|
|
54
30
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
margin-right: 0;
|
|
31
|
+
.pf-c-select__option-button {
|
|
32
|
+
padding: 0;
|
|
58
33
|
}
|
|
59
|
-
.pf-c-
|
|
60
|
-
|
|
34
|
+
.pf-c-select__menu-item-icon {
|
|
35
|
+
display: none;
|
|
61
36
|
}
|
|
37
|
+
}
|
|
38
|
+
input.ins-c-conditional-filter[type="text"] {
|
|
39
|
+
@include rem('padding-right', 35px);
|
|
40
|
+
@include rem('margin-right', -23px);
|
|
62
41
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
42
|
+
& + svg {
|
|
43
|
+
position: relative;
|
|
44
|
+
@include rem('left', -5px);
|
|
45
|
+
@include rem('top', 2px);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
.pf-c-select__toggle-text {
|
|
49
|
+
margin-right: 0;
|
|
50
|
+
}
|
|
51
|
+
.pf-c-select__toggle-badge {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
.pf-c-menu-toggle {
|
|
55
|
+
.pf-c-menu-toggle__text {
|
|
56
|
+
flex: 1;
|
|
57
|
+
input { border: none; }
|
|
68
58
|
}
|
|
59
|
+
}
|
|
69
60
|
}
|
|
70
61
|
|
|
71
62
|
.pf-c-menu {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
63
|
+
&.ins-c-menu__scrollable {
|
|
64
|
+
max-height: 416px;
|
|
65
|
+
overflow-y: auto;
|
|
66
|
+
min-width: initial;
|
|
67
|
+
}
|
|
68
|
+
.ins-c-menu__show--more {
|
|
69
|
+
background: none;
|
|
70
|
+
.pf-c-menu__item-text{ color: var(--pf-global--active-color--100); }
|
|
71
|
+
}
|
|
81
72
|
}
|
|
82
73
|
|
|
83
74
|
@media only screen and (max-width: 768px) {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
75
|
+
.ins-c-conditional-filter {
|
|
76
|
+
&.mobile {
|
|
77
|
+
visibility: visible !important;
|
|
78
|
+
display: grid !important;
|
|
79
|
+
}
|
|
80
|
+
&.desktop {
|
|
81
|
+
visibility: hidden;
|
|
82
|
+
display: none;
|
|
93
83
|
}
|
|
84
|
+
}
|
|
94
85
|
}
|
|
95
86
|
|
|
96
87
|
@media only screen and (max-width: 884px) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
}
|
|
88
|
+
.ins-c-conditional-filter {
|
|
89
|
+
.ins-c-conditional-filter__group {
|
|
90
|
+
.pf-c-dropdown__toggle-text {
|
|
91
|
+
width: auto;
|
|
92
|
+
}
|
|
93
|
+
.ins-c-conditional-filter__value-selector {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
.ins-c-conditional-filter__group {
|
|
97
|
+
width: initial;
|
|
98
|
+
}
|
|
109
99
|
}
|
|
100
|
+
}
|
|
110
101
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
.ins-c-inventory__culling-danger { color: var(--pf-global--danger-color--100); }
|
|
4
4
|
|
|
5
5
|
.ins-c-inventory__culling-danger, .ins-c-inventory__culling-warning {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
font-weight: var(--pf-global--FontWeight--bold);
|
|
7
|
+
svg {
|
|
8
|
+
margin-right: var(--pf-global--spacer--sm);
|
|
9
|
+
}
|
|
10
10
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
var react_1 = __importDefault(require("react"));
|
|
7
|
+
var react_2 = require("@cypress/react");
|
|
8
|
+
var __1 = require("..");
|
|
9
|
+
describe('DownloadButton component', function () {
|
|
10
|
+
beforeEach(function () {
|
|
11
|
+
(0, react_2.mount)(react_1.default.createElement(__1.DownloadButton, null));
|
|
12
|
+
});
|
|
13
|
+
it('renders the dropdown', function () {
|
|
14
|
+
cy.get('.pf-c-dropdown');
|
|
15
|
+
});
|
|
16
|
+
it('on download callback fired', function () {
|
|
17
|
+
var onSelectSpy = cy.spy().as('onSelectSpy');
|
|
18
|
+
(0, react_2.mount)(react_1.default.createElement(__1.DownloadButton, { onSelect: onSelectSpy }));
|
|
19
|
+
cy.get('div[data-ouia-component-id="Export"] > button').click();
|
|
20
|
+
cy.get('div[data-ouia-component-id="Export"] > ul > li > button[data-ouia-component-id="DownloadCSV"]').click();
|
|
21
|
+
cy.get('@onSelectSpy').should('have.been.called.with', 'csv');
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
//# sourceMappingURL=DownloadButton.spec.ct.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
|
|
2
2
|
|
|
3
3
|
.ins-c-table__empty {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
background: var(--pf-global--Color--light-100);
|
|
5
|
+
border-bottom: 1px solid var(--pf-global--BorderColor--light-200);
|
|
6
|
+
@include rem('padding', 20px);
|
|
7
|
+
&.is-centered {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
}
|
|
11
11
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
.ins-c-chip-filters .ins-c-chip-group__plain.pf-m-toolbar > li:not(.pf-m-overflow) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
2
|
+
background: none;
|
|
3
|
+
padding: 0;
|
|
4
|
+
background-color: initial;
|
|
5
|
+
h4 {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
9
8
|
}
|
|
10
9
|
|
|
11
10
|
.ins-c-chip-filters {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
.pf-c-chip-group:not(:last-child) {
|
|
12
|
+
margin-right: var(--pf-global--spacer--sm);
|
|
13
|
+
}
|
|
15
14
|
}
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
.ins-c-tagfilter {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
padding-top: 0.2;
|
|
14
|
-
}
|
|
2
|
+
.ins-c-tagfilter__option label {
|
|
3
|
+
display: flex;
|
|
4
|
+
width: 100%;
|
|
5
|
+
.ins-c-tagfilter__option-value {
|
|
6
|
+
max-width: 12.5rem;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
text-overflow: ellipsis;
|
|
9
|
+
}
|
|
10
|
+
.pf-c-badge {
|
|
11
|
+
margin-left: auto;
|
|
12
|
+
padding-top: 0.2;
|
|
15
13
|
}
|
|
16
|
-
|
|
14
|
+
}
|
|
15
|
+
.pf-c-select__menu-group-title:empty { display: none; }
|
|
17
16
|
|
|
18
|
-
|
|
17
|
+
.pf-c-select__menu > div { padding-top: 0; }
|
|
19
18
|
|
|
20
|
-
|
|
19
|
+
&.pf-m-expanded { width: 18.75rem !important; }
|
|
21
20
|
}
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
.pf-c-label {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
--ins-c-label--gold-bg: #fdf7e7;
|
|
3
|
+
--inc-c-label--content-gold: var(--pf-global--palette--gold-700);
|
|
4
|
+
--inc-c-label--icon-gold: #F4C145;
|
|
5
|
+
--inc-c-label--border-gold: var(--pf-global--palette--gold-100)
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.ins-c-label-2.pf-c-label {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
9
|
+
background-color: var(--ins-c-label--gold-bg);
|
|
10
|
+
.pf-c-label__content {
|
|
11
|
+
color: var(--inc-c-label--content-gold);
|
|
12
|
+
.pf-c-label__icon {
|
|
13
|
+
color: var(--inc-c-label--icon-gold);
|
|
15
14
|
}
|
|
15
|
+
}
|
|
16
16
|
}
|
|
17
|
-
.ins-c-label-2.pf-c-label {
|
|
17
|
+
.ins-c-label-2.pf-c-label {
|
|
18
|
+
.pf-c-label__content::before {
|
|
18
19
|
border: 1px solid var(--inc-c-label--border-gold);
|
|
19
|
-
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
.Icon404 {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.cls-2{ opacity:0.5;}
|
|
9
|
-
|
|
10
|
-
.cls-4{ mask:url(#mask); }
|
|
2
|
+
height: 150px;
|
|
3
|
+
.cls-1 { fill:#fff; }
|
|
4
|
+
.cls-1,.cls-3{ fill-rule:evenodd;}
|
|
5
|
+
.cls-2{ opacity:0.5;}
|
|
6
|
+
.cls-4{ mask:url(#mask); }
|
|
11
7
|
}
|
package/LongTextTooltip/index.js
CHANGED
|
@@ -16,7 +16,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.LongTextTooltip = exports.default = void 0;
|
|
17
17
|
var LongTextTooltip_1 = require("./LongTextTooltip");
|
|
18
18
|
Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(LongTextTooltip_1).default; } });
|
|
19
|
-
var
|
|
20
|
-
Object.defineProperty(exports, "LongTextTooltip", { enumerable: true, get: function () { return __importDefault(
|
|
19
|
+
var LongTextTooltip_2 = require("./LongTextTooltip");
|
|
20
|
+
Object.defineProperty(exports, "LongTextTooltip", { enumerable: true, get: function () { return __importDefault(LongTextTooltip_2).default; } });
|
|
21
21
|
__exportStar(require("./LongTextTooltip"), exports);
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
package/Main/main.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.ins-c-empty-state__maintenance {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
.pf-c-empty-state__body {
|
|
3
|
+
color: var(--pf-global--Color--100);
|
|
4
|
+
}
|
|
5
|
+
.pf-c-empty-state__icon { fill: #EE0000; } // This is Red Hat's red, not Patternfly's red.
|
|
6
|
+
.pf-c-title { font-weight: 500; }
|
|
7
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
|
|
2
2
|
|
|
3
3
|
.pf-l-page__main-section.pf-l-page-header.pf-m-dark-200 {
|
|
4
|
-
|
|
4
|
+
h1.pf-c-title.pf-m-2xl, * { color: #fff; }
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.pf-l-page__main-section.pf-l-page-header {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
.pf-c-breadcrumb {
|
|
9
|
+
display: block;
|
|
10
|
+
@include rem('margin-bottom', 15px);
|
|
11
|
+
}
|
|
12
12
|
}
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
@import '~@patternfly/patternfly/components/OptionsMenu/options-menu.scss';
|
|
4
4
|
|
|
5
5
|
.ins-c-pagination-next .pf-c-options-menu {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
padding-left: 0;
|
|
11
|
-
}
|
|
6
|
+
.pf-c-dropdown__menu .pf-c-dropdown__menu-item {
|
|
7
|
+
display: flex;
|
|
8
|
+
.pf-c-options-menu__menu-item-icon {
|
|
9
|
+
padding-left: 0;
|
|
12
10
|
}
|
|
11
|
+
}
|
|
13
12
|
}
|
|
14
13
|
|
|
15
14
|
.pf-c-pagination .pf-c-pagination__nav .pf-c-pagination__nav-page-select input { width: 75px; }
|
|
@@ -1,64 +1,53 @@
|
|
|
1
1
|
.ins-c-primary-toolbar {
|
|
2
|
+
.pf-c-toolbar__item.ins-c-primary-toolbar__first-action {
|
|
3
|
+
display: initial;
|
|
4
|
+
}
|
|
5
|
+
.ins-c-primary-toolbar__first-action {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
|
+
.ins-c-primary-toolbar__pagination {
|
|
9
|
+
margin-left: auto;
|
|
10
|
+
}
|
|
11
|
+
.ins-c-primary-toolbar__sort-by {
|
|
12
|
+
display: initial
|
|
13
|
+
}
|
|
14
|
+
.ins-c-primary-toolbar__overflow-actions, .ins-c-primary-toolbar__overflow-actions-separator {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
.ins-m-actions--empty {
|
|
18
|
+
display: none;
|
|
19
|
+
}
|
|
20
|
+
.ins-c-primary-toolbar__group-filter {
|
|
21
|
+
flex-grow: initial;
|
|
22
|
+
.ins-c-primary-toolbar__filter {
|
|
23
|
+
flex: initial;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@media only screen and (max-width: 768px) {
|
|
29
|
+
.ins-c-primary-toolbar {
|
|
2
30
|
.pf-c-toolbar__item.ins-c-primary-toolbar__first-action {
|
|
3
|
-
|
|
31
|
+
display: none;
|
|
4
32
|
}
|
|
5
|
-
|
|
6
33
|
.ins-c-primary-toolbar__first-action {
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.ins-c-primary-toolbar__pagination {
|
|
11
|
-
margin-left: auto;
|
|
34
|
+
display: block;
|
|
12
35
|
}
|
|
13
|
-
|
|
14
36
|
.ins-c-primary-toolbar__sort-by {
|
|
15
|
-
|
|
37
|
+
display: none
|
|
16
38
|
}
|
|
17
|
-
|
|
18
39
|
.ins-c-primary-toolbar__overflow-actions, .ins-c-primary-toolbar__overflow-actions-separator {
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.ins-m-actions--empty {
|
|
23
|
-
display: none;
|
|
40
|
+
display: block;
|
|
24
41
|
}
|
|
25
|
-
|
|
26
42
|
.ins-c-primary-toolbar__group-filter {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
43
|
+
margin-right: 0;
|
|
44
|
+
flex-grow: 1;
|
|
45
|
+
.ins-c-primary-toolbar__filter {
|
|
46
|
+
flex: 1;
|
|
47
|
+
}
|
|
31
48
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
@media only screen and (max-width: 768px) {
|
|
35
|
-
.ins-c-primary-toolbar {
|
|
36
|
-
.pf-c-toolbar__item.ins-c-primary-toolbar__first-action {
|
|
37
|
-
display: none;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.ins-c-primary-toolbar__first-action {
|
|
41
|
-
display: block;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.ins-c-primary-toolbar__sort-by {
|
|
45
|
-
display: none
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.ins-c-primary-toolbar__overflow-actions, .ins-c-primary-toolbar__overflow-actions-separator {
|
|
49
|
-
display: block;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ins-c-primary-toolbar__group-filter {
|
|
53
|
-
margin-right: 0;
|
|
54
|
-
flex-grow: 1;
|
|
55
|
-
.ins-c-primary-toolbar__filter {
|
|
56
|
-
flex: 1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.ins-m-actions--empty {
|
|
61
|
-
display: block;
|
|
62
|
-
}
|
|
49
|
+
.ins-m-actions--empty {
|
|
50
|
+
display: block;
|
|
63
51
|
}
|
|
52
|
+
}
|
|
64
53
|
}
|
package/Reboot/reboot.scss
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
|
|
2
2
|
|
|
3
3
|
.ins-c-reboot {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
span {
|
|
5
|
+
// 4px because the battery icon is 1px bigger than the reboot icon
|
|
6
|
+
@include rem('margin-left', 4px);
|
|
7
|
+
}
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
&.ins-m-red {
|
|
10
|
+
span, svg { color: var(--pf-global--danger-color--100); }
|
|
11
|
+
}
|
|
12
12
|
}
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
@import '~@redhat-cloud-services/frontend-components-utilities/styles/_all.scss';
|
|
6
6
|
|
|
7
7
|
.pf-c-input-group.ins-c-filter {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
8
|
+
&.ins-u-no-title input {
|
|
9
|
+
@include rem('padding-right', 35px);
|
|
10
|
+
@include rem('margin-right', -23px);
|
|
11
|
+
}
|
|
12
|
+
.ins-c-search-icon {
|
|
13
|
+
color: var(--pf-global--secondary-color--100);
|
|
14
|
+
position: relative;
|
|
15
|
+
@include rem('left', -5px);
|
|
16
|
+
@include rem('top', 8px);
|
|
17
|
+
}
|
|
18
18
|
}
|