Make WordPress Core

Ticket #46239: 46239.patch

File 46239.patch, 4.0 KB (added by kjellr, 8 years ago)
  • src/wp-content/themes/twentynineteen/inc/color-patterns.php

     
    132132                }
    133133
    134134                /*
    135                  * Set left border color for:
     135                 * Set border color for:
    136136                 * wp block quote
     137                 * :focus
    137138                 */
    138139                blockquote,
    139140                .entry .entry-content blockquote,
    140141                .entry .entry-content .wp-block-quote:not(.is-large),
    141                 .entry .entry-content .wp-block-quote:not(.is-style-large) {
    142                         border-left-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */
    143                 }
    144 
    145                 /*
    146                  * Set border color for:
    147                  * :focus
    148                  */
     142                .entry .entry-content .wp-block-quote:not(.is-style-large),
    149143                input[type="text"]:focus,
    150144                input[type="email"]:focus,
    151145                input[type="url"]:focus,
     
    231225
    232226                .editor-block-list__layout .editor-block-list__block .wp-block-quote:not(.is-large):not(.is-style-large),
    233227                .editor-styles-wrapper .editor-block-list__layout .wp-block-freeform blockquote {
    234                         border-left: 2px solid hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */
     228                        border-color: hsl( ' . $primary_color . ', ' . $saturation . ', ' . $lightness . ' ); /* base: #0073a8; */
    235229                }
    236230
    237231                .editor-block-list__layout .editor-block-list__block .wp-block-pullquote.is-style-solid-color:not(.has-background-color) {
  • src/wp-content/themes/twentynineteen/sass/blocks/_blocks.scss

     
    452452
    453453                &:not(.is-large),
    454454                &:not(.is-style-large) {
    455                         border-left: 2px solid $color__link;
     455                        border-width: 2px;
     456                        border-color: $color__link;
    456457                        padding-top: 0;
    457458                        padding-bottom: 0;
    458459                }
  • src/wp-content/themes/twentynineteen/style-editor.css

     
    940940
    941941/** === Blockquote === */
    942942.wp-block-quote:not(.is-large):not(.is-style-large) {
    943   border-left: 2px solid #0073aa;
     943  border-width: 2px;
     944  border-color: #0073aa;
    944945}
    945946
    946947.wp-block-quote.is-large, .wp-block-quote.is-style-large {
  • src/wp-content/themes/twentynineteen/style-editor.scss

     
    391391.wp-block-quote {
    392392
    393393        &:not(.is-large):not(.is-style-large) {
    394                 border-left: 2px solid $color__link;
     394                border-width: 2px;
     395                border-color: $color__link;
    395396        }
    396397
    397398        &.is-large,
  • src/wp-content/themes/twentynineteen/style-rtl.css

     
    54775651}
    54785652
    54795653.entry .entry-content .wp-block-quote:not(.is-large), .entry .entry-content .wp-block-quote:not(.is-style-large) {
    5480   border-right: 2px solid #0073aa;
     5654  border-width: 2px;
     5655  border-color: #0073aa;
    54815656  padding-top: 0;
    54825657  padding-bottom: 0;
    54835658}
  • src/wp-content/themes/twentynineteen/style.css

     
    56635663}
    56645664
    56655665.entry .entry-content .wp-block-quote:not(.is-large), .entry .entry-content .wp-block-quote:not(.is-style-large) {
    5666   border-left: 2px solid #0073aa;
     5666  border-width: 2px;
     5667  border-color: #0073aa;
    56675668  padding-top: 0;
    56685669  padding-bottom: 0;
    56695670}