From fd5bdaf0bd47260e4a797ff2156036a80d3ac3ee Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Mon, 15 Jul 2013 17:28:00 +0200 Subject: Make real breadcrumbs in the top bar --- .../static/hyperkitty/css/hyperkitty-base.css | 21 +++++++++ hyperkitty/templates/base.html | 53 ++++++++++++++++++---- hyperkitty/views/list.py | 1 + hyperkitty/views/pages.py | 1 + 4 files changed, 67 insertions(+), 9 deletions(-) diff --git a/hyperkitty/static/hyperkitty/css/hyperkitty-base.css b/hyperkitty/static/hyperkitty/css/hyperkitty-base.css index 4455312..85f6cc9 100644 --- a/hyperkitty/static/hyperkitty/css/hyperkitty-base.css +++ b/hyperkitty/static/hyperkitty/css/hyperkitty-base.css @@ -17,3 +17,24 @@ ul.nav.auth { #search-form form { margin-bottom: 0; } + +.navbar .breadcrumb { + padding: 10px 30px; + margin: 0; + float: left; + background-color: transparent; +} +.navbar .breadcrumb > li > a { + color: #777777; + text-decoration: none; + text-shadow: 0 1px 0 #FFFFFF; +} +.navbar .breadcrumb > li > a:focus, +.navbar .breadcrumb > li > a:hover { + color: #333333; + text-decoration: none; + background-color: transparent; +} +.navbar .breadcrumb > li > .divider { + color: #999999; +} diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 48ab126..393bb80 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -52,20 +52,55 @@ {{ app_name|title }} -