Changeset 8639
- Timestamp:
- 07/17/2014 06:04:14 PM (12 years ago)
- Location:
- trunk/src/bp-xprofile/admin
- Files:
-
- 3 edited
-
css/admin-rtl.css (modified) (7 diffs)
-
css/admin.css (modified) (6 diffs)
-
js/admin.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-xprofile/admin/css/admin-rtl.css
r8636 r8639 10 10 } 11 11 p.nofields { 12 margin -top: 20px;12 margin: 10px 0; 13 13 } 14 14 … … 71 71 background: #f5f5f5; 72 72 border-width: 1px 1px 0; 73 margin: -20px -21px 20px -21px;74 clear: right;73 margin: -20px -21px 10px -21px; 74 clear: left; 75 75 padding: 10px; 76 76 border: 1px solid #dedede; … … 99 99 background-color: #fff; 100 100 clear: left; 101 padding: 20px ;101 padding: 20px 20px 10px 20px; 102 102 border-left: 1px solid #ccc; 103 103 border-right: 1px solid #ccc; … … 107 107 position: relative; 108 108 cursor: default !important; 109 background: inherit;110 109 } 111 110 .tab-wrapper fieldset legend { … … 118 117 position: relative; 119 118 border: 1px solid #ddd; 120 margin: 10px 0 0 0;119 margin: 10px 0; 121 120 cursor: move !important; 122 background: #f5f5f5; 121 background: #fafafa; 122 padding: 10px 0 0 ; 123 123 } 124 124 .tab-wrapper fieldset fieldset legend { 125 position: absolute !important;126 top: 0;127 right: 0;128 width: 80%;129 padding: 30px;130 }131 .tab-wrapper fieldset fieldset legend span {132 125 position: absolute; 133 top: 6px;126 top: 10px; 134 127 right: 10px; 135 font-weight: bold; 136 width: 100%; 128 padding: 0; 137 129 } 138 130 .field-group fieldset:hover { 139 background-color: #fafafa; 140 border-color: #ccc; 131 border-color: #999; 141 132 } 142 133 fieldset div.field-wrapper { 143 padding: 40px 10px 10px;134 padding: 25px 10px 10px; 144 135 } 145 136 fieldset.radio div div label, … … 154 145 float: none; 155 146 border-top: 1px solid #ddd; 156 margin: 20px 0 0;147 margin: 10px 0 0; 157 148 padding-top: 10px; 158 149 } … … 167 158 .field-group fieldset.ui-sortable-placeholder { 168 159 border: 1px dashed #999; 169 background-color: #f afafa;160 background-color: #fff; 170 161 visibility: visible !important; 171 162 } -
trunk/src/bp-xprofile/admin/css/admin.css
r8636 r8639 10 10 } 11 11 p.nofields { 12 margin -top: 20px;12 margin: 10px 0; 13 13 } 14 14 … … 99 99 background-color: #fff; 100 100 clear: left; 101 padding: 20px ;101 padding: 20px 20px 10px 20px; 102 102 border-left: 1px solid #ccc; 103 103 border-right: 1px solid #ccc; … … 107 107 position: relative; 108 108 cursor: default !important; 109 background: inherit;110 109 } 111 110 .tab-wrapper fieldset legend { … … 118 117 position: relative; 119 118 border: 1px solid #ddd; 120 margin: 10px 0 0 0;119 margin: 10px 0; 121 120 cursor: move !important; 122 background: #f5f5f5; 121 background: #fafafa; 122 padding: 10px 0 0 ; 123 123 } 124 124 .tab-wrapper fieldset fieldset legend { 125 position: absolute !important;126 top: 0;127 left: 0;128 width: 80%;129 padding: 30px;130 }131 .tab-wrapper fieldset fieldset legend span {132 125 position: absolute; 133 top: 6px;126 top: 10px; 134 127 left: 10px; 135 font-weight: bold; 136 width: 100%; 128 padding: 0; 137 129 } 138 130 .field-group fieldset:hover { 139 background-color: #fafafa; 140 border-color: #ccc; 131 border-color: #999; 141 132 } 142 133 fieldset div.field-wrapper { 143 padding: 40px 10px 10px;134 padding: 25px 10px 10px; 144 135 } 145 136 fieldset.radio div div label, … … 154 145 float: none; 155 146 border-top: 1px solid #ddd; 156 margin: 20px 0 0;147 margin: 10px 0 0; 157 148 padding-top: 10px; 158 149 } … … 167 158 .field-group fieldset.ui-sortable-placeholder { 168 159 border: 1px dashed #999; 169 background-color: #f afafa;160 background-color: #fff; 170 161 visibility: visible !important; 171 162 } -
trunk/src/bp-xprofile/admin/js/admin.js
r8495 r8639 65 65 /** 66 66 * Hide all "options" sections, and show the options section for the forWhat type. 67 * 68 * @param {string} forWhat Value of the field to show options for 67 69 */ 68 70 function show_options( forWhat ) { … … 147 149 cursor: 'move', 148 150 axis: 'x', 149 opacity: 0.6,151 opacity: 1, 150 152 items: 'li', 151 tolerance: ' pointer',153 tolerance: 'intersect', 152 154 153 155 update: function() { … … 165 167 jQuery( 'fieldset.field-group' ).sortable({ 166 168 cursor: 'move', 167 opacity: 0.3,169 opacity: 1, 168 170 items: 'fieldset', 169 tolerance: 'po inter',171 tolerance: 'ponter', 170 172 171 173 update: function() { … … 206 208 // When field is dropped on tab 207 209 drop: function( ev, ui ) { 208 var $item = jQuery(this), // The tab209 $list = jQuery( $item.find( 'a' ).attr( 'href' ) ).find( '.connectedSortable' );// The tab body210 var $item = jQuery(this), // The tab 211 $list = jQuery( $item.find( 'a' ).attr( 'href' ) ).find( '.connectedSortable' ); // The tab body 210 212 211 213 // Remove helper class
Note: See TracChangeset
for help on using the changeset viewer.