Skip to content
Snippets Groups Projects
Commit 1de8ab37 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: CSS

parent 5f67142f
No related branches found
No related tags found
No related merge requests found
...@@ -3497,7 +3497,7 @@ class Form ...@@ -3497,7 +3497,7 @@ class Form
// Year // Year
if ($empty || $set_time == -1) if ($empty || $set_time == -1)
{ {
$retstring.='<input'.($disabled?' disabled="disabled"':'').' class="flat" type="text" size="3" maxlength="4" name="'.$prefix.'year" value="'.$syear.'">'; $retstring.='<input'.($disabled?' disabled="disabled"':'').' placeholder="'.dol_escape_htmltag($langs->trans("Year")).'" class="flat" type="text" size="3" maxlength="4" name="'.$prefix.'year" value="'.$syear.'">';
} }
else else
{ {
......
...@@ -256,6 +256,10 @@ input:-webkit-autofill { ...@@ -256,6 +256,10 @@ input:-webkit-autofill {
background-image:none !important; background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset; -webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
} }
::-webkit-input-placeholder { color:#ccc; }
::-moz-placeholder { color:#ccc; } /* firefox 19+ */
:-ms-input-placeholder { color:#ccc; } /* ie */
input:-moz-placeholder { color:#ccc; }
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }
...@@ -2150,10 +2154,10 @@ div.ui-radio ...@@ -2150,10 +2154,10 @@ div.ui-radio
{ {
display: inline-block; display: inline-block;
} }
.ui-radio input { .ui-checkbox input, .ui-radio input {
height: auto; height: auto;
width: auto; width: auto;
margin: 0; margin: 4px;
position: static; position: static;
} }
.ui-mobile fieldset .ui-mobile fieldset
......
...@@ -148,6 +148,10 @@ input:-webkit-autofill { ...@@ -148,6 +148,10 @@ input:-webkit-autofill {
background-image:none !important; background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset; -webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
} }
::-webkit-input-placeholder { color:#ccc; }
::-moz-placeholder { color:#ccc; } /* firefox 19+ */
:-ms-input-placeholder { color:#ccc; } /* ie */
input:-moz-placeholder { color:#ccc; }
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }
...@@ -2283,10 +2287,10 @@ div.ui-radio ...@@ -2283,10 +2287,10 @@ div.ui-radio
{ {
display: inline-block; display: inline-block;
} }
.ui-radio input { .ui-checkbox input, .ui-radio input {
height: auto; height: auto;
width: auto; width: auto;
margin: 0; margin: 4px;
position: static; position: static;
} }
.ui-mobile fieldset .ui-mobile fieldset
......
...@@ -176,6 +176,10 @@ input.button[type=submit] { ...@@ -176,6 +176,10 @@ input.button[type=submit] {
font-size: 10px; font-size: 10px;
display: inline; display: inline;
} }
::-webkit-input-placeholder { color:#ccc; }
::-moz-placeholder { color:#ccc; } /* firefox 19+ */
:-ms-input-placeholder { color:#ccc; } /* ie */
input:-moz-placeholder { color:#ccc; }
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }
...@@ -2493,10 +2497,10 @@ div.ui-radio ...@@ -2493,10 +2497,10 @@ div.ui-radio
{ {
display: inline-block; display: inline-block;
} }
.ui-radio input { .ui-checkbox input, .ui-radio input {
height: auto; height: auto;
width: auto; width: auto;
margin: 0; margin: 4px;
position: static; position: static;
} }
.ui-mobile fieldset .ui-mobile fieldset
......
...@@ -154,6 +154,10 @@ input.button[type=submit] { ...@@ -154,6 +154,10 @@ input.button[type=submit] {
font-size: 11px; font-size: 11px;
font-weight: bold; font-weight: bold;
} }
::-webkit-input-placeholder { color:#ccc; }
::-moz-placeholder { color:#ccc; } /* firefox 19+ */
:-ms-input-placeholder { color:#ccc; } /* ie */
input:-moz-placeholder { color:#ccc; }
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }
...@@ -2384,10 +2388,10 @@ div.ui-radio ...@@ -2384,10 +2388,10 @@ div.ui-radio
{ {
display: inline-block; display: inline-block;
} }
.ui-radio input { .ui-checkbox input, .ui-radio input {
height: auto; height: auto;
width: auto; width: auto;
margin: 0; margin: 4px;
position: static; position: static;
} }
.ui-mobile fieldset .ui-mobile fieldset
......
...@@ -285,6 +285,10 @@ input:-webkit-autofill { ...@@ -285,6 +285,10 @@ input:-webkit-autofill {
background-image:none !important; background-image:none !important;
-webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset; -webkit-box-shadow: 0 0 0 50px <?php echo empty($dol_use_jmobile)?'#FBFFEA':'#FFFFFF' ?> inset;
} }
::-webkit-input-placeholder { color:#ccc; }
::-moz-placeholder { color:#ccc; } /* firefox 19+ */
:-ms-input-placeholder { color:#ccc; } /* ie */
input:-moz-placeholder { color:#ccc; }
<?php if (! empty($dol_use_jmobile)) { ?> <?php if (! empty($dol_use_jmobile)) { ?>
legend { margin-bottom: 8px; } legend { margin-bottom: 8px; }
...@@ -2708,10 +2712,10 @@ div.ui-radio, div.ui-checkbox ...@@ -2708,10 +2712,10 @@ div.ui-radio, div.ui-checkbox
display: inline-block; display: inline-block;
border-bottom: 0px !important; border-bottom: 0px !important;
} }
ui-checkbox input, .ui-radio input { .ui-checkbox input, .ui-radio input {
height: auto; height: auto;
width: auto; width: auto;
margin: 0; margin: 4px;
position: static; position: static;
} }
.ui-mobile fieldset .ui-mobile fieldset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment