From a64423166c96ba90bddf964959556fa51eb12424 Mon Sep 17 00:00:00 2001 From: "shaver%mozilla.org" Date: Tue, 24 Oct 2006 08:29:55 +0000 Subject: [PATCH] Improve category-list appearance. --- .../public/htdocs/css/rustico/addons-rustico.css | 14 ++++++++++++++ webtools/addons/public/tpl/extensions.tpl | 8 ++++---- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/webtools/addons/public/htdocs/css/rustico/addons-rustico.css b/webtools/addons/public/htdocs/css/rustico/addons-rustico.css index b2b5fed3981..956f5ddf681 100644 --- a/webtools/addons/public/htdocs/css/rustico/addons-rustico.css +++ b/webtools/addons/public/htdocs/css/rustico/addons-rustico.css @@ -414,10 +414,24 @@ p.install-button { font-weight: bold; } +.category-list { + padding-left: 3em; + text-align: center; + font-weight: bold; + font-size: 90%; +} + +.category-list td, .compact-list td { font-size: inherit; } +.category-list td { + padding: 0 1.5em 0 1.5em; +} + +.category-list a:link, +.category-list a:visited, .compact-list a:link, .compact-list a:visited { text-decoration: none; diff --git a/webtools/addons/public/tpl/extensions.tpl b/webtools/addons/public/tpl/extensions.tpl index 9ba0b26723d..f7764f704e0 100644 --- a/webtools/addons/public/tpl/extensions.tpl +++ b/webtools/addons/public/tpl/extensions.tpl @@ -5,15 +5,15 @@ Firefox, from a simple toolbar button to a completely new feature. They allow you to customize Firefox to fit your own needs and preferences, while letting us keep Firefox itself light and lean.

-
+

Browse Extensions by Category

- +
{foreach name=cats key=id item=name from=$cats} -{if $smarty.foreach.cats.index % 4 eq 0} +{if $smarty.foreach.cats.index % 3 eq 0} {/if} -{if $smarty.foreach.cats.index % 4 eq 3} +{if $smarty.foreach.cats.index % 3 eq 2} {/if} {/foreach}
{$name}