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:
parent
e1c2e01c18
commit
80fcbd5cf7
|
@ -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;
|
||||
|
|
|
@ -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">⚄</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">⚄</span>
|
||||
<span><span class="dashicons dashicons-randomize dice"></span>
|
||||
<# if ( data.type === 'uploaded' ) { #>
|
||||
<?php _e( 'Randomizing uploaded headers' ); ?>
|
||||
<# } else if ( data.type === 'default' ) { #>
|
||||
|
|
Loading…
Reference in New Issue