From 0f15382843a749b3482722493ec74fba5d38e6e8 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 13 Feb 2011 12:26:32 +0000 Subject: categories are listed horizontally git-svn-id: http://code.elgg.org/elgg/trunk@8198 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/categories/views/default/categories/css.php | 51 +---------------------- mod/categories/views/default/input/categories.php | 3 +- 2 files changed, 4 insertions(+), 50 deletions(-) (limited to 'mod') diff --git a/mod/categories/views/default/categories/css.php b/mod/categories/views/default/categories/css.php index 7944f9dfe..5f38e2867 100644 --- a/mod/categories/views/default/categories/css.php +++ b/mod/categories/views/default/categories/css.php @@ -6,54 +6,7 @@ */ ?> -.categories .elgg-input-checkboxes { - padding:0; - margin:2px 5px 0 0; -} -.categories label { +.categories li label { font-size: 100%; - line-height:1.2em; -} - -#two_column_left_sidebar_maincontent .contentWrapper h2.categoriestitle { - padding: 0 0 3px 0; - margin:0; - font-size:120%; - color:#333333; -} -#two_column_left_sidebar_maincontent .contentWrapper .categories { - border:1px solid #CCCCCC; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - padding:5px; - margin:0 0 15px 0; -} -#two_column_left_sidebar_maincontent .contentWrapper .categories p { - margin:0; -} -#two_column_left_sidebar_maincontent .contentWrapper .blog_post .categories { - border:none; - margin:0; - padding:0; -} - -#two_column_left_sidebar .blog_categories { - background:white; - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - padding:10px; - margin:0 10px 10px 10px; -} -#two_column_left_sidebar .blog_categories h2 { - background:none; - border-top:none; - margin:0; - padding:0 0 5px 0; - font-size:1.25em; - line-height:1.2em; - color:#0054A7; + line-height: 1.2em; } -#two_column_left_sidebar .blog_categories ul { - color:#0054A7; - margin:5px 0 0 0; -} \ No newline at end of file diff --git a/mod/categories/views/default/input/categories.php b/mod/categories/views/default/input/categories.php index 9b7371e4c..dfb8b117f 100644 --- a/mod/categories/views/default/input/categories.php +++ b/mod/categories/views/default/input/categories.php @@ -31,7 +31,8 @@ if (!empty($categories)) { echo elgg_view('input/checkboxes', array( 'options' => $categories, 'value' => $selected_categories, - 'internalname' => 'universal_categories_list' + 'internalname' => 'universal_categories_list', + 'align' => 'horizontal', )); ?> -- cgit v1.2.3