<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[BuddyPress] [2206] trunk/bp-core: Fixes #1478</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2206</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2009-12-19 09:08:59 +0000 (Sat, 19 Dec 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>Fixes #1478</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpcorebpcorecssjsphp">trunk/bp-core/bp-core-cssjs.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkbpcorecssadminbarfallbackcss">trunk/bp-core/css/admin-bar-fallback.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpcorebpcorecssjsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-cssjs.php (2205 => 2206)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-cssjs.php        2009-12-18 14:59:39 UTC (rev 2205)
+++ trunk/bp-core/bp-core-cssjs.php        2009-12-19 09:08:59 UTC (rev 2206)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">         else if ( file_exists( WP_CONTENT_DIR . '/' . get_blog_option( BP_ROOT_BLOG, 'template' ) . '/_inc/css/adminbar.css' ) )
</span><span class="cx">                 $admin_bar_css = WP_CONTENT_URL . '/themes/' . get_blog_option( BP_ROOT_BLOG, 'template' ) . '/_inc/css/adminbar.css';
</span><span class="cx">         else
</span><del>-                $admin_bar_css = BP_PLUGIN_URL . '/bp-core/deprecated/css/admin-bar.css';
</del><ins>+                $admin_bar_css = BP_PLUGIN_URL . '/bp-core/css/admin-bar-fallback.css';
</ins><span class="cx"> 
</span><span class="cx">         wp_enqueue_style( 'bp-admin-bar', apply_filters( 'bp_core_admin_bar_css', $admin_bar_css ) );
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkbpcorecssadminbarfallbackcss"></a>
<div class="addfile"><h4>Added: trunk/bp-core/css/admin-bar-fallback.css (0 => 2206)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/css/admin-bar-fallback.css                                (rev 0)
+++ trunk/bp-core/css/admin-bar-fallback.css        2009-12-19 09:08:59 UTC (rev 2206)
</span><span class="lines">@@ -0,0 +1,189 @@
</span><ins>+/* This CSS will only be loaded if an _inc/css/admin-bar.css file does not exist
+ * within the active theme for the root/main blog.
+ */
+
+body {
+        padding-top: 25px;
+}
+
+#wp-admin-bar {
+        position: fixed;
+        top: 0;
+        left: 0;
+        z-index: 99;
+        height: 25px;
+        font-size: 11px;
+        width: 100%;
+        background: #666;
+}
+
+#wp-admin-bar * { z-index: 999; }
+
+#wp-admin-bar div#admin-bar-logo {
+        position: absolute;
+        top: 5px;
+        left: 10px;
+}
+
+#wp-admin-bar a img {
+        border: none;
+}
+
+#wp-admin-bar li {
+        list-style: none;
+        margin: 0;
+        padding: 0;
+        line-height: 100%;
+        text-align: left;
+}
+
+#wp-admin-bar li a {
+        padding: 5px 15px 8px 15px;
+        color: #fff;
+        text-decoration: none;
+        color: #f0f0f0;
+        font-size: 11px;
+}
+        #wp-admin-bar li.no-arrow a {
+                padding-right: 15px;
+        }
+
+        #wp-admin-bar li a span {
+                background: #fff;
+                padding: 2px 5px;
+                color: #555;
+                -moz-border-radius: 3px;
+                -webkit-border-radius: 3px;
+                border-radius: 3px;
+        }
+
+#wp-admin-bar li:hover, #wp-admin-bar li.hover {
+        position: static;
+}
+
+#wp-admin-bar li.alt {
+        border: none;
+}
+
+#admin-bar-logo {
+        float: left;
+        font-weight: bold;
+        font-size: 11px;
+        padding: 3px 8px;
+        margin: 0;
+        text-decoration: none;
+        color: #f0f0f0;
+}
+
+/*******************/
+
+#wp-admin-bar ul { /* all lists */
+        margin: 0;
+        list-style: none;
+        line-height: 1;
+        cursor: pointer;
+        height: auto;
+        padding: 0;
+}
+
+#wp-admin-bar ul li { /* all list items */
+        padding: 0;
+        float: left;
+        position: relative;
+}
+        #wp-admin-bar ul li.no-arrow {
+                background: none;
+        }
+
+        #wp-admin-bar ul li ul li {
+                background-image: none;
+        }
+
+#wp-admin-bar ul li.align-right {
+        position: absolute;
+        right: 0;
+}
+
+#wp-admin-bar ul li a {
+        display: block;
+        margin: 0;
+}
+
+#wp-admin-bar ul.main-nav li:hover, #wp-admin-bar ul.main-nav li.sfhover, #wp-admin-bar ul.main-nav li ul li.sfhover {
+        background-color: #555;
+}
+
+/* second-level lists */
+
+#wp-admin-bar ul li ul {
+        position: absolute;
+        width: 185px;
+        left: -999em;
+        margin-left: 0;
+        background: #fff;
+        border: 1px solid #ddd;
+        -moz-border-radius: 3px;
+        -webkit-border-radius: 3px;
+}
+        #wp-admin-bar ul li ul a {
+                color: #888;
+        }
+
+#wp-admin-bar ul li ul li {
+        float: left;
+        width: 185px;
+        margin: 0;
+}
+        #wp-admin-bar ul li ul li:hover a {
+                color: #fff;
+        }
+
+#wp-admin-bar ul li div.admin-bar-clear {
+        clear: both;
+}
+
+/* third-and-above-level lists */
+
+#wp-admin-bar ul li ul ul {
+        margin: -25px 0 0 184px;
+}
+        #wp-admin-bar ul li ul li:hover ul li a {
+                color: #555;
+        }
+                #wp-admin-bar ul li ul li ul li:hover a {
+                        color: #fff;
+                }
+
+#wp-admin-bar ul li:hover ul, #wp-admin-bar ul li li:hover ul, #wp-admin-bar ul li.sfhover ul, #wp-admin-bar ul li ul li.sfhover ul { /* lists nested under hovered list items */
+        left: auto;
+}
+
+#wp-admin-bar ul li.align-right:hover ul {
+        right: 0;
+}
+
+#wp-admin-bar ul li:hover ul ul, #wp-admin-bar li.sfhover ul li ul {
+        left: -999em;
+}
+
+/* Menu item css */
+
+#wp-admin-bar img.avatar {
+        float: left;
+        margin-right: 8px;
+}
+
+#wp-admin-bar span.activity {
+        display: block;
+        margin-left: 34px;
+        padding: 0;
+}
+
+#wp-admin-bar ul.author-list li {
+        height: 55px;
+}
+
+#wp-admin-bar ul li#bp-adminbar-notifications-menu a span {
+        padding: 0 6px;
+        margin-left: 2px;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>