Use dashicons in header images in the customizer.

props mcsf.
see #21785.

Built from https://develop.svn.wordpress.org/trunk@27722


git-svn-id: http://core.svn.wordpress.org/trunk@27559 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-25 19:51:15 +00:00
parent c38cf4f912
commit 5e526b9a94
5 changed files with 4 additions and 14 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

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