WordPress.org

Make WordPress Core

Changeset 27722


Ignore:
Timestamp:
03/25/2014 07:50:19 PM (7 years ago)
Author:
nacin
Message:

Use dashicons in header images in the customizer.

props mcsf.
see #21785.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/customize-controls.css

    r27497 r27722  
    535535}
    536536
    537 #customize-control-header_image .dice {
    538     font-size: 16px;
    539     vertical-align: -1px;
    540 }
    541 
    542537#customize-control-header_image .placeholder:hover .dice {
    543538    -webkit-animation: dice-color-change 3s infinite;
  • trunk/src/wp-includes/class-wp-customize-control.php

    r27688 r27722  
    887887            <div class="placeholder random">
    888888                <div class="inner">
    889                     <span><span class="dice">&#9860;</span>
     889                    <span><span class="dashicons dashicons-randomize dice"></span>
    890890                    <# if ( data.type === 'uploaded' ) { #>
    891891                        <?php _e( 'Randomize uploaded headers' ); ?>
     
    918918            <div class="placeholder">
    919919                <div class="inner">
    920                     <span><span class="dice">&#9860;</span>
     920                    <span><span class="dashicons dashicons-randomize dice"></span>
    921921                    <# if ( data.type === 'uploaded' ) { #>
    922922                        <?php _e( 'Randomizing uploaded headers' ); ?>
Note: See TracChangeset for help on using the changeset viewer.