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
|
||||
def cssClass(self):
|
||||
return self.active and u'active' or u''
|
||||
return self.active and u'active' or u'inactive'
|
||||
|
||||
|
||||
class IAddForm(Interface):
|
||||
|
|
|
@ -36,9 +36,8 @@ ul.view-modes li.active a {
|
|||
background-color: #eee;
|
||||
}
|
||||
|
||||
ul.view-modes li a:hover {
|
||||
border-bottom: #eee 1px solid;
|
||||
background-color: #eee;
|
||||
ul.view-modes li.inactive a:hover {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
/* general */
|
||||
|
|
Loading…
Add table
Reference in a new issue