Ticket #30957: 30957.diff
File 30957.diff, 5.3 KB (added by , 10 years ago) |
---|
-
src/wp-content/themes/twentyfifteen/css/ie.css
125 125 padding: 0.75em 0; 126 126 } 127 127 128 .main-navigation .page_item_has_children > a, 129 .main-navigation .main-navigation .menu-item-has-children > a { 130 padding-right: 53px; 128 .main-navigation .menu-item-has-children > a { 129 padding-right: 48px; 131 130 } 132 131 133 132 .main-navigation .menu-item-description { … … 839 838 margin-left: auto; 840 839 } 841 840 842 .rtl .main-navigation .page_item_has_children > a, 843 .rtl .main-navigation .main-navigation .menu-item-has-children > a { 841 .rtl .main-navigation .menu-item-has-children > a { 844 842 padding-right: 0; 845 padding-left: 53px;843 padding-left: 48px; 846 844 } 847 845 848 846 .rtl .secondary-toggle { -
src/wp-content/themes/twentyfifteen/js/functions.js
11 11 topOffset = 0, bodyHeight, sidebarHeight, resizeTimer; 12 12 13 13 // Add dropdown toggle that display child menu items. 14 $( '.main-navigation . page_item_has_children > a, .main-navigation .menu-item-has-children > a' ).after( '<button class="dropdown-toggle" aria-expanded="false">' + screenReaderText.expand + '</button>' );14 $( '.main-navigation .menu-item-has-children > a' ).after( '<button class="dropdown-toggle" aria-expanded="false">' + screenReaderText.expand + '</button>' ); 15 15 16 16 $( '.dropdown-toggle' ).click( function( e ) { 17 17 var _this = $( this ); -
src/wp-content/themes/twentyfifteen/rtl.css
156 156 margin-left: auto; 157 157 } 158 158 159 .main-navigation .page_item_has_children > a,160 159 .main-navigation .menu-item-has-children > a { 161 160 padding-right: 0; 162 161 padding-left: 48px; … … 477 476 margin-left: auto; 478 477 } 479 478 480 .main-navigation .page_item_has_children > a,481 .main-navigation .main-navigation .menu-item-has-children > a {482 padding-right: 0;483 padding-left: 54px;484 }485 486 479 blockquote.alignright, 487 480 .wp-caption.alignright 488 481 img.alignright { … … 567 560 padding-left: 0; 568 561 } 569 562 570 .main-navigation .page_item_has_children > a,571 .main-navigation .main-navigation .menu-item-has-children > a {572 padding-right: 0;573 padding-left: 53px;574 }575 576 563 blockquote.alignright, 577 564 .wp-caption.alignright 578 565 img.alignright { … … 652 639 padding-left: 0; 653 640 } 654 641 655 .main-navigation .page_item_has_children > a,656 642 .main-navigation .menu-item-has-children > a { 657 643 padding-right: 0; 658 padding-left: 3 5px;644 padding-left: 30px; 659 645 } 660 646 661 647 blockquote.alignright, … … 729 715 padding-left: 0; 730 716 } 731 717 732 .main-navigation .page_item_has_children > a,733 718 .main-navigation .menu-item-has-children > a { 734 719 padding-right: 0; 735 padding-left: 3 3px;720 padding-left: 34px; 736 721 } 737 722 738 723 blockquote.alignright, … … 795 780 padding-left: 0; 796 781 } 797 782 798 .main-navigation .page_item_has_children > a,799 783 .main-navigation .menu-item-has-children > a { 800 784 padding-right: 0; 801 padding-left: 3 2px;785 padding-left: 38px; 802 786 } 803 787 804 788 blockquote.alignright, -
src/wp-content/themes/twentyfifteen/style.css
681 681 position: relative; 682 682 } 683 683 684 .main-navigation .current_page_item > a,685 684 .main-navigation .current-menu-item > a, 686 .main-navigation .current _page_ancestor > a {685 .main-navigation .current-menu-ancestor > a { 687 686 font-weight: 700; 688 687 } 689 688 … … 692 691 border-top: 0; 693 692 } 694 693 695 .main-navigation .page_item_has_children > a,696 694 .main-navigation .menu-item-has-children > a { 697 695 padding-right: 48px; 698 696 } … … 2958 2956 margin-left: 1em; 2959 2957 } 2960 2958 2961 .main-navigation .page_item_has_children > a,2962 .main-navigation .main-navigation .menu-item-has-children > a {2963 padding-right: 54px;2964 }2965 2966 2959 .main-navigation .menu-item-description { 2967 2960 font-size: 14px; 2968 2961 font-size: 1.4rem; … … 3584 3577 padding: 0.75em 0; 3585 3578 } 3586 3579 3587 .main-navigation .page_item_has_children > a,3588 .main-navigation .main-navigation .menu-item-has-children > a {3589 padding-right: 53px;3590 }3591 3592 3580 .main-navigation .menu-item-description { 3593 3581 font-size: 16px; 3594 3582 font-size: 1.6rem; … … 4184 4172 padding: 0.5em 0; 4185 4173 } 4186 4174 4187 .main-navigation .page_item_has_children > a,4188 4175 .main-navigation .menu-item-has-children > a { 4189 padding-right: 3 5px;4176 padding-right: 30px; 4190 4177 } 4191 4178 4192 4179 .main-navigation .menu-item-description { … … 4844 4831 padding: 0.4643em 0; 4845 4832 } 4846 4833 4847 .main-navigation .page_item_has_children > a,4848 4834 .main-navigation .menu-item-has-children > a { 4849 padding-right: 3 3px;4835 padding-right: 34px; 4850 4836 } 4851 4837 4852 4838 .main-navigation .menu-item-description { … … 5383 5369 padding: 0.5em 0; 5384 5370 } 5385 5371 5386 .main-navigation .page_item_has_children > a,5387 5372 .main-navigation .menu-item-has-children > a { 5388 padding-right: 3 2px;5373 padding-right: 38px; 5389 5374 } 5390 5375 5391 5376 .main-navigation .menu-item-description {