You've already forked Sonarr
							
							
				mirror of
				https://github.com/Sonarr/Sonarr.git
				synced 2025-10-31 00:07:55 +02:00 
			
		
		
		
	updated styling of sortable columns on hover.
This commit is contained in:
		| @@ -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) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user