From dcaaa84ddb2acf094e82d64d0c5415cd304dc03c Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Wed, 19 Jun 2013 14:03:54 +0200
Subject: [PATCH] Fix: css with jmobile

---
 htdocs/theme/amarok/style.css.php      |  8 ++++++++
 htdocs/theme/auguria/style.css.php     |  7 +++++++
 htdocs/theme/bureau2crea/style.css.php |  9 ++++++++-
 htdocs/theme/cameleo/style.css.php     |  8 ++++++++
 htdocs/theme/eldy/style.css.php        | 10 ++++++++++
 5 files changed, 41 insertions(+), 1 deletion(-)

diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php
index 351fb17494b..c3ff5f2882c 100755
--- a/htdocs/theme/amarok/style.css.php
+++ b/htdocs/theme/amarok/style.css.php
@@ -246,6 +246,10 @@ input:disabled {background:#b6b6b6;}
 input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
 input[type=image] { background-color: transparent; border: none; box-shadow: none; }
 
+<?php if (! empty($dol_use_jmobile)) { ?>
+legend { margin-bottom: 8px; }
+<?php } ?>
+
 textarea.flat {
 	font-size:<?php print $fontsize ?>px;
 	font-family:<?php print $fontlist ?>;
@@ -2120,6 +2124,10 @@ div.ui-radio
 	margin: 0;
 	position: static;
 }
+.ui-mobile fieldset
+{
+	padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
+}
 
 <?php
 if (is_object($db)) $db->close();
diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php
index 1074a89da49..de93b41a160 100644
--- a/htdocs/theme/auguria/style.css.php
+++ b/htdocs/theme/auguria/style.css.php
@@ -136,6 +136,9 @@ textarea:disabled {
 }
 input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
 input[type=image] { background-color: transparent; border: none; box-shadow: none; }
+<?php if (! empty($dol_use_jmobile)) { ?>
+legend { margin-bottom: 8px; }
+<?php } ?>
 .button {
     font-family: <?php print $fontlist ?>;
 	border: 1px solid #ACBCBB;
@@ -2261,6 +2264,10 @@ div.ui-radio
 	margin: 0;
 	position: static;
 }
+.ui-mobile fieldset
+{
+	padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
+}
 
 
 <?php
diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php
index f3669acf8fa..a48bd1df47a 100644
--- a/htdocs/theme/bureau2crea/style.css.php
+++ b/htdocs/theme/bureau2crea/style.css.php
@@ -149,7 +149,6 @@ textarea:disabled {
 	background:#ddd;
 }
 
-
 input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
 input[type=image] { background-color: transparent; border: none; box-shadow: none; }
 input.button[type=submit] {
@@ -167,6 +166,10 @@ input.button[type=submit] {
     display: inline;
 }
 
+<?php if (! empty($dol_use_jmobile)) { ?>
+legend { margin-bottom: 8px; }
+<?php } ?>
+
 .button {
     font-family: <?php print $fontlist ?>;
 	border: 0px;
@@ -2442,6 +2445,10 @@ div.ui-radio
 	margin: 0;
 	position: static;
 }
+.ui-mobile fieldset
+{
+	padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
+}
 
 <?php
 if (is_object($db)) $db->close();
diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php
index 88c800a3e55..85af77cb18c 100644
--- a/htdocs/theme/cameleo/style.css.php
+++ b/htdocs/theme/cameleo/style.css.php
@@ -142,6 +142,10 @@ input.button[type=submit] {
     font-weight: bold;
 }
 
+<?php if (! empty($dol_use_jmobile)) { ?>
+legend { margin-bottom: 8px; }
+<?php } ?>
+
 .button {
     font-family: <?php print $fontlist ?>;
 	background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/button_bg.png',1); ?>);
@@ -2358,6 +2362,10 @@ div.ui-radio
 	margin: 0;
 	position: static;
 }
+.ui-mobile fieldset
+{
+	padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
+}
 
 
 <?php
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 01d8a0cc243..c05cea17196 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -259,6 +259,7 @@ select.flat, form.flat select {
 input:disabled {
 	background:#ddd;
 }
+
 input:-webkit-autofill {
 	background-color: #FCFEFA !important; background-image:none !important;
 }
@@ -275,6 +276,10 @@ textarea:disabled {
 input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
 input[type=image] { background-color: transparent; border: none; box-shadow: none; }
 
+<?php if (! empty($dol_use_jmobile)) { ?>
+legend { margin-bottom: 8px; }
+<?php } ?>
+
 .button {
     font-family: <?php print $fontlist ?>;
 	background-image: url(<?php echo $img_button ?>);
@@ -2676,6 +2681,11 @@ div.ui-radio
 	margin: 0;
 	position: static;
 }
+.ui-mobile fieldset
+{
+	padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #AAAAAA !important;
+}
+
 
 <?php
 if (is_object($db)) $db->close();
-- 
GitLab