view modes: improve look when hovering over tabs
This commit is contained in:
		
							parent
							
								
									15cecb8aed
								
							
						
					
					
						commit
						a06447bade
					
				
					 2 changed files with 3 additions and 4 deletions
				
			
		|  | @ -97,7 +97,7 @@ class ViewMode(object): | ||||||
| 
 | 
 | ||||||
|     @property |     @property | ||||||
|     def cssClass(self): |     def cssClass(self): | ||||||
|         return self.active and u'active' or u'' |         return self.active and u'active' or u'inactive' | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class IAddForm(Interface): | class IAddForm(Interface): | ||||||
|  |  | ||||||
|  | @ -36,9 +36,8 @@ ul.view-modes li.active a { | ||||||
|     background-color: #eee; |     background-color: #eee; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| ul.view-modes li a:hover { | ul.view-modes li.inactive a:hover { | ||||||
|     border-bottom: #eee 1px solid; |     background-color: #f8f8f8; | ||||||
|     background-color: #eee; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /* general */ | /* general */ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue