From 6fb6e5a4ad6ce832223d4171d81d29f610c6522a Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 2 Mar 2011 15:09:28 +0100 Subject: [PATCH] change search and auth div styles --- telemeta/htdocs/css/telemeta.css | 26 ++++++++++++++----- telemeta/templates/telemeta_default/base.html | 13 ++++++---- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git a/telemeta/htdocs/css/telemeta.css b/telemeta/htdocs/css/telemeta.css index 7ad3a1b7..4aae0db7 100644 --- a/telemeta/htdocs/css/telemeta.css +++ b/telemeta/htdocs/css/telemeta.css @@ -237,8 +237,13 @@ label.disabled { color: #d7d7d7 } /* Quick search */ #quick_search { position: absolute; - top: 2.5em; - right: 1.1em; + top: 1.5em; + left: 35%; + background-color: #6a0307; + padding: 0.5em 0em 0.5em 0.5em; + -moz-border-radius: 8px 8px 8px 8px; + -webkit-border-radius: 8px 8px 8px 8px; + border-radius: 8px 8px 8px 8px; } #quick_search form { float: left; @@ -270,15 +275,24 @@ label.disabled { color: #d7d7d7 } /* Authentication */ #auth_info { + color: #FFF; + font-weight: bold; position: absolute; - top: 0.2em; + top: 1.5em; right: 1.1em; - margin-right: 12px; - font-size: .8em; + margin-right: 1em; + font-size: 0.9em; + background-color: #6a0307; + padding: 1em; + -moz-border-radius: 8px 8px 8px 8px; + -webkit-border-radius: 8px 8px 8px 8px; + border-radius: 8px 8px 8px 8px; } #auth_info a { - /* font-weight: bold; */ + color: #FFF; + font-size: 1em; + font-weight: bold; } form.login { diff --git a/telemeta/templates/telemeta_default/base.html b/telemeta/templates/telemeta_default/base.html index 066d6931..13d3fe1d 100644 --- a/telemeta/templates/telemeta_default/base.html +++ b/telemeta/templates/telemeta_default/base.html @@ -31,15 +31,19 @@
-{% if user.is_authenticated %} +{% if user.is_authenticated %} + +Welcome, {% if user.first_name and user.last_name %} {{ user.first_name }} {{ user.last_name }} {% else %} -{{ user.username }} +{{ user.username }}. {% endif %} -| -{% trans "Sign out" %} +Account | Help | +{% trans "Sign out" %} + {% else %} +Help | {% trans "Sign in" %} {% endif %}
@@ -49,7 +53,6 @@ -

{% trans "Advanced search" %}