Mercurial > hg > ltpdarepo
changeset 162:bfa740644fc9
Style changes. Make links more obvious to spot in the interface.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Fri, 04 Nov 2011 11:46:29 +0100 |
parents | 6b04cb2e92c9 |
children | b666c4b27e33 |
files | src/ltpdarepo/static/style.css src/ltpdarepo/templates/pagination.html |
diffstat | 2 files changed, 2 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ltpdarepo/static/style.css Fri Nov 04 11:11:44 2011 +0100 +++ b/src/ltpdarepo/static/style.css Fri Nov 04 11:46:29 2011 +0100 @@ -316,15 +316,6 @@ background-color: #FCFCFC; } -td a { - text-decoration: none; - color: inherit; -} - -tbody td a:hover { - border-bottom: 1px solid #666; -} - /* pagination */ .count { @@ -343,10 +334,6 @@ border-bottom: 1px solid white; } -.count a { - padding: 0 0.5em; -} - .pages { float: right; font-size: 90%;
--- a/src/ltpdarepo/templates/pagination.html Fri Nov 04 11:11:44 2011 +0100 +++ b/src/ltpdarepo/templates/pagination.html Fri Nov 04 11:46:29 2011 +0100 @@ -3,11 +3,11 @@ <div class="count"> {% if pagination.count > pagination.size %} <span>{{ pagination.size }} of {{ pagination.count }} objects</span> - <a href="{{ url_for_other_size(pagination.size * 2) }}">more</a> + <a href="{{ url_for_other_size(pagination.size * 2) }}">show more</a> <a href="{{ url_for_other_size(pagination.size // 2) }}">less</a> {% else %} <span>{{ pagination.count }} objects</span> - <a href="{{ url_for_other_size(pagination.size // 2) }}">less</a> + <a href="{{ url_for_other_size(pagination.size // 2) }}">show less</a> {% endif %} </div> <div class="pages">