]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
cleaned up the groups plugin css
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 7 Mar 2011 01:00:13 +0000 (01:00 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Mon, 7 Mar 2011 01:00:13 +0000 (01:00 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8619 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/blog/views/default/blog/group_module.php
mod/bookmarks/views/default/bookmarks/group_module.php
mod/file/views/default/file/group_module.php
mod/groups/views/default/discussion/group_module.php
mod/groups/views/default/forms/groups/delete.php
mod/groups/views/default/groups/css.php
mod/groups/views/default/groups/group_sort_menu.php
mod/groups/views/default/groups/profile/activity_module.php
mod/groups/views/default/groups/profile/profile_block.php
mod/groups/views/default/groups/profile/widgets.php
mod/pages/views/default/pages/group_module.php

index 8c3fc373fd741373d0955b84ce4d6346b993495c..312c89c0cbcaf3c01acf2f6c486b0e10af283535 100644 (file)
@@ -14,7 +14,7 @@ $all_link = elgg_view('output/url', array(
        'text' => elgg_echo('link:view:all'),
 ));
 
-$header = "<span class=\"group-widget-viewall\">$all_link</span>";
+$header = "<span class=\"groups-widget-viewall\">$all_link</span>";
 $header .= '<h3>' . elgg_echo('blog:group') . '</h3>';
 
 
index 94204d7e8b3c9248deb544413b35264c5fbc32d3..202f8778362b603d20584c5d7301429a31966da4 100644 (file)
@@ -16,7 +16,7 @@ $all_link = elgg_view('output/url', array(
        'text' => elgg_echo('link:view:all'),
 ));
 
-$header = "<span class=\"group-widget-viewall\">$all_link</span>";
+$header = "<span class=\"groups-widget-viewall\">$all_link</span>";
 $header .= '<h3>' . elgg_echo('bookmarks:group') . '</h3>';
 
 elgg_push_context('widgets');
index 8c80f297c120b9f0783c155971d82419974c4f0a..c3ca5cf9e2d76a029b356db047802b31170d6891 100644 (file)
@@ -14,7 +14,7 @@ $all_link = elgg_view('output/url', array(
        'text' => elgg_echo('link:view:all'),
 ));
 
-$header = "<span class=\"group-widget-viewall\">$all_link</span>";
+$header = "<span class=\"groups-widget-viewall\">$all_link</span>";
 $header .= '<h3>' . elgg_echo('file:group') . '</h3>';
 
 
index afe47ab68f80e0fa1a57e0220c7f4aef749ab41a..b606579cb41fa6515df1b5930808c634cb50ca27 100644 (file)
@@ -17,7 +17,7 @@ $all_link = elgg_view('output/url', array(
        'text' => elgg_echo('link:view:all'),
 ));
 
-$header = "<span class=\"group-widget-viewall\">$all_link</span>";
+$header = "<span class=\"groups-widget-viewall\">$all_link</span>";
 $header .= '<h3>' . elgg_echo('discussion:group') . '</h3>';
 
 
index 85379a3420e12c71d999b379ade1ff438b53fa45..28c2eb9bf274a1ea444a04b0495a54cd55fa59e7 100644 (file)
@@ -11,7 +11,7 @@ echo elgg_view('input/hidden', array(
 ));
 
 echo elgg_view('input/submit', array(
-       'class' => "elgg-button elgg-button-delete",
+       'class' => "elgg-button elgg-button-delete right",
        'value' => elgg_echo('groups:delete'),
        'onclick' => "return confirm('$warning');",
 ));
index 545f9c9b3e2ad725085b95143600deb514a3a28e..23579fb9036710451aa182686ea1b828e4955ff0 100644 (file)
  */
 
 ?>
-#group_tools_latest > .elgg-module {
-       float: left;
-       margin-bottom: 40px;
-       min-height: 200px;
-       width: 350px;
-}
-
-#group_tools_latest > .elgg-module:nth-child(odd) {
-       margin-right: 30px;
+.groups-profile > .elgg-image {
+       margin-right: 10px;
 }
 
-.group-widget-viewall {
-       float: right;
-       font-size: 85%;
-}
-
-.groups-latest-reply {
-       float: right;
-}
-
-
-/* group listings */
-.group_count {
-       float:right;
-}
-.group_listings {
-       /* wraps group lists on 
-       latest discussion, newest, popular */
-}
-.entity-subtext.groups {
-       float:right;
-       width:300px;
-       text-align: right;
-       margin-left: 10px;
-}
-.topic_post.maintopic {
-       margin:10px 0 0 0;
-       padding-bottom:40px;
-       border-bottom:1px solid #CCCCCC;
-}
-.elgg-image-block.topic .topic_post p {
-       margin:10px 0 5px 0;
-}
-.elgg-image-block.topic:hover {
-       background-color: white;
-}
-
-
-/* group invitations */
-.group_invitations a.elgg-button-action,
-.group_invitations a.elgg-button-submit {
-       float:right;
-       margin:0 0 0 14px;
-}
-
-
-/* GROUPS SIDEBAR ELEMENTS */
-#groupsearchform .search-input {
-       width:196px;
-}
-.featured_group {
-       margin-bottom:15px;
-}
-.featured_group .elgg-user-icon {
-       float:left;
-       margin-right:10px;
-}
-.featured_group p.entity-title {
-       margin-bottom:0;
-}
-.member_icon {
-       margin:6px 6px 0 0;
-       float:left;
-}
-
-
-/* GROUP PROFILE PAGE (individual group homepage) */
-.group_profile_column {
-       float:left;
-       margin-top:10px;
-}
-.group_profile_column.icon {
-       width:200px;
-}
-.group_profile_column.info {
-       width:510px;
-       margin-left:20px;
-}
-.group_profile_icon {
-       width:200px;
-       height:200px;
-}
-.group_stats {
+.groups-stats {
        background: #eeeeee;
-       padding:5px;
-       margin-top:10px;
-       -webkit-border-radius: 5px; 
+       padding: 5px;
+       margin-top: 10px;
+       -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
 }
-.group_stats p {
-       margin:0;
-}
-.group_profile_column .odd,
-.group_profile_column .even {
-       background:#f4f4f4;
-       -webkit-border-radius: 4px; 
+
+.groups-profile-fields .odd,
+.groups-profile-fields .even {
+       background: #f4f4f4;
+       -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
-       padding:2px 4px;
-       margin:0 0 7px;
+       padding: 2px 4px;
+       margin-bottom: 7px;
 }
 
-/* tool content boxes on group profile page */
-#group_tools_latest {
-       min-height: 300px;
-       margin-top:20px;
-}
-.group_tool_widget {
-       float:left;
-       margin-right:30px;
-       margin-bottom:40px;
-       min-height:200px;
-       width:350px;
-}
-.group_tool_widget.odd {
-       margin-right:0;
-}
-.group_tool_widget h3 {
-       border-bottom:1px solid #CCCCCC;        
-       background:#e4e4e4;
-       color:#333333;
-       padding:5px 5px 3px 5px;
-       -moz-border-radius-topleft:4px;
-       -moz-border-radius-topright:4px;
-       -webkit-border-top-left-radius:4px;
-       -webkit-border-top-right-radius:4px;
+#groups-tools > .elgg-module {
+       float: left;
+       margin-bottom: 40px;
+       min-height: 200px;
+       width: 350px;
 }
 
-/* group activity latest
-       (hide some items used on the full riverdashboard activity) 
-       @todo provide a separate view for a groups latest activity
-       - so we can have tiny avatars and not have to manually hide elements
-*/
-.group_tool_widget.activity a.river_comment_form_button,
-.group_tool_widget.activity .river_comments_tabs,
-.group_tool_widget.activity .river_content_display,
-.group_tool_widget.activity .river-comments,
-.group_tool_widget.activity .river_link_divider,
-.group_tool_widget.activity .river_user-like_button {
-       display:none;
-}
-.group_tool_widget.activity .river_item .entity-subtext {
-       padding:0;
+#groups-tools > .elgg-module:nth-child(odd) {
+       margin-right: 30px;
 }
 
-/* override default elgg-body width */
-.group_tool_widget .elgg-body {
-       width:315px;
-}
-.group_widget_link {
-       float:right;
-       margin:4px 6px 0 0;
+.groups-widget-viewall {
+       float: right;
        font-size: 85%;
 }
 
-/* edit group page */
-.delete_group {
+.groups-latest-reply {
        float: right;
-       margin-top:-44px;
 }
-
-/* edit forum posts
-   - force tinyMCE to correct width */
-.edit_comment .defaultSkin table.mceLayout {
-       width: 694px !important;
-}
\ No newline at end of file
index ef99a21a8f445e39ac93a76b35fb9e6e75e3b4d1..2ba0e5f0e42b7f3fb5efda6c026572fae768f6a9 100644 (file)
@@ -13,7 +13,9 @@ $url = elgg_get_site_url() . "pg/groups/all/";
 
 ?>
 <div class="elgg-tabs mtm">
-<div class="group_count"><?php echo $group_count . " " . elgg_echo("groups:count"); ?></div>
+       <div class="right">
+               <?php echo $group_count . " " . elgg_echo("groups:count"); ?>
+       </div>
 <ul>
        <li <?php if($selected == "newest") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=newest"><?php echo elgg_echo('groups:newest'); ?></a></li>
        <li <?php if($selected == "pop") echo "class='selected'"; ?>><a href="<?php echo $url; ?>?filter=pop"><?php echo elgg_echo('groups:popular'); ?></a></li>
index 78eae9cec25d20c3b0a40552b291193b6a610b6a..9955b598fceec335aa8191580b110c5ebce0a603 100644 (file)
@@ -21,7 +21,7 @@ $all_link = elgg_view('output/url', array(
        'text' => elgg_echo('link:view:all'),
 ));
 
-$header = "<span class=\"group-widget-viewall\">$all_link</span>";
+$header = "<span class=\"groups-widget-viewall\">$all_link</span>";
 $header .= '<h3>' . elgg_echo('groups:activity') . '</h3>';
 
 
index aec8fc6cdaf6bf17681e7ac148f8e2774931ec8c..2f384b4bfecc866799ad91a29f78a71c5eb851c2 100644 (file)
@@ -18,12 +18,12 @@ $owner = $group->getOwnerEntity();
 $profile_fields = elgg_get_config('group');
 
 ?>
-<div class="group_profile clearfix elgg-image-block">
-       <div class="group_profile_column elgg-image">
-               <div class="group_profile_icon">
+<div class="groups-profile clearfix elgg-image-block">
+       <div class="elgg-image">
+               <div class="groups-profile-icon">
                        <?php echo elgg_view_entity_icon($group, 'large', array('href' => '')); ?>
                </div>
-               <div class="group_stats">
+               <div class="groups-stats">
                        <p>
                                <b><?php echo elgg_echo("groups:owner"); ?>: </b>
                                <?php
@@ -41,7 +41,7 @@ $profile_fields = elgg_get_config('group');
                </div>
        </div>
 
-       <div class="group_profile_column elgg-body">
+       <div class="groups-profile-fields elgg-body">
 <?php
 if (is_array($profile_fields) && count($profile_fields) > 0) {
 
index 08cbf1dae9f64b5658258c8f89a58522f0a54808..0275035601c942756919a5e63be0deae4ae632dc 100644 (file)
@@ -6,10 +6,10 @@
 */ 
        
 // tools widget area
-echo "<div id='group_tools_latest' class='clearfix'>";
+echo '<div id="groups-tools" class="mtl clearfix">';
        
-       // enable tools to extend this area
-       echo elgg_view("groups/tool_latest", array('entity' => $vars['entity']));
+// enable tools to extend this area
+echo elgg_view("groups/tool_latest", array('entity' => $vars['entity']));
 
 echo "</div>";          
 ?>
@@ -17,6 +17,6 @@ echo "</div>";
 <?php //@todo JS 1.8: no ?>
 <script type="text/javascript">
 $(function () { // subclass every other group tool widget
-       $('#group_tools_latest').find('.group_tool_widget:odd').addClass('odd');
+       $('#groups-tools').find('.elgg-module:odd').addClass('odd');
 });
 </script>       
index c41de043d66892d8d9becb60e8d3be4ae3dbf9c2..9d2f863dd879ec5cbcba789fe5044f3187f435f3 100644 (file)
@@ -17,7 +17,7 @@ $all_link = elgg_view('output/url', array(
        'text' => elgg_echo('link:view:all'),
 ));
 
-$header = "<span class=\"group-widget-viewall\">$all_link</span>";
+$header = "<span class=\"groups-widget-viewall\">$all_link</span>";
 $header .= '<h3>' . elgg_echo('pages:group') . '</h3>';