From f2c268f72c91e0ea13b69fc52911f5ca162eff4b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sun, 23 Jun 2013 12:43:06 +0200 Subject: [PATCH] Fix: Missing theme for autofill --- htdocs/theme/amarok/style.css.php | 5 +++++ htdocs/theme/auguria/style.css.php | 25 ++++++++++++++++--------- htdocs/theme/bureau2crea/style.css.php | 6 ++++++ htdocs/theme/cameleo/style.css.php | 6 ++++++ htdocs/theme/eldy/style.css.php | 8 +++++--- 5 files changed, 38 insertions(+), 12 deletions(-) diff --git a/htdocs/theme/amarok/style.css.php b/htdocs/theme/amarok/style.css.php index 5e57bcc1bc2..9840c2cc186 100755 --- a/htdocs/theme/amarok/style.css.php +++ b/htdocs/theme/amarok/style.css.php @@ -251,6 +251,11 @@ 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; } +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)) { ?> legend { margin-bottom: 8px; } diff --git a/htdocs/theme/auguria/style.css.php b/htdocs/theme/auguria/style.css.php index 14685d261b3..ed4027e5550 100644 --- a/htdocs/theme/auguria/style.css.php +++ b/htdocs/theme/auguria/style.css.php @@ -143,6 +143,12 @@ textarea:disabled { } input[type=checkbox] { 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)) { ?> legend { margin-bottom: 8px; } <?php } ?> @@ -1408,19 +1414,20 @@ th.liste_titre_sel, td.liste_titre_sel /* border-bottom: 1px solid #FDFFFF; */ white-space: nowrap; } + input.liste_titre { -background: transparent; -background-repeat: repeat-x; -border: 0px; + background: transparent; + background-repeat: repeat-x; + border: 0px; } tr.liste_total td { -border-top: 1px solid #DDDDDD; -background: #F0F0F0; -background-repeat: repeat-x; -color: #332266; -font-weight: normal; -white-space: nowrap; + border-top: 1px solid #DDDDDD; + background: #F0F0F0; + background-repeat: repeat-x; + color: #332266; + font-weight: normal; + white-space: nowrap; } diff --git a/htdocs/theme/bureau2crea/style.css.php b/htdocs/theme/bureau2crea/style.css.php index 0ac7c62c074..f8b80a48b05 100644 --- a/htdocs/theme/bureau2crea/style.css.php +++ b/htdocs/theme/bureau2crea/style.css.php @@ -156,6 +156,12 @@ textarea:disabled { input[type=checkbox] { 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] { background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/bg_btnGreen.jpg',1); ?>); display: block; diff --git a/htdocs/theme/cameleo/style.css.php b/htdocs/theme/cameleo/style.css.php index c2c020bb035..74e62fc0489 100644 --- a/htdocs/theme/cameleo/style.css.php +++ b/htdocs/theme/cameleo/style.css.php @@ -126,6 +126,12 @@ textarea:disabled { input[type=checkbox] { 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] { background: #A51B00; -moz-border-radius:8px; diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index bb5025b72f4..46c7fe331eb 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -268,9 +268,6 @@ input:disabled { background:#ddd; } -input:-webkit-autofill { - background-color: #FCFEFA !important; background-image:none !important; -} input.liste_titre { box-shadow: none !important; } @@ -283,6 +280,11 @@ textarea:disabled { } input[type=checkbox] { 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)) { ?> legend { margin-bottom: 8px; } -- GitLab