From 8f1a30ee889e7aaf34ac80ae92cbd04cc5671a10 Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 8 Jan 2014 20:44:25 -0500 Subject: Modification des filtres MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Affichage de l'ensemble des filtres disponibles en tout temps Ajout d'un indicateur de sélection en CSS --- app/layout/nav_menu.phtml | 22 +++++++--------------- p/themes/default/global.css | 6 ++++++ p/themes/default_dark/global.css | 6 ++++++ p/themes/flat-design/global.css | 7 +++++++ 4 files changed, 26 insertions(+), 15 deletions(-) diff --git a/app/layout/nav_menu.phtml b/app/layout/nav_menu.phtml index 566304353..1fabac996 100644 --- a/app/layout/nav_menu.phtml +++ b/app/layout/nav_menu.phtml @@ -130,45 +130,37 @@ state !== 'all') { - $url_state['params']['state'] = 'all'; + $url_state['params']['state'] = 'all'; ?> -
  • +
  • ">
  • state !== 'not_read') { - $url_state['params']['state'] = 'not_read'; + $url_state['params']['state'] = 'not_read'; ?> -
  • +
  • ">
  • state !== 'read') { $url_state['params']['state'] = 'read'; ?> -
  • +
  • ">
  • state != 'favorite') { $url_state['params']['state'] = 'favorite'; ?> -
  • - +
  • "> +
  • -
  • diff --git a/p/themes/default/global.css b/p/themes/default/global.css index 2cc195f90..d3a5cc68c 100644 --- a/p/themes/default/global.css +++ b/p/themes/default/global.css @@ -397,6 +397,12 @@ input, select, textarea { height: 30px; font-size: 90%; line-height: 30px; + } + .dropdown-menu .item.selected{ + background: #0062be; + } + .dropdown-menu .item.selected a{ + color: #fff; } .dropdown-menu .item > * { display: block; diff --git a/p/themes/default_dark/global.css b/p/themes/default_dark/global.css index 40694045a..a9c83d9de 100644 --- a/p/themes/default_dark/global.css +++ b/p/themes/default_dark/global.css @@ -385,6 +385,12 @@ input, select, textarea { height: 30px; font-size: 90%; line-height: 30px; + } + .dropdown-menu .item.selected{ + background: #26303f; + } + .dropdown-menu .item.selected a{ + color: #888; } .dropdown-menu .item > * { display: block; diff --git a/p/themes/flat-design/global.css b/p/themes/flat-design/global.css index c24a9f481..7686b3662 100644 --- a/p/themes/flat-design/global.css +++ b/p/themes/flat-design/global.css @@ -386,6 +386,13 @@ input, select, textarea { height: 30px; font-size: 90%; line-height: 30px; + } + .dropdown-menu .item.selected{ + background: #2980b9; + } + .dropdown-menu .item.selected a{ + background: #2980b9; + color: #fff; } .dropdown-menu .item > * { display: block; -- cgit v1.2.3