]> git.parisson.com Git - telemeta.git/commitdiff
change search and auth div styles
authoryomguy <yomguy@parisson.com>
Wed, 2 Mar 2011 14:09:28 +0000 (15:09 +0100)
committeryomguy <yomguy@parisson.com>
Wed, 2 Mar 2011 14:09:28 +0000 (15:09 +0100)
telemeta/htdocs/css/telemeta.css
telemeta/templates/telemeta_default/base.html

index 7ad3a1b70b1d97c09be278b32eadef98bf9301a6..4aae0db7a67678a4255fef8f8039b437519d110c 100644 (file)
@@ -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 {
index 066d6931d19571eb680ba2bd5acac3f6f5db0b92..13d3fe1d7a1d2909602521a416ca6037fafb78cf 100644 (file)
 </div>
 
 <div id="auth_info">
-{% if user.is_authenticated %} 
+{% if user.is_authenticated %}
+<img src="../../images/user_red.png" style="vertical-align:middle" />
+Welcome, 
 {% if user.first_name and user.last_name %}
 {{ user.first_name }} {{ user.last_name }} 
 {% else %}
-{{ user.username }}
+{{ user.username }}.
 {% endif %}
-|
-<a href="{% url telemeta-logout %}">{% trans "Sign out" %}</a>
+Account | Help | 
+<a href="{% url telemeta-logout %}">{% trans "Sign out" %}
+<img src="../../images/close.png" style="vertical-align:middle" /></a>
 {% else %}
+Help |
 <a href="{% url telemeta-login %}?next={{ request.path|urlencode }}">{% trans "Sign in" %}</a>
 {% endif %}
 </div>
@@ -49,7 +53,6 @@
 <input type="text" id="quick_search_pattern" name="pattern" />
 <input type="submit" value="{% trans 'Search' %}" />
 </form>
-<p><a href="{% url telemeta-search-criteria %}">{% trans "Advanced search" %}</a></p>
 </div>
 
 <div id="menu" class="nav">