2
0
forked from Wavyzz/dolibarr

Enhance CSS

This commit is contained in:
Laurent Destailleur
2015-09-22 16:21:46 +02:00
parent 2ce43dc0d8
commit 72d7671a1e
4 changed files with 23 additions and 11 deletions

View File

@@ -82,7 +82,8 @@ class box_contacts extends ModeleBoxes
$societestatic=new Societe($db); $societestatic=new Societe($db);
$line = 0; $line = 0;
while ($line < $num) { while ($line < $num)
{
$objp = $db->fetch_object($result); $objp = $db->fetch_object($result);
$datec=$db->jdate($objp->datec); $datec=$db->jdate($objp->datec);
$datem=$db->jdate($objp->tms); $datem=$db->jdate($objp->tms);
@@ -92,7 +93,6 @@ class box_contacts extends ModeleBoxes
$contactstatic->firstname=$objp->firstname; $contactstatic->firstname=$objp->firstname;
$contactstatic->civility_id=$objp->civility_id; $contactstatic->civility_id=$objp->civility_id;
$contactstatic->statut=$objp->status; $contactstatic->statut=$objp->status;
$societestatic->id = $objp->fk_soc; $societestatic->id = $objp->fk_soc;
$societestatic->code_client = $objp->code_client; $societestatic->code_client = $objp->code_client;
$societestatic->name = $objp->socname; $societestatic->name = $objp->socname;

View File

@@ -4297,7 +4297,7 @@ function dolGetFirstLastname($firstname,$lastname,$nameorder=-1)
$ret=''; $ret='';
// If order not defined, we use the setup // If order not defined, we use the setup
if ($nameorder < 0) $nameorder=(empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)); if ($nameorder < 0) $nameorder=(empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION));
if ($nameorder && $nameorder != '2') if ($nameorder && ((string) $nameorder != '2'))
{ {
$ret.=$firstname; $ret.=$firstname;
if ($firstname && $lastname) $ret.=' '; if ($firstname && $lastname) $ret.=' ';

View File

@@ -2722,8 +2722,12 @@ table.valid {
border-radius: 4px; border-radius: 4px;
} }
#tiptip_content { #tiptip_content {
background-color: rgb(255,255,255); -moz-border-radius:0px;
background-color: rgba(255,255,255,0.95); -webkit-border-radius: 0px;
border-radius: 0px;
background-color: rgb(255,255,255);
/* background-color: rgb(255,255,255);
background-color: rgba(255,255,255,0.95);*/
line-height: 1.4em; line-height: 1.4em;
min-width: 200px; min-width: 200px;
} }

View File

@@ -691,12 +691,14 @@ div#tmenu_tooltip {
display:none; display:none;
<?php } else { ?> <?php } else { ?>
background: rgb(<?php echo $colorbackhmenu1 ?>); background: rgb(<?php echo $colorbackhmenu1 ?>);
/*
background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%); background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%); background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%); background-image: -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
background-image: -ms-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%); background-image: -ms-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(128,128,128,.3) 100%);
background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(128,128,128,.3)) ); background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, rgba(255,255,255,.3)), color-stop(1, rgba(128,128,128,.3)) );
*/
<?php } ?> <?php } ?>
} }
@@ -2526,14 +2528,20 @@ padding: 2px;
z-index: 3000; z-index: 3000;
background-color: #EFCFAA; background-color: #EFCFAA;
opacity: 1; opacity: 1;
-moz-border-radius:3px; -moz-border-radius:0px;
-webkit-border-radius: 3px; -webkit-border-radius: 0px;
border-radius: 3px; border-radius: 0px;
} }
#tiptip_content { #tiptip_content {
background-color: rgb(252,248,246); -moz-border-radius:0px;
background-color: rgba(252,248,246,0.95); -webkit-border-radius: 0px;
border-radius: 0px;
background-color: rgb(255,255,255);
/* background-color: rgb(252,248,246);
background-color: rgba(252,248,246,0.95);*/
line-height: 1.4em; line-height: 1.4em;
min-width: 200px;
} }
/* ============================================================================== */ /* ============================================================================== */