From: Thierry Parmentelat Date: Mon, 7 Oct 2013 08:04:25 +0000 (+0200) Subject: tweaked the logout area X-Git-Tag: myslice-0.2-5~23 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=2c13962de9a61a0fad955d72552bd892004517cf tweaked the logout area --- diff --git a/ui/static/css/topmenu.css b/ui/static/css/topmenu.css index f7c78315..792377b8 100644 --- a/ui/static/css/topmenu.css +++ b/ui/static/css/topmenu.css @@ -6,10 +6,14 @@ body { /* center the buttons vertically in the header */ div.topmenu { padding-top: 7px; } -ul.logged-in { padding-top: 12px; } -button#logout { -/* margin-left: 8px; */ - margin-bottom: 10px; +ul.logged-in { + padding-top: 12px; +} +button.logged-in { + font-size: small; + margin-left: 5px; +} +li.username { + margin-bottom: 10px; + font-size: x-small; } -ul.logged-in { font-size: x-small; } -button.logged-in { font-size: small; } diff --git a/ui/templates/widget-topmenu.html b/ui/templates/widget-topmenu.html index 156d0a6d..f5308de0 100644 --- a/ui/templates/widget-topmenu.html +++ b/ui/templates/widget-topmenu.html @@ -34,9 +34,9 @@ {% endfor %} {# logout.js will attach a click function on that button, which then retrieves the 'username' attribute #}