From ed9de70556d27a3b15ed4a05417ba41140ebe5cc Mon Sep 17 00:00:00 2001 From: Lukasz <lukasz@anwajler.com> Date: Tue, 22 Jun 2010 15:18:16 +0200 Subject: [PATCH 1/1] Facelist design fix. --- wolnelektury/static/css/facelist_2-0.css | 4 ++-- wolnelektury/templates/catalogue/breadcrumbs.html | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wolnelektury/static/css/facelist_2-0.css b/wolnelektury/static/css/facelist_2-0.css index 2e915e475..f723ea5e2 100644 --- a/wolnelektury/static/css/facelist_2-0.css +++ b/wolnelektury/static/css/facelist_2-0.css @@ -1,5 +1,5 @@ .facelist-selections a { - color: white; + color: black; text-decoration: none; } .facelist-selections a:hover { @@ -18,7 +18,7 @@ ul.facelist-selections { box-shadow:inset 0 1px 2px #888; -webkit-box-shadow:inset 0 1px 2px #888; -moz-box-shadow:inset 0 1px 2px #888; - width: 900px; + width: 600px; } ul.facelist-selections.loading { diff --git a/wolnelektury/templates/catalogue/breadcrumbs.html b/wolnelektury/templates/catalogue/breadcrumbs.html index b3441bac5..9213adb9f 100644 --- a/wolnelektury/templates/catalogue/breadcrumbs.html +++ b/wolnelektury/templates/catalogue/breadcrumbs.html @@ -1,7 +1,7 @@ {% load i18n %} {% load catalogue_tags %} <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form" style="float:left;"> - <div style="width: 100%"> + <div style="width: 900px;"> <ul class="facelist-selections" style="float:left;"> {% for tag in tag_list %} <li class="facelist-selection-item"> @@ -10,12 +10,15 @@ <a class="facelist-close" href="{% catalogue_url tag_list -tag %}">x</a> </span> </li> + {% empty %} + <li class="facelist-selection-item"> + </li> {% endfor %} {% if search_form %} <li>{{ search_form.q }} {{ search_form.tags }}</li> {% endif %} </ul> - <input type="submit" value="{% trans "Search" %}" style="float: left; {% if tag_list %}margin-top: 10px; height: 32px;{% else %}margin-top: 10px; {% endif %}"/> + <input type="submit" value="{% trans "Search" %}" style="float: left; margin-top: 10px; height: 33px;"/> </div> </form> <div class="clearboth"></div> -- 2.20.1