[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:
committed by
Géry Debongnie
parent
c99de45515
commit
139737dbeb
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user