From cbcd1954618da8ba7013a42fcec5bff531535ba9 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Mon, 20 Mar 2017 22:39:29 +0100 Subject: [PATCH] fix webpages widgets --- view/theme/redbasic/css/style.css | 3 +- view/theme/redbasic/js/redbasic.js | 4 +- view/tpl/design_tools.tpl | 14 ++-- view/tpl/website_portation_tools.tpl | 116 +++++++++++---------------- 4 files changed, 57 insertions(+), 80 deletions(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 3548e237f..f233e9a76 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1672,9 +1672,10 @@ dl.bb-dl > dd > li { } .sub-menu { + width: 100%; margin-top: 10px; padding-left: 15px; - border-left: 3px solid #eee; + border-left: 0.2rem solid #eee; } .app-icon { diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 8106f913d..6aba457f1 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -74,12 +74,12 @@ $(document).ready(function() { function makeFullScreen(full) { if(typeof full=='undefined' || full == true) { $('main').addClass('fullscreen'); - $('header, nav, aside, #fullscreen-btn').css({'visibility': 'hidden'}); + $('header, nav, aside, #fullscreen-btn').hide(); $('#inline-btn').show(); } else { $('main').removeClass('fullscreen'); - $('header, nav, aside, #fullscreen-btn').css({'visibility': ''}); + $('header, nav, aside, #fullscreen-btn').show(); $('#inline-btn').hide(); $(document.body).trigger("sticky_kit:recalc"); } diff --git a/view/tpl/design_tools.tpl b/view/tpl/design_tools.tpl index dffeeafa0..bc7d46dc1 100644 --- a/view/tpl/design_tools.tpl +++ b/view/tpl/design_tools.tpl @@ -1,9 +1,9 @@
-

{{$title}}

- +

{{$title}}

+
diff --git a/view/tpl/website_portation_tools.tpl b/view/tpl/website_portation_tools.tpl index 2910c0e29..b59e135c2 100644 --- a/view/tpl/website_portation_tools.tpl +++ b/view/tpl/website_portation_tools.tpl @@ -1,72 +1,48 @@
- - + +