aboutsummaryrefslogtreecommitdiff
path: root/mod/categories
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-13 12:26:32 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-13 12:26:32 +0000
commit0f15382843a749b3482722493ec74fba5d38e6e8 (patch)
treed8f1ef86516ebb3cebcc6f7dfa7a2b1511040c1c /mod/categories
parentffee3ca681dc177415f6fe91b05539df7c865228 (diff)
downloadelgg-0f15382843a749b3482722493ec74fba5d38e6e8.tar.gz
elgg-0f15382843a749b3482722493ec74fba5d38e6e8.tar.bz2
categories are listed horizontally
git-svn-id: http://code.elgg.org/elgg/trunk@8198 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/categories')
-rw-r--r--mod/categories/views/default/categories/css.php51
-rw-r--r--mod/categories/views/default/input/categories.php3
2 files changed, 4 insertions, 50 deletions
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',
));
?>