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>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
|
foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
|
||||||
<p><label>
|
<label class="color-option"><input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> />
|
||||||
<input name="admin_color" type="radio" value="<?php echo $color ?>" class="tog" <?php checked($color, get_user_option('admin_color')); ?> />
|
<table class="color-palette">
|
||||||
<?php echo $color_info->name ?>
|
|
||||||
</label></p>
|
|
||||||
<table>
|
|
||||||
<tr>
|
<tr>
|
||||||
<?php
|
<?php
|
||||||
foreach ( $color_info->colors as $color ): ?>
|
foreach ( $color_info->colors as $color ): ?>
|
||||||
|
@ -170,12 +167,14 @@ foreach ( $color_info->colors as $color ): ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<?php echo $color_info->name ?>
|
||||||
|
</label>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ( $is_profile_page ) {
|
if ( $is_profile_page ) {
|
||||||
do_action('profile_personal_options');
|
do_action('profile_personal_options');
|
||||||
|
|
|
@ -812,13 +812,30 @@ html, body {
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
#profile-page .form-table input {
|
.form-table label.color-option {
|
||||||
width: 200px;
|
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 {
|
#profile-page .form-table textarea {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
height: 150px;
|
|
||||||
margin-bottom: 6px;
|
margin-bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue