diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-02-01 17:49:10 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-02-01 17:49:10 +0100 |
commit | 501b360690bd4acc6412843b6753a54f6024be0c (patch) | |
tree | 53bb5ff162ff838894ccda8901d540a493418cff | |
parent | 5c03e3bf05097c98a88223339cf300b613b61c0d (diff) | |
download | sonarqube-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.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/less/init/tables.less | 4 |
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> </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; } |