Mercurial > public > sg101
view static/css/tab-nav.css @ 791:0ca691cccf8d
Utilize select_related() for user & user profiles.
This commit also removes the caching of the avatar URL in the
avatar template tag. This is because we are now using select_related,
so we already have the profile & avatar when we get to the tag.
Thus we don't need to waste time querying the cache.
Removed an apparently unused member map template as well.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 23 May 2014 21:52:41 -0500 |
parents | 88b2b9cb8c1f |
children |
line wrap: on
line source
ul.tab-nav { border-bottom: 1px solid black; padding-left: 10px; margin: 12px 0px 1em 0px; } ul.tab-nav li { display: inline; overflow: hidden; list-style-type: none; } ul.tab-nav li a, ul.tab-nav li a.active { color: black; background-color: teal; border: 1px solid #300; padding: 2px 5px 2px 5px; text-decoration: none; } ul.tab-nav li a.active { color: #000; background-color: #eee; border-bottom: 1px solid #eee; } ul.tab-nav li a:hover { color: #fff; } ul.tab-nav li a.active:hover { color: #000; }