Fix: css with jmobile

This commit is contained in:
Laurent Destailleur
2013-06-19 14:03:54 +02:00
parent bd8271ee24
commit dcaaa84ddb
5 changed files with 41 additions and 1 deletions

View File

@@ -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();

View File

@@ -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

View File

@@ -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();

View File

@@ -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

View File

@@ -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();