aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-02-01 17:49:10 +0100
committerStas Vilchik <vilchiks@gmail.com>2016-02-01 17:49:10 +0100
commit501b360690bd4acc6412843b6753a54f6024be0c (patch)
tree53bb5ff162ff838894ccda8901d540a493418cff
parent5c03e3bf05097c98a88223339cf300b613b61c0d (diff)
downloadsonarqube-501b360690bd4acc6412843b6753a54f6024be0c.tar.gz
sonarqube-501b360690bd4acc6412843b6753a54f6024be0c.zip
highlight current row in background tasks table
-rw-r--r--server/sonar-web/src/main/js/apps/background-tasks/tasks.js2
-rw-r--r--server/sonar-web/src/main/less/init/tables.less4
2 files changed, 5 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/background-tasks/tasks.js b/server/sonar-web/src/main/js/apps/background-tasks/tasks.js
index a97ea018b44..5431977589a 100644
--- a/server/sonar-web/src/main/js/apps/background-tasks/tasks.js
+++ b/server/sonar-web/src/main/js/apps/background-tasks/tasks.js
@@ -170,7 +170,7 @@ export default React.createClass({
}
let tasks = this.props.tasks.map(this.renderTask);
return (
- <table className="data zebra background-tasks">
+ <table className="data zebra zebra-hover background-tasks">
<thead>
<tr>
<th>&nbsp;</th>
diff --git a/server/sonar-web/src/main/less/init/tables.less b/server/sonar-web/src/main/less/init/tables.less
index 1d333df9604..884f3ee0342 100644
--- a/server/sonar-web/src/main/less/init/tables.less
+++ b/server/sonar-web/src/main/less/init/tables.less
@@ -76,6 +76,10 @@ table.data.zebra > tbody > tr:nth-child(odd) {
background-color: #f5f5f5;
}
+table.data.zebra-hover > tbody > tr:hover {
+ background-color: #ecf6fe !important;
+}
+
table.data.zebra > tbody > tr.selected {
background-color: @lightBlue !important;
}