Minor enhancements for usage with smartphones
This commit is contained in:
parent
bd98d01d99
commit
858fdcf85f
@ -1983,7 +1983,7 @@ function print_fiche_titre($titre, $mesg='', $picto='title.png', $pictoisfullpat
|
|||||||
|
|
||||||
print "\n";
|
print "\n";
|
||||||
print '<table summary="" width="100%" border="0" class="notopnoleftnoright" style="margin-bottom: 2px;"><tr>';
|
print '<table summary="" width="100%" border="0" class="notopnoleftnoright" style="margin-bottom: 2px;"><tr>';
|
||||||
if ($picto && $titre) print '<td class="nobordernopadding" width="40" align="left" valign="middle">'.img_picto('',$picto, '', $pictoisfullpath).'</td>';
|
if ($picto && $titre) print '<td class="nobordernopadding" width="40" align="left" valign="middle">'.img_picto('',$picto, 'id="pictotitle"', $pictoisfullpath).'</td>';
|
||||||
print '<td class="nobordernopadding" valign="middle">';
|
print '<td class="nobordernopadding" valign="middle">';
|
||||||
print '<div class="titre">'.$titre.'</div>';
|
print '<div class="titre">'.$titre.'</div>';
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|||||||
@ -272,7 +272,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
|
|||||||
// Message
|
// Message
|
||||||
if (! empty($_SESSION["dol_loginmesg"]))
|
if (! empty($_SESSION["dol_loginmesg"]))
|
||||||
{
|
{
|
||||||
print '<center><table width="60%"><tr><td align="center" class="small"><div class="error">';
|
print '<center><table width="60%"><tr><td align="center"><div class="error">';
|
||||||
print $_SESSION["dol_loginmesg"];
|
print $_SESSION["dol_loginmesg"];
|
||||||
$_SESSION["dol_loginmesg"]="";
|
$_SESSION["dol_loginmesg"]="";
|
||||||
print '</div></td></tr></table></center>'."\n";
|
print '</div></td></tr></table></center>'."\n";
|
||||||
|
|||||||
@ -932,18 +932,20 @@ a.impayee:active { font-weight: bold; color: #550000; }
|
|||||||
a.impayee:hover { font-weight: bold; color: #550000; }
|
a.impayee:hover { font-weight: bold; color: #550000; }
|
||||||
|
|
||||||
|
|
||||||
td.small {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Lignes titre espace
|
* Other
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pictotitle {
|
||||||
|
<?php print !empty($conf->browser->phone)?'display: none;':''; ?>
|
||||||
|
}
|
||||||
|
|
||||||
div.titre {
|
div.titre {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #57A2CA;
|
color: #57A2CA;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
|
|||||||
@ -614,14 +614,21 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Lignes titre espace
|
* Other
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pictotitle {
|
||||||
|
<?php print !empty($conf->browser->phone)?'display: none;':''; ?>
|
||||||
|
}
|
||||||
|
|
||||||
div.titre {
|
div.titre {
|
||||||
font-family: Helvetica, Verdana;
|
font-family: Helvetica, Verdana;
|
||||||
font-size: 0.9em;
|
font-size: 0.9em;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #336666;
|
color: #336666;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tableaux
|
* Tableaux
|
||||||
@ -696,10 +703,6 @@ td.valid {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.small {
|
|
||||||
font-size: 0.8em;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Formulaire confirmation (AJAX) */
|
/* Formulaire confirmation (AJAX) */
|
||||||
|
|||||||
@ -48,6 +48,8 @@ if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If languag
|
|||||||
$langs->load("main",0,1);
|
$langs->load("main",0,1);
|
||||||
$right=($langs->direction=='rtl'?'left':'right');
|
$right=($langs->direction=='rtl'?'left':'right');
|
||||||
$left=($langs->direction=='rtl'?'right':'left');
|
$left=($langs->direction=='rtl'?'right':'left');
|
||||||
|
$fontsize=empty($conf->browser->phone)?'12':'9';
|
||||||
|
$fontsizesmaller=empty($conf->browser->phone)?'11':'9';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
@ -61,7 +63,7 @@ body {
|
|||||||
background: #f9f9f9 url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/headbg.jpg' ?>) 0 0 no-repeat;
|
background: #f9f9f9 url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/headbg.jpg' ?>) 0 0 no-repeat;
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
color: #101010;
|
color: #101010;
|
||||||
font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
|
font-size: <?php print $fontsize ?>px;
|
||||||
font-family: arial,tahoma,verdana,helvetica;
|
font-family: arial,tahoma,verdana,helvetica;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
@ -76,7 +78,7 @@ a:active { font-family: helvetica, verdana, arial, sans-serif; font-weight: bol
|
|||||||
a:hover { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; color: #000000; text-decoration: none; }
|
a:hover { font-family: helvetica, verdana, arial, sans-serif; font-weight: bold; color: #000000; text-decoration: none; }
|
||||||
input
|
input
|
||||||
{
|
{
|
||||||
font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
|
font-size: <?php print $fontsize ?>px;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
background: #FDFDFD;
|
background: #FDFDFD;
|
||||||
border: 1px solid #ACBCBB;
|
border: 1px solid #ACBCBB;
|
||||||
@ -85,7 +87,7 @@ input
|
|||||||
}
|
}
|
||||||
input.flat
|
input.flat
|
||||||
{
|
{
|
||||||
font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
|
font-size: <?php print $fontsize ?>px;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
background: #FDFDFD;
|
background: #FDFDFD;
|
||||||
border: 1px solid #ACBCBB;
|
border: 1px solid #ACBCBB;
|
||||||
@ -93,7 +95,7 @@ input.flat
|
|||||||
margin: 0px 0px 0px 0px;
|
margin: 0px 0px 0px 0px;
|
||||||
}
|
}
|
||||||
textarea {
|
textarea {
|
||||||
font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
|
font-size: <?php print $fontsize ?>px;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
background: #FDFDFD;
|
background: #FDFDFD;
|
||||||
border: 1px solid #ACBCBB;
|
border: 1px solid #ACBCBB;
|
||||||
@ -102,7 +104,7 @@ textarea {
|
|||||||
}
|
}
|
||||||
textarea.flat
|
textarea.flat
|
||||||
{
|
{
|
||||||
font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
|
font-size: <?php print $fontsize ?>px;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
background: #FDFDFD;
|
background: #FDFDFD;
|
||||||
border: 1px solid #ACBCBB;
|
border: 1px solid #ACBCBB;
|
||||||
@ -111,7 +113,7 @@ textarea.flat
|
|||||||
}
|
}
|
||||||
select.flat
|
select.flat
|
||||||
{
|
{
|
||||||
font-size: <?php print empty($conf->browser->phone)?'12':'9'; ?>px;
|
font-size: <?php print $fontsize ?>px;
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
border: 1px solid #ACBCBB;
|
border: 1px solid #ACBCBB;
|
||||||
@ -402,22 +404,22 @@ img.printer
|
|||||||
}
|
}
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
a.vmenu:link { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
a.vmenu:link { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
||||||
a.vmenu:visited { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
a.vmenu:visited { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
||||||
a.vmenu:active { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
a.vmenu:active { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
||||||
a.vmenu:hover { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
a.vmenu:hover { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; }
|
||||||
font.vmenudisabled { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
|
font.vmenudisabled { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: bold; color: #93a5aa; }
|
||||||
|
|
||||||
a.vsmenu:link { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
a.vsmenu:link { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
||||||
a.vsmenu:visited { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
a.vsmenu:visited { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
||||||
a.vsmenu:active { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
a.vsmenu:active { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
||||||
a.vsmenu:hover { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
a.vsmenu:hover { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #202020; margin: 1px 1px 1px 6px; }
|
||||||
font.vsmenudisabled { font-size:<?php print empty($conf->browser->phone)?'12':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; margin: 1px 1px 1px 6px; }
|
font.vsmenudisabled { font-size:<?php print $fontsize ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; color: #93a5aa; margin: 1px 1px 1px 6px; }
|
||||||
|
|
||||||
a.help:link { font-size:<?php print empty($conf->browser->phone)?'11':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
a.help:link { font-size:<?php print $fontsizesmaller ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
||||||
a.help:visited { font-size:<?php print empty($conf->browser->phone)?'11':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
a.help:visited { font-size:<?php print $fontsizesmaller ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
||||||
a.help:active { font-size:<?php print empty($conf->browser->phone)?'11':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
a.help:active { font-size:<?php print $fontsizesmaller ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
||||||
a.help:hover { font-size:<?php print empty($conf->browser->phone)?'11':'9'; ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
a.help:hover { font-size:<?php print $fontsizesmaller ?>px; font-family: helvetica, verdana, arial, sans-serif; text-align: <?php print $left; ?>; font-weight: normal; }
|
||||||
|
|
||||||
|
|
||||||
div.blockvmenupair
|
div.blockvmenupair
|
||||||
@ -981,19 +983,20 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
td.small {
|
/*
|
||||||
font-size: <?php print empty($conf->browser->phone)?'10':'9'; ?>px;
|
* Other
|
||||||
|
*/
|
||||||
|
|
||||||
|
#pictotitle {
|
||||||
|
<?php print !empty($conf->browser->phone)?'display: none;':''; ?>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Lignes titre espace
|
|
||||||
*/
|
|
||||||
div.titre {
|
div.titre {
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #336666;
|
color: #336666;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
|
|||||||
@ -716,8 +716,13 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Lignes titre espace
|
* Other
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pictotitle {
|
||||||
|
<?php print !empty($conf->browser->phone)?'display: none;':''; ?>
|
||||||
|
}
|
||||||
|
|
||||||
div.titre {
|
div.titre {
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -726,6 +731,7 @@ div.titre {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
input.liste_titre {
|
input.liste_titre {
|
||||||
background: #777799;
|
background: #777799;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
@ -819,9 +825,6 @@ td.delete {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.small {
|
|
||||||
font-size: <?php print empty($conf->browser->phone)?'10':'9'; ?>px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
|
|||||||
@ -642,13 +642,20 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ???
|
* Other
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pictotitle {
|
||||||
|
<?php print !empty($conf->browser->phone)?'display: none;':''; ?>
|
||||||
|
}
|
||||||
|
|
||||||
div.titre {
|
div.titre {
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #666633;
|
color: #666633;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tableaux
|
* Tableaux
|
||||||
@ -766,10 +773,6 @@ td.valid {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.small {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Formulaire confirmation (HTML) */
|
/* Formulaire confirmation (HTML) */
|
||||||
|
|||||||
@ -706,13 +706,20 @@ a.impayee:hover { font-weight: bold; color: #550000; }
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ???
|
* Other
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#pictotitle {
|
||||||
|
<?php print !empty($conf->browser->phone)?'display: none;':''; ?>
|
||||||
|
}
|
||||||
|
|
||||||
div.titre {
|
div.titre {
|
||||||
font-family: helvetica, verdana, arial, sans-serif;
|
font-family: helvetica, verdana, arial, sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #666633;
|
color: #666633;
|
||||||
text-decoration: none }
|
text-decoration: none
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Tableaux
|
* Tableaux
|
||||||
@ -811,10 +818,6 @@ td.delete {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
td.small {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
/* Formulaire confirmation (HTML) */
|
/* Formulaire confirmation (HTML) */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user