From b112c6fddd6bd2750ccbb4620c1aaeb1a98da731 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 --- 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 300668c15f..b7dc3f0974 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 @@ -->