<!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][10864] trunk/src: Activity Embeds: Use CSS asset file for inline CSS.</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/10864">10864</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/10864","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>r-a-y</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2016-06-01 22:39:41 +0000 (Wed, 01 Jun 2016)</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'>Activity Embeds: Use CSS asset file for inline CSS.

Previously, we were using a template part to grab the inline CSS.  This
is not a great idea.

Instead, we are using the actual CSS file and including it inline.

See <a href="http://buddypress.trac.wordpress.org/ticket/7104">#7104</a>, <a href="http://buddypress.trac.wordpress.org/ticket/6772">#6772</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcbpactivitybpactivityembedsphp">trunk/src/bp-activity/bp-activity-embeds.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunksrcbptemplatesbplegacybuddypressassetsembedsactivityrtlcss">trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity-rtl.css</a></li>
<li><a href="#trunksrcbptemplatesbplegacybuddypressassetsembedsactivitycss">trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity.css</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunksrcbptemplatesbplegacybuddypressassetsembedscssactivityrtlphp">trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity-rtl.php</a></li>
<li><a href="#trunksrcbptemplatesbplegacybuddypressassetsembedscssactivityphp">trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcbpactivitybpactivityembedsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/bp-activity/bp-activity-embeds.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-activity/bp-activity-embeds.php      2016-06-01 22:33:42 UTC (rev 10863)
+++ trunk/src/bp-activity/bp-activity-embeds.php        2016-06-01 22:39:41 UTC (rev 10864)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -54,31 +54,33 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px">  * Add inline styles for BP activity embeds.
</span><span class="cx" style="display: block; padding: 0 10px">  *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * This is subject to change or be removed entirely for a different system.
- * Potentially for BP_Legacy::locate_asset_in_stack().
- *
</del><span class="cx" style="display: block; padding: 0 10px">  * @since  2.6.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @access private
</del><span class="cx" style="display: block; padding: 0 10px">  */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-function _bp_activity_embed_add_inline_styles() {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function bp_activity_embed_add_inline_styles() {
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( false === bp_is_single_activity() ) {
</span><span class="cx" style="display: block; padding: 0 10px">                return;
</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">-        ob_start();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $min = bp_core_get_minified_asset_suffix();
+
</ins><span class="cx" style="display: block; padding: 0 10px">         if ( is_rtl() ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                bp_get_asset_template_part( 'embeds/css-activity', 'rtl' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $css = bp_locate_template_asset( "assets/embeds/activity-rtl{$min}.css" );
</ins><span class="cx" style="display: block; padding: 0 10px">         } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                bp_get_asset_template_part( 'embeds/css-activity' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $css = bp_locate_template_asset( "assets/embeds/activity{$min}.css" );
</ins><span class="cx" style="display: block; padding: 0 10px">         }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $css = ob_get_clean();
</del><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        // Rudimentary CSS protection.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // Bail if file wasn't found.
+       if ( false === $css ) {
+               return;
+       }
+
+       // Grab contents of CSS file and do some rudimentary CSS protection.
+       $css = file_get_contents( $css['file'] );
</ins><span class="cx" style="display: block; padding: 0 10px">         $css = wp_kses( $css, array( "\'", '\"' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        printf( '<style type="text/css">%s</style>', $css );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-add_action( 'embed_head', '_bp_activity_embed_add_inline_styles', 20 );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+add_action( 'embed_head', 'bp_activity_embed_add_inline_styles', 20 );
</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">  * Query for the activity item on the activity embed template.
</span></span></pre></div>
<a id="trunksrcbptemplatesbplegacybuddypressassetsembedsactivityrtlcssfromrev10863trunksrcbptemplatesbplegacybuddypressassetsembedscssactivityrtlphp"></a>
<div class="copfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Copied: trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity-rtl.css (from rev 10863, trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity-rtl.php)</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity-rtl.css                                (rev 0)
+++ trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity-rtl.css  2016-06-01 22:39:41 UTC (rev 10864)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,152 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+#bp-embed-header:after {
+       clear: both;
+       content: "";
+       display: table;
+       margin-bottom: 1em;
+}
+
+.bp-embed-avatar {
+       float: right;
+       margin: 0 0 0 .75em;
+}
+
+p.bp-embed-activity-action {
+       font-size: 15px;
+       margin-bottom: 0;
+}
+
+p.bp-embed-activity-action a:first-child {
+       color: #32373c;
+       font-weight: bold;
+}
+
+p.bp-embed-activity-action img.avatar {
+       padding: 0 3px 0 4px;
+       vertical-align: text-bottom;
+}
+
+.bp-embed-excerpt {
+       margin-bottom: 1em;
+}
+
+.bp-embed-excerpt a {
+       color: #21759b;
+       display: inline-block;
+       overflow: hidden;
+       text-overflow: ellipsis;
+       vertical-align: top;
+       white-space: nowrap;
+       max-width: 250px;
+}
+
+.activity-read-more {
+       margin-right: .5em;
+}
+
+.activity-read-more a {
+       color: #b4b9be;
+}
+
+.wp-embed-footer {
+       margin-top: 20px;
+}
+
+span.bp-embed-timestamp {
+       font-size: .9em;
+}
+
+video {
+       width: 100%;
+       height: auto;
+}
+
+.bp-activity-embed-display-media {
+       border: 1px solid #ccc;
+       border-radius: 6px;
+}
+
+.bp-activity-embed-display-media.one-col,
+.bp-activity-embed-display-media.one-col .thumb,
+.bp-activity-embed-display-media.one-col .thumb img {
+       width: 100%;
+}
+
+.bp-activity-embed-display-media.two-col .thumb,
+.bp-activity-embed-display-media.two-col .caption {
+       display: table-cell;
+}
+
+.bp-activity-embed-display-media.two-col .thumb {
+       background: #000;
+       vertical-align: middle;
+}
+
+.bp-activity-embed-display-media.two-col .caption {
+       vertical-align: top;
+}
+
+.bp-activity-embed-display-media.two-col .thumb img {
+       border-left: 1px solid #ccc;
+       display: block;
+       width: 100%;
+}
+
+.bp-activity-embed-display-media .thumb {
+       position: relative;
+}
+
+.bp-activity-embed-display-media .caption {
+       padding: .2em .5em .5em .5em;
+}
+
+a.play-btn {
+       background: rgba(0, 0, 0, 0.75);
+       border-radius: 50%;
+       height: 50px;
+       right: 50%;
+       margin: 0;
+       padding: 1em;
+       position: absolute;
+       text-indent: 0.25em;
+       top: 50%;
+       transform: translateY(-50%) translateX(50%);
+       -webkit-transform: translateY(-50%) translateX(50%);
+       transition: all 0.2s ease-out;
+       width: 50px;
+}
+
+.bp-activity-embed-display-media.two-col a.play-btn {
+       height: 35px;
+       width: 35px;
+}
+
+a.play-btn:hover {
+       background: rgba(0, 0, 0, 0.95);
+       transform: translateY(-50%) translateX(50%) scale(1.05);
+       -webkit-transform: translateY(-50%) translateX(50%) scale(1.05);
+       transition: all 0.2s ease-out;
+}
+
+.bp-activity-embed-display-media .thumb svg {
+       fill: #fff;
+       overflow: hidden;
+}
+
+.bp-activity-embed-display-media .caption-description {
+       font-size: 90%;
+       margin: .4em 0;
+}
+
+@media only screen and (max-width: 480px) {
+       .bp-activity-embed-display-media.two-col .thumb {
+               border-bottom: 1px solid #ccc;
+               border-left: 0;
+               display: block;
+               max-width: none !important;
+       }
+
+       a.play-btn {
+               height: 35px;
+               width: 35px;
+       }
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcbptemplatesbplegacybuddypressassetsembedsactivitycssfromrev10863trunksrcbptemplatesbplegacybuddypressassetsembedscssactivityphp"></a>
<div class="copfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Copied: trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity.css (from rev 10863, trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity.php)</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity.css                            (rev 0)
+++ trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/activity.css      2016-06-01 22:39:41 UTC (rev 10864)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,152 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+#bp-embed-header:after {
+       clear: both;
+       content: "";
+       display: table;
+       margin-bottom: 1em;
+}
+
+.bp-embed-avatar {
+       float: left;
+       margin: 0 .75em 0 0;
+}
+
+p.bp-embed-activity-action {
+       font-size: 15px;
+       margin-bottom: 0;
+}
+
+p.bp-embed-activity-action a:first-child {
+       color: #32373c;
+       font-weight: bold;
+}
+
+p.bp-embed-activity-action img.avatar {
+       padding: 0 4px 0 3px;
+       vertical-align: text-bottom;
+}
+
+.bp-embed-excerpt {
+       margin-bottom: 1em;
+}
+
+.bp-embed-excerpt a {
+       color: #21759b;
+       display: inline-block;
+       overflow: hidden;
+       text-overflow: ellipsis;
+       vertical-align: top;
+       white-space: nowrap;
+       max-width: 250px;
+}
+
+.activity-read-more {
+       margin-left: .5em;
+}
+
+.activity-read-more a {
+       color: #b4b9be;
+}
+
+.wp-embed-footer {
+       margin-top: 20px;
+}
+
+span.bp-embed-timestamp {
+       font-size: .9em;
+}
+
+video {
+       width: 100%;
+       height: auto;
+}
+
+.bp-activity-embed-display-media {
+       border: 1px solid #ccc;
+       border-radius: 6px;
+}
+
+.bp-activity-embed-display-media.one-col,
+.bp-activity-embed-display-media.one-col .thumb,
+.bp-activity-embed-display-media.one-col .thumb img {
+       width: 100%;
+}
+
+.bp-activity-embed-display-media.two-col .thumb,
+.bp-activity-embed-display-media.two-col .caption {
+       display: table-cell;
+}
+
+.bp-activity-embed-display-media.two-col .thumb {
+       background: #000;
+       vertical-align: middle;
+}
+
+.bp-activity-embed-display-media.two-col .caption {
+       vertical-align: top;
+}
+
+.bp-activity-embed-display-media.two-col .thumb img {
+       border-right: 1px solid #ccc;
+       display: block;
+       width: 100%;
+}
+
+.bp-activity-embed-display-media .thumb {
+       position: relative;
+}
+
+.bp-activity-embed-display-media .caption {
+       padding: .2em .5em .5em .5em;
+}
+
+a.play-btn {
+       background: rgba(0, 0, 0, 0.75);
+       border-radius: 50%;
+       height: 50px;
+       left: 50%;
+       margin: 0;
+       padding: 1em;
+       position: absolute;
+       text-indent: 0.25em;
+       top: 50%;
+       transform: translateY(-50%) translateX(-50%);
+       -webkit-transform: translateY(-50%) translateX(-50%);
+       transition: all 0.2s ease-out;
+       width: 50px;
+}
+
+.bp-activity-embed-display-media.two-col a.play-btn {
+       height: 35px;
+       width: 35px;
+}
+
+a.play-btn:hover {
+       background: rgba(0, 0, 0, 0.95);
+       transform: translateY(-50%) translateX(-50%) scale(1.05);
+       -webkit-transform: translateY(-50%) translateX(-50%) scale(1.05);
+       transition: all 0.2s ease-out;
+}
+
+.bp-activity-embed-display-media .thumb svg {
+       fill: #fff;
+       overflow: hidden;
+}
+
+.bp-activity-embed-display-media .caption-description {
+       font-size: 90%;
+       margin: .4em 0;
+}
+
+@media only screen and (max-width: 480px) {
+       .bp-activity-embed-display-media.two-col .thumb {
+               border-bottom: 1px solid #ccc;
+               border-right: 0;
+               display: block;
+               max-width: none !important;
+       }
+
+       a.play-btn {
+               height: 35px;
+               width: 35px;
+       }
+}
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcbptemplatesbplegacybuddypressassetsembedscssactivityrtlphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity-rtl.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity-rtl.php    2016-06-01 22:33:42 UTC (rev 10863)
+++ trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity-rtl.php      2016-06-01 22:39:41 UTC (rev 10864)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,152 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#bp-embed-header:after {
-       clear: both;
-       content: "";
-       display: table;
-       margin-bottom: 1em;
-}
-
-.bp-embed-avatar {
-       float: right;
-       margin: 0 0 0 .75em;
-}
-
-p.bp-embed-activity-action {
-       font-size: 15px;
-       margin-bottom: 0;
-}
-
-p.bp-embed-activity-action a:first-child {
-       color: #32373c;
-       font-weight: bold;
-}
-
-p.bp-embed-activity-action img.avatar {
-       padding: 0 3px 0 4px;
-       vertical-align: text-bottom;
-}
-
-.bp-embed-excerpt {
-       margin-bottom: 1em;
-}
-
-.bp-embed-excerpt a {
-       color: #21759b;
-       display: inline-block;
-       overflow: hidden;
-       text-overflow: ellipsis;
-       vertical-align: top;
-       white-space: nowrap;
-       max-width: 250px;
-}
-
-.activity-read-more {
-       margin-right: .5em;
-}
-
-.activity-read-more a {
-       color: #b4b9be;
-}
-
-.wp-embed-footer {
-       margin-top: 20px;
-}
-
-span.bp-embed-timestamp {
-       font-size: .9em;
-}
-
-video {
-       width: 100%;
-       height: auto;
-}
-
-.bp-activity-embed-display-media {
-       border: 1px solid #ccc;
-       border-radius: 6px;
-}
-
-.bp-activity-embed-display-media.one-col,
-.bp-activity-embed-display-media.one-col .thumb,
-.bp-activity-embed-display-media.one-col .thumb img {
-       width: 100%;
-}
-
-.bp-activity-embed-display-media.two-col .thumb,
-.bp-activity-embed-display-media.two-col .caption {
-       display: table-cell;
-}
-
-.bp-activity-embed-display-media.two-col .thumb {
-       background: #000;
-       vertical-align: middle;
-}
-
-.bp-activity-embed-display-media.two-col .caption {
-       vertical-align: top;
-}
-
-.bp-activity-embed-display-media.two-col .thumb img {
-       border-left: 1px solid #ccc;
-       display: block;
-       width: 100%;
-}
-
-.bp-activity-embed-display-media .thumb {
-       position: relative;
-}
-
-.bp-activity-embed-display-media .caption {
-       padding: .2em .5em .5em .5em;
-}
-
-a.play-btn {
-       background: rgba(0, 0, 0, 0.75);
-       border-radius: 50%;
-       height: 50px;
-       right: 50%;
-       margin: 0;
-       padding: 1em;
-       position: absolute;
-       text-indent: 0.25em;
-       top: 50%;
-       transform: translateY(-50%) translateX(50%);
-       -webkit-transform: translateY(-50%) translateX(50%);
-       transition: all 0.2s ease-out;
-       width: 50px;
-}
-
-.bp-activity-embed-display-media.two-col a.play-btn {
-       height: 35px;
-       width: 35px;
-}
-
-a.play-btn:hover {
-       background: rgba(0, 0, 0, 0.95);
-       transform: translateY(-50%) translateX(50%) scale(1.05);
-       -webkit-transform: translateY(-50%) translateX(50%) scale(1.05);
-       transition: all 0.2s ease-out;
-}
-
-.bp-activity-embed-display-media .thumb svg {
-       fill: #fff;
-       overflow: hidden;
-}
-
-.bp-activity-embed-display-media .caption-description {
-       font-size: 90%;
-       margin: .4em 0;
-}
-
-@media only screen and (max-width: 480px) {
-       .bp-activity-embed-display-media.two-col .thumb {
-               border-bottom: 1px solid #ccc;
-               border-left: 0;
-               display: block;
-               max-width: none !important;
-       }
-
-       a.play-btn {
-               height: 35px;
-               width: 35px;
-       }
-}
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="trunksrcbptemplatesbplegacybuddypressassetsembedscssactivityphp"></a>
<div class="delfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Deleted: trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity.php        2016-06-01 22:33:42 UTC (rev 10863)
+++ trunk/src/bp-templates/bp-legacy/buddypress/assets/embeds/css-activity.php  2016-06-01 22:39:41 UTC (rev 10864)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,152 +0,0 @@
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-#bp-embed-header:after {
-       clear: both;
-       content: "";
-       display: table;
-       margin-bottom: 1em;
-}
-
-.bp-embed-avatar {
-       float: left;
-       margin: 0 .75em 0 0;
-}
-
-p.bp-embed-activity-action {
-       font-size: 15px;
-       margin-bottom: 0;
-}
-
-p.bp-embed-activity-action a:first-child {
-       color: #32373c;
-       font-weight: bold;
-}
-
-p.bp-embed-activity-action img.avatar {
-       padding: 0 4px 0 3px;
-       vertical-align: text-bottom;
-}
-
-.bp-embed-excerpt {
-       margin-bottom: 1em;
-}
-
-.bp-embed-excerpt a {
-       color: #21759b;
-       display: inline-block;
-       overflow: hidden;
-       text-overflow: ellipsis;
-       vertical-align: top;
-       white-space: nowrap;
-       max-width: 250px;
-}
-
-.activity-read-more {
-       margin-left: .5em;
-}
-
-.activity-read-more a {
-       color: #b4b9be;
-}
-
-.wp-embed-footer {
-       margin-top: 20px;
-}
-
-span.bp-embed-timestamp {
-       font-size: .9em;
-}
-
-video {
-       width: 100%;
-       height: auto;
-}
-
-.bp-activity-embed-display-media {
-       border: 1px solid #ccc;
-       border-radius: 6px;
-}
-
-.bp-activity-embed-display-media.one-col,
-.bp-activity-embed-display-media.one-col .thumb,
-.bp-activity-embed-display-media.one-col .thumb img {
-       width: 100%;
-}
-
-.bp-activity-embed-display-media.two-col .thumb,
-.bp-activity-embed-display-media.two-col .caption {
-       display: table-cell;
-}
-
-.bp-activity-embed-display-media.two-col .thumb {
-       background: #000;
-       vertical-align: middle;
-}
-
-.bp-activity-embed-display-media.two-col .caption {
-       vertical-align: top;
-}
-
-.bp-activity-embed-display-media.two-col .thumb img {
-       border-right: 1px solid #ccc;
-       display: block;
-       width: 100%;
-}
-
-.bp-activity-embed-display-media .thumb {
-       position: relative;
-}
-
-.bp-activity-embed-display-media .caption {
-       padding: .2em .5em .5em .5em;
-}
-
-a.play-btn {
-       background: rgba(0, 0, 0, 0.75);
-       border-radius: 50%;
-       height: 50px;
-       left: 50%;
-       margin: 0;
-       padding: 1em;
-       position: absolute;
-       text-indent: 0.25em;
-       top: 50%;
-       transform: translateY(-50%) translateX(-50%);
-       -webkit-transform: translateY(-50%) translateX(-50%);
-       transition: all 0.2s ease-out;
-       width: 50px;
-}
-
-.bp-activity-embed-display-media.two-col a.play-btn {
-       height: 35px;
-       width: 35px;
-}
-
-a.play-btn:hover {
-       background: rgba(0, 0, 0, 0.95);
-       transform: translateY(-50%) translateX(-50%) scale(1.05);
-       -webkit-transform: translateY(-50%) translateX(-50%) scale(1.05);
-       transition: all 0.2s ease-out;
-}
-
-.bp-activity-embed-display-media .thumb svg {
-       fill: #fff;
-       overflow: hidden;
-}
-
-.bp-activity-embed-display-media .caption-description {
-       font-size: 90%;
-       margin: .4em 0;
-}
-
-@media only screen and (max-width: 480px) {
-       .bp-activity-embed-display-media.two-col .thumb {
-               border-bottom: 1px solid #ccc;
-               border-right: 0;
-               display: block;
-               max-width: none !important;
-       }
-
-       a.play-btn {
-               height: 35px;
-               width: 35px;
-       }
-}
</del><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>