Better contrast in thumb of demo page

This commit is contained in:
Laurent Destailleur
2016-03-08 10:03:51 +01:00
parent c007dcc966
commit a6fcab96e3
3 changed files with 17 additions and 1 deletions

View File

@@ -354,7 +354,7 @@ foreach ($demoprofiles as $profilearray)
print '<table summary="Dolibarr online demonstration for profile '.$profilearray['label'].'" style="font-size:14px;" width="100%" class="CTable CTableRow'.($i%2==0?'1':'0').'">'."\n";
// Title
print '<tr>';
print '<td width="132" id="a1'.$profilearray['key'].'" class="'.(empty($profilearray['url'])?'modulelineshow cursorpointer':'nomodulelines').'"><a href="'.$urlwithmod.'" class="'.(empty($profilearray['url'])?'modulelineshow':'nomodulelines').'"><img src="'.$profilearray['icon'].'" width="128" border="0" alt="Demo '.$profilearray['label'].'"></a></td>';
print '<td width="132" id="a1'.$profilearray['key'].'" class="'.(empty($profilearray['url'])?'modulelineshow cursorpointer':'nomodulelines').'"><a href="'.$urlwithmod.'" class="'.(empty($profilearray['url'])?'modulelineshow':'nomodulelines').'"><img class="demothumb" src="'.$profilearray['icon'].'" width="128" border="0" alt="Demo '.$profilearray['label'].'"></a></td>';
print '<td id="a2'.$profilearray['key'].'" class="'.(empty($profilearray['url'])?'modulelineshow cursorpointer':'nomodulelines').'"><a href="'.$urlwithmod.'" class="'.(empty($profilearray['url'])?'modulelineshow':'nomodulelines').'">'.$langs->trans($profilearray['label']).'</a></td>';
print '</tr>'."\n";
// Modules

View File

@@ -4030,6 +4030,12 @@ border-top-right-radius: 6px;
/* For demo pages */
img.demothumb {
box-shadow: 2px 2px 8px #888;
}
/* The theme for public pages */
.public_body {
margin: 20px;
@@ -4040,6 +4046,9 @@ border-top-right-radius: 6px;
/* CSS style used for small screen */
.imgopensurveywizard

View File

@@ -3861,6 +3861,13 @@ border-top-right-radius: 6px;
/* For demo pages */
img.demothumb {
box-shadow: 2px 2px 8px #888;
margin-bottom: 4px;
}
/* The theme for public pages */
.public_body {
margin: 20px;