From e9e589e5ebb54d016f1e52d4ba776970456e39b6 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 25 Nov 2008 18:54:04 +0000 Subject: Display tag block using data from the database --- modules/tag/helpers/tag_block.php | 1 + modules/tag/views/tag_block.html.php | 41 ++++++------------------------------ themes/default/css/screen.css | 33 +++++++++++++++++++++-------- 3 files changed, 31 insertions(+), 44 deletions(-) diff --git a/modules/tag/helpers/tag_block.php b/modules/tag/helpers/tag_block.php index 0ade0acf..629008b6 100644 --- a/modules/tag/helpers/tag_block.php +++ b/modules/tag/helpers/tag_block.php @@ -24,6 +24,7 @@ class tag_block_Core { $block->id = "gTag"; $block->title = _("Tags"); $block->content = new View("tag_block.html"); + $block->content->tag_list = tag::load_buckets(); return $block; } } \ No newline at end of file diff --git a/modules/tag/views/tag_block.html.php b/modules/tag/views/tag_block.html.php index f23874ff..68ae48d5 100644 --- a/modules/tag/views/tag_block.html.php +++ b/modules/tag/views/tag_block.html.php @@ -1,40 +1,11 @@
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css index 26afd84f..52ad3fd9 100644 --- a/themes/default/css/screen.css +++ b/themes/default/css/screen.css @@ -353,32 +353,47 @@ table.gMetadata td.toggle { #gTag ul li a { text-decoration: none; } +#gTag ul li span { + display: none; +} -#gTag ul li a.size0 { +#gTag ul li.size0 { color: #9cf; - font-size: 100%; + font-size: 80%; font-weight: 100; } -#gTag ul li a.size1 { +#gTag ul li.size1 { color: #69f; - font-size: 110%; + font-size: 90%; font-weight: 300; } -#gTag ul li a.size2 { +#gTag ul li.size2 { color: #69c; - font-size: 120%; + font-size: 100%; font-weight: 500; } -#gTag ul li a.size3 { +#gTag ul li.size3 { color: #369; - font-size: 130%; + font-size: 110%; font-weight: 700; } -#gTag ul li a.size4 { +#gTag ul li.size4 { + color: #0e2b52; + font-size: 120%; + font-weight: 900; +} + +#gTag ul li.size5 { + color: #0e2b52; + font-size: 130%; + font-weight: 900; +} + +#gTag ul li.size6 { color: #0e2b52; font-size: 140%; font-weight: 900; -- cgit v1.2.3