From 27473d6917b736c9a1262126b73094181a5d0b5e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 26 Mar 2015 20:08:19 +0100 Subject: UI improvments --- chimere_example_static/chimere/css/extra-styles.css | 21 ++++++++++++++++++--- templates/chimere/blocks/categories.html | 4 ++-- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/chimere_example_static/chimere/css/extra-styles.css b/chimere_example_static/chimere/css/extra-styles.css index ab994dc..f95f6e9 100644 --- a/chimere_example_static/chimere/css/extra-styles.css +++ b/chimere_example_static/chimere/css/extra-styles.css @@ -135,8 +135,8 @@ label.labelSpan.olButton{ #detail-wrapper{ position:absolute; z-index:5; - right:auto; - left:0; + left:auto; + right:0; bottom:0; top:0; width:400px; @@ -150,9 +150,19 @@ label.labelSpan.olButton{ display:None; } +.category_name{ + font-weight:bold; +} + + +li.main_category > span.category_name:hover{ + cursor:auto; +} + .subcategory label{ - padding: 0.2em 0.5em; + padding: 0 0.5em; border-radius:5px; + font-weight:normal; } .subcategory.selected label{ @@ -168,6 +178,11 @@ label.labelSpan.olButton{ display:none; } +.cat_image{ + display:inline-block; + width:30px; +} + #main-map { height: auto; bottom: 0px; diff --git a/templates/chimere/blocks/categories.html b/templates/chimere/blocks/categories.html index 4e65f1e..9ef4e29 100644 --- a/templates/chimere/blocks/categories.html +++ b/templates/chimere/blocks/categories.html @@ -4,14 +4,14 @@
  • control - {% trans category.name %} + {% trans category.name %}