Add shadow style
This commit is contained in:
parent
bb35d9be0c
commit
ca256a6635
@ -345,7 +345,7 @@ function dolSaveReadme($file, $content)
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Show list of themes. Show all thumbs of themes
|
* Show list of themes. Show all thumbs of themes/skins
|
||||||
*
|
*
|
||||||
* @param Website $website Object website to load the tempalte into
|
* @param Website $website Object website to load the tempalte into
|
||||||
* @return void
|
* @return void
|
||||||
@ -421,7 +421,7 @@ function showWebsiteTemplates(Website $website)
|
|||||||
$url=DOL_URL_ROOT.'/viewimage.php?modulepart=doctemplateswebsite&file='.$subdirwithoutzip.".jpg";
|
$url=DOL_URL_ROOT.'/viewimage.php?modulepart=doctemplateswebsite&file='.$subdirwithoutzip.".jpg";
|
||||||
|
|
||||||
if (! file_exists($file)) $url=DOL_URL_ROOT.'/public/theme/common/nophoto.png';
|
if (! file_exists($file)) $url=DOL_URL_ROOT.'/public/theme/common/nophoto.png';
|
||||||
print '<img src="'.$url.'" border="0" width="80" height="60" alt="'.$title.'" title="'.$title.'" style="margin-bottom: 5px;">';
|
print '<img class="websiteskinthumb shadow" src="'.$url.'" border="0" width="80" height="60" alt="'.$title.'" title="'.$title.'" style="margin-bottom: 5px;">';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print $subdir.' ('.dol_print_size(dol_filesize($dirtheme."/".$subdir), 1, 1).')';
|
print $subdir.' ('.dol_print_size(dol_filesize($dirtheme."/".$subdir), 1, 1).')';
|
||||||
print '<br><a href="'.$_SERVER["PHP_SELF"].'?action=importsiteconfirm&website='.$website->ref.'&templateuserfile='.$subdir.'" class="button">'.$langs->trans("Load").'</a>';
|
print '<br><a href="'.$_SERVER["PHP_SELF"].'?action=importsiteconfirm&website='.$website->ref.'&templateuserfile='.$subdir.'" class="button">'.$langs->trans("Load").'</a>';
|
||||||
|
|||||||
@ -3020,11 +3020,15 @@ table.noborder.paymenttable {
|
|||||||
height: 22px;
|
height: 22px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Disable shadows */
|
/* Disable-Enable shadows */
|
||||||
.noshadow {
|
.noshadow {
|
||||||
-webkit-box-shadow: 0px 0px 0px #DDD !important;
|
-webkit-box-shadow: 0px 0px 0px #DDD !important;
|
||||||
box-shadow: 0px 0px 0px #DDD !important;
|
box-shadow: 0px 0px 0px #DDD !important;
|
||||||
}
|
}
|
||||||
|
.shadow {
|
||||||
|
-webkit-box-shadow: 2px 2px 5px #CCC !important;
|
||||||
|
box-shadow: 2px 2px 5px #CCC !important;
|
||||||
|
}
|
||||||
|
|
||||||
div.tabBar .noborder {
|
div.tabBar .noborder {
|
||||||
-webkit-box-shadow: 0px 0px 0px #DDD !important;
|
-webkit-box-shadow: 0px 0px 0px #DDD !important;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user