diff options
| author | 2012-10-30 22:09:53 +0100 | |
|---|---|---|
| committer | 2012-10-30 22:09:53 +0100 | |
| commit | 3a8a6d2d56c468af924936a80e110727bc503594 (patch) | |
| tree | 827a066df9d9ebdee64d703c94698f76853b3cdb | |
| parent | 2f1a8c3d74f99ca80a13d7bc90251fa7285007d6 (diff) | |
petite correction du menu de gauche
| -rw-r--r-- | app/layout/aside.phtml | 8 | ||||
| -rw-r--r-- | public/theme/base.css | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app/layout/aside.phtml b/app/layout/aside.phtml index 73f797850..7f33bff2f 100644 --- a/app/layout/aside.phtml +++ b/app/layout/aside.phtml @@ -32,8 +32,10 @@ <?php } ?> </li> <?php } ?> - - <?php if (isset ($this->cat_aside)) { ?> + </ul> + + <?php if (isset ($this->cat_aside)) { ?> + <ul id="categories"> <li class="all<?php echo !$this->get ? ' active' : ''; ?>"><a href="<?php echo Url::display (array ()); ?>">Tous <span><?php echo $this->nb_total; ?> article<?php echo $this->nb_total > 1 ? 's' : ''; ?></span></a></li> <li class="favorites<?php echo $this->get == 'favoris' ? ' active' : ''; ?>"><a href="<?php echo Url::display (array ('params' => array ('get' => 'favoris'))); ?>">Favoris <span><?php echo $this->nb_favorites; ?> article<?php echo $this->nb_favorites > 1 ? 's' : ''; ?></span></a></li> @@ -41,6 +43,6 @@ <?php foreach ($this->cat_aside as $cat) { ?> <li class="category<?php echo $this->get == $cat->id () ? ' active' : ''; ?>"><a href="<?php echo Url::display (array ('params' => array ('get' => $cat->id ()))); ?>"><?php echo $cat->name (); ?> <span><?php echo $cat->nbFeed (); ?> flux</span></a></li> <?php } ?> - <?php } ?> </ul> + <?php } ?> </div> diff --git a/public/theme/base.css b/public/theme/base.css index 12dff63cd..4e06670c2 100644 --- a/public/theme/base.css +++ b/public/theme/base.css @@ -180,13 +180,11 @@ form { #main_aside { position: fixed; } - #menu { - height: 92%; + #categories { + height: 69%; overflow: auto; + border-top: 1px solid #aaa; } - #menu li.all { - border-top: 1px solid #aaa; - } #main { display: table-cell; height: 100%; |
