[damned-lies] Minor cosmetic changes to popup's appearance



commit 5a201ce2898f7cd55cd94bc28872cb3167e179e8
Author: Tom Tryfonidis <tomtryf gmail com>
Date:   Fri Dec 4 21:17:21 2015 +0200

    Minor cosmetic changes to popup's appearance

 common/static/css/template.css      |    7 +++++--
 templates/login/login_usermenu.html |   11 +++++------
 2 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/common/static/css/template.css b/common/static/css/template.css
index e19f738..c3fc3c1 100644
--- a/common/static/css/template.css
+++ b/common/static/css/template.css
@@ -137,7 +137,7 @@ a:hover {
     color: #fff;
     text-decoration: none;
     display: block;
-    padding: 3px 40px;
+    padding: 3px 30px;
 }
 #global_domain_bar .user_settings a.text:hover {
     background: rgba(100%, 100%, 100%, 0.2);
@@ -160,6 +160,7 @@ a:hover {
     margin: 0;
     border: 0;
     background: none;
+    font-size: 100%;
     font-weight: normal;
     padding: 3px 0;
     border-radius: 0;
@@ -192,7 +193,9 @@ a:hover {
     border: 2px solid #8B8B8B;
     border-radius: 5px;
 }
-
+#global_domain_bar .avatar:hover {
+    border: 2px solid #BBB;
+}
 
 /* GNOME Header */
 /* ========================================================================== */
diff --git a/templates/login/login_usermenu.html b/templates/login/login_usermenu.html
index a95ebed..c294d96 100644
--- a/templates/login/login_usermenu.html
+++ b/templates/login/login_usermenu.html
@@ -7,13 +7,12 @@
                        </a>
                <ul>
                        <li><a class="text" href="{% url 'person_detail_username' user.username %}">{% trans 
'User Settings' %}</a></li>
+                       <li><form action="{% url 'login' %}" method="post" class="login_popup_form">
+                                       {% csrf_token %}
+                                       <input type="hidden" name="logout" value="1">
+                                       <input type="submit" value="{% trans 'Log out' %}">
+                       </form></li>
                </ul>
-       
-               <form action="{% url 'login' %}" method="post" class="login_popup_form">
-               {% csrf_token %}
-               <input type="hidden" name="logout" value="1">
-               <input type="submit" value="{% trans 'Log out' %}">
-       </form>
        </div>
 {% else %}
        {% include "login/login_popup_form.html" %}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]