Skip to content

Commit

Permalink
updated pf libs and fix css for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed May 11, 2022
1 parent 23bd766 commit 0afb138
Show file tree
Hide file tree
Showing 6 changed files with 160 additions and 91 deletions.
172 changes: 102 additions & 70 deletions web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"devDependencies": {
"@openshift-console/dynamic-plugin-sdk": "0.0.6",
"@openshift-console/dynamic-plugin-sdk-webpack": "0.0.6",
"@patternfly/react-charts": "^6.51.19",
"@patternfly/react-core": "^4.202.5",
"@patternfly/react-table": "4.44.4",
"@patternfly/react-topology": "4.49.5",
"@patternfly/react-charts": "^6.59.2",
"@patternfly/react-core": "^4.206.2",
"@patternfly/react-table": "4.75.2",
"@patternfly/react-topology": "4.53.2",
"@testing-library/react": "^12.1.2",
"@types/copy-webpack-plugin": "8.0.1",
"@types/enzyme": "3.10.x",
Expand Down
17 changes: 13 additions & 4 deletions web/src/components/netflow-table/netflow-table-row.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ tbody>tr:nth-child(even) {
background-color: #f5f5f5;
}

/* fix stripping text color in dark mode */
tbody>tr:nth-child(even)>* {
color: #151515;
}

tbody>tr:nth-child(even).pf-m-selected>* {
color: #fff;
}

.newflow-appear {
background-color: #73bcf755;
background-color: #73bcf755;
}

.newflow-appear-done {
background-color: transparent;
transition: background-color 5s;
}
background-color: transparent;
transition: background-color 5s;
}
Loading

0 comments on commit 0afb138

Please sign in to comment.