Use dashicons in header images in the customizer.

props mcsf.
see #21785.


git-svn-id: https://develop.svn.wordpress.org/trunk@27722 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-03-25 19:50:19 +00:00
parent e1c2e01c18
commit 80fcbd5cf7
2 changed files with 2 additions and 7 deletions

View File

@ -534,11 +534,6 @@ body {
display: block; display: block;
} }
#customize-control-header_image .dice {
font-size: 16px;
vertical-align: -1px;
}
#customize-control-header_image .placeholder:hover .dice { #customize-control-header_image .placeholder:hover .dice {
-webkit-animation: dice-color-change 3s infinite; -webkit-animation: dice-color-change 3s infinite;
-moz-animation: dice-color-change 3s infinite; -moz-animation: dice-color-change 3s infinite;

View File

@ -886,7 +886,7 @@ final class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control
<div class="placeholder random"> <div class="placeholder random">
<div class="inner"> <div class="inner">
<span><span class="dice">&#9860;</span> <span><span class="dashicons dashicons-randomize dice"></span>
<# if ( data.type === 'uploaded' ) { #> <# if ( data.type === 'uploaded' ) { #>
<?php _e( 'Randomize uploaded headers' ); ?> <?php _e( 'Randomize uploaded headers' ); ?>
<# } else if ( data.type === 'default' ) { #> <# } else if ( data.type === 'default' ) { #>
@ -917,7 +917,7 @@ final class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control
<div class="placeholder"> <div class="placeholder">
<div class="inner"> <div class="inner">
<span><span class="dice">&#9860;</span> <span><span class="dashicons dashicons-randomize dice"></span>
<# if ( data.type === 'uploaded' ) { #> <# if ( data.type === 'uploaded' ) { #>
<?php _e( 'Randomizing uploaded headers' ); ?> <?php _e( 'Randomizing uploaded headers' ); ?>
<# } else if ( data.type === 'default' ) { #> <# } else if ( data.type === 'default' ) { #>