WordPress.org

Make WordPress Core

Ticket #45426: 45426.1.patch

File 45426.1.patch, 4.8 KB (added by laurelfulford, 18 months ago)
  • src/wp-content/themes/twentyseventeen/assets/css/blocks.css

     
    66/*--------------------------------------------------------------
    77>>> TABLE OF CONTENTS:
    88----------------------------------------------------------------
    9 1.0 Blocks - Common Blocks
    10 2.0 Blocks - Formatting
    11 3.0 Blocks - Layout Elements
    12 4.0 Blocks - Widgets
     91.0 General Block Styles
     102.0 Blocks - Common Blocks
     113.0 Blocks - Formatting
     124.0 Blocks - Layout Elements
     135.0 Blocks - Widgets
     146.0 Blocks - Colors
    1315--------------------------------------------------------------*/
    1416
    1517/*--------------------------------------------------------------
     
    187189/* Buttons */
    188190
    189191.wp-block-button .wp-block-button__link {
    190         background-color: #222;
    191192        -webkit-border-radius: 2px;
    192193        border-radius: 2px;
    193194        -webkit-box-shadow: none;
    194195        box-shadow: none;
    195         color: #fff;
    196196        display: inline-block;
    197197        font-size: 14px;
    198198        font-size: 0.875rem;
     
    205205        white-space: nowrap;
    206206}
    207207
    208 .wp-block-button .wp-block-button__link:hover,
    209 .wp-block-button .wp-block-button__link:focus {
     208.entry-content .wp-block-button__link {
     209        background-color: #222;
     210        color: #fff;
     211}
     212
     213.entry-content .wp-block-button__link:hover,
     214.entry-content .wp-block-button__link:focus {
    210215        background-color: #767676;
     216        color: #fff;
    211217        -webkit-box-shadow: none;
    212218        box-shadow: none;
    213219}
     
    295301        font-size: 14px;
    296302        font-size: 0.875rem;
    297303}
     304
     305/*--------------------------------------------------------------
     3066.0 Blocks - Colors
     307--------------------------------------------------------------*/
     308
     309.entry-content .has-pale-pink-color {
     310        color: #f78da7;
     311}
     312
     313.entry-content .has-pale-pink-background-color,
     314.wp-block-button.is-style-outline .has-pale-pink-background-color:link {
     315        background-color: #f78da7;
     316}
     317
     318.entry-content .has-vivid-red-color {
     319        color: #cf2e2e;
     320}
     321
     322.entry-content .has-vivid-red-background-color,
     323.wp-block-button.is-style-outline .has-vivid-red-background-color:link {
     324        background-color: #cf2e2e;
     325}
     326
     327.entry-content .has-luminous-vivid-orange-color {
     328        color: #ff6900;
     329}
     330
     331.entry-content .has-luminous-vivid-orange-background-color,
     332.wp-block-button.is-style-outline .has-luminous-vivid-orange-background-color:link {
     333        background-color: #ff6900;
     334}
     335
     336.entry-content .has-luminous-vivid-amber-color {
     337        color: #fcb900;
     338}
     339
     340.entry-content .has-luminous-vivid-amber-background-color,
     341.wp-block-button.is-style-outline .has-luminous-vivid-amber-background-color:link {
     342        background-color: #fcb900;
     343}
     344
     345.entry-content .has-light-green-cyan-color {
     346        color: #7bdcb5;
     347}
     348
     349.entry-content .has-light-green-cyan-background-color,
     350.wp-block-button.is-style-outline .has-light-green-cyan-background-color:link {
     351        background-color: #7bdcb5;
     352}
     353
     354.entry-content .has-vivid-green-cyan-color {
     355        color: #00d084;
     356}
     357
     358.entry-content .has-vivid-green-cyan-background-color,
     359.wp-block-button.is-style-outline .has-light-green-cyan-background-color:link {
     360        background-color: #00d084;
     361}
     362
     363.entry-content .has-pale-cyan-blue-color {
     364        color: #8ed1fc;
     365}
     366
     367.entry-content .has-pale-cyan-blue-background-color,
     368.wp-block-button.is-style-outline .has-pale-cyan-blue-background-color:link {
     369        background-color: #8ed1fc;
     370}
     371
     372.entry-content .has-vivid-cyan-blue-color {
     373        color: #0693e3;
     374}
     375
     376.entry-content .has-vivid-cyan-blue-background-color,
     377.wp-block-button.is-style-outline .has-vivid-cyan-blue-background-color:link {
     378        background-color: #0693e3;
     379}
     380
     381.entry-content .has-very-light-gray-color {
     382        color: #eee;
     383}
     384
     385.entry-content .has-very-light-gray-background-color,
     386.wp-block-button.is-style-outline .has-very-light-gray-background-color:link {
     387        background-color: #eee;
     388}
     389
     390.entry-content .has-cyan-bluish-gray-color {
     391        color: #abb8c3;
     392}
     393
     394.entry-content .has-cyan-bluish-gray-background-color,
     395.wp-block-button.is-style-outline .has-cyan-bluish-gray-background-color:link {
     396        background-color: #abb8c3;
     397}
     398
     399.entry-content .has-very-dark-gray-color {
     400        color: #313131;
     401}
     402
     403.entry-content .has-very-dark-gray-background-color,
     404.wp-block-button.is-style-outline .has-very-dark-gray-background-color:link {
     405        background-color: #313131;
     406}
  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    495495        margin-top: 0.075em;
    496496}
    497497
     498.wp-block-paragraph.has-background {
     499        padding: 20px 30px;
     500}
     501
    498502/* Gallery */
    499503
    500504.wp-block-gallery figcaption {