From e84534f7b609c3af21d294a2fa3845d7ec6f0fe4 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Fri, 5 Oct 2018 15:19:12 +1300 Subject: [PATCH] Fix #127 fix boost header when outage plugin in use. --- version.php | 2 +- views/warningbar/warningbar.css | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/version.php b/version.php index 5817197..32eb82b 100644 --- a/version.php +++ b/version.php @@ -28,7 +28,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = "auth_outage"; -$plugin->version = 2018100300; // The current plugin version (Date: YYYYMMDDXX). +$plugin->version = 2018100500; // The current plugin version (Date: YYYYMMDDXX). $plugin->release = '1.0.9'; // Human-readable release information. $plugin->requires = 2017051500; // Requires 3.3 and higher. $plugin->maturity = MATURITY_STABLE; // Suitable for PRODUCTION environments! diff --git a/views/warningbar/warningbar.css b/views/warningbar/warningbar.css index 2539c79..b928fad 100644 --- a/views/warningbar/warningbar.css +++ b/views/warningbar/warningbar.css @@ -7,7 +7,7 @@ If you need to make changes here, remember to update your settings inside Moodle background-color: red; box-sizing: content-box; color: white; - height: 90px; + height: 100px; left: 0; padding: 0; position: fixed; @@ -99,10 +99,14 @@ a.auth_outage_warningbar_box_finish:hover { background-color: black; } -.navbar.navbar-fixed-top { - top: 90px; -} - .auth_outage_warningbar_spacer { height: 80px; } + +body.auth_outage #nav-drawer { + top: 150px; +} + +body.auth_outage nav.fixed-top.navbar { + top: 100px; +} \ No newline at end of file