From ef76353bb65123be076a303f5cdcddc5811947ca Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Fri, 26 Apr 2019 11:09:46 +0200 Subject: [PATCH] Fix top margin of sidebar and tap headers --- pixelegg/css/mobile.css | 4 ++-- pixelegg/css/monochrome.css | 4 ++-- pixelegg/css/pixelegg.css | 4 ++-- pixelegg/js/slider.js | 4 ++-- pixelegg/less/layout_raster_main.less | 2 +- pixelegg/less/layout_raster_sidebar.less | 2 +- pixelegg/mobile/fw_mobile.css | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 2d324e435a..9f7390757d 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -4174,7 +4174,7 @@ td.message span.message { background-color: transparent; float: left; width: 100%; - margin-top: 3px; + margin-top: 8px; } #egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header { margin: 0px 0 0 0; @@ -4346,7 +4346,7 @@ td.message span.message { #egw_fw_sidebar { position: fixed; overflow: hidden; - top: 43px; + top: 49px; left: 0px; bottom: 25px; width: 225px; diff --git a/pixelegg/css/monochrome.css b/pixelegg/css/monochrome.css index d20c7cb668..55392375cc 100644 --- a/pixelegg/css/monochrome.css +++ b/pixelegg/css/monochrome.css @@ -4163,7 +4163,7 @@ td.message span.message { background-color: transparent; float: left; width: 100%; - margin-top: 3px; + margin-top: 8px; } #egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header { margin: 0px 0 0 0; @@ -4335,7 +4335,7 @@ td.message span.message { #egw_fw_sidebar { position: fixed; overflow: hidden; - top: 43px; + top: 49px; left: 0px; bottom: 25px; width: 225px; diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index ebfffaa54c..ee75bdfd00 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -4174,7 +4174,7 @@ td.message span.message { background-color: transparent; float: left; width: 100%; - margin-top: 3px; + margin-top: 8px; } #egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header { margin: 0px 0 0 0; @@ -4346,7 +4346,7 @@ td.message span.message { #egw_fw_sidebar { position: fixed; overflow: hidden; - top: 43px; + top: 49px; left: 0px; bottom: 25px; width: 225px; diff --git a/pixelegg/js/slider.js b/pixelegg/js/slider.js index 876b389e84..5473dd90bd 100644 --- a/pixelegg/js/slider.js +++ b/pixelegg/js/slider.js @@ -12,7 +12,7 @@ function show_pixelegg_header(_toggle, _delay) { jQuery("#egw_fw_header").slideToggle(); - jQuery("#egw_fw_sidebar").animate({'top':'48px'},_delay); + jQuery("#egw_fw_sidebar").animate({'top':'49px'},_delay); jQuery("#jsxc_roster").animate({'top':'89px'}); jQuery("#egw_fw_tabs").animate({'margin-top':'8px'},_delay); jQuery(".egw_fw_ui_tabs_header").css("padding", "1px 1px 0px 1px"); @@ -32,7 +32,7 @@ function hide_pixelegg_header(_toggle, _delay) jQuery("#egw_fw_logout").show(); jQuery("#egw_fw_print").show(); jQuery("#egw_fw_tabs").animate({'margin-top':'8px', "top": "0px"},_delay); - jQuery("#jsxc_roster").animate({'top':'43px'}); + jQuery("#jsxc_roster").animate({'top':'49px'}); jQuery(".egw_fw_ui_sidemenu_entry_header_active").css("background-position","95% 50%"); jQuery(".egw_fw_ui_tabs_header").css("height", "34px") // Padding to adjust for icons left & right of the tabs diff --git a/pixelegg/less/layout_raster_main.less b/pixelegg/less/layout_raster_main.less index a206b1d5f6..e8a14b48f7 100644 --- a/pixelegg/less/layout_raster_main.less +++ b/pixelegg/less/layout_raster_main.less @@ -58,7 +58,7 @@ background-color: transparent; float: left; width: 100%; - margin-top: 3px; + margin-top: 8px; // ############################################################ diff --git a/pixelegg/less/layout_raster_sidebar.less b/pixelegg/less/layout_raster_sidebar.less index b164629d99..3127741e99 100644 --- a/pixelegg/less/layout_raster_sidebar.less +++ b/pixelegg/less/layout_raster_sidebar.less @@ -26,7 +26,7 @@ #egw_fw_sidebar { position: fixed; overflow: hidden; - top: 43px; + top: 49px; left: 0px; bottom: 25px; width: 225px; diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index f41888be77..28430892b0 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -4185,7 +4185,7 @@ td.message span.message { background-color: transparent; float: left; width: 100%; - margin-top: 3px; + margin-top: 8px; } #egw_fw_main #egw_fw_tabs .egw_fw_ui_tabs_header { margin: 0px 0 0 0; @@ -4357,7 +4357,7 @@ td.message span.message { #egw_fw_sidebar { position: fixed; overflow: hidden; - top: 43px; + top: 49px; left: 0px; bottom: 25px; width: 225px;