From 5bb81b8986ce5ebc00325d9b002652655a85f84a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 24 Sep 2013 10:47:44 +0200 Subject: [PATCH] topmenu revisited for bootstrap v3 --- views/static/css/topmenu.css | 8 +++--- views/templates/widget-topmenu.html | 38 +++++++++++++++++------------ 2 files changed, 28 insertions(+), 18 deletions(-) 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" %} - -- 2.43.0