Experiment flip-flap left menu with theme eldy when using iphone
This commit is contained in:
parent
da649b41f4
commit
237916663d
@ -228,12 +228,12 @@ div.fichecenter {
|
|||||||
div.fichethirdleft {
|
div.fichethirdleft {
|
||||||
<?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
|
<?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
|
||||||
<?php if (empty($conf->browser->phone)) { print "width: 35%;\n"; } ?>
|
<?php if (empty($conf->browser->phone)) { print "width: 35%;\n"; } ?>
|
||||||
<?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px;\n"; } ?>
|
<?php if (! empty($conf->browser->phone)) { print "padding-bottom: 4px;\n"; } ?>
|
||||||
}
|
}
|
||||||
div.fichetwothirdright {
|
div.fichetwothirdright {
|
||||||
<?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
|
<?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
|
||||||
<?php if (empty($conf->browser->phone)) { print "width: 65%;\n"; } ?>
|
<?php if (empty($conf->browser->phone)) { print "width: 65%;\n"; } ?>
|
||||||
<?php if (! empty($conf->browser->phone)) { print "padding-bottom: 6px\n"; } ?>
|
<?php if (! empty($conf->browser->phone)) { print "padding-bottom: 4px\n"; } ?>
|
||||||
}
|
}
|
||||||
div.fichehalfleft {
|
div.fichehalfleft {
|
||||||
<?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
|
<?php if (empty($conf->browser->phone)) { print "float: ".$left.";\n"; } ?>
|
||||||
@ -778,9 +778,6 @@ td.photo {
|
|||||||
.ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
|
.ui-layout-resizer-dragging-limit { /* CLONED resizer at min or max size-limit */
|
||||||
background: #E1A4A4; /* red */
|
background: #E1A4A4; /* red */
|
||||||
}
|
}
|
||||||
.ui-layout-resizer-closed {
|
|
||||||
background-color: #DDDDDD;
|
|
||||||
}
|
|
||||||
.ui-layout-resizer-closed:hover {
|
.ui-layout-resizer-closed:hover {
|
||||||
background-color: #EEDDDD;
|
background-color: #EEDDDD;
|
||||||
}
|
}
|
||||||
@ -794,35 +791,30 @@ td.photo {
|
|||||||
}
|
}
|
||||||
/* sliding resizer - add 'outside-border' to resizer on-hover */
|
/* sliding resizer - add 'outside-border' to resizer on-hover */
|
||||||
/* this sample illustrates how to target specific panes and states */
|
/* this sample illustrates how to target specific panes and states */
|
||||||
/*.ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
|
.ui-layout-resizer-north-sliding-hover { border-bottom-width: 1px; }
|
||||||
.ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
|
.ui-layout-resizer-south-sliding-hover { border-top-width: 1px; }
|
||||||
.ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
|
.ui-layout-resizer-west-sliding-hover { border-right-width: 1px; }
|
||||||
.ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
|
.ui-layout-resizer-east-sliding-hover { border-left-width: 1px; }
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* TOGGLER-BUTTONS
|
* TOGGLER-BUTTONS
|
||||||
*/
|
*/
|
||||||
.ui-layout-toggler {
|
.ui-layout-toggler {
|
||||||
<?php if (empty($conf->browser->phone)) { ?>
|
|
||||||
border-top: 1px solid #AAA; /* match pane-border */
|
border-top: 1px solid #AAA; /* match pane-border */
|
||||||
border-right: 1px solid #AAA; /* match pane-border */
|
border-right: 1px solid #AAA; /* match pane-border */
|
||||||
border-bottom: 1px solid #AAA; /* match pane-border */
|
border-bottom: 1px solid #AAA; /* match pane-border */
|
||||||
background-color: #DDD;
|
background-color: #DDD;
|
||||||
top: 5px !important;
|
top: 5px !important;
|
||||||
<?php } else { ?>
|
}
|
||||||
diplay: none;
|
|
||||||
<?php } ?>
|
|
||||||
}
|
|
||||||
.ui-layout-toggler-open {
|
.ui-layout-toggler-open {
|
||||||
height: 54px !important;
|
height: 48px !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;
|
||||||
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':'1'); ?>px !important;
|
height: 48px !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;
|
||||||
|
|||||||
@ -821,10 +821,9 @@ if (($action == 'create') || ($action == 'adduserldap'))
|
|||||||
print "<tr>".'<td valign="top">'.$langs->trans("PassPenix").'</td>';
|
print "<tr>".'<td valign="top">'.$langs->trans("PassPenix").'</td>';
|
||||||
print '<td><input size="30" type="text" name="phenix_pass" value="'.$_POST["phenix_pass"].'"></td></tr>';
|
print '<td><input size="30" type="text" name="phenix_pass" value="'.$_POST["phenix_pass"].'"></td></tr>';
|
||||||
}
|
}
|
||||||
print "</table>\n";
|
|
||||||
|
|
||||||
print '<center><br><input class="button" value="'.$langs->trans("CreateUser").'" name="create" type="submit"></center>';
|
|
||||||
|
|
||||||
|
print "<tr>".'<td align="center" colspan="2"><input class="button" value="'.$langs->trans("CreateUser").'" type="submit"></td></tr>';
|
||||||
|
print "</table>\n";
|
||||||
print "</form>";
|
print "</form>";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2005-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
@ -185,8 +185,9 @@ if ($_GET["action"] == 'edit')
|
|||||||
|
|
||||||
print '</table><br>';
|
print '</table><br>';
|
||||||
|
|
||||||
|
|
||||||
// Theme
|
// Theme
|
||||||
show_theme($fuser,(($user->admin || empty($dolibarr_main_demo))?1:0),true);
|
show_theme($fuser,empty($dolibarr_main_demo)?1:0,true);
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
@ -234,7 +235,7 @@ else
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="tabsAction">';
|
print '<div class="tabsAction">';
|
||||||
if (empty($user->admin) && ! empty($dolibarr_main_demo))
|
if (! empty($dolibarr_main_demo))
|
||||||
{
|
{
|
||||||
print "<a class=\"butActionRefused\" title=\"".$langs->trans("FeatureDisabledInDemo")."\" href=\"#\">".$langs->trans("Modify")."</a>";
|
print "<a class=\"butActionRefused\" title=\"".$langs->trans("FeatureDisabledInDemo")."\" href=\"#\">".$langs->trans("Modify")."</a>";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user