Make WordPress Core

Ticket #45689: 45689.2.patch

File 45689.2.patch, 2.5 KB (added by kjellr, 6 years ago)

Corrected patch to run from the src directory.

  • src/wp-content/themes/twentynineteen/sass/navigation/_menu-main-navigation.scss

     
    169169                                color: $color__background-body;
    170170                                display: block;
    171171                                line-height: $font__line-height-heading;
     172                                text-shadow: none;
    172173                                padding: calc( .5 * #{$size__spacing-unit} ) calc( 24px + #{$size__spacing-unit} ) calc( .5 * #{$size__spacing-unit} ) $size__spacing-unit;
    173174                                white-space: nowrap;
    174175
  • src/wp-content/themes/twentynineteen/sass/site/header/_site-featured-image.scss

     
    4545                }
    4646        }
    4747
     48        .main-navigation .sub-menu a {
     49                opacity: inherit;
     50        }
     51
    4852        /* add focus state to social media icons */
    4953        .social-navigation a {
    5054                &:focus {
  • src/wp-content/themes/twentynineteen/style-rtl.css

     
    11901190  color: #fff;
    11911191  display: block;
    11921192  line-height: 1.2;
     1193  text-shadow: none;
    11931194  padding: calc( .5 * 1rem) 1rem calc( .5 * 1rem) calc( 24px + 1rem);
    11941195  white-space: nowrap;
    11951196}
     
    21562157  color: #fff;
    21572158}
    21582159
     2160.site-header.featured-image .main-navigation .sub-menu a {
     2161  opacity: inherit;
     2162}
     2163
    21592164.site-header.featured-image .social-navigation a:focus {
    21602165  color: #fff;
    21612166  opacity: 1;
  • src/wp-content/themes/twentynineteen/style.css

     
    11901190  color: #fff;
    11911191  display: block;
    11921192  line-height: 1.2;
     1193  text-shadow: none;
    11931194  padding: calc( .5 * 1rem) calc( 24px + 1rem) calc( .5 * 1rem) 1rem;
    11941195  white-space: nowrap;
    11951196}
     
    21622163  color: #fff;
    21632164}
    21642165
     2166.site-header.featured-image .main-navigation .sub-menu a {
     2167  opacity: inherit;
     2168}
     2169
    21652170.site-header.featured-image .social-navigation a:focus {
    21662171  color: #fff;
    21672172  opacity: 1;