Changeset 9776
- Timestamp:
- 04/27/2020 12:19:44 AM (4 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php
r9733 r9776 346 346 wp_enqueue_style( 'dashicons' ); 347 347 wp_enqueue_style( 'open-sans', '//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600' ); 348 wp_enqueue_style( 'wporg-developer-style', get_stylesheet_uri(), array(), ' 2' );348 wp_enqueue_style( 'wporg-developer-style', get_stylesheet_uri(), array(), '3' ); 349 349 wp_enqueue_style( 'wp-dev-sass-compiled', get_template_directory_uri() . '/stylesheets/main.css', array( 'wporg-developer-style' ), '20200413' ); 350 350 wp_enqueue_script( 'wporg-developer-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20181209', true ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/page-dashicons.js
r1271 r9776 35 35 glyphtext = jQuery('#temp').text(); 36 36 37 var sectionName = jQuery('#iconlist div.dashicons-' + permalink ).prevUntil('h4').last().prev().text(); 38 37 39 var tmpl = wp.template( 'glyphs' ); 38 40 39 41 jQuery( '#glyph' ).html( tmpl({ 40 42 cssClass: 'dashicons-' + permalink, 43 sectionName: sectionName, 41 44 attr: attr, 42 45 html: htmltext, -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/page-dashicons.php
r9441 r9776 8 8 */ 9 9 10 wp_enqueue_style( 'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '20 150217' );11 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '20 150217' );10 wp_enqueue_style( 'dashicons-page', get_template_directory_uri() . '/stylesheets/page-dashicons.css', array(), '20200427' ); 11 wp_enqueue_script( 'dashicons-page', get_template_directory_uri() . '/js/page-dashicons.js', array( 'jquery', 'wp-util' ), '20200427' ); 12 12 13 13 get_header(); ?> … … 463 463 <div class="dashicons {{data.cssClass}}"></div> 464 464 <div class="info"> 465 <span><strong>{{data.sectionName}}</strong></span> 465 466 <span class="name"><code>{{data.cssClass}}</code></span> 466 467 <span class="link"><a href='javascript:dashicons.copy( "content: \"\\{{data.attr}}\";", "css" )'><?php _e( 'Copy CSS', 'wporg' ); ?></a></span> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/page-dashicons.css
r3720 r9776 60 60 .dashicons-page #glyph .info { 61 61 float: right; 62 margin-top: 50px;62 margin-top: 30px; 63 63 width: 35%; 64 64 }
Note: See TracChangeset
for help on using the changeset viewer.