updated styling of sortable columns on hover.

pull/4/head
kay.one 11 years ago
parent c519195ce3
commit d958e95c59

@ -6,7 +6,7 @@ define(
], function (Backgrid) {
return Backgrid.Cell.extend({
className: 'toggle-cell clickable',
className: 'toggle-cell',
events: {
'click': '_onClick'

@ -27,6 +27,10 @@
.clickable();
}
.toggle-cell{
.clickable();
}
.approval-status-cell {
widows : 10px;
.popover {

@ -62,7 +62,6 @@
padding : 30px;
}
.page-toolbar {
margin-top : 10px;
margin-bottom : 30px;
@ -93,3 +92,13 @@
padding : 4px 6px;
font-size : 16px;
}
th {
&.sortable {
&:hover {
background: @tableBackgroundHover;
}
.clickable();
}
}

@ -1,4 +1,4 @@
'use strict';
'use strict';
define(
[

@ -1,4 +1,4 @@
'use strict';
'use strict';
define(
[

@ -15,7 +15,7 @@ define(
this.$el.append(this.column.get('label'));
if (this.column.get('sortable')) {
this.$el.addClass('clickable');
this.$el.addClass('sortable');
this.$el.append(' <i class="pull-right"></i>');
if (this.collection.state) {

Loading…
Cancel
Save