From 6c6a6503f7071b187be3bac47385e1e3bc5a04e0 Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Tue, 14 Jul 2015 12:26:24 -0400 Subject: [PATCH] Fixed-position navigation menu for web client Changes the class for top-navbar so that it stays fixed at the top of the screen. This is useful for staff who will need to quickly jump to another area of the client after they have scrolled down a page. Initially, changing the class shifted some of the content higher so that the navbar was covering some elements. I addressed this by adding some padding to Many thanks to Jason Etheridge for pointing me in the right direction to get started. Signed-off-by: Kathy Lussier Signed-off-by: Mike Rylander --- Open-ILS/src/templates/staff/css/style.css.tt2 | 1 + Open-ILS/src/templates/staff/navbar.tt2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/templates/staff/css/style.css.tt2 b/Open-ILS/src/templates/staff/css/style.css.tt2 index b8e3322089..cb5449703a 100644 --- a/Open-ILS/src/templates/staff/css/style.css.tt2 +++ b/Open-ILS/src/templates/staff/css/style.css.tt2 @@ -60,6 +60,7 @@ * narrower than the default Bootstrapp container gutters. */ width: 95%; + padding-top: 70px; } diff --git a/Open-ILS/src/templates/staff/navbar.tt2 b/Open-ILS/src/templates/staff/navbar.tt2 index 84c9e333dd..12bef5cd41 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -10,7 +10,7 @@ -->