From 700c05a55bab34c40f24fbe4f83a0fa9882559b2 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 13 Mar 2017 16:34:23 +0100 Subject: many class fixes and revive shiny class for item titles in a new way --- view/theme/redbasic/css/style.css | 9 +++------ view/theme/redbasic/js/redbasic.js | 4 ++-- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'view/theme/redbasic') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index caebd04d5..fe41c2bdd 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1703,8 +1703,7 @@ main.fullscreen .section-content-wrapper-np { nav ul li .undefined, nav ul li .notify-seen, -nav ul li .notify-unseen - { +nav ul li .notify-unseen { max-height: 3rem; } @@ -1819,10 +1818,6 @@ blockquote { } */ -#tabs-collapse-1 { - padding: 0px; - margin-bottom: 25px; -} @media screen and (max-width: 767px) { @@ -2052,3 +2047,5 @@ dl.bb-dl > dd > li { #permcat-index { margin: 10px; } + +.shiny { background-color: red; } diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 1ed5e520f..4686e93db 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -18,7 +18,7 @@ $(document).ready(function() { if($(window).width() > 767) { $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true), + offset_top: $('nav').outerHeight(true) + 10, parent: '#region_1', spacer: '#left_aside_spacer' }); @@ -105,7 +105,7 @@ function toggleAside() { $('main').addClass('region_1-on') $('
').appendTo('section'); $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) - 10, + offset_top: $('nav').outerHeight(true) + 10, parent: '#region_1', spacer: '#left_aside_spacer' }); -- cgit v1.2.3