]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
categories are listed horizontally
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 13 Feb 2011 12:26:32 +0000 (12:26 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Sun, 13 Feb 2011 12:26:32 +0000 (12:26 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8198 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/categories/views/default/categories/css.php
mod/categories/views/default/input/categories.php

index 7944f9dfef6e940a2f9a2f8bff2ca3ec7ac5acb5..5f38e28675d11f3bdf67e9f124ce61fada7a09e0 100644 (file)
@@ -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
index 9b7371e4c45ddea8b7f82b0ae6948d4649d6e805..dfb8b117fbb7635c3669a687368a03cfffa91250 100644 (file)
@@ -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',
                ));
 
        ?>