Changeset 1249
- Timestamp:
- 03/25/2009 03:58:53 PM (15 years ago)
- Location:
- trunk/bp-themes/buddypress-member
- Files:
-
- 15 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/buddypress-member/css/base.css
r1220 r1249 37 37 margin: 0 auto; 38 38 } 39 body. in-blog { background-image: url(../images/background_blog.gif); }39 body.directory { background: none; } 40 40 41 41 p { margin: 0 0 1em 0; } … … 48 48 clear: right; 49 49 } 50 .info-group div.clear, p.clear {50 .info-group div.clear, p.clear, body.directory div.clear { 51 51 clear: both; 52 52 } … … 172 172 text-transform: uppercase; 173 173 text-align: center; 174 background: url(../images/userbar_header.gif) top leftno-repeat;175 height: 24px;174 background: url(../images/userbar_header.gif) bottom center no-repeat; 175 min-height: 24px; 176 176 padding: 8px 0 8px 0; 177 177 } … … 336 336 text-transform: uppercase; 337 337 text-align: center; 338 background: url(../images/optionsbar_header_noarrow.gif) top left repeat-x; 339 height: 24px; 340 padding: 8px 0 8px 0; 338 background: url(../images/optionsbar_header_noarrow.gif) top center repeat-x; 339 padding: 8px 0 17px 0; 341 340 letter-spacing: 0.5px; 342 341 } 343 342 #optionsbar.arrow h3 { 344 background: url(../images/optionsbar_header_arrow.gif) topcenter no-repeat;343 background: #c9c9c9 url(../images/optionsbar_header_arrow.gif) bottom center no-repeat; 345 344 } 346 345 … … 415 414 min-width: 680px; 416 415 } 416 body.directory #main { margin-left: 0; } 417 417 418 #main div.content-header { 418 419 font: normal 1em "Georgia", Times, serif; -
trunk/bp-themes/buddypress-member/css/loader.php
r1056 r1249 1 1 <?php 2 /* Set the content type to CSS */ 3 header('Content-type: text/css'); 4 ?> 2 5 3 /* Load the WP environment */ 4 require_once( preg_replace('%(.*)[/\\\\]wp-content[/\\\\].*%', '\1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' ); 6 @import url(base.css); 7 @import url(settings.css); 5 8 6 /* Set the content type to CSS */ 7 header('Content-type: text/css'); 9 @import url(activity.css); 10 @import url(blogs.css); 11 @import url(directories.css); 12 @import url(friends.css); 13 @import url(groups.css); 14 @import url(messaging.css); 15 @import url(wire.css); 16 @import url(profiles.css); 17 @import url(forums.css); 8 18 9 /* Load the base and settings css as they will always be present */ 10 if ( file_exists('base.css') ) 11 echo "@import url(base.css);\n"; 12 13 if ( file_exists('settings.css') ) 14 echo "@import url(settings.css);\n"; 15 16 /* Load CSS for components that are installed */ 17 18 /* Activity Streams */ 19 if ( function_exists('bp_activity_user_install') && file_exists('activity.css') ) 20 echo "@import url(activity.css);\n"; 21 22 /* Blogs */ 23 if ( function_exists('bp_blogs_install') && file_exists('blogs.css') ) 24 echo "@import url(blogs.css);\n"; 25 26 /* Friends */ 27 if ( function_exists('friends_install') && file_exists('friends.css') ) 28 echo "@import url(friends.css);\n"; 29 30 /* Groups */ 31 if ( function_exists('groups_install') && file_exists('groups.css') ) 32 echo "@import url(groups.css);\n"; 33 34 /* Messages */ 35 if ( function_exists('messages_install') && file_exists('messaging.css') ) 36 echo "@import url(messaging.css);\n"; 37 38 /* Wire */ 39 if ( function_exists('bp_wire_install') && file_exists('wire.css') ) 40 echo "@import url(wire.css);\n"; 41 42 /* Profiles */ 43 if ( function_exists('xprofile_install') && file_exists('profiles.css') ) 44 echo "@import url(profiles.css);\n"; 45 46 /* Forums */ 47 if ( function_exists('bp_forums_setup') && file_exists('forums.css') ) 48 echo "@import url(forums.css);\n"; 49 50 /* If the root blog is set up for right to left reading, include the rtl.css file */ 51 if ( get_bloginfo( 1, 'text_direction' ) == 'rtl' && file_exists( 'rtl.css' ) ) 52 echo "@import url(rtl.css);\n"; 53 19 <?php 54 20 /* If there are any custom component css files inside the /custom-components/ dir, load them. */ 55 21 if ( is_dir( './custom-components' ) ) { … … 66 32 if ( file_exists('custom.css') ) 67 33 echo "@import url(custom.css);\n"; 68 69 do_action( 'bp_custom_member_styles' );70 71 34 ?> -
trunk/bp-themes/buddypress-member/functions.php
r1145 r1249 11 11 global $bp; 12 12 13 if ( !bp_is_home() && $bp->current_component == $bp->profile->slug || $bp->current_component == $bp->friends->slug || $bp->current_component == $bp->blogs->slug) {13 if ( ( !bp_is_home() && $bp->current_component == $bp->profile->slug ) || ( !bp_is_home() && $bp->current_component == $bp->friends->slug ) || ( !bp_is_home() && $bp->current_component == $bp->blogs->slug ) ) { 14 14 echo ' class="arrow"'; 15 15 } -
trunk/bp-themes/buddypress-member/header.php
r1078 r1249 25 25 </head> 26 26 27 <body >27 <body<?php if ( bp_is_directory() ) : ?> class="directory"<?php endif; ?>> 28 28 29 29 <div id="search-login-bar"> … … 54 54 </div> 55 55 56 <?php include_once( TEMPLATEPATH . '/userbar.php' ) ?> 57 <?php include_once( TEMPLATEPATH . '/optionsbar.php' ) ?> 56 <?php bp_get_optionsbar() ?> 57 <?php bp_get_userbar() ?> 58 58 59 59 60 <div id="main">
Note: See TracChangeset
for help on using the changeset viewer.