<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][9767] trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss: Commit updates BP companion styles scss sheet for:</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://buddypress.trac.wordpress.org/changeset/9767">9767</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://buddypress.trac.wordpress.org/changeset/9767","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>hnla</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-04-18 18:39:24 +0000 (Sat, 18 Apr 2015)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Commit updates BP companion styles scss sheet for:
* General improved handling of BP lists at small screen, mobile - stack elements in column flow
* Primary lists - screen width layouts, action buttons/meta, content/desc breakpoints
* Updates Activity stream styling, comment styling, comment form
* Addresses inherited styles from parent theme to bring BP elements further into line with parent.
* Updates user account screens general styles, table responsive font sizing, item-header responsive layout for avatar/last activity elements
<a href="http://buddypress.trac.wordpress.org/ticket/6291">#6291</a></pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbptemplatesbplegacycsstwentyfifteenscss">trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbptemplatesbplegacycsstwentyfifteenscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss 2015-04-18 18:18:54 UTC (rev 9766)
+++ trunk/src/bp-templates/bp-legacy/css/twentyfifteen.scss 2015-04-18 18:39:24 UTC (rev 9767)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,6 +11,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // of managing media queries, scalability & flexibility .
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Twentyfifteen Media Queries / Breakpoints
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// @media screen and (min-width: 22em) // Additional for xtra small mobile
</ins><span class="cx" style="display: block; padding: 0 10px"> // @media screen and (min-width: 38.75em)
</span><span class="cx" style="display: block; padding: 0 10px"> // @media screen and (min-width: 46.25em)
</span><span class="cx" style="display: block; padding: 0 10px"> // @media screen and (min-width: 55em)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,7 +40,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $dark-background: #555;
</span><span class="cx" style="display: block; padding: 0 10px"> $border-color: #999; // border color is varied using rgba
</span><span class="cx" style="display: block; padding: 0 10px"> $border-light: #eaeaea; // BP dividers
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+$body-text: #333; // 2015 body text color
+$bp-button-hover: #ededed; // this is the default BP button hover background
</ins><span class="cx" style="display: block; padding: 0 10px"> /*--------------------------------------------------------------
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> This is the BuddyPress companion stylesheet for
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -59,15 +61,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> ----------------------------------------------------------------
</span><span class="cx" style="display: block; padding: 0 10px"> >>> TABLE OF CONTENTS:
</span><span class="cx" style="display: block; padding: 0 10px"> ----------------------------------------------------------------
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-1.0 Theme Structural Elements
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+1.0 Theme Structural Elements & overrides
</ins><span class="cx" style="display: block; padding: 0 10px"> 2.0 - Navigation - General
</span><span class="cx" style="display: block; padding: 0 10px"> 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs)
</span><span class="cx" style="display: block; padding: 0 10px"> 2.2 - Pagination
</span><span class="cx" style="display: block; padding: 0 10px"> 3.0 - Images
</span><span class="cx" style="display: block; padding: 0 10px"> 4.0 - BP Lists / Loops Generic
</span><span class="cx" style="display: block; padding: 0 10px"> 4.1 - Activity Loop
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 4.1.1 - Activity Listing
- 4.1.2 - Activity Comments
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ 4.1.1 Whats New Activity
+ 4.1.2 - Activity Listing
+ 4.1.3 - Activity Comments
</ins><span class="cx" style="display: block; padding: 0 10px"> 4.2 - Members Loop
</span><span class="cx" style="display: block; padding: 0 10px"> 4.3 - Groups Loop
</span><span class="cx" style="display: block; padding: 0 10px"> 4.4 - Blogs Loop
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -87,10 +90,24 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> *-------------------------------------------------------------------------------
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-* @section 1.0 - Theme - Structural Elements
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+* @section 1.0 - Theme - Structural Elements & overrides
</ins><span class="cx" style="display: block; padding: 0 10px"> *-------------------------------------------------------------------------------
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Twentyfifteen adds a generic grouped ruleset of clear:both;
+// for all heading h# elements this is problematic where floats are concerned
+// We reset this here under our #buddypress namespace
+#buddypress {
+ h1,
+ h2,
+ h3,
+ h4,
+ h5,
+ h6 {
+ clear: none;
+ }
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // As BP screens have specific content lets adjust the themes primary elements
</span><span class="cx" style="display: block; padding: 0 10px"> // to maximise the screen real estate for BP pages.
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -127,6 +144,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } // .article
</span><span class="cx" style="display: block; padding: 0 10px"> } // .main
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .site-footer {
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 4%;
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (min-width: 59.6875em) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,7 +171,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .load-more,
</span><span class="cx" style="display: block; padding: 0 10px"> .field-visibility-settings-toggle,
</span><span class="cx" style="display: block; padding: 0 10px"> #latest-update,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- table, {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ table,
+ .avatar-nav-items {
</ins><span class="cx" style="display: block; padding: 0 10px"> a { border-bottom: 0; }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -195,6 +214,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom: 1px solid rgba($border-color, 0.4);
</span><span class="cx" style="display: block; padding: 0 10px"> overflow: hidden;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: $spacing-val-xs 0;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ li {
+ a {
+ span {border-radius: 25%;}
+ }
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> /*__ Horizontal menus __*/
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -376,24 +401,46 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Trying to position the action div absolute has bad consequences where
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// aditional items are displayed, floating is an alternative but may need
-// to reconsider this approach. All li items floated left at wide screen.
-// Initialy override the BP absolute positioning, allow natural flow position
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// aditional items are displayed, floating is an alternative that
+// allows natural flow expansion.
+// This block:
+// * Manages li items, Stacks them small screen, floated left at wider screens.
+// * Adjusts display of action buttons at small screen
</ins><span class="cx" style="display: block; padding: 0 10px"> // mobile up.
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #buddypress {
</span><span class="cx" style="display: block; padding: 0 10px"> ul.item-list {
</span><span class="cx" style="display: block; padding: 0 10px"> li {
</span><span class="cx" style="display: block; padding: 0 10px"> overflow: hidden !important;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Undo BP floats to center avatars initially mobile up
+ .item-avatar {
+ margin-bottom: $spacing-val-sm;
+ @media screen and (min-width: 38.75em) { margin-bottom: 0; }
+ text-align: center;
+ a {border-bottom: 0;}
+ img.avatar {
+ display: inline-block;
+ float: none;
+ // Quite early on we need to move avatars to the left(right)
+ @media screen and (min-width: 38.75em) {
+ display: block;
+ float: left;
+ }
+ }
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .item {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin-left: 25%;
+
+ span.activity {font-style: italic;}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .item-desc {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-left: 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- width: auto;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ width: 70%;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- @media screen and (min-width: 59.6875em) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ @media screen and (min-width: 59.6875em) {
</ins><span class="cx" style="display: block; padding: 0 10px"> .item-avatar,
</span><span class="cx" style="display: block; padding: 0 10px"> .item,
</span><span class="cx" style="display: block; padding: 0 10px"> .action {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -402,6 +449,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .item {
</span><span class="cx" style="display: block; padding: 0 10px"> left: 10%;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin-left: 0;
</ins><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 55%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -468,7 +516,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> *-------------------------------------------------------------------------------
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-* @section 4.1.2 - Activity Whats New
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+* @section 4.1.1 - Activity Whats New
</ins><span class="cx" style="display: block; padding: 0 10px"> *-------------------------------------------------------------------------------
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -495,19 +543,123 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #buddypress {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .activity-list {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ // re-size activity avatars
+ li {
+ .activity-avatar {
+ a {
+ img.avatar {
+ height: 60px;
+ margin-left: 0;
+ width: 60px;
+ }
+ }
+ }
+ }
+
+ li.mini {
+ .activity-avatar {
+ a {
+ img.avatar {
+ height: 30px;
+ margin-left: 15px;
+ width: 30px;
+ }
+ }
+ }
+
+ .activity-content {
+ .activity-header {
+ @include font-size(13);
+ }
+ }
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> .activity-content {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: -12px;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> .activity-header {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ @include font-size(16);
+ line-height: inherit;
+ margin-right: 0;
+
+ p {
+ background-color: $light-background;
+ border: 1px solid rgba($border-light, .6);
+ padding: 0 .2em;
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> img.avatar {
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ margin-bottom: 0 !important; // have to match to BP
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } // close .activity-header
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .activity-meta {
+ a {
+ display: block;
+ margin-bottom: $spacing-val-xs;
+ @media screen and (min-width: 38.75em) {
+ display: inline-block;
+ margin-bottom: 0;
+ }
+ }
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> } // close .activity-content
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> .load-more a {display: block;}
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> } // close .activity-list
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+} // close #buddypress
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+*-------------------------------------------------------------------------------
+* @section 4.1.3 - Activity Comments
+*-------------------------------------------------------------------------------
+*/
+#buddypress {
+ .activity {
+ .activity-comments {
+ border-left: 1px solid $border-light;
+ margin-top: 5px;
+
+ ul {
+ background: rgba($light-background, .6);
+ margin: 30px 0 0 2px;
+ }
+
+ .ac-form {
+
+ input[type="submit"],
+ .ac-reply-cancel {
+ color: rgba($body-text, .8);
+ display: inline-block;
+ font-family: inherit;
+ @include font-size(12);
+ font-weight: normal;
+ line-height: 1.2;
+ padding: 4px 10px;
+ text-transform: lowercase;
+ width: 100px;
+ }
+
+ .ac-reply-cancel {
+ border: 1px solid rgba($border-color, .7);
+ text-align: center;
+
+ &:focus,
+ &:hover {
+ background: $bp-button-hover;
+ }
+ }
+
+ } // close .ac-form
+
+ } // close .activity-comments
+ } // close .activity
+
</ins><span class="cx" style="display: block; padding: 0 10px"> } // close #buddypress
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -518,6 +670,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #buddypress {
</span><span class="cx" style="display: block; padding: 0 10px"> #members-list {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> @media screen and (min-width: 59.6875em) {
</span><span class="cx" style="display: block; padding: 0 10px"> li {
</span><span class="cx" style="display: block; padding: 0 10px"> .item-avatar,
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -530,7 +683,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/*
+ li {
+ .item {
+ .update {
+ border-left: 1px solid rgba($border-color, .4);
+ display: block;
+ margin: .5em 0;
+ padding-left: .3em;
+ }
+ }
+ }
+*/
+ } // close #members-list
</ins><span class="cx" style="display: block; padding: 0 10px"> } //close #BuddyPress
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -543,6 +708,142 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .entry-title {margin-bottom: .5em;}
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #buddypress {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ /* General elements & classes, pagination, filters */
+
+ table {
+ th {@include font-size(14)}
+ td {@include font-size(12)}
+
+ @media screen and (min-width: 46.25em) {
+ th {@include font-size(16)}
+ td {@include font-size(14)}
+ }
+
+ @media screen and (min-width: 77.5em) {
+ th {@include font-size(18)}
+ td {@include font-size(16)}
+ }
+ }
+
+ .pag-count {font-style: italic;}
+
+ .notifications-options-nav {
+ border: 1px solid rgba($border-color, .5);
+ float: left;
+ width: 100%;
+ @media screen and (min-width: 38.75em) {
+ width: 300px;
+ }
+
+ select,
+ input {
+ border: 0;
+ @include font-size(14);
+ outline: 0;
+ padding: 0;
+ }
+
+ select {
+ float: left;
+ margin-right: 0;
+ width: 60%;
+ }
+
+ input {
+ float: right;
+ font-family: inherit;
+ line-height: 20px;
+ width: 40%;
+ }
+
+ } // close .notifications-options-nav
+
+ /* Item Header */
+
+ #item-header {
+ padding: $spacing-val-md 0;
+
+ #item-header-avatar {
+ text-align: center;
+ width: 100%;
+
+ img.avatar,
+ a {
+ border-bottom: 0;
+ display: inline-block;
+ float: none;
+ }
+ }
+
+ @media screen and (min-width: 46.25em) {
+ #item-header-avatar {
+ float: left;
+ width: 20%;
+
+ img.avatar,
+ a {
+ float: left;
+ width: 100%;
+ }
+ }
+
+ #item-header-content {
+ float: right;
+ margin-right: 5%;
+ width: 69%;
+ }
+
+ } // close @media
+
+ } // close #item-header
+
+ /* Profile */
+ .profile {
+ .bp-widget {
+ h4 {
+ background: rgba($dark-background, .8);
+ color: #fff;
+ margin-bottom: 0;
+ padding: .4em;
+ }
+
+ table {margin-top: 0;}
+ }
+ } // close .profile
+
+ .bp-avatar-nav {
+ ul:before,
+ ul:after {
+ content: " ";
+ display: table;
+ }
+
+ ul:after {
+ clear: both;
+ }
+
+ ul {
+ border-bottom: 1px solid rgba($border-color, .5);
+ margin-bottom: $spacing-val-md;
+
+ li.current {
+ border: 1px solid rgba($border-color, .5);
+ border-bottom-color: #fff;
+ border-top-left-radius: 4px;
+ border-top-right-radius: 4px;
+ margin-bottom: -1px;
+
+ a {
+ background: none;
+ outline: 0;
+ }
+ } // close li.current
+ }
+ } // .bp-avatar-nav
+
+ /* Groups */
+
</ins><span class="cx" style="display: block; padding: 0 10px"> #groups-list {
</span><span class="cx" style="display: block; padding: 0 10px"> li {
</span><span class="cx" style="display: block; padding: 0 10px"> .item {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -553,7 +854,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ /* Messages / Notifications */
+
+ } // close #BuddyPress
+
</ins><span class="cx" style="display: block; padding: 0 10px"> } // close .bp-user
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -562,6 +867,28 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *-------------------------------------------------------------------------------
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+// Match BP form elements to Themes(2015) styling where styles
+// are not inherited or being overriden.
+#buddypress {
+
+ div.activity-comments {
+ form {
+ .ac-textarea {
+ background: $light-background;
+ border: 1px solid rgba($border-color, .3);
+
+ textarea {
+ background: none;
+ border: 0;
+ }
+ }
+ }
+ }
+
+ select {border: 1px solid rgba($border-color, .5);}
+
+} // close #buddypress
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // 2015 applies 100% width to form element, remove this initially for BP search
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> #buddypress {
</span></span></pre>
</div>
</div>
</body>
</html>