From b4bacc2247a2196bc6916b80df9ce609e0cc6bd5 Mon Sep 17 00:00:00 2001 From: Matt Claypotch Date: Tue, 16 Aug 2011 17:00:48 -0700 Subject: [PATCH] style no-results message (bug 672658) --- apps/addons/templates/addons/impala/listing/items.html | 2 ++ media/css/impala/listing.less | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/apps/addons/templates/addons/impala/listing/items.html b/apps/addons/templates/addons/impala/listing/items.html index 33fdd349fa..d71e334235 100644 --- a/apps/addons/templates/addons/impala/listing/items.html +++ b/apps/addons/templates/addons/impala/listing/items.html @@ -53,5 +53,7 @@ {{ install_button(addon, impala=True, collection=collection) }} + {% else %} + {% include 'search/no_results.html' %} {% endfor %} {% endcache %} diff --git a/media/css/impala/listing.less b/media/css/impala/listing.less index de21b29d2c..2b98b5742d 100644 --- a/media/css/impala/listing.less +++ b/media/css/impala/listing.less @@ -47,6 +47,14 @@ header .feed { } } +.no-results { + text-align: center; + padding: 20px; + box-shadow: 0 1px #fff; + opacity: .5; + font: bold 24px @sans-stack; +} + .listing .item { border-top: 1px dotted @border-blue; color: @note-gray;