Skip to content

Commit 68f1d88

Browse files
committed
Align hover and expanded list-group-item bg colors with list-pf
PatternFly deprecated list-view, so the hover and expanded bg colors are still the old standard. This fix remedies that until we can update the monitoring page to use list-pf (I will open a separate tech debt issue for that).
1 parent 417b53a commit 68f1d88

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

app/styles/_list-view.less

+8-3
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,13 @@
5656
h2 + & {
5757
margin-top: 20px;
5858
}
59-
.list-group-item:first-child {
60-
border-top-color: #eaeaea;
59+
.list-group-item {
60+
&:first-child {
61+
border-top-color: #eaeaea;
62+
}
63+
&:hover {
64+
background-color: @list-pf-hover-background-color;
65+
}
6166
}
6267
.list-group-item-expandable {
6368
cursor: pointer;
@@ -67,7 +72,7 @@
6772
&.expanded {
6873
border-color: @table-border-color;
6974
&, &:hover {
70-
background-color: @list-view-expanded-bg;
75+
background-color: @list-pf-header-background-color;
7176
}
7277
.list-view-pf-checkbox {
7378
border-right-color: @table-border-color;

dist/styles/main.css

+3-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)