From 6dd11d78e84728aced0899db28d2c67d712e3605 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Tue, 30 Aug 2016 18:10:53 +0200 Subject: [PATCH] NEW Better responsive design for very small device --- htdocs/theme/eldy/style.css.php | 18 ++++++++++++++---- htdocs/theme/md/style.css.php | 11 +++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index eba8130a3ef..8e982f2d69c 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -1869,10 +1869,10 @@ div.tabsElem { div.tabBar { color: #<?php echo $colortextbacktab; ?>; - padding-top: <?php echo ($dol_optimize_smallscreen?'4':'16'); ?>px; - padding-left: <?php echo ($dol_optimize_smallscreen?'4':'18'); ?>px; - padding-right: <?php echo ($dol_optimize_smallscreen?'4':'18'); ?>px; - padding-bottom: <?php echo ($dol_optimize_smallscreen?'4':'14'); ?>px; + padding-top: 16px; + padding-left: 18px; + padding-right: 18px; + padding-bottom: 14px; margin: 0px 0px 14px 0px; -moz-border-radius:4px; -webkit-border-radius: 4px; @@ -4403,6 +4403,16 @@ img.demothumb { margin-left: 4px; width: 80px; } + + div.tabBar { + padding-left: 0px; + padding-right: 0px; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0px; + border-right: none; + border-left: none; + } } /* nboftopmenuentries = <?php echo $nbtopmenuentries ?>, fontsize=<?php echo $fontsize ?> */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index d4eaacbdc48..09a8bc80a65 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -4294,6 +4294,17 @@ img.demothumb { position: absolute; width: <?php print dol_size(350,'width'); ?>px; } + + div.tabBar { + padding-left: 0px; + padding-right: 0px; + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0px; + border-right: none; + border-left: none; + } + } -- GitLab