From 28ad60f892f1cdebe704e4bc1aa964d3366f4dcf Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Tue, 28 Mar 2017 19:29:42 +0200 Subject: some fixes for latest bs-dev --- view/css/bootstrap-red.css | 3 +++ view/theme/redbasic/css/narrow_navbar.css | 2 +- view/theme/redbasic/css/style.css | 2 +- view/theme/redbasic/js/redbasic.js | 7 +++++++ 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index c8da05787..69886b141 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -55,6 +55,9 @@ nav.navbar { overflow: auto; } +.navbar-inverse .navbar-toggler { + color: rgba(255,255,255,1); +} /* nav overrides end */ .wall-item-tools .dropdown-menu { diff --git a/view/theme/redbasic/css/narrow_navbar.css b/view/theme/redbasic/css/narrow_navbar.css index 33db6ce83..99f083638 100644 --- a/view/theme/redbasic/css/narrow_navbar.css +++ b/view/theme/redbasic/css/narrow_navbar.css @@ -11,7 +11,7 @@ } .contextual-help-content-open { - top: 2.4rem; + top: 2.5rem; } aside { diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3616e3de6..d5edc6902 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -191,7 +191,7 @@ nav { .contextual-help-content-open { display: block; position: fixed; - top: 3.25rem; + top: 3.35rem; left: 0px; width: 100%; max-height: 50%; diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 14b977b80..4d9a1d6cc 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -3,6 +3,13 @@ */ $(document).ready(function() { + //this is a hotfix to make collapsible bs panels work again. this needs fixing in templates. + $('a').on('click', function(e) { + if($(this).data('toggle') == 'collapse') { + e.preventDefault(); + } + }); + // CSS3 calc() fallback (for unsupported browsers) $('body').append(''); if( $('#css3-calc').width() == 10) { -- cgit v1.2.3