[IMP] web: tables :hover state

Properly style table’s rows ‘:hover’ state to let people understand
that it’s clickable
This commit is contained in:
stefanorigano
2018-01-30 16:09:04 +01:00
committed by Géry Debongnie
parent c99de45515
commit 139737dbeb
2 changed files with 2 additions and 1 deletions
@@ -637,7 +637,7 @@ var ListRenderer = BasicRenderer.extend({
return this._super();
}
var $table = $('<table>').addClass('o_list_view table table-condensed table-striped');
var $table = $('<table>').addClass('o_list_view table table-condensed table-hover table-striped');
this.$el
.addClass('table-responsive')
.append($table);
+1
View File
@@ -106,6 +106,7 @@
//== Tables
@table-bg-accent: #efeff8; // FIXME: expose
@table-bg-hover: darken(@table-bg-accent,5%);
// ------------------------------------------------------------------
// Bootstrap components rules (non exposed features variables)