Changeset 3458
- Timestamp:
- 11/20/2010 06:41:55 PM (14 years ago)
- Location:
- trunk/bp-themes/bp-default
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/css/default.css
r3453 r3458 5 5 6 6 body { 7 background: #eaeaea url( ../images/background.gif ) top left repeat-x; 7 background-color: #eaeaea; 8 background-image: url( ../images/background.gif ); 9 background-repeat: repeat-x; 10 background-position: top left; 8 11 font-size: 12px; 9 12 font-family: Arial, Tahoma, Verdana, sans-serif; … … 166 169 background: #fff; 167 170 overflow: hidden; 171 margin-bottom: 20px; 168 172 } 169 173 body.activity-permalink div#container { … … 205 209 } 206 210 211 #footer-widget-area h3.widgettitle, 207 212 div#sidebar h3.widgettitle { 208 213 margin: 25px -20px 10px -19px; … … 213 218 } 214 219 220 #footer-widget-area .widget_search, 215 221 div#sidebar .widget_search { 216 222 margin-top: 20px; 217 223 } 224 #footer-widget-area .widget_search input[type=text], 218 225 div#sidebar .widget_search input[type=text] { 219 226 width: 110px; … … 221 228 } 222 229 230 #footer-widget-area ul#recentcomments li, #footer-widget-area .widget_recent_entries ul li, 223 231 div#sidebar ul#recentcomments li, div#sidebar .widget_recent_entries ul li { 224 232 margin-bottom: 15px; 225 233 } 226 234 235 #footer-widget-area ul.item-list img.avatar, 227 236 div#sidebar ul.item-list img.avatar { 228 237 width: 20px; … … 230 239 margin-right: 10px; 231 240 } 241 #footer-widget-area div.item-avatar img, 232 242 div#sidebar div.item-avatar img { 233 243 width: 40px; … … 236 246 } 237 247 248 #footer-widget-area .avatar-block, 238 249 div#sidebar .avatar-block { overflow: hidden; } 239 250 251 #footer-widget-area ul.item-list div.item-title, 240 252 div#sidebar ul.item-list div.item-title { 241 253 font-size: 12px; 242 254 } 243 255 256 #footer-widget-area div.item-options, 244 257 div#sidebar div.item-options { 245 258 margin: -10px -20px 0 -19px; … … 249 262 } 250 263 264 #footer-widget-area div.item-meta, #footer-widget-area div.item-content, 251 265 div#sidebar div.item-meta, div#sidebar div.item-content { 252 266 margin-left: 38px; … … 254 268 } 255 269 270 #footer-widget-area div.tags div#tag-text, 256 271 div#sidebar div.tags div#tag-text { 257 272 font-size: 1.4em; … … 1761 1776 1762 1777 #footer { 1763 padding: 25px; 1764 text-align: center; 1765 color: #bbb; 1766 text-shadow: #fafafa 1px 1px 0; 1767 } 1768 #footer a { 1778 margin-bottom: 25px; 1779 padding: 0 19px 19px 19px; 1780 border-radius: 6px; 1781 -moz-border-radius: 6px; 1782 -webkit-border-radius: 6px; 1783 border-right: 1px solid #e0e0e0; 1784 border-bottom: 1px solid #e0e0e0; 1785 background: #fff; 1786 } 1787 #site-generator { 1788 text-align: center; 1769 1789 color: #bbb; 1770 } 1790 text-shadow: #fafafa 1px 1px 0; 1791 } 1792 1793 #footer-widget-area { 1794 margin-bottom: 20px; 1795 overflow: hidden; 1796 } 1797 #footer-widget-area div.widget-area > ul { 1798 float: left; 1799 margin-right: 19px; 1800 width: 23%; 1801 } 1802 1803 #footer-widget-area h3.widgettitle { 1804 margin-top: 19px; 1805 margin-left: 0; 1806 margin-right: 0; 1807 } 1808 1809 #footer-widget-area div div.item-options { 1810 margin-left: 0; 1811 margin-right: 0; 1812 } 1813 1814 #footer-widget-area ul.item-list li img.avatar { 1815 margin-left: 15px; /* border is 4px */ 1816 } 1771 1817 1772 1818 /* Menu -
trunk/bp-themes/bp-default/footer.php
r3300 r3458 5 5 6 6 <div id="footer"> 7 <p><?php printf( __( '%s is proudly powered by <a href="http://wordpress.org">WordPress</a> and <a href="http://buddypress.org">BuddyPress</a>', 'buddypress' ), get_bloginfo( 'name' ) ); ?></p> 7 <?php get_sidebar( 'footer' ) ?> 8 9 <div id="site-generator"> 10 <p><?php printf( __( '%s is proudly powered by <a href="http://wordpress.org">WordPress</a> and <a href="http://buddypress.org">BuddyPress</a>', 'buddypress' ), get_bloginfo( 'name' ) ); ?></p> 11 </div> 8 12 9 13 <?php do_action( 'bp_footer' ) ?> -
trunk/bp-themes/bp-default/functions.php
r3452 r3458 6 6 add_theme_support( 'automatic-feed-links' ); 7 7 8 // This theme allows users to set a custom background 9 add_custom_background(); 10 8 11 // Register the widget columns 9 register_sidebars( 1, 10 array( 11 'name' => 'Sidebar', 12 'before_widget' => '<div id="%1$s" class="widget %2$s">', 13 'after_widget' => '</div>', 14 'before_title' => '<h3 class="widgettitle">', 15 'after_title' => '</h3>' 16 ) 17 ); 12 // Area 1, located in the sidebar. Empty by default. 13 register_sidebar( array( 14 'name' => 'Sidebar', 15 'before_widget' => '<div id="%1$s" class="widget %2$s">', 16 'after_widget' => '</div>', 17 'before_title' => '<h3 class="widgettitle">', 18 'after_title' => '</h3>' 19 ) ); 20 21 // Area 2, located in the footer. Empty by default. 22 register_sidebar( array( 23 'name' => __( 'First Footer Widget Area', 'buddypress' ), 24 'id' => 'first-footer-widget-area', 25 'description' => __( 'The first footer widget area', 'buddypress' ), 26 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 27 'after_widget' => '</li>', 28 'before_title' => '<h3 class="widgettitle">', 29 'after_title' => '</h3>', 30 ) ); 31 32 // Area 3, located in the footer. Empty by default. 33 register_sidebar( array( 34 'name' => __( 'Second Footer Widget Area', 'buddypress' ), 35 'id' => 'second-footer-widget-area', 36 'description' => __( 'The second footer widget area', 'buddypress' ), 37 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 38 'after_widget' => '</li>', 39 'before_title' => '<h3 class="widgettitle">', 40 'after_title' => '</h3>', 41 ) ); 42 43 // Area 4, located in the footer. Empty by default. 44 register_sidebar( array( 45 'name' => __( 'Third Footer Widget Area', 'buddypress' ), 46 'id' => 'third-footer-widget-area', 47 'description' => __( 'The third footer widget area', 'buddypress' ), 48 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 49 'after_widget' => '</li>', 50 'before_title' => '<h3 class="widgettitle">', 51 'after_title' => '</h3>', 52 ) ); 53 54 // Area 5, located in the footer. Empty by default. 55 register_sidebar( array( 56 'name' => __( 'Fourth Footer Widget Area', 'buddypress' ), 57 'id' => 'fourth-footer-widget-area', 58 'description' => __( 'The fourth footer widget area', 'buddypress' ), 59 'before_widget' => '<li id="%1$s" class="widget-container %2$s">', 60 'after_widget' => '</li>', 61 'before_title' => '<h3 class="widgettitle">', 62 'after_title' => '</h3>', 63 ) ); 18 64 19 65 // Register navigation menu -
trunk/bp-themes/bp-default/rtl.css
r2631 r3458 95 95 } 96 96 97 #footer-widget-area h3.widgettitle, 97 98 div#sidebar h3.widgettitle { 98 99 margin: 25px -19px 10px -20px; … … 100 101 } 101 102 103 #footer-widget-area ul.item-list img.avatar, 102 104 div#sidebar ul.item-list img.avatar { 103 105 margin-left: 10px; … … 105 107 } 106 108 109 #footer-widget-area div.item-options, 107 110 div#sidebar div.item-options { 108 111 margin: -10px -19px 0 -20px; 109 112 } 110 113 114 #footer-widget-area div.item-meta, #footer-widget-area div.item-content, 111 115 div#sidebar div.item-meta, div#sidebar div.item-content { 112 116 margin-right: 38px; … … 646 650 } 647 651 652 /* > Footer 653 -------------------------------------------------------------- */ 654 #footer-widget-area div.widget-area > ul { 655 float: right; 656 margin-left: 19px; 657 margin-right: 0; 658 } 659 660 #footer-widget-area ul.item-list li img.avatar { 661 margin-right: 15px; /* border is 4px */ 662 margin-left: 0; 663 } 664 648 665 /*** 649 666 * The admin bar styles. -
trunk/bp-themes/bp-default/style.css
r3325 r3458 6 6 Author: BuddyPress.org 7 7 Author URI: http://buddypress.org 8 Tags: buddypress, two-columns, custom-header, white, blue, translation-ready8 Tags: buddypress, two-columns, custom-header, custom-background, threaded-comments, white, blue, translation-ready 9 9 10 10 ** IMPORTANT - DO NOT COPY THIS THEME **
Note: See TracChangeset
for help on using the changeset viewer.