Permalink
Browse files

1.8.4 (#261)

* Add sr_RS to package.json

* Rename PO file for sr_RS

* Update Documentation

* Update documentation during theme deployment

* Resolve #224 (#225)

* Update translation files so fuzzy strings load properly (#234)

* Unset fuzzy translations. Regenrate .mo file.

* use precise for php52 in travis builds

* drop php52 from travis builds

* Do not set customize colors for title/tagline if they are hidden. (#227)

* Do not set customize colors for title/tagline if they are hidden.

* Fix spacing

* Run official theme tests as part of Travis builds (#219)

* Run official theme tests as part of Travis builds

* Do not run theme check on PHP 5.2

* Fix syntax error

* Add flags and ref Travis PHP version env var

* Copy theme to WP and activate

* Tweaks

* Rsync from .distignore file

* Run theme-check from bash script

* Tweak

* Install test suite

* Define DB creds

* Back to file, ping to PHP 5.6

* Fix substring length

* Create wp-config

* Change working dir

* Install core DB tables

* Reduce diff

* Skip email flag

* Generic wp install info

* Remove build process from Grunt

* Only run theme check just before deploy

* Add line to print wp-cli info

* Move env var

* Remove cli info

* Tweak curl line

* Message not needed

* Only test WP trunk on 7.1

* Move test back to scripts

* Test beta stages

* Syntax problem

* Another fix

* Playing with stages

* Tweak envs for stages

* Add regular tests as stage

* try a diff setup

* Remove matrix

* Put deploy at top level

* Skip after_script on theme check stage

* Test zip file integrity on deploy step

* Rename file, tweak config

* Add wp-cli cache dirs to travis config

* Update grunt packages: imagemin, uglify

* remove php52 from travis

* update packages

* Jetpack infinite scroll docs (#221)

* Start writing docs for Jetpack infinite scroll integration.

* Update infinite scroll jetpack docs. Add zip download. Update contributing.md

* Introduce conditional menu documentation (#237)

* Introduce conditional menu documentation

* Update spacing in how-to.rst

* update matchdep

* update readme for wp 4.9

* add sha256 hash to release tag

* Add replace:charset to the watch:sass Grunt.js task (#241)

* Add replace:charset to the Grunt sass watch task

* Update readme changelog

* Update readme changelog

* Add missing changelog item.

* Merge in master

* Fix comment count regression. Resolves #244 (#245)

Fix: Comment counts showing an extra character.

* Bump WooCommerce template number (#243)

* Fix: Bump WooCommerce pagination template file version to 3.3.1.
* Fix: Tweak `:last-child` padding on `.page-numbers` element.

* Update readme changelog

* Update outdated npm dependencies to latest versions (#248)

* grunt: v1.0.2
* grunt-contrib-uglify: v3.3.0
* grunt-contrib-watch: v1.0.1
* grunt-sass: v2.1.0
* grunt-wp-i18n:  v1.0.2
* load-grunt-tasks: v4.0.0
* susy: 3.0.5

* Tweak primer_wc_shop_columns method to reference shop page ID. (#250)

* WordPres 4.9.6 Support (#254)

* Introduce Privacy Policy link support
* Introduce styles for .comment-form-cookies-consent/#wp-comment-cookies-consent

* Customizer Font Preview Dropdown (#229)

* Add font preview dropdown in the customizer.
* Fix open sans selection
* Delete excess sprite sheet
* Remove excess customizer class.
* Merge in develop. Tweak font select dropdown sizes. Tweak customizer font javascript.

* Update readme

* Update version customizer-font.js

* Add a default value to use_featured_hero_image (#258)

* Add accessibility controls/styles for tab navigation through main nav (#260)

* Update readme

* Update readme

* Update merge conflict in primer_privacy_policy_link comment
  • Loading branch information...
EvanHerman committed Jul 3, 2018
1 parent e69e675 commit 442aee0fbafaf5d75d40bcc2b350822ba23c2067
Showing with 58 additions and 23 deletions.
  1. +2 −2 .dev/sass/components/_menus.scss
  2. +28 −0 assets/js/navigation.js
  3. +1 −1 assets/js/navigation.min.js
  4. +3 −2 inc/customizer/colors.php
  5. +1 −1 inc/helpers.php
  6. +1 −1 package-lock.json
  7. +9 −5 readme.md
  8. +9 −5 readme.txt
  9. +2 −3 style-rtl.css
  10. +2 −3 style.css
@@ -128,8 +128,7 @@
}
}
li:hover > ul,
li.focus > ul {
li:hover > ul {
left: auto;
}
}
@@ -154,6 +153,7 @@
}
&:hover,
&:focus,
&:visited:hover {
background-color: rgba(0, 0, 0, 0.1);
color: $color__menu-text;
@@ -61,6 +61,30 @@
}
function tabNavigationMenuIn() {
var subMenuCount = $( this ).parents( 'ul.sub-menu' ).length;
$( this ).parents( 'ul.sub-menu' ).css( 'left', 'auto' );
if ( 1 <= subMenuCount && $( this ).next().next().hasClass( 'sub-menu' ) ) {
$( this ).next().next().css( 'left', '100%' );
}
if ( 2 <= subMenuCount ) {
$( this ).parents( 'ul.sub-menu' ).css( 'left', '100%' );
$( this ).parents( 'ul.sub-menu' ).last().css( 'left', 'auto' );
}
}
function tabNavigationMenuOut() {
$( this ).closest( 'ul.sub-menu' ).find( 'ul.sub-menu' ).removeAttr( 'style' );
$( this ).parents( 'ul.sub-menu' ).removeAttr( 'style' );
}
function isOffScreen( $submenu ) {
var submenuPosition = $submenu.offset().left,
@@ -85,6 +109,10 @@
$navMenu.find( '.menu-item-has-children' ).on( 'hover', position );
$navMenu.find( '.menu-item > a' ).on( 'focusin', tabNavigationMenuIn );
$navMenu.find( '.menu-item > a' ).on( 'focusout', tabNavigationMenuOut );
$navMenu.find( '.expand' ).on( 'click', expand );
$( document ).on( 'wp-custom-header-video-loaded', function() {

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -108,7 +108,7 @@ public function __construct() {
'default' => '#ffffff',
'section' => 'colors-menu',
'css' => array(
'.main-navigation ul li a, .main-navigation ul li a:visited, .main-navigation ul li a:hover, .main-navigation ul li a:visited:hover' => array(
'.main-navigation ul li a, .main-navigation ul li a:visited, .main-navigation ul li a:hover, .main-navigation ul li a:focus, .main-navigation ul li a:visited:hover' => array(
'color' => '%1$s',
),
'.main-navigation .sub-menu .menu-item-has-children > a::after' => array(
@@ -120,7 +120,8 @@ public function __construct() {
),
),
'rgba_css' => array(
'.main-navigation ul li a:hover' => array(
'.main-navigation ul li a:hover,
.main-navigation ul li a:focus' => array(
'color' => 'rgba(%1$s, 0.8)',
),
),
@@ -261,7 +261,7 @@ function primer_get_hero_image_selector() {
*/
function primer_use_featured_hero_image() {
$enabled = (bool) get_theme_mod( 'use_featured_hero_image' );
$enabled = (bool) get_theme_mod( 'use_featured_hero_image', 1 );
/**
* Filter if a post's featured image should be the header image.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -66,12 +66,16 @@ Source: https://unsplash.com/photos/v4ZUGlrdVAA
## Changelog ##
### 1.8.4 ###
* New: Introduce accessibility controls & styles for tab navigation through the main nav. @props [evanherman](https://github.com/EvanHerman)
* Tweak: Add default value of `1` to theme_mod `use_featured_hero_image`. @props [evanherman](https://github.com/EvanHerman)
### 1.8.3 ###
* Tweak: Update `primer_wc_shop_columns()` to reference the shop page ID.
* New: Introduce a privacy policy link in the footer, when set.
* New: Introduce `primer_privacy_policy_link ` filter to enable/disable the privacy policy link in footer.
* New: Add styles for privacy policy link and cookie comment checkbox & label.
* New: Add font previews to the customizer when selecting a font.
* New: Introduce a privacy policy link in the footer, when set. @props [evanherman](https://github.com/EvanHerman)
* New: Introduce `primer_privacy_policy_link` filter to enable/disable the privacy policy link in footer. @props [evanherman](https://github.com/EvanHerman)
* New: Add styles for privacy policy link and cookie comment checkbox & label. @props [evanherman](https://github.com/EvanHerman)
* New: Add font previews to the customizer when selecting a font. @props [evanherman](https://github.com/EvanHerman)
* Tweak: Update `primer_wc_shop_columns()` to reference the shop page ID. @props [evanherman](https://github.com/EvanHerman)
### 1.8.2 ###
* Fix: Comment counts showing an extra character. @props [evanherman](https://github.com/EvanHerman)
@@ -64,12 +64,16 @@ Source: https://unsplash.com/photos/v4ZUGlrdVAA
== Changelog ==
= 1.8.4 =
* New: Introduce accessibility controls & styles for tab navigation through the main nav. @props [evanherman](https://github.com/EvanHerman)
* Tweak: Add default value of `1` to theme_mod `use_featured_hero_image`. @props [evanherman](https://github.com/EvanHerman)
= 1.8.3 =
* Tweak: Update `primer_wc_shop_columns()` to reference the shop page ID.
* New: Introduce a privacy policy link in the footer, when set.
* New: Introduce `primer_privacy_policy_link ` filter to enable/disable the privacy policy link in footer.
* New: Add styles for privacy policy link and cookie comment checkbox & label.
* New: Add font previews to the customizer when selecting a font.
* New: Introduce a privacy policy link in the footer, when set. @props [evanherman](https://github.com/EvanHerman)
* New: Introduce `primer_privacy_policy_link` filter to enable/disable the privacy policy link in footer. @props [evanherman](https://github.com/EvanHerman)
* New: Add styles for privacy policy link and cookie comment checkbox & label. @props [evanherman](https://github.com/EvanHerman)
* New: Add font previews to the customizer when selecting a font. @props [evanherman](https://github.com/EvanHerman)
* Tweak: Update `primer_wc_shop_columns()` to reference the shop page ID. @props [evanherman](https://github.com/EvanHerman)
= 1.8.2 =
* Fix: Comment counts showing an extra character. @props [evanherman](https://github.com/EvanHerman)
@@ -701,8 +701,7 @@ a {
right: 100%; }
.main-navigation ul ul a {
width: 200px; } }
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
.main-navigation ul li:hover > ul {
right: auto; }
@media only screen and (min-width: 61.063em) {
.main-navigation li {
@@ -717,7 +716,7 @@ a {
@media only screen and (max-width: 61.063em) {
.main-navigation a {
padding: 1.2rem 1rem; } }
.main-navigation a:hover, .main-navigation a:visited:hover {
.main-navigation a:hover, .main-navigation a:focus, .main-navigation a:visited:hover {
background-color: rgba(0, 0, 0, 0.1);
color: #ffffff; }
.main-navigation .current_page_item > a,
@@ -701,8 +701,7 @@ a {
left: 100%; }
.main-navigation ul ul a {
width: 200px; } }
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
.main-navigation ul li:hover > ul {
left: auto; }
@media only screen and (min-width: 61.063em) {
.main-navigation li {
@@ -717,7 +716,7 @@ a {
@media only screen and (max-width: 61.063em) {
.main-navigation a {
padding: 1.2rem 1rem; } }
.main-navigation a:hover, .main-navigation a:visited:hover {
.main-navigation a:hover, .main-navigation a:focus, .main-navigation a:visited:hover {
background-color: rgba(0, 0, 0, 0.1);
color: #ffffff; }
.main-navigation .current_page_item > a,

0 comments on commit 442aee0

Please sign in to comment.