From: Thierry Parmentelat Date: Tue, 24 Sep 2013 08:47:44 +0000 (+0200) Subject: topmenu revisited for bootstrap v3 X-Git-Tag: myslice-0.2-4~43 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;ds=sidebyside;h=5bb81b8986ce5ebc00325d9b002652655a85f84a;p=unfold.git topmenu revisited for bootstrap v3 --- diff --git a/views/static/css/topmenu.css b/views/static/css/topmenu.css index 325b9657..344acdc3 100644 --- a/views/static/css/topmenu.css +++ b/views/static/css/topmenu.css @@ -4,9 +4,11 @@ body { padding-bottom: 20px; } -div.topmenu { padding-top: 10px; } +/* center the buttons vertically in the header */ +div.topmenu { padding-top: 7px; } +ul.logged-in { padding-top: 10px; } button#logout { - margin-left: 8px; +/* margin-left: 8px; */ margin-bottom: 10px; } -span.logged-in { font-size: x-small; } +ul.logged-in, button.logged-in { font-size: x-small; } diff --git a/views/templates/widget-topmenu.html b/views/templates/widget-topmenu.html index 1b14c8a0..81a10c50 100644 --- a/views/templates/widget-topmenu.html +++ b/views/templates/widget-topmenu.html @@ -1,21 +1,29 @@ -{# #} {% insert_str prelude "js/bootstrap.js" %} {% insert_str prelude "css/bootstrap.css" %} {% insert_str prelude "css/topmenu.css" %} {% insert_str prelude "js/logout.js" %} -