Menu Icon
This commit is contained in:
parent
cfa0c26de1
commit
f572996df4
@ -14,9 +14,9 @@
|
||||
<?php echo $this->layout()->content?>
|
||||
</div>
|
||||
<?php } else {?>
|
||||
<div class="container" id="global">
|
||||
<div class="container">
|
||||
<?php echo $this->render('menu.phtml')?>
|
||||
<div id="content">
|
||||
<div id="page-wrap">
|
||||
<?php echo $this->layout()->content?>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -7,10 +7,7 @@ class Zend_View_Helper_ProfileLink extends Zend_View_Helper_Abstract
|
||||
$auth = Zend_Auth::getInstance();
|
||||
if ($auth->hasIdentity()) {
|
||||
$username = $auth->getIdentity()->username;
|
||||
$logoutUrl = $this->view->url(array('module'=>'default', 'controller'=>'user', 'action'=>'logout'),
|
||||
'default', true);
|
||||
return '<a href="'.$logoutUrl.'" title="Déconnexion : '.$username.'" class="navbar-link visible-xs visible-sm"><span class="glyphicon glyphicon-off"></span></a>'
|
||||
.'<a href="'.$logoutUrl.'" title="Se déconnecter" class="navbar-link hidden-xs hidden-sm">Déconnexion : '.$username.'</a>';
|
||||
return '<span class="hidden-xs hidden-sm">' . $username . '</span>';
|
||||
}
|
||||
}
|
||||
}
|
@ -13,14 +13,14 @@ body {
|
||||
height: auto !important;
|
||||
height: 100%;
|
||||
/* Negative indent footer by its height */
|
||||
margin: 0 auto -40px;
|
||||
margin: 0 auto -50px;
|
||||
/* Pad bottom by footer height */
|
||||
padding: 0 0 40px;
|
||||
}
|
||||
|
||||
/* Set the fixed height of the footer here */
|
||||
#footer {
|
||||
height: 40px;
|
||||
height: 50px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
@ -28,10 +28,9 @@ body {
|
||||
/* Custom page CSS
|
||||
-------------------------------------------------- */
|
||||
/* Not required for template or sticky footer method. */
|
||||
body { font-size:12px; }
|
||||
|
||||
.container .credit {
|
||||
margin: 12px 0;
|
||||
font-size: 12px;
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
#footer > .container {
|
||||
@ -55,10 +54,25 @@ p.bg-classes {
|
||||
----------------------------------*/
|
||||
body {
|
||||
background-color:#eee;
|
||||
padding-top: 70px;
|
||||
/*padding-bottom: 30px;*/
|
||||
padding-top: 60px;
|
||||
}
|
||||
#global {width:970px; margin:0 auto 5px; text-align:left;}
|
||||
|
||||
#page-wrap {
|
||||
padding: 0 15px;
|
||||
min-height: 568px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
#page-wrap {
|
||||
position: inherit;
|
||||
margin: 0 0 0 250px;
|
||||
padding: 0 30px;
|
||||
border-left: 1px solid #e7e7e7;
|
||||
}
|
||||
}
|
||||
|
||||
#global {width:970px; margin:0 auto 15px; text-align:left;}
|
||||
#content {float:right;width:700px;}
|
||||
#center {background-color:#fff;padding:5px 0;}
|
||||
/*#footer {background-color:#eee;clear:both;text-align:center;margin:15px 0 0 0;}
|
||||
@ -66,11 +80,6 @@ body {
|
||||
#center h1 {clear:both;margin:5px;padding:5px;background:#8f8f8f;color:#ffffff;font-weight:bold;font-size:1.4em;}
|
||||
#center h2 {clear:both; margin:5px; padding:5px;background:#1A5C7D;color:#ffffff;font-weight:bold;font-size:1.2em;}
|
||||
div.paragraph {padding:5px;}
|
||||
/*
|
||||
a:link {color: #9c093a; text-decoration:none;}
|
||||
a:visited {color:#0000CC; text-decoration:none;}
|
||||
a:hover {color:#000066; text-decoration:none;}
|
||||
*/
|
||||
.StyleInfoLib {font-size:12px;font-weight:bold;color:#535353; vertical-align:top;line-height:18px;}
|
||||
.StyleInfoData {font-size:12px;color:#535353;line-height:18px;}
|
||||
.StyleInfoDataActif {font-family: Arial, Helvetica, sans-serif;font-size:11px;line-height:16px;}
|
||||
@ -122,6 +131,9 @@ img {vertical-align:middle;}
|
||||
|
||||
/* Navbar
|
||||
----------------------------------*/
|
||||
.navbar-default .navbar-nav > li > a {
|
||||
color: #337ab7;
|
||||
}
|
||||
.navbar-default .navbar-nav > .open > a.sd-bgblue,
|
||||
.navbar-default .navbar-nav > li > a.sd-bgblue:hover,
|
||||
.navbar-default .navbar-nav > .open > a.sd-bgblue:focus,
|
||||
|
Loading…
Reference in New Issue
Block a user