Color scheme switcher styling from mt. fixes #6178
git-svn-id: https://develop.svn.wordpress.org/trunk@7259 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
928a671565
commit
40caffb433
|
@ -158,11 +158,8 @@ include ('admin-header.php');
|
|||
<td>
|
||||
<?php
|
||||
foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
|
||||
<p><label>
|
||||
<input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> />
|
||||
<?php echo $color_info->name ?>
|
||||
</label></p>
|
||||
<table>
|
||||
<label class="color-option"><input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> />
|
||||
<table class="color-palette">
|
||||
<tr>
|
||||
<?php
|
||||
foreach ( $color_info->colors as $color ): ?>
|
||||
|
@ -170,12 +167,14 @@ foreach ( $color_info->colors as $color ): ?>
|
|||
<?php endforeach; ?>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php echo $color_info->name ?>
|
||||
</label>
|
||||
<?php endforeach; ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
<?php
|
||||
if ( $is_profile_page ) {
|
||||
do_action('profile_personal_options');
|
||||
|
|
|
@ -812,13 +812,30 @@ html, body {
|
|||
border-style: solid;
|
||||
}
|
||||
|
||||
#profile-page .form-table input {
|
||||
width: 200px;
|
||||
.form-table label.color-option {
|
||||
display: block;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.form-table input.tog {
|
||||
margin-top: 2px;
|
||||
margin-right: 2px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.form-table table.color-palette {
|
||||
vertical-align: bottom;
|
||||
float: left;
|
||||
margin: -3px 3px 8px;
|
||||
}
|
||||
|
||||
.form-table .color-palette td {
|
||||
border-bottom: none;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
|
||||
#profile-page .form-table textarea {
|
||||
width: 500px;
|
||||
height: 150px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue