Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
BuddyPress UI - Members directory CSS / html
/*--------------------------------------------------------------
Hello, this is the BuddyPress Default theme stylesheet.
----------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
4.0 - Navigation
4.1 - Pagination
5.0 - WordPress
5.1 - Alignments
5.2 - Comments
5.3 - Gallery
5.4 - Images
5.5 - Posts
6.0 - BuddyPress
6.1 - Activity
6.1.1 - Activity Listing
6.1.2 - Activity Comments
6.2 - Toolbar
6.3 - Directories - Members, Groups, Blogs, Forums
6.4 - Error / Success Messages
6.5 - Forms
6.6 - Ajax Loading
6.7 - Topics and Tables - Forums and General
6.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums
6.9 - Private Messaging Threads
6.10 - Extended Profiles
--------------------------------------------------------------*/
/*--------------------------------------------------------------
4.1 - Pagination
--------------------------------------------------------------*/
#buddypress div.pagination {
background: #f4f4f4;
border: none;
color: #888;
font-size: 11px;
margin: -20px 0 20px 0;
position: relative;
display: block;
float: left;
width: 100%;
padding: 10px 0;
}
#buddypress div.pagination .pag-count {
float: left;
margin-left: 10px;
}
#buddypress div.pagination .pagination-links {
float: right;
margin-right: 10px;
}
#buddypress div.pagination .pagination-links span,
#buddypress div.pagination .pagination-links a {
font-size: 12px;
padding: 0 5px;
}
#buddypress div.pagination .pagination-links a:hover {
font-weight: bold;
}
#buddypress noscript div.pagination {
margin-bottom: 15px;
}
#buddypress div#pag-bottom {
margin-top: -1px;
}
#buddypress #nav-above {
display: none;
}
#buddypress .paged #nav-above {
display: block;
}
/*--------------------------------------------------------------
5.4 - Images
--------------------------------------------------------------*/
#buddypress img.wp-smiley {
border: none !important;
clear: none !important;
float: none !important;
margin: 0 !important;
padding: 0 !important;
}
/*--------------------------------------------------------------
6.0 - BuddyPress
--------------------------------------------------------------*/
/*--------------------------------------------------------------
6.1 - Activity
--------------------------------------------------------------*/
#buddypress #activity-stream {
margin-top: -5px;
}
#buddypress #item-body form#whats-new-form {
border-bottom: 1px solid #ddd;
margin: 20px 0 10px;
padding: 0 0 20px;
}
#buddypress .home-page form#whats-new-form {
border-bottom: none;
padding-bottom: 0;
}
#buddypress form#whats-new-form #whats-new-avatar {
float: left;
}
#buddypress form#whats-new-form #whats-new-content {
margin-left: 55px;
padding: 0 0 20px 20px;
}
#buddypress form#whats-new-form textarea {
background: #fff;
border: 1px inset #ccc;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #555;
font-family: inherit;
font-size: 14px;
height: 20px;
padding: 6px;
width: 98%;
}
body.no-js #buddypress form#whats-new-form textarea {
height: 50px;
}
#buddypress form#whats-new-form #whats-new-options select {
max-width: 200px;
margin-top: 12px;
}
#buddypress form#whats-new-form #whats-new-submit {
float: right;
margin-top: 12px;
}
#buddypress #whats-new-options {
overflow: auto;
height: 0;
}
body.no-js #buddypress #whats-new-options {
height: auto;
}
#buddypress #whats-new:focus {
border-color: rgba(31, 179, 221, 0.9) !important;
outline-color: rgba(31, 179, 221, 0.9);
box-shadow: 0 0 7px rgba(31, 179, 221, 0.7);
-moz-box-shadow: 0 0 7px rgba(31, 179, 221, 0.7);
-webkit-box-shadow: 0 0 7px rgba(31, 179, 221, 0.7);
}
/*--------------------------------------------------------------
6.1.1 - Activity Listing
--------------------------------------------------------------*/
#buddypress ul.activity-list li {
overflow: hidden;
padding: 15px 0 0;
}
#buddypress .activity-list .activity-avatar {
float: left;
}
#buddypress ul.activity-list > li:first-child {
padding-top: 5px;
}
#buddypress ul.item-list.activity-list li.has-comments {
padding-bottom: 15px;
}
body.activity-permalink #buddypress ul.activity-list li.has-comments {
padding-bottom: 0;
}
#buddypress .activity-list li.mini {
font-size: 11px;
min-height: 35px;
padding: 15px 0 0 0;
position: relative;
}
#buddypress .activity-list li.mini .activity-avatar img.avatar,
#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic {
height: 20px;
margin-left: 30px;
width: 20px;
}
#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar,
#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic {
height: auto;
margin-left: 0;
width: auto;
}
body.activity-permalink #buddypress .activity-list > li:first-child {
padding-top: 0;
}
#buddypress .activity-list li .activity-content {
position: relative;
}
#buddypress .activity-list li.mini .activity-content p {
margin: 0;
}
#buddypress .activity-list li.mini .activity-comments {
clear: both;
font-size: 12px;
}
body.activity-permalink #buddypress li.mini .activity-meta {
margin-top: 4px;
}
#buddypress .activity-list li .activity-inreplyto {
color: #888;
font-size: 11px;
margin-left: 5px;
margin-top: 5px;
padding-left: 25px;
}
#buddypress .activity-list li .activity-inreplyto > p {
margin: 0;
display: inline;
}
#buddypress .activity-list li .activity-inreplyto blockquote,
#buddypress .activity-list li .activity-inreplyto div.activity-inner {
background: none;
border: none;
display: inline;
margin: 0;
overflow: hidden;
padding: 0;
}
#buddypress .activity-list .activity-content {
margin-left: 70px;
margin-bottom: 15px;
}
body.activity-permalink #buddypress .activity-list li .activity-content {
background: #fff;
border-bottom: 1px solid #ddd;
border-right: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
line-height: 150%;
min-height: 35px;
margin-left: 185px;
margin-right: 0;
padding: 15px;
}
body.activity-permalink #buddypress .activity-list li .activity-header > p {
height: 35px;
margin-bottom: 0;
margin-left: -35px;
padding: 5px 0 0 35px;
}
#buddypress .activity-list .activity-content .activity-header,
#buddypress .activity-list .activity-content .comment-header {
color: #888;
font-size: 11px;
line-height: 220%;
}
#buddypress .activity-header {
margin-right: 20px;
}
#buddypress .activity-header a,
#buddypress .comment-meta a,
#buddypress .acomment-meta a {
text-decoration: none;
}
#buddypress .activity-list .activity-content .activity-header img.avatar {
float: none !important;
margin: 0 5px -8px 0 !important;
}
#buddypress a.bp-secondary-action,
#buddypress span.highlight {
font-size: 11px;
padding: 0;
margin-right: 5px;
text-decoration: none;
}
#buddypress .activity-list .activity-content .activity-inner,
#buddypress .activity-list .activity-content blockquote {
margin: 10px 10px 5px 0;
overflow: hidden;
}
#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,
#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner {
border-left: 2px solid #EAEAEA;
margin-left: 5px;
padding-left: 10px;
}
body.activity-permalink #buddypress .activity-content .activity-inner,
body.activity-permalink #buddypress .activity-content blockquote {
margin-left: 0;
margin-top: 5px;
}
#buddypress .activity-inner > p {
word-wrap: break-word;
}
#buddypress .activity-inner > .activity-inner {
margin: 0 !important;
}
#buddypress .activity-inner > blockquote {
margin: 0 !important;
}
#buddypress .activity-list .activity-content img.thumbnail {
border: 2px solid #eee;
float: left;
margin: 0 10px 5px 0;
}
#buddypress .activity-read-more {
margin-left: 1em;
white-space: nowrap;
}
#buddypress .activity-list li.load-more {
background: #f0f0f0 !important;
border-right: 1px solid #ddd;
border-bottom: 1px solid #ddd;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
font-size: 1.2em;
margin: 15px 0 !important;
padding: 10px 15px !important;
text-align: center;
}
#buddypress .activity-list li.load-more a {
color: #4D4D4D;
}
/*--------------------------------------------------------------
6.1.2 - Activity Comments
--------------------------------------------------------------*/
#buddypress div.activity-meta {
margin: 18px 0;
}
body.activity-permalink #buddypress div.activity-meta {
margin-bottom: 6px;
}
#buddypress div.activity-meta a {
font: normal 11px/20px Arial, Tahoma, Verdana, sans-serif;
padding: 4px 8px;
}
#buddypress a.activity-time-since {
color: #aaa;
text-decoration: none;
}
#buddypress a.activity-time-since:hover {
color: #888;
text-decoration: underline;
}
#buddypress a.bp-primary-action,
#buddypress #reply-title small a {
font-size: 11px;
margin-right: 5px;
text-decoration: none;
}
#buddypress a.bp-primary-action span,
#buddypress #reply-title small a span {
background: #999;
border-radius: 3px;
color: #fff;
font-size: 90%;
margin-left: 2px;
padding: 0 5px;
}
#buddypress a.bp-primary-action:hover span,
#buddypress #reply-title small a:hover span {
background: #555;
color: #fff;
}
#buddypress div.activity-comments {
margin: 0 0 0 70px;
overflow: hidden; /* IE fix */
position: relative;
width: auto;
clear: both;
}
body.activity-permalink #buddypress div.activity-comments {
background: none;
margin-left: 185px;
width: auto;
}
#buddypress div.activity-comments > ul {
background: #f5f5f5;
border-radius: 4px;
padding: 0 0 0 10px;
}
#buddypress div.activity-comments ul,
#buddypress div.activity-comments ul li {
border: none;
list-style: none;
}
#buddypress div.activity-comments ul {
clear: both;
}
#buddypress div.activity-comments ul li {
border-top: 2px solid #fff;
padding: 10px 0 0;
}
body.activity-permalink #buddypress .activity-list li.mini .activity-comments {
clear: none;
margin-top: 0;
}
body.activity-permalink #buddypress div.activity-comments ul li {
border-width: 1px;
padding: 10px 0 0 0;
}
#buddypress div.activity-comments > ul > li:first-child {
border-top: none;
}
#buddypress div.activity-comments ul li:last-child {
margin-bottom: 0;
}
#buddypress div.activity-comments ul li > ul {
margin-left: 30px;
margin-top: 0;
padding-left: 10px;
}
body.activity-permalink #buddypress div.activity-comments ul li > ul {
margin-top: 10px;
}
body.activity-permalink #buddypress div.activity-comments > ul {
padding: 0 10px 0 15px;
}
#buddypress div.activity-comments div.acomment-avatar img {
border-width: 2px !important;
float: left;
height: 25px;
margin-right: 10px;
width: 25px;
}
#buddypress div.activity-comments div.acomment-content {
font-size: 11px;
margin: 5px 0 0 40px;
}
#buddypress div.acomment-content .time-since,
#buddypress div.acomment-content .activity-delete-link,
#buddypress div.acomment-content .comment-header {
display: none;
}
body.activity-permalink #buddypress div.activity-comments div.acomment-content {
font-size: 14px;
}
#buddypress div.activity-comments div.acomment-meta {
color: #888;
font-size: 11px;
}
#buddypress div.activity-comments form.ac-form {
background: #fafafa;
border: 1px solid #ddd;
border-radius: 4px;
display: none;
margin: 0 0 15px 33px;
padding: 8px;
}
#buddypress div.activity-comments li form.ac-form {
margin-right: 15px;
clear: both;
}
#buddypress div.activity-comments form.root {
margin-left: 0;
}
#buddypress div.activity-comments div#message {
margin-top: 15px;
margin-bottom: 0;
}
#buddypress div.activity-comments form .ac-textarea {
background: #fff;
border: 1px inset #ccc;
border-radius: 3px;
margin-bottom: 10px;
padding: 8px;
}
#buddypress div.activity-comments form textarea {
border: none;
color: #555;
font-family: inherit;
font-size: 11px;
height: 60px;
padding: 0;
width: 100%;
}
#buddypress div.activity-comments form input {
margin-top: 5px;
}
#buddypress div.activity-comments form div.ac-reply-avatar {
float: left;
}
#buddypress div.ac-reply-avatar img {
border: 2px solid #fff !important;
}
#buddypress div.activity-comments form div.ac-reply-content {
color: #888;
font-size: 11px;
margin-left: 50px;
padding-left: 15px;
}
#buddypress .acomment-options {
float: left;
margin: 5px 0 5px 40px;
}
#buddypress .acomment-options a {
color: #999;
}
#buddypress .acomment-options a:hover {
color: inherit;
}
/*--------------------------------------------------------------
6.3 - Directories - Members, Groups, Blogs, Forums
--------------------------------------------------------------*/
#buddypress div.dir-search {
float: right;
margin: -39px 0 0 0;
}
#buddypress div.dir-search input[type=text] {
font-size: 12px;
padding: 1px 3px;
}
/*--------------------------------------------------------------
6.4 - Errors / Success Messages
--------------------------------------------------------------*/
#buddypress div#message {
margin: 0 0 15px;
}
#buddypress #message.info {
margin-bottom: 0;
}
#buddypress div#message.updated {
clear: both;
}
#buddypress div#message p {
font-size: 12px;
display: block;
padding: 10px 15px;
}
#buddypress div#message.error p {
background-color: #db1717;
border-color: #a71a1a;
clear: left;
color: #fff;
}
#buddypress div#message.updated p {
background-color: #8ff57a;
border-color: #80cf70;
color: #1a6a00;
}
#buddypress .standard-form#signup_form div div.error {
background: #e41717;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #fff;
margin: 0 0 10px 0;
padding: 6px;
width: 90%;
}
#buddypress div.accept,
#buddypress div.reject {
float: left;
margin-left: 10px;
}
#buddypress ul.button-nav li {
float: left;
margin: 0 10px 10px 0;
}
#buddypress ul.button-nav li.current a {
font-weight: bold;
}
/*--------------------------------------------------------------
6.5 - Forms
--------------------------------------------------------------*/
#buddypress .standard-form textarea,
#buddypress .standard-form input[type=text],
#buddypress .standard-form select,
#buddypress .standard-form input[type=password],
#buddypress .dir-search input[type=text] {
border: 1px inset #ccc;
border-radius: 3px;
color: #888;
font: inherit;
font-size: 14px;
padding: 6px;
}
#buddypress .standard-form select {
padding: 3px;
}
#buddypress .standard-form input[type=password] {
margin-bottom: 5px;
}
#buddypress .standard-form label,
#buddypress .standard-form span.label {
display: block;
font-weight: bold;
margin: 15px 0 5px 0;
}
#buddypress .standard-form div.checkbox label,
#buddypress .standard-form div.radio label {
color: #888;
font-size: 14px;
font-weight: normal;
margin: 5px 0 0 0;
}
#buddypress .standard-form#sidebar-login-form label {
margin-top: 5px;
}
#buddypress .standard-form input[type=text] {
width: 75%;
}
#buddypress .standard-form#sidebar-login-form input[type=text],
#buddypress .standard-form#sidebar-login-form input[type=password] {
padding: 4px;
width: 95%;
}
#buddypress .standard-form #basic-details-section input[type=password],
#buddypress .standard-form #blog-details-section input#signup_blog_url {
width: 35%;
}
#buddypress .standard-form#signup_form input[type=text],
#buddypress .standard-form#signup_form textarea,
#buddypress .form-allowed-tags,
#buddypress #commentform input[type=text],
#buddypress #commentform textarea {
width: 90%;
}
#buddypress .standard-form#signup_form div.submit {
float: right;
}
#buddypress div#signup-avatar img {
margin: 0 15px 10px 0;
}
#buddypress .standard-form textarea {
width: 75%;
height: 120px;
}
#buddypress .standard-form textarea#message_content {
height: 200px;
}
#buddypress .standard-form#send-reply textarea {
width: 97.5%;
}
#buddypress .standard-form p.description {
color: #888;
font-size: 11px;
margin: 5px 0;
}
#buddypress .standard-form div.submit {
clear: both;
padding: 15px 0 0 0;
}
#buddypress .standard-form p.submit {
margin-bottom: 0;
padding: 15px 0 0 0;
}
#buddypress .standard-form div.submit input {
margin-right: 15px;
}
#buddypress .standard-form div.radio ul {
margin: 10px 0 15px 38px;
list-style: disc;
}
#buddypress .standard-form div.radio ul li {
margin-bottom: 5px;
}
#buddypress .standard-form a.clear-value {
display: block;
margin-top: 5px;
outline: none;
}
#buddypress .standard-form #basic-details-section,
#buddypress .standard-form #blog-details-section,
#buddypress .standard-form #profile-details-section {
float: left;
width: 48%;
}
#buddypress .standard-form #profile-details-section {
float: right;
}
#buddypress .standard-form #blog-details-section {
clear: left;
}
#buddypress .standard-form input:focus,
#buddypress .standard-form textarea:focus,
#buddypress .standard-form select:focus {
background: #fafafa;
color: #555;
}
#buddypress form#send-invite-form {
margin-top: 20px;
}
#buddypress div#invite-list {
background: #f5f5f5;
border: 1px solid #e4e4e4;
border-radius: 3px;
height: 400px;
margin: 0 0 10px;
overflow: auto;
padding: 5px;
width: 160px;
}
/*--------------------------------------------------------------
6.6 - Ajax Loading
--------------------------------------------------------------*/
#buddypress a.loading,
#buddypress input.loading {
padding-right: 25px;
}
#buddypress a.loading:hover,
#buddypress input.loading:hover {
padding-right: 25px;
color: #777;
}
#buddypress input[type="submit"].pending,
#buddypress input[type="button"].pending,
#buddypress input[type="reset"].pending,
#buddypress input[type="submit"].disabled,
#buddypress input[type="button"].disabled,
#buddypress input[type="reset"].disabled,
#buddypress button.pending,
#buddypress button.disabled,
#buddypress div.pending a,
#buddypress a.disabled {
border-color: #eee;
color: #bbb;
cursor: default;
}
#buddypress input[type="submit"]:hover.pending,
#buddypress input[type="button"]:hover.pending,
#buddypress input[type="reset"]:hover.pending,
#buddypress input[type="submit"]:hover.disabled,
#buddypress input[type="button"]:hover.disabled,
#buddypress input[type="reset"]:hover.disabled,
#buddypress button.pending:hover,
#buddypress button.disabled:hover,
#buddypress div.pending a:hover,
#buddypress a.disabled:hover {
background: -moz-linear-gradient(top, #ffffff 0%, #ededed 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #ffffff 0%,#ededed 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #ffffff 0%,#ededed 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #ffffff 0%,#ededed 100%); /* W3C */
border-color: #eee;
color: #bbb;
}
/*--------------------------------------------------------------
6.7 - Forums, Tables and Topics
--------------------------------------------------------------*/
#buddypress ul#topic-post-list {
margin: 0px -19px 15px;
width: auto;
}
#buddypress ul#topic-post-list li {
padding: 15px;
position: relative;
}
#buddypress ul#topic-post-list li.alt {
background: #f5f5f5;
}
#buddypress ul#topic-post-list li div.poster-meta {
color: #888;
margin-bottom: 10px;
}
#buddypress ul#topic-post-list li div.post-content {
margin-left: 54px;
}
#buddypress div.topic-tags {
font-size: 11px;
}
#buddypress div.admin-links {
color: #888;
font-size: 11px;
position: absolute;
top: 15px;
right: 25px;
}
#buddypress div#topic-meta {
margin: -10px -19px;
padding: 5px 19px 30px;
position: relative;
}
#buddypress div#topic-meta div.admin-links {
right: 19px;
top: -36px;
}
#buddypress div#topic-meta h3 {
font-size: 20px;
margin: 5px 0;
}
#buddypress div#new-topic-post {
display: none;
margin: 20px 0 0 0;
padding: 1px 0 0 0;
}
#buddypress table {
width: 100%;
}
#buddypress table thead tr {
background: #eaeaea;
}
#buddypress table#message-threads {
margin: 0 -19px;
width: auto;
}
#buddypress table.profile-fields {
margin-bottom: 20px;
}
#buddypress table.profile-fields:last-child {
margin-bottom: 0;
}
#buddypress table.profile-fields p {
margin: 0;
}
#buddypress table.profile-fields p:last-child {
margin-top: 0;
}
#buddypress table tr td,
#buddypress table tr th {
padding: 8px;
vertical-align: middle;
}
#buddypress table tr td.label {
border-right: 1px solid #eaeaea;
font-weight: bold;
width: 25%;
}
#buddypress table tr td.thread-info p {
margin: 0;
}
#buddypress table tr td.thread-info p.thread-excerpt {
color: #888;
font-size: 11px;
margin-top: 3px;
}
#buddypress table.forum td {
text-align: center;
}
#buddypress table tr.alt td {
background: #f5f5f5;
}
#buddypress table.notification-settings {
margin-bottom: 20px;
text-align: left;
}
#buddypress #groups-notification-settings {
margin-bottom: 0;
}
#buddypress table.notification-settings th.icon,
#buddypress table.notification-settings td:first-child {
display: none;
}
#buddypress table.notification-settings th.title {
width: 80%;
}
#buddypress table.notification-settings .yes,
#buddypress table.notification-settings .no {
text-align: center;
width: 40px;
}
#buddypress table.forum {
margin: 0 -19px;
width: auto;
}
#buddypress table.forum tr.sticky td {
font-size: 1.2em;
background: #fff9db;
border-top: 1px solid #ffe8c4;
border-bottom: 1px solid #ffe8c4;
}
#buddypress table.forum tr.closed td.td-title {
padding-left: 35px;
}
#buddypress table.forum td p.topic-text {
color: #888;
font-size: 13px;
}
#buddypress table.forum tr > td:first-child,
#buddypress table.forum tr > th:first-child {
padding-left: 15px;
}
#buddypress table.forum tr > td:last-child,
#buddypress table.forum tr > th:last-child {
padding-right: 15px;
}
#buddypress table.forum tr th#th-title,
#buddypress table.forum tr th#th-poster,
#buddypress table.forum tr th#th-group,
#buddypress table.forum td.td-poster,
#buddypress table.forum td.td-group,
#buddypress table.forum td.td-title {
text-align: left;
}
#buddypress table.forum tr td.td-title a.topic-title {
font-size: 1.2em;
}
#buddypress table.forum td.td-freshness {
white-space: nowrap;
}
#buddypress table.forum td.td-freshness span.time-since {
font-size: 0.9em;
color: #888;
}
#buddypress table.forum td img.avatar {
float: none;
margin: 0 5px -8px 0;
}
#buddypress table.forum td.td-poster,
#buddypress table.forum td.td-group {
min-width: 140px;
}
#buddypress table.forum th#th-title {
width: 80%;
}
#buddypress table.forum th#th-freshness {
width: 25%;
}
#buddypress table.forum th#th-postcount {
width: 15%;
}
#buddypress table.forum p.topic-meta {
font-size: 0.9em;
margin: 5px 0 0 0;
}
/*-------------------------------------------------------------------------
6.8 - Headers, Lists and Tabs - Activity, Groups, Blogs, Forums, Profiles
-------------------------------------------------------------------------*/
#buddypress .item-body {
margin: 20px 0;
}
/*#buddypress span.activity {
display: inline-block;
font-size: 11px;
opacity: 0.8;
padding: 1px 8px;
}*/
#buddypress span.user-nicename {
color: #777;
display: inline-block;
font-size: 16px;
font-weight: bold;
}
#buddypress div#item-header {
overflow: hidden;
}
#buddypress div#item-header div#item-header-content {
float: left;
margin-left: 0;
}
#buddypress div#item-header h2 {
font-size: 28px;
line-height: 120%;
margin: 0 0 15px 0;
}
#buddypress div#item-header h2 a {
color: #777;
text-decoration: none;
}
#buddypress div#item-header img.avatar {
float: left;
margin: 0 15px 19px 0;
}
#buddypress div#item-header h2 {
margin-bottom: 5px;
}
#buddypress div#item-header span.activity,
#buddypress div#item-header h2 span.highlight {
font-size: 11px;
font-weight: normal;
line-height: 170%;
margin-bottom: 7px;
vertical-align: middle;
}
#buddypress div#item-header h2 span.highlight {
font-size: 16px;
}
#buddypress div#item-header h2 span.highlight span {
background: #a1dcfa;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
color: #fff;
cursor: pointer;
font-weight: bold;
font-size: 11px;
margin-bottom: 2px;
padding: 1px 4px;
position: relative;
right: -2px;
top: -2px;
vertical-align: middle;
}
#buddypress div#item-header div#item-meta {
font-size: 14px;
color: #aaa;
overflow: hidden;
margin: 15px 0 5px 0;
padding-bottom: 10px;
}
#buddypress div#item-header div#item-actions {
float: right;
margin: 0 0 15px 15px;
text-align: right;
width: 20%;
}
#buddypress div#item-header div#item-actions h3 {
font-size: 12px;
margin: 0 0 5px 0;
}
#buddypress div#item-header ul {
margin-bottom: 15px;
overflow: hidden;
}
#buddypress div#item-header ul h5,
#buddypress div#item-header ul span,
#buddypress div#item-header ul hr {
display: none;
}
#buddypress div#item-header ul li {
float: right;
}
#buddypress div#item-header ul img.avatar,
#buddypress div#item-header ul.avatars img.avatar {
height: 30px;
margin: 2px;
width: 30px;
}
#buddypress div#item-header div.generic-button,
#buddypress div#item-header a.button {
float: left;
margin: 10px 10px 0 0;
}
#buddypress div#item-header div#message.info {
line-height: 80%;
}
/*#buddypress ul.item-list {
width: 100%;
list-style: none;
clear: both;
}
#buddypress ul.item-list li {
border-bottom: 1px solid #eaeaea;
padding: 15px 0;
position: relative;
list-style: none;
}
#buddypress ul.item-list.activity-list li {
padding-bottom: 0;
}
#buddypress ul.single-line li {
border: none;
}
#buddypress ul.item-list li img.avatar {
float: left;
margin: 0 10px 0 0;
}
#buddypress ul.item-list li div.item-title,
#buddypress ul.item-list li h4 {
font-weight: normal;
font-size: 14px;
margin: 0;
width: 75%;
}
#buddypress ul.item-list li div.item-title span {
color: #999;
font-size: 12px;
}
#buddypress ul.item-list li div.item-desc {
color: #888;
font-size: 11px;
margin: 10px 0 0 64px;
width: 50%;
}
#buddypress ul.item-list li div.action {
position: absolute;
top: 15px;
right: 0;
text-align: right;
}
#buddypress ul.item-list li div.meta {
color: #888;
font-size: 11px;
margin-top: 10px;
}
#buddypress ul.item-list li h5 span.small {
float: right;
font-size: 11px;
font-weight: normal;
}*/
#buddypress div.item-list-tabs {
background: #e6e6e6;
clear: left;
overflow: hidden;
}
#buddypress div.item-list-tabs ul li a {
text-decoration: none;
height: 20px;
}
#buddypress div.item-list-tabs ul {
margin: 0;
width: 100%;
}
#buddypress div.item-list-tabs ul li {
float: left;
margin: 5px 0 0 5px;
list-style: none;
}
#buddypress div.item-list-tabs#subnav ul li {
margin-top: 0;
}
#buddypress div.item-list-tabs ul li.last {
float: right;
margin: 7px 10px 0 0;
}
#buddypress div.item-list-tabs#subnav ul li.last {
margin-top: 4px;
}
#buddypress div.item-list-tabs ul li.last select {
max-width: 175px;
}
#buddypress div.item-list-tabs ul li a,
#buddypress div.item-list-tabs ul li span {
display: block;
padding: 5px 10px 10px;
text-decoration: none;
}
#buddypress div.item-list-tabs ul li a span {
background: #1fb3dd;
border-radius: 3px;
color: #fff;
display: inline;
font-size: 90%;
margin-left: 2px;
padding: 1px 6px;
}
#buddypress div.item-list-tabs ul li.selected a,
#buddypress div.item-list-tabs ul li.current a {
background-color: #fff;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
color: #555;
font-weight: bold;
}
#buddypress div.item-list-tabs ul li.selected a span,
#buddypress div.item-list-tabs ul li.current a span,
#buddypress div.item-list-tabs ul li a:hover span {
background-color: #999;
}
#buddypress div.item-list-tabs ul li.selected a span,
#buddypress div.item-list-tabs ul li.current a span {
background-color: #555;
}
#buddypress div#item-nav ul li.loading a {
background-position: 88% 50%;
}
#buddypress div.item-list-tabs#object-nav {
margin-top: 0;
}
#buddypress div.item-list-tabs#subnav {
background: #fff;
border-bottom: 1px solid #eaeaea;
margin: 0 0 20px;
overflow: hidden;
}
/*#buddypress #admins-list li,
#buddypress #mods-list li,
#buddypress #members-list li {
overflow: auto;
}*/
/*--------------------------------------------------------------
6.9 - Private Messaging Threads
--------------------------------------------------------------*/
#buddypress table#message-threads tr.unread td {
background: #fff9db;
border-top: 1px solid #ffe8c4;
border-bottom: 1px solid #ffe8c4;
font-weight: bold;
}
#buddypress li span.unread-count,
#buddypress tr.unread span.unread-count {
background: #dd0000;
border-radius: 3px;
color: #fff;
font-weight: bold;
padding: 2px 8px;
}
#buddypress div.item-list-tabs ul li a span.unread-count {
padding: 1px 6px;
color: #fff;
}
#buddypress div.messages-options-nav {
background: #eee;
font-size: 11px;
margin: 0 -19px;
padding: 5px 15px;
text-align: right;
}
#buddypress div#message-thread div.message-box {
margin: 0 -19px;
padding: 15px;
}
#buddypress div#message-thread div.alt {
background: #f4f4f4;
}
#buddypress div#message-thread p#message-recipients {
margin: 10px 0 20px 0;
}
#buddypress div#message-thread img.avatar {
float: left;
margin: 0 10px 0 0;
vertical-align: middle;
}
#buddypress div#message-thread strong {
font-size: 16px;
margin: 0;
}
#buddypress div#message-thread strong a {
text-decoration: none;
}
#buddypress div#message-thread strong span.activity {
margin: 4px 0 0 10px;
}
#buddypress div#message-thread div.message-metadata {
overflow: hidden;
}
#buddypress div#message-thread div.message-content {
margin-left: 45px;
}
#buddypress div#message-thread div.message-options {
text-align: right;
}
#buddypress div.message-search {
float: right;
margin: 0 20px;
}
/*--------------------------------------------------------------
6.9 - Extended Profiles
--------------------------------------------------------------*/
#buddypress div.profile h4 {
margin-bottom: auto;
margin-top: 15px;
}
#buddypress #profile-edit-form ul.button-nav {
margin-top: 15px;
}
body.no-js #buddypress .field-visibility-settings-toggle,
body.no-js #buddypress .field-visibility-settings-close {
display: none;
}
#buddypress .field-visibility-settings {
display: none;
margin-top: 10px;
}
body.no-js #buddypress .field-visibility-settings {
display: block;
}
#buddypress .current-visibility-level {
font-weight: bold;
font-style: normal;
}
#buddypress .field-visibility-settings,
#buddypress .field-visibility-settings-toggle,
#buddypress .field-visibility-settings-notoggle {
color: #888;
}
#buddypress .field-visibility-settings-toggle a,
#buddypress .field-visibility-settings a {
font-size: .9em;
}
body.register #buddypress div.page ul {
list-style: none;
}
#buddypress .standard-form .field-visibility-settings label {
margin: 0;
font-weight: normal;
}
#buddypress .field-visibility-settings legend,
#buddypress .field-visibility-settings-toggle {
font-style: italic;
}
/*----------------------------------------------------- new */
/* members directory */
#buddypress ul.item-list{
display: block;
margin: 0;
padding: 0;
}
#buddypress #members-list li.item-grid{
border: 1px solid #f1f1f1;
display: inline-block;
float: left;
list-style:none;
margin: 0 2% 1% 0;
vertical-align: top;
width: 48.65%;
}
#buddypress .member-avatar{
float: left;
margin: 0 3% 0 0;
}
#buddypress #members-list .member-single{
padding: 1rem;
overflow: hidden; /* temp fix */
}
#buddypress #members-list li.item-grid:nth-child(2n+2){
margin: 0 0 1% 0;
}
#buddypress .item-action{
float: right;
}
#buddypress .member-update{
font-size: 90%;
}
/* buttons */
#buddypress button,
#buddypress a.button,
#buddypress input[type=submit],
#buddypress input[type=button],
#buddypress input[type=reset],
#buddypress ul.button-nav li a,
#buddypress div.generic-button a,
#buddypress .comment-reply-link {
background-color: #fafafa;
border: 1px solid #ddd;
color: #777;
cursor: pointer;
font-size: 90%;
outline: none;
padding: 4px 10px;
text-align: center;
text-decoration: none;
}
#buddypress button:hover,
#buddypress a.button:hover,
#buddypress a.button:focus,
#buddypress input[type=submit]:hover,
#buddypress input[type=button]:hover,
#buddypress input[type=reset]:hover,
#buddypress ul.button-nav li a:hover,
#buddypress ul.button-nav li.current a,
#buddypress div.generic-button a:hover,
#buddypress .comment-reply-link:hover {
background-color: #ededed;
border: 1px solid #bbb;
color: #555;
outline: none;
text-decoration: none;
}
/* updates */
#buddypress span.activity,
#buddypress div#message p {
border: 1px solid #eedd66;
margin-top: 3px;
text-decoration: none;
background: #ffeebb;
}
#buddypress span.activity {
display: inline-block;
font-size: 85%;
opacity: 0.8;
padding: 1px 8px;
}
<?php
/**
* BuddyPress - Members Loop
*
* Querystring is set via AJAX in _inc/ajax.php - bp_legacy_theme_object_filter()
*
* @package BuddyPress
* @subpackage bp-legacy
*/
?>
<?php do_action( 'bp_before_members_loop' ); ?>
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
<div id="pag-top" class="pagination">
<div class="pag-count" id="member-dir-count-top">
<?php bp_members_pagination_count(); ?>
</div>
<div class="pagination-links" id="member-dir-pag-top">
<?php bp_members_pagination_links(); ?>
</div>
</div>
<?php do_action( 'bp_before_directory_members_list' ); ?>
<!-- <<<<<<<<<<<<<<<<<<<<<<<<<start of 16/09/2012 editing -->
<ul id="members-list" class="item-list">
<?php while ( bp_members() ) : bp_the_member(); ?>
<li class="member item-grid">
<div class="member-single">
<div class="member-avatar avatar">
<a href="<?php bp_member_permalink(); ?>"><?php bp_member_avatar(); ?></a>
</div>
<div class="member-title item-title">
<a href="<?php bp_member_permalink(); ?>"><?php bp_member_name(); ?></a>
</div>
<div class="member-details item-details">
<?php if ( bp_get_member_latest_update() ) : ?>
<span class="member-update update"> <?php bp_member_latest_update(); ?></span>
<?php endif; ?>
<div class="member-meta item-meta">
<span class="-member-activity activity"><?php bp_member_last_active(); ?></span>
</div>
<?php do_action( 'bp_directory_members_item' ); ?>
<?php
/***
* If you want to show specific profile fields here you can,
* but it'll add an extra query for each member in the loop
* (only one regardless of the number of fields you show):
*
* bp_member_profile_data( 'field=the field name' );
*/
?>
</div>
<div class="member-action item-action">
<?php do_action( 'bp_directory_members_actions' ); ?>
</div>
</div>
</li>
<?php endwhile; ?>
</ul>
<!-- >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>end of 16/09/2012 editing -->
<?php do_action( 'bp_after_directory_members_list' ); ?>
<?php bp_member_hidden_fields(); ?>
<div id="pag-bottom" class="pagination">
<div class="pag-count" id="member-dir-count-bottom">
<?php bp_members_pagination_count(); ?>
</div>
<div class="pagination-links" id="member-dir-pag-bottom">
<?php bp_members_pagination_links(); ?>
</div>
</div>
<?php else: ?>
<div id="message" class="info">
<p><?php _e( "Sorry, no members were found.", 'buddypress' ); ?></p>
</div>
<?php endif; ?>
<?php do_action( 'bp_after_members_loop' ); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.