Index: src/wp-content/themes/twentyfifteen/css/ie.css
===================================================================
--- src/wp-content/themes/twentyfifteen/css/ie.css (revision 29996)
+++ src/wp-content/themes/twentyfifteen/css/ie.css (working copy)
@@ -127,10 +127,6 @@
margin-top: 0;
}
-.dropdown-toggle {
- margin-top: -21px;
-}
-
.social-navigation {
margin: 9.0909%;
max-width: 660px;
Index: src/wp-content/themes/twentyfifteen/js/functions.js
===================================================================
--- src/wp-content/themes/twentyfifteen/js/functions.js (revision 29996)
+++ src/wp-content/themes/twentyfifteen/js/functions.js (working copy)
@@ -9,13 +9,13 @@
$( 'html' ).removeClass( 'no-js' );
// Add dropdown toggle that display child menu items.
- $( '.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).append( '' );
+ $( '.main-navigation .page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).after( '' );
$( '.dropdown-toggle' ).click( function( e ) {
var _this = $( this );
e.preventDefault();
_this.toggleClass( 'toggle-on' );
- _this.parent().next( '.children, .sub-menu' ).toggleClass( 'toggled-on' );
+ _this.next( '.children, .sub-menu' ).toggleClass( 'toggled-on' );
_this.attr( 'aria-expanded', _this.attr( 'aria-expanded' ) === 'false' ? 'true' : 'false' );
_this.html( _this.html() === screenReaderText.expand ? screenReaderText.collapse : screenReaderText.expand );
} );
Index: src/wp-content/themes/twentyfifteen/style.css
===================================================================
--- src/wp-content/themes/twentyfifteen/style.css (revision 29996)
+++ src/wp-content/themes/twentyfifteen/style.css (working copy)
@@ -695,15 +695,12 @@
display: block;
font-size: 15px;
font-size: 1.5rem;
- height: 42px;
+ height: 48px;
padding: 0;
position: absolute;
- top: 50%;
+ top: 0;
right: 0;
- -webkit-transform: translateY(-50%);
- -ms-transform: translateY(-50%);
- transform: translateY(-50%);
- width: 42px;
+ width: 48px;
}
.dropdown-toggle:after {
@@ -710,11 +707,9 @@
color: #333;
content: "\f431";
font-size: 24px;
- line-height: 42px;
+ line-height: 48px;
position: relative;
- top: 0;
left: 1px;
- width: 42px;
}
.dropdown-toggle:hover,
@@ -3953,7 +3948,7 @@
.main-navigation .page_item_has_children > a,
.main-navigation .menu-item-has-children > a {
- padding-right: 35px;
+ padding-right: 30px;
}
.main-navigation .menu-item-description {
@@ -3963,14 +3958,13 @@
}
.dropdown-toggle {
- height: 24px;
- width: 24px;
+ height: 30px;
+ width: 30px;
}
.dropdown-toggle:after {
font-size: 16px;
- line-height: 24px;
- width: 24px;
+ line-height: 30px;
}
.social-navigation {
@@ -4570,7 +4564,7 @@
.main-navigation .page_item_has_children > a,
.main-navigation .menu-item-has-children > a {
- padding-right: 33px;
+ padding-right: 34px;
}
.main-navigation .menu-item-description {
@@ -4579,13 +4573,12 @@
}
.dropdown-toggle {
- height: 28px;
- width: 28px;
+ height: 34px;
+ width: 34px;
}
.dropdown-toggle:after {
- line-height: 28px;
- width: 28px;
+ line-height: 34px;
}
.social-navigation ul {
@@ -5071,7 +5064,7 @@
.main-navigation .page_item_has_children > a,
.main-navigation .menu-item-has-children > a {
- padding-right: 32px;
+ padding-right: 40px;
}
.main-navigation .menu-item-description {
@@ -5082,13 +5075,12 @@
}
.dropdown-toggle {
- height: 32px;
- width: 32px;
+ height: 40px;
+ width: 40px;
}
.dropdown-toggle:after {
- line-height: 32px;
- width: 32px;
+ line-height: 40px;
}
.social-navigation ul {