view modes: improve look when hovering over tabs

This commit is contained in:
Helmut Merz 2012-01-22 12:12:33 +01:00
parent 15cecb8aed
commit a06447bade
2 changed files with 3 additions and 4 deletions

View file

@ -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):

View file

@ -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 */