Fix: Missing theme for autofill

This commit is contained in:
Laurent Destailleur 2013-06-23 12:43:06 +02:00
parent 253ce19bc1
commit f2c268f72c
5 changed files with 38 additions and 12 deletions

View File

@ -251,6 +251,11 @@ input:disabled {background:#b6b6b6;}
input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
input[type=image] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; }
input:-webkit-autofill {
background-color: <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> !important;
background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
}
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }

View File

@ -143,6 +143,12 @@ textarea:disabled {
} }
input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
input[type=image] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; }
input:-webkit-autofill {
background-color: <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> !important;
background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
}
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }
<?php } ?> <?php } ?>
@ -1408,19 +1414,20 @@ th.liste_titre_sel, td.liste_titre_sel
/* border-bottom: 1px solid #FDFFFF; */ /* border-bottom: 1px solid #FDFFFF; */
white-space: nowrap; white-space: nowrap;
} }
input.liste_titre { input.liste_titre {
background: transparent; background: transparent;
background-repeat: repeat-x; background-repeat: repeat-x;
border: 0px; border: 0px;
} }
tr.liste_total td { tr.liste_total td {
border-top: 1px solid #DDDDDD; border-top: 1px solid #DDDDDD;
background: #F0F0F0; background: #F0F0F0;
background-repeat: repeat-x; background-repeat: repeat-x;
color: #332266; color: #332266;
font-weight: normal; font-weight: normal;
white-space: nowrap; white-space: nowrap;
} }

View File

@ -156,6 +156,12 @@ textarea:disabled {
input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
input[type=image] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; }
input:-webkit-autofill {
background-color: <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> !important;
background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
}
input.button[type=submit] { input.button[type=submit] {
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/bg_btnGreen.jpg',1); ?>); background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/bg_btnGreen.jpg',1); ?>);
display: block; display: block;

View File

@ -126,6 +126,12 @@ textarea:disabled {
input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
input[type=image] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; }
input:-webkit-autofill {
background-color: <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> !important;
background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
}
input.button[type=submit] { input.button[type=submit] {
background: #A51B00; background: #A51B00;
-moz-border-radius:8px; -moz-border-radius:8px;

View File

@ -268,9 +268,6 @@ input:disabled {
background:#ddd; background:#ddd;
} }
input:-webkit-autofill {
background-color: #FCFEFA !important; background-image:none !important;
}
input.liste_titre { input.liste_titre {
box-shadow: none !important; box-shadow: none !important;
} }
@ -283,6 +280,11 @@ textarea:disabled {
} }
input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; } input[type=checkbox] { background-color: transparent; border: none; box-shadow: none; }
input[type=image] { background-color: transparent; border: none; box-shadow: none; } input[type=image] { background-color: transparent; border: none; box-shadow: none; }
input:-webkit-autofill {
background-color: <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> !important;
background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
}
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }