~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-content/themes/twentysixteen/inc/customizer.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
421
421
 * @since Twenty Sixteen 1.0
422
422
 */
423
423
function twentysixteen_customize_control_js() {
424
 
        wp_enqueue_script( 'color-scheme-control', get_template_directory_uri() . '/js/color-scheme-control.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '20160412', true );
 
424
        wp_enqueue_script( 'color-scheme-control', get_template_directory_uri() . '/js/color-scheme-control.js', array( 'customize-controls', 'iris', 'underscore', 'wp-util' ), '20160816', true );
425
425
        wp_localize_script( 'color-scheme-control', 'colorScheme', twentysixteen_get_color_schemes() );
426
426
}
427
427
add_action( 'customize_controls_enqueue_scripts', 'twentysixteen_customize_control_js' );
432
432
 * @since Twenty Sixteen 1.0
433
433
 */
434
434
function twentysixteen_customize_preview_js() {
435
 
        wp_enqueue_script( 'twentysixteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20160412', true );
 
435
        wp_enqueue_script( 'twentysixteen-customize-preview', get_template_directory_uri() . '/js/customize-preview.js', array( 'customize-preview' ), '20160816', true );
436
436
}
437
437
add_action( 'customize_preview_init', 'twentysixteen_customize_preview_js' );
438
438
 
554
554
                background-color: {$colors['link_color']};
555
555
        }
556
556
 
 
557
        input[type="date"]:focus,
 
558
        input[type="time"]:focus,
 
559
        input[type="datetime-local"]:focus,
 
560
        input[type="week"]:focus,
 
561
        input[type="month"]:focus,
557
562
        input[type="text"]:focus,
558
563
        input[type="email"]:focus,
559
564
        input[type="url"]:focus,
560
565
        input[type="password"]:focus,
561
566
        input[type="search"]:focus,
 
567
        input[type="tel"]:focus,
 
568
        input[type="number"]:focus,
562
569
        textarea:focus,
563
570
        .tagcloud a:hover,
564
571
        .tagcloud a:focus,
685
692
        table,
686
693
        th,
687
694
        td,
 
695
        input[type="date"],
 
696
        input[type="time"],
 
697
        input[type="datetime-local"],
 
698
        input[type="week"],
 
699
        input[type="month"],
688
700
        input[type="text"],
689
701
        input[type="email"],
690
702
        input[type="url"],
691
703
        input[type="password"],
692
704
        input[type="search"],
 
705
        input[type="tel"],
 
706
        input[type="number"],
693
707
        textarea,
694
708
        .main-navigation li,
695
709
        .main-navigation .primary-menu,
918
932
                        background-color: %1$s;
919
933
                }
920
934
 
 
935
                input[type="date"]:focus,
 
936
                input[type="time"]:focus,
 
937
                input[type="datetime-local"]:focus,
 
938
                input[type="week"]:focus,
 
939
                input[type="month"]:focus,
921
940
                input[type="text"]:focus,
922
941
                input[type="email"]:focus,
923
942
                input[type="url"]:focus,
924
943
                input[type="password"]:focus,
925
944
                input[type="search"]:focus,
 
945
                input[type="tel"]:focus,
 
946
                input[type="number"]:focus,
926
947
                textarea:focus,
927
948
                .tagcloud a:hover,
928
949
                .tagcloud a:focus,
1039
1060
                table,
1040
1061
                th,
1041
1062
                td,
 
1063
                input[type="date"],
 
1064
                input[type="time"],
 
1065
                input[type="datetime-local"],
 
1066
                input[type="week"],
 
1067
                input[type="month"],
1042
1068
                input[type="text"],
1043
1069
                input[type="email"],
1044
1070
                input[type="url"],
1045
1071
                input[type="password"],
1046
1072
                input[type="search"],
 
1073
                input[type="tel"],
 
1074
                input[type="number"],
1047
1075
                textarea,
1048
1076
                .main-navigation li,
1049
1077
                .main-navigation .primary-menu,