Improved dropdown styling
authorJef van Schendel <mail@jefvanschendel.nl>
Sun, 24 Feb 2013 19:53:34 +0000 (20:53 +0100)
committerJef van Schendel <mail@jefvanschendel.nl>
Sun, 24 Feb 2013 19:53:34 +0000 (20:53 +0100)
mediagoblin/static/css/base.css
mediagoblin/templates/mediagoblin/base.html

index 04b4ee28ffd35f3449375cc70b403467c8adb23c..7de7a7d08ed97cfef9830115a31f922d2f4cf440 100644 (file)
@@ -132,6 +132,7 @@ header {
 }
 
 .header_dropdown li {
+  margin: 4px 0;
   list-style: none;
 }
 
index 25e71396d445bbd050ea0497b6664f61e8f0f34a..068af79a6807c027e7ab7f21aaa01bdb91aa8c9e 100644 (file)
                            user_name=request.user.username -%}
                     <a href="{{ user_url }}">{{ user_name }}</a>'s account
                   {%- endtrans %}
-                </span>
-                (<a href="{{ request.urlgen('mediagoblin.auth.logout') }}">{% trans %}log out{% endtrans %}</a>)
+                </span> &middot;
+                <a href="{{ request.urlgen('mediagoblin.edit.account') }}">{%- trans %}Change account settings{% endtrans -%}</a> &middot; 
+            <a href="{{ request.urlgen('mediagoblin.user_pages.processing_panel',
+                                             user=request.user.username) }}">
+                {%- trans %}Media processing panel{% endtrans -%}
+              </a> &middot; <a href="{{ request.urlgen('mediagoblin.auth.logout') }}">{% trans %}Log out{% endtrans %}</a>
               </p>
-            <ul>
-              <li><a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}">
+            <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.start') }}">
                 {%- trans %}Add media{% endtrans -%}
-              </a></li>
-              <li><a class="button_action" href="{{ request.urlgen('mediagoblin.submit.collection') }}">
+              </a>
+            <a class="button_action" href="{{ request.urlgen('mediagoblin.submit.collection') }}">
                 {%- trans %}Create new collection{% endtrans -%}
-              </a></li>
-              <li><a href="{{ request.urlgen('mediagoblin.edit.account') }}">
-                {%- trans %}Change account settings{% endtrans -%}
-              </a></li>
-              <li><a href="{{ request.urlgen('mediagoblin.user_pages.processing_panel',
-                                             user=request.user.username) }}">
-                {%- trans %}Media processing panel{% endtrans -%}
-              </a></li>
+              </a>
+           
+              
               {% if request.user.is_admin %}
-                <li>Admin:
-                  <ul>
-                    <li><a href="{{ request.urlgen('mediagoblin.admin.panel') }}">
+                <a href="{{ request.urlgen('mediagoblin.admin.panel') }}">
                       {%- trans %}Media processing panel{% endtrans -%}
-                    </a></li>
-                  </ul>
-                </li>
+                    </a>
               {% endif %}
-            </ul>
             </div>
           {% endif %}
         </header>