Can edit style if admin even if demo
This commit is contained in:
parent
fb5e7a857b
commit
8f5ec4f894
@ -640,10 +640,8 @@ if (! defined('NOLOGIN'))
|
|||||||
$conf->theme=$user->conf->MAIN_THEME;
|
$conf->theme=$user->conf->MAIN_THEME;
|
||||||
$conf->css = "/theme/".$conf->theme."/style.css.php";
|
$conf->css = "/theme/".$conf->theme."/style.css.php";
|
||||||
}
|
}
|
||||||
|
// If theme support flip-hide left menu and we use a smartphone, we force it
|
||||||
// If theme support optim like flip-hide left menu and we use a smartphone, we force it
|
if ($conf->browser->phone && $conf->theme == 'eldy') $conf->global->MAIN_MENU_USE_JQUERY_LAYOUT='forced';
|
||||||
if (! empty($conf->global->MAIN_SMARTPHONE_OPTIM) && $conf->browser->phone && $conf->theme == 'eldy') $conf->global->MAIN_MENU_USE_JQUERY_LAYOUT='forced';
|
|
||||||
|
|
||||||
// Set javascript option
|
// Set javascript option
|
||||||
if (! GETPOST('nojs')) // If javascript was not disabled on URL
|
if (! GETPOST('nojs')) // If javascript was not disabled on URL
|
||||||
{
|
{
|
||||||
|
|||||||
@ -217,8 +217,8 @@ td.showDragHandle {
|
|||||||
/* ============================================================================== */
|
/* ============================================================================== */
|
||||||
|
|
||||||
div.fiche {
|
div.fiche {
|
||||||
margin-<?php print $left; ?>: <?php print (empty($conf->browser->phone) || empty($conf->global->MAIN_SMARTPHONE_OPTIM))?'10':'24'; ?>px;
|
margin-<?php print $left; ?>: <?php print empty($conf->browser->phone)?'10':'24'; ?>px;
|
||||||
margin-<?php print $right; ?>: <?php print empty($conf->browser->phone)?'8':'6'; ?>px;
|
margin-<?php print $right; ?>: <?php print empty($conf->browser->phone)?'8':''; ?>px;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.fichecenter {
|
div.fichecenter {
|
||||||
@ -822,7 +822,7 @@ td.photo {
|
|||||||
border-radius:0px 10px 10px 0px;
|
border-radius:0px 10px 10px 0px;
|
||||||
}
|
}
|
||||||
.ui-layout-toggler-closed {
|
.ui-layout-toggler-closed {
|
||||||
height: <?php echo (empty($conf->browser->phone)?'54':'2'); ?>px !important;
|
height: <?php echo (empty($conf->browser->phone)?'54':'1'); ?>px !important;
|
||||||
width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
|
width: <?php echo (empty($conf->browser->phone)?'7':'22'); ?>px !important;
|
||||||
-moz-border-radius:0px 10px 10px 0px;
|
-moz-border-radius:0px 10px 10px 0px;
|
||||||
-webkit-border-radius:0px 10px 10px 0px;
|
-webkit-border-radius:0px 10px 10px 0px;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user