From f2dfbb908087bdbb8aef179a96dc03b4507d1f2f Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 12 Mar 2012 04:41:57 +0000 Subject: [PATCH] no background for image-list --- ext/index/style.css | 6 ++++++ ext/index/theme.php | 4 ++-- themes/default/style.css | 6 ------ 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 ext/index/style.css diff --git a/ext/index/style.css b/ext/index/style.css new file mode 100644 index 00000000..024c0da5 --- /dev/null +++ b/ext/index/style.css @@ -0,0 +1,6 @@ + +#image-list .blockbody { + background: none; + border: none; + box-shadow: none; +} diff --git a/ext/index/theme.php b/ext/index/theme.php index 13cdccdd..bb6b1969 100644 --- a/ext/index/theme.php +++ b/ext/index/theme.php @@ -50,11 +50,11 @@ and of course start organising your images :-) $page->add_block(new Block("Navigation", $nav, "left", 0)); if(count($images) > 0) { if($query) { - $page->add_block(new Block("Images", $this->build_table($images, "#search=$query"), "main", 10)); + $page->add_block(new Block("Images", $this->build_table($images, "#search=$query"), "main", 10, "image-list")); $this->display_paginator($page, "post/list/$query", null, $this->page_number, $this->total_pages); } else { - $page->add_block(new Block("Images", $this->build_table($images, null), "main", 10)); + $page->add_block(new Block("Images", $this->build_table($images, null), "main", 10, "image-list")); $this->display_paginator($page, "post/list", null, $this->page_number, $this->total_pages); } } diff --git a/themes/default/style.css b/themes/default/style.css index 74a53e7a..b5381b94 100644 --- a/themes/default/style.css +++ b/themes/default/style.css @@ -179,9 +179,3 @@ ARTICLE TABLE { -webkit-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* webkit haven't committed yet */ -moz-box-shadow: 2px 2px 6px rgba(0,0,0,0.6); /* mozilla haven't committed yet */ } - -#Imagesmain .blockbody { - background: none; - border: none; - box-shadow: none; -}