Fix css demo

This commit is contained in:
Laurent Destailleur 2019-09-16 11:16:58 +02:00
parent f5dd4f4f9e
commit abee6dceaa
2 changed files with 4 additions and 3 deletions

View File

@ -28,8 +28,9 @@ a:hover {
/*border: 1px solid #bbb;
border-radius: 8px;
-moz-border-radius: 8px;*/
background: -webkit-linear-gradient(bottom, rgb(255,255,255) 85%, rgb(255,255,255) 100%);
max-width: 346px;
}
.csscolumns {
margin-top: 6px;
@ -99,7 +100,7 @@ img.demothumb {
width: 110px;
}
.demobackground {
background-image: linear-gradient(to bottom, rgba(250,250,255,0.7), rgba(250,250,255,0.4)), url('dolibarr_demo_ban.jpg');
background-image: linear-gradient(to bottom, rgba(250,250,255,0.5), rgba(250,250,255,0.4)), url('dolibarr_demo_ban.jpg');
background-size: cover;
object-fit: contain;
height: 140px;

View File

@ -336,7 +336,7 @@ foreach ($demoprofiles as $profilearray)
print '<input type="hidden" name="dol_no_mouse_hover" value="'.$conf->dol_no_mouse_hover.'">'."\n";
print '<input type="hidden" name="dol_use_jmobile" value="'.$conf->dol_use_jmobile.'">'."\n";
print '<div id="div'.$profilearray['key'].'" summary="Dolibarr online demonstration for profile '.$profilearray['label'].'" class="center inline-block CTable CTableRow'.($i%2==0?'1':'0').'" style="width: 346px;">'."\n";
print '<div id="div'.$profilearray['key'].'" summary="Dolibarr online demonstration for profile '.$profilearray['label'].'" class="center inline-block CTable CTableRow'.($i%2==0?'1':'0').'">'."\n";
print '<div id="a1'.$profilearray['key'].'" class="demobox '.(empty($profilearray['url'])?'modulelineshow cursorpointer':'nomodulelines').'">';