File tree Expand file tree Collapse file tree 5 files changed +12
-8
lines changed
Expand file tree Collapse file tree 5 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -500,7 +500,7 @@ gulp.task('hoverColors', function() {
500500 digestType : 'base32' ,
501501 maxLength : 0 ,
502502 outputName : 'hover2' ,
503- classnameFormat : '[classname]:not( .button-primary):not( .button-secondary ) a' ,
503+ classnameFormat : '[classname]:not( .button-primary):not( .button-secondary ) > a' ,
504504 type : '.json'
505505 } ) ,
506506 require ( 'postcss-prefix-selector' ) ( { prefix : '%1$s' } )
Original file line number Diff line number Diff line change @@ -686,7 +686,8 @@ var BoldGrid = BoldGrid || {};
686686 subMenuWidth ,
687687 subMenuHeight ,
688688 rightOffset ,
689- screenWidth ;
689+ screenWidth ,
690+ isVerticalMegaMenu ;
690691
691692 $headerContainer = $headerContainer . length ? $headerContainer : $subMenu . closest ( '#masthead-sticky' ) ;
692693
@@ -700,8 +701,10 @@ var BoldGrid = BoldGrid || {};
700701 rightOffset = $ ( window ) . outerWidth ( true ) - ( leftOffset + subMenuWidth ) ;
701702 screenWidth = $ ( window ) . width ( ) + 16 ;
702703
704+ isVerticalMegaMenu = $subMenu . closest ( '.sm' ) . hasClass ( 'sm-vertical' ) && $subMenu . hasClass ( 'custom-sub-menu' ) ;
705+
703706 // Adjust the offset for menu items in the footer so it opens upwards instead of down.
704- if ( bottomOffset > headerBottom && $subMenu . closest ( '#colophon' ) . length ) {
707+ if ( $subMenu . closest ( '#colophon' ) . length && ( bottomOffset > headerBottom || isVerticalMegaMenu ) ) {
705708 $subMenu . css ( {
706709 top : '-' + subMenuHeight + 'px'
707710 } ) ;
Original file line number Diff line number Diff line change 2424 display : flex ;
2525 flex-wrap : wrap ;
2626 }
27- .full-width {
27+ > .full-width {
2828 padding-left : 0px ;
2929 padding-right : 0px ;
3030 width : 100% ;
31- .row {
31+ > .row {
3232 display : flex ;
3333 flex-wrap : wrap ;
3434 aside .sidebar {
3535 padding-left : 0px ;
3636 padding-right : 0px ;
3737 height : 100% ;
3838 }
39- div {
39+ > div {
4040 padding-left : 0px ;
4141 padding-right : 0px ;
4242 }
Original file line number Diff line number Diff line change 9494 }
9595}
9696#masthead , #masthead-sticky {
97- .container {
97+ > .boldgrid-section > .container {
9898 padding-left : 15px ;
9999 padding-right : 15px ;
100100 .site-description {
Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ $names: background background-color;
141141 .color#{$color } - #{nth ( $names , $i )} {
142142 @for $each from 1 through length ( $colors ) {
143143 & .color-#{$each } -link-color {
144- li .menu-item :not ( .custom-sub-menu ) {
144+ li .menu-item :not ( .custom-sub-menu ),
145+ .attribution-theme-mods .link {
145146 > a :not ( .btn ) {
146147 color : #{nth ($colors , $each )} ;
147148 }
You can’t perform that action at this time.
0 commit comments