mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
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:
parent
c38cf4f912
commit
5e526b9a94
@ -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;
|
||||||
|
2
wp-admin/css/customize-controls-rtl.min.css
vendored
2
wp-admin/css/customize-controls-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||||
|
2
wp-admin/css/customize-controls.min.css
vendored
2
wp-admin/css/customize-controls.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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">⚄</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">⚄</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' ) { #>
|
||||||
|
Loading…
Reference in New Issue
Block a user