Changeset 3463
- Timestamp:
- 06/19/2016 11:23:22 AM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style-rtl.css
r3461 r3463 439 439 } 440 440 441 .notification {442 padding: .5rem;443 background: #C7E8CA;444 text-align: center;445 font-size: 12.8px;446 font-size: 0.8rem;447 }448 449 @media (min-width: 67rem) {450 .notification {451 margin: 1rem auto 0;452 max-width: 960px;453 }454 }455 456 441 .notice { 457 442 background: #fff; … … 507 492 .notice.notice-info.notice-alt { 508 493 background-color: #e5f5fa; 494 } 495 496 .locale-banner { 497 padding: .5rem; 498 background: #C7E8CA; 499 text-align: center; 500 font-size: 12.8px; 501 font-size: 0.8rem; 502 } 503 504 @media (min-width: 67rem) { 505 .locale-banner { 506 margin: 1rem auto 0; 507 max-width: 960px; 508 } 509 509 } 510 510 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css
r3461 r3463 439 439 } 440 440 441 .notification {442 padding: .5rem;443 background: #C7E8CA;444 text-align: center;445 font-size: 12.8px;446 font-size: 0.8rem;447 }448 449 @media (min-width: 67rem) {450 .notification {451 margin: 1rem auto 0;452 max-width: 960px;453 }454 }455 456 441 .notice { 457 442 background: #fff; … … 507 492 .notice.notice-info.notice-alt { 508 493 background-color: #e5f5fa; 494 } 495 496 .locale-banner { 497 padding: .5rem; 498 background: #C7E8CA; 499 text-align: center; 500 font-size: 12.8px; 501 font-size: 0.8rem; 502 } 503 504 @media (min-width: 67rem) { 505 .locale-banner { 506 margin: 1rem auto 0; 507 max-width: 960px; 508 } 509 509 } 510 510 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/functions.php
r3460 r3463 77 77 78 78 $slug = get_queried_object()->post_name; 79 wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '20160 525', true );79 wp_enqueue_script( 'wporg-plugins-locale-banner', get_template_directory_uri() . '/js/locale-banner.js', array(), '20160619', true ); 80 80 wp_localize_script( 'wporg-plugins-locale-banner', 'wporgLocaleBanner', array( 81 81 'apiURL' => rest_url( "/plugins/v1/plugin/$slug/translations" ), -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/js/locale-banner.js
r3460 r3463 11 11 12 12 var $banner = $( '<div />', { 13 'class': ' notification',13 'class': 'locale-banner', 14 14 'html': response.suggest_string 15 15 } ); -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/elements/_elements.scss
r3345 r3463 40 40 @import "tables"; 41 41 @import "notices"; 42 @import "banners";
Note: See TracChangeset
for help on using the changeset viewer.