Changeset 7259
- Timestamp:
- 03/12/2008 02:35:22 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/user-edit.php
r7254 r7259 159 159 <?php 160 160 foreach ( $_wp_admin_css_colors as $color => $color_info ): ?> 161 < p><label>162 <input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> />163 <?php echo $color_info->name ?>164 </label></p> 165 <table>166 <tr>167 <?php 168 foreach ( $color_info->colors as $color ): ?>169 <td style="background-color: <?php echo $color ?>" title="<?php echo $color ?>"></td>170 <?php endforeach; ?> 171 </tr>172 </ table>161 <label class="color-option"><input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> /> 162 <table class="color-palette"> 163 <tr> 164 <?php 165 foreach ( $color_info->colors as $color ): ?> 166 <td style="background-color: <?php echo $color ?>" title="<?php echo $color ?>"></td> 167 <?php endforeach; ?> 168 </tr> 169 </table> 170 171 <?php echo $color_info->name ?> 172 </label> 173 173 <?php endforeach; ?> 174 174 </td> 175 175 </tr> 176 176 </table> 177 178 177 179 178 <?php -
trunk/wp-admin/wp-admin.css
r7255 r7259 813 813 } 814 814 815 #profile-page .form-table input { 816 width: 200px; 815 .form-table label.color-option { 816 display: block; 817 clear: both; 818 } 819 820 .form-table input.tog { 821 margin-top: 2px; 822 margin-right: 2px; 823 float: left; 824 } 825 826 .form-table table.color-palette { 827 vertical-align: bottom; 828 float: left; 829 margin: -3px 3px 8px; 830 } 831 832 .form-table .color-palette td { 833 border-bottom: none; 834 border: 1px solid #fff; 817 835 } 818 836 819 837 #profile-page .form-table textarea { 820 838 width: 500px; 821 height: 150px;822 839 margin-bottom: 6px; 823 840 }
Note: See TracChangeset
for help on using the changeset viewer.