<!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][4364] trunk/bp-xprofile: Modifies markup and styling on xprofile admin to work better with Firefox.</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, #logmsg > ol { margin-left: 0; 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">
<dt>Revision</dt> <dd>4364</dd>
<dt>Author</dt> <dd>boonebgorges</dd>
<dt>Date</dt> <dd>2011-05-15 18:26:13 +0000 (Sun, 15 May 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Modifies markup and styling on xprofile admin to work better with Firefox. Fixes #3188</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpxprofileadmincssadmincss">trunk/bp-xprofile/admin/css/admin.css</a></li>
<li><a href="#trunkbpxprofileadmincssadmindevcss">trunk/bp-xprofile/admin/css/admin.dev.css</a></li>
<li><a href="#trunkbpxprofilebpxprofileadminphp">trunk/bp-xprofile/bp-xprofile-admin.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpxprofileadmincssadmincss"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/admin/css/admin.css (4363 => 4364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/admin/css/admin.css        2011-05-15 17:30:06 UTC (rev 4363)
+++ trunk/bp-xprofile/admin/css/admin.css        2011-05-15 18:26:13 UTC (rev 4364)
</span><span class="lines">@@ -1 +1 @@
</span><del>-div#icon-buddypress{background:url(../../../bp-core/images/icons32.png) no-repeat -4px 0}#tabs-bottom{background:#dfdfdf url(../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0 0;height:32px;border:1px solid #ccc;-moz-border-radius:0 0 6px 6px;-khtml-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px}#tabs{position:relative}p.nofields{margin-top:20px}ul#field-group-tabs{float:left;padding:0 0 0 15px;display:none}ul#field-group-tabs li{float:left;margin-bottom:-1px;background-color:transparent;margin-right:8px}ul#field-group-tabs li.ui-state-hover{background-color:#fafafa}ul#field-group-tabs li.ui-state-hover a.ui-tab{border-color:#bbb #bbb #ccc #bbb;color:#888}ul#field-group-tabs li.ui-state-acceptable a.ui-tab{border-color:#5a5 #5a5 #ccc #5a5;color:#8a8;background-image:url(../images/plus.gif);background-color:#efe}ul#field-group-tabs li.ui-tabs-selected.ui-state-acceptable a.ui-tab{background-color:#ececec;background-
image:url(../images/cross.gif)}ul#field-group-tabs li.drop-candidate a.ui-tab{background-color:#ffc;border-color:#aa5 #aa5 #ccc #aa5;color:#aa8}ul#field-group-tabs li a.ui-tab{display:block;margin-top:3px;padding:5px 10px 5px 28px;border:1px solid #ccc;border-bottom:none;-moz-border-radius:6px 6px 0 0;-khtml-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;text-decoration:none;background:#f4f4f4 url(../images/move-x.gif) 7px 55% no-repeat;color:#888}ul#field-group-tabs li.ui-tabs-selected a.ui-tab{background-color:#ececec;margin-top:-1px;padding:7px 10px 7px 28px;border:1px solid #ccc;border-bottom:1px solid transparent;color:#000;font-weight:bold}.tab-toolbar{background:#ececec url(../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0 0;border-width:1px 1px 0;-moz-border-radius:6px 6px 0 0;-khtml-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;margin:-20px -21px 20px -21px;clear:left;padding:1
0px;border:1px solid #ccc}.tab-toolbar a.button{padding:5px 10px}.tab-toolbar a.deletion{color:#f00;border-bottom:1px solid #f00;font-size:11px;text-decoration:none;padding:0 2px;margin-top:-2px}div.tab-wrapper{background-color:#f9f9f9;clear:left;padding:20px;border-left:1px solid #ccc;border-right:1px solid #ccc;-moz-border-radius:6px 6px 0 0;-khtml-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0}.tab-wrapper fieldset{position:relative;cursor:default!important;background:#fff}.tab-wrapper fieldset legend{padding-bottom:15px;font-weight:bold}.tab-wrapper fieldset fieldset{border:1px solid #ddd;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:5px;padding:40px 20px 20px;margin:10px 0 0 0;cursor:move!important;padding:40px 10px 10px 10px;background:#fcfcfc url(../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0 0}.tab-wrapper fieldset fieldset legend{position:absolute;top:6px;font-weight:bold}
.field-group fieldset:hover{background-color:#fafafa;border-color:#ccc}fieldset div.field-wrapper{padding-left:30px;background:url(../images/move.gif) 0 3px no-repeat transparent}fieldset.radio div div,fieldset.checkbox div div{float:left}fieldset.radio div div label,fieldset.checkbox div div label{margin-right:20px}fieldset.clear-value{margin-left:10px}.field-group div.actions{position:absolute;right:10px;top:6px}.field-group fieldset:hover div.actions{display:block}.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#eee;visibility:visible!important}ul.forTab{list-style:none;padding:0;margin:0 0 0 1em}ul.forTab li{margin:0 0 1em 0}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}select.multi-select{width:90%;height:10em!important}
ul.multi-checkbox{margin:0 5px 0 0;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:solid 1px #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.options-box{margin-left:20px!important;margin-right:10px!important;border-left:4px solid #eaf3fa;padding-left:15px}th a{background:#fff;padding:2px 5px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;top:-2px}textarea#description{border:1px solid #ddd;width:85%}
</del><span class="cx">\ No newline at end of file
</span><ins>+div#icon-buddypress{background:url(../../../bp-core/images/icons32.png) no-repeat -4px 0;}#tabs-bottom{background:#DFDFDF url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0 0;height:32px;border:1px solid #ccc;-moz-border-radius:0 0 6px 6px;-khtml-border-radius:0 0 6px 6px;-webkit-border-radius:0 0 6px 6px;border-radius:0 0 6px 6px;}#tabs{position:relative;}p.nofields{margin-top:20px;}ul#field-group-tabs{float:left;padding:0 0 0 15px;display:none;}ul#field-group-tabs li{float:left;margin-bottom:-1px;background-color:transparent;margin-right:8px;}ul#field-group-tabs li.ui-state-hover{background-color:#fafafa;}ul#field-group-tabs li.ui-state-hover a.ui-tab{border-color:#bbb #bbb #ccc #bbb;color:#888;}ul#field-group-tabs li.ui-state-acceptable a.ui-tab{border-color:#5a5 #5a5 #ccc #5a5;color:#8a8;background-image:url(../images/plus.gif);background-color:#efe;}ul#field-group-tabs li.ui-tabs-selected.ui-state-acceptable a.ui-tab{background-color:#ECECEC
;background-image:url(../images/cross.gif);}ul#field-group-tabs li.drop-candidate a.ui-tab{background-color:#ffc;border-color:#aa5 #aa5 #ccc #aa5;color:#aa8;}ul#field-group-tabs li a.ui-tab{display:block;margin-top:3px;padding:5px 10px 5px 28px;border:1px solid #ccc;border-bottom:none;-moz-border-radius:6px 6px 0 0;-khtml-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;text-decoration:none;background:#F4F4F4 url(../images/move-x.gif) 7px 55% no-repeat;color:#888;}ul#field-group-tabs li.ui-tabs-selected a.ui-tab{background-color:#ECECEC;margin-top:-1px;padding:7px 10px 7px 28px;border:1px solid #ccc;border-bottom:1px solid transparent;color:#000;font-weight:bold;}.tab-toolbar{background:#ECECEC url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0 0;border-width:1px 1px 0;-moz-border-radius:6px 6px 0 0;-khtml-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;margin:-20px -21px 20px -21px;c
lear:left;padding:10px;border:1px solid #ccc;}.tab-toolbar a.button{padding:5px 10px;}.tab-toolbar a.deletion{color:#f00;border-bottom:1px solid #f00;font-size:11px;text-decoration:none;padding:0 2px;margin-top:-2px;}div.tab-wrapper{background-color:#f9f9f9;clear:left;padding:20px;border-left:1px solid #ccc;border-right:1px solid #ccc;-moz-border-radius:6px 6px 0 0;-khtml-border-radius:6px 6px 0 0;-webkit-border-radius:6px 6px 0 0;border-radius:6px 6px 0 0;}.tab-wrapper fieldset{position:relative;cursor:default!important;background:#fff;}.tab-wrapper fieldset legend{padding-bottom:15px;font-weight:bold;}.tab-wrapper .xprofile-field{position:relative;}.tab-wrapper fieldset fieldset{position:relative;border:1px solid #ddd;-moz-border-radius:6px;-khtml-border-radius:6px;-webkit-border-radius:6px;border-radius:5px;margin:10px 0 0 0;cursor:move!important;background:#fcfcfc url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0 0;}.tab-wrapper fieldset fieldset legend
{position:absolute!important;top:0;left:0;width:80%;padding:30px;}.tab-wrapper fieldset fieldset legend span{position:absolute;top:6px;left:30px;font-weight:bold;width:100%;}.field-group fieldset:hover{background-color:#fafafa;border-color:#ccc;}fieldset div.field-wrapper{padding-left:30px;padding:40px 10px 10px 10px;background:url(../images/move.gif) 6px 6px no-repeat transparent;}fieldset.radio div div,fieldset.checkbox div{float:left;}fieldset.radio div div label,fieldset.checkbox div label{margin-right:20px;}fieldset.clear-value{margin-left:10px;}.field-group div.actions{position:absolute;right:10px;top:6px;}.field-group fieldset:hover div.actions{display:block;}.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#eee;visibility:visible!important;}ul.forTab{list-style:none;padding:0;margin:0 0 0 1em;}ul.forTab li{margin:0 0 1em 0;}ul.forTab li label{display:block;}ul.forTab li input{font-size:1.4em;}p.success{background:green;}p.err{bord
er-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%;}span.desc,span.signup-description{display:block;font-size:11px;color:#555;}select.multi-select{width:90%;height:10em!important;}ul.multi-checkbox{margin:0 5px 0 0;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:solid 1px #ccc;width:90%;}ul.multi-checkbox li{padding:0;margin:0;}div.options-box{margin-left:20px!important;margin-right:10px!important;border-left:4px solid #EAF3FA;padding-left:15px;}th a{background:#fff;padding:2px 5px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;top:-2px;}textarea#description{border:1px solid #ddd;width:85%;}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkbpxprofileadmincssadmindevcss"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/admin/css/admin.dev.css (4363 => 4364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/admin/css/admin.dev.css        2011-05-15 17:30:06 UTC (rev 4363)
+++ trunk/bp-xprofile/admin/css/admin.dev.css        2011-05-15 18:26:13 UTC (rev 4364)
</span><span class="lines">@@ -128,23 +128,33 @@
</span><span class="cx">                         padding-bottom: 15px;
</span><span class="cx">                         font-weight: bold;
</span><span class="cx">                 }
</span><del>-
</del><ins>+        .tab-wrapper .xprofile-field {
+                position: relative;
+        }
</ins><span class="cx">         .tab-wrapper fieldset fieldset {
</span><ins>+                position: relative;
</ins><span class="cx">                 border: 1px solid #ddd;
</span><span class="cx">                 -moz-border-radius: 6px;
</span><span class="cx">                 -khtml-border-radius: 6px;
</span><span class="cx">                 -webkit-border-radius: 6px;
</span><span class="cx">                 border-radius: 5px;
</span><del>-                padding: 40px 20px 20px;
</del><span class="cx">                 margin: 10px 0 0 0;
</span><span class="cx">                 cursor: move !important;
</span><del>-                padding: 40px 10px 10px 10px;
</del><span class="cx">                 background: #fcfcfc url(../../../../../wp-admin/images/gray-grad.png) repeat-x scroll 0% 0%;
</span><span class="cx">         }
</span><span class="cx">         .tab-wrapper fieldset fieldset legend {
</span><ins>+                position: absolute !important;
+                top: 0;
+                left: 0;
+                width: 80%;
+                padding: 30px;
+        }
+        .tab-wrapper fieldset fieldset legend span {
</ins><span class="cx">                 position: absolute;
</span><span class="cx">                 top: 6px;
</span><ins>+                left: 30px;
</ins><span class="cx">                 font-weight: bold;
</span><ins>+                width: 100%;
</ins><span class="cx">         }
</span><span class="cx">                 .field-group fieldset:hover {
</span><span class="cx">                         background-color: #fafafa;
</span><span class="lines">@@ -152,14 +162,15 @@
</span><span class="cx">                 }
</span><span class="cx">                 fieldset div.field-wrapper {
</span><span class="cx">                         padding-left: 30px;
</span><del>-                        background: url(../images/move.gif) 0px 3px no-repeat transparent;
</del><ins>+                        padding: 40px 10px 10px 10px;
+                        background: url(../images/move.gif) 6px 6px no-repeat transparent;
</ins><span class="cx">                 }
</span><span class="cx">         fieldset.radio div div,
</span><del>-        fieldset.checkbox div div {
</del><ins>+        fieldset.checkbox div {
</ins><span class="cx">                 float: left;
</span><span class="cx">         }
</span><span class="cx">         fieldset.radio div div label,
</span><del>-        fieldset.checkbox div div label {
</del><ins>+        fieldset.checkbox div label {
</ins><span class="cx">                 margin-right: 20px;
</span><span class="cx">         }
</span><span class="cx">
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofileadminphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-admin.php (4363 => 4364)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-admin.php        2011-05-15 17:30:06 UTC (rev 4363)
+++ trunk/bp-xprofile/bp-xprofile-admin.php        2011-05-15 18:26:13 UTC (rev 4364)
</span><span class="lines">@@ -361,9 +361,8 @@
</span><span class="cx">         global $field;
</span><span class="cx">
</span><span class="cx">         $field = $admin_field; ?>
</span><del>-
</del><span class="cx">                                                 <fieldset id="field_<?php echo esc_attr( $field->id ); ?>" class="sortable<?php echo ' ' . $field->type; if ( $class ) echo ' ' . $class; ?>">
</span><del>-                                                        <legend><?php bp_the_profile_field_name(); ?> <?php if( !$field->can_delete ) : ?> <?php _e( '(Primary)', 'buddypress' ); endif; ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(Required)', 'buddypress' ) ?><?php endif; ?></legend>
</del><ins>+                                                        <legend><span><?php bp_the_profile_field_name(); ?> <?php if( !$field->can_delete ) : ?> <?php _e( '(Primary)', 'buddypress' ); endif; ?> <?php if ( bp_get_the_profile_field_is_required() ) : ?><?php _e( '(Required)', 'buddypress' ) ?><?php endif; ?></span></legend>
</ins><span class="cx">                                                         <div class="field-wrapper">
</span><span class="cx">
</span><span class="cx"> <?php
</span></span></pre>
</div>
</div>
</body>
</html>