diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-26 10:27:13 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-26 10:27:13 +0000 |
| commit | 98ee16ca49c70d12225677999b7534744d13f168 (patch) | |
| tree | 644a2449f249586382b20449fecac5389c71e860 /themes/default/css | |
| parent | e1f39ac13f587c6c6fbf5c5ab522b8422f992366 (diff) | |
Simplify tags code some more:
1) change buckets to be 1-7 not 0-6.. zero-based indicies don't make sense in the
real world and are liable to confuse themers.
2) Change tag API to popular_tags($count) which just returns the popular tags. Let
the block code massage it into the right format for the view.
3) Move alphasort into the block code, simplify it and rename it to sort_by_name so
that it's more descriptive
4) Do the bucketing in the view; this allows the themer to override it and create their
own bucketing algorithm to go with the theme's CSS.
5) Don't create any temporary objects.
Diffstat (limited to 'themes/default/css')
| -rw-r--r-- | themes/default/css/screen.css | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 52ad3fd9..492e0929 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -357,43 +357,43 @@ table.gMetadata td.toggle { display: none; } -#gTag ul li.size0 { +#gTag ul li.size1 { color: #9cf; font-size: 80%; font-weight: 100; } -#gTag ul li.size1 { +#gTag ul li.size2 { color: #69f; font-size: 90%; font-weight: 300; } -#gTag ul li.size2 { +#gTag ul li.size3 { color: #69c; font-size: 100%; font-weight: 500; } -#gTag ul li.size3 { +#gTag ul li.size4 { color: #369; font-size: 110%; font-weight: 700; } -#gTag ul li.size4 { +#gTag ul li.size5 { color: #0e2b52; font-size: 120%; font-weight: 900; } -#gTag ul li.size5 { +#gTag ul li.size6 { color: #0e2b52; font-size: 130%; font-weight: 900; } -#gTag ul li.size6 { +#gTag ul li.size7 { color: #0e2b52; font-size: 140%; font-weight: 900; @@ -406,7 +406,6 @@ table.gMetadata td.toggle { #gTag form { margin-top: 10px; -} /* Tags ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ |
