From 82fbbea20a35e57ce7493d85d96db6b3e0be9f5c Mon Sep 17 00:00:00 2001 From: Kathy Lussier Date: Tue, 14 Jul 2015 12:26:24 -0400 Subject: [PATCH] webstaff: 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 Signed-off-by: Galen Charlton --- 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 54856558da..c214bc87e5 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 6e2e8f73d4..52b44489ce 100644 --- a/Open-ILS/src/templates/staff/navbar.tt2 +++ b/Open-ILS/src/templates/staff/navbar.tt2 @@ -10,7 +10,7 @@ -->