Skip to content

Commit

Permalink
CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 18, 2017
1 parent bcaccb1 commit 9068475
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions htdocs/theme/eldy/style.css.php
Expand Up @@ -1124,8 +1124,8 @@


div.fiche {
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'6':'26')); ?>px;
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'20':'12')); ?>px;
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:(empty($conf->dol_optimize_smallscreen)?'22':'6')); ?>px;
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:(empty($conf->dol_optimize_smallscreen)?'25':'6')); ?>px;
<?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'."\n"; ?>
<?php if (! empty($conf->dol_hide_leftmenu)) print 'margin-bottom: 12px;'."\n"; ?>
}
Expand Down
8 changes: 4 additions & 4 deletions htdocs/theme/md/style.css.php
Expand Up @@ -1147,8 +1147,8 @@
<?php } ?>

div.fiche {
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:($dol_hide_leftmenu?'4':'20')); ?>px;
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?8:(empty($conf->dol_optimize_smallscreen)?'16':'12')); ?>px;
margin-<?php print $left; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:(empty($conf->dol_optimize_smallscreen)?'24':'6')); ?>px;
margin-<?php print $right; ?>: <?php print (GETPOST('optioncss','aZ09') == 'print'?6:(empty($conf->dol_optimize_smallscreen)?'16':'6')); ?>px;
<?php if (! empty($conf->dol_hide_leftmenu) && ! empty($conf->dol_hide_topmenu)) print 'margin-top: 4px;'; ?>
margin-bottom: 15px;
}
Expand Down Expand Up @@ -3222,8 +3222,8 @@
}
.photointoolitp {
margin-top: 8px;
float: left;
/*text-align: center; */
margin-bottom: 6px;
text-align: center;
}
.photodelete {
margin-top: 6px !important;
Expand Down
4 changes: 3 additions & 1 deletion htdocs/website/index.php
Expand Up @@ -1825,12 +1825,14 @@
if ($action == 'file_manager')
{
print '<!-- Edit Media -->'."\n";
print '<br><br>';
print '<div class="fiche"><br><br>';
//print '<div class="center">'.$langs->trans("FeatureNotYetAvailable").'</center>';

$module = 'medias';
if (empty($url)) $url=DOL_URL_ROOT.'/website/index.php';
include DOL_DOCUMENT_ROOT.'/ecm/tpl/filemanager.tpl.php';

print '</div>';
}

if ($action == 'editmenu')
Expand Down

0 comments on commit 9068475

Please sign in to comment.