Make WordPress Core

Ticket #45426: 45426.2.patch

File 45426.2.patch, 5.3 KB (added by laurelfulford, 7 years 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.colors-dark .wp-block-button__link {
     214        background-color: #fff;
     215        color: #000;
     216}
     217
     218.entry-content .wp-block-button__link:hover,
     219.entry-content .wp-block-button__link:focus {
    210220        background-color: #767676;
     221        color: #fff;
     222}
     223
     224.colors-dark .entry-content .wp-block-button__link:hover,
     225.colors-dark .entry-content .wp-block-button__link:focus {
     226        background-color: #bbb;
     227        color: #000;
     228}
     229
     230.colors-custom .entry-content .wp-block-button__link,
     231.colors-custom .entry-content .wp-block-button__link:hover,
     232.colors-custom .entry-content .wp-block-button__link:focus,
     233.colors-dark .entry-content .wp-block-button__link,
     234.colors-dark .entry-content .wp-block-button__link:hover,
     235.colors-dark .entry-content .wp-block-button__link:focus {
    211236        -webkit-box-shadow: none;
    212237        box-shadow: none;
    213238}
     
    295320        font-size: 14px;
    296321        font-size: 0.875rem;
    297322}
     323
     324/*--------------------------------------------------------------
     3256.0 Blocks - Colors
     326--------------------------------------------------------------*/
     327
     328.entry-content .has-pale-pink-color {
     329        color: #f78da7;
     330}
     331
     332.entry-content .has-pale-pink-background-color,
     333.wp-block-button.is-style-outline .has-pale-pink-background-color:link {
     334        background-color: #f78da7;
     335}
     336
     337.entry-content .has-vivid-red-color {
     338        color: #cf2e2e;
     339}
     340
     341.entry-content .has-vivid-red-background-color,
     342.wp-block-button.is-style-outline .has-vivid-red-background-color:link {
     343        background-color: #cf2e2e;
     344}
     345
     346.entry-content .has-luminous-vivid-orange-color {
     347        color: #ff6900;
     348}
     349
     350.entry-content .has-luminous-vivid-orange-background-color,
     351.wp-block-button.is-style-outline .has-luminous-vivid-orange-background-color:link {
     352        background-color: #ff6900;
     353}
     354
     355.entry-content .has-luminous-vivid-amber-color {
     356        color: #fcb900;
     357}
     358
     359.entry-content .has-luminous-vivid-amber-background-color,
     360.wp-block-button.is-style-outline .has-luminous-vivid-amber-background-color:link {
     361        background-color: #fcb900;
     362}
     363
     364.entry-content .has-light-green-cyan-color {
     365        color: #7bdcb5;
     366}
     367
     368.entry-content .has-light-green-cyan-background-color,
     369.wp-block-button.is-style-outline .has-light-green-cyan-background-color:link {
     370        background-color: #7bdcb5;
     371}
     372
     373.entry-content .has-vivid-green-cyan-color {
     374        color: #00d084;
     375}
     376
     377.entry-content .has-vivid-green-cyan-background-color,
     378.wp-block-button.is-style-outline .has-light-green-cyan-background-color:link {
     379        background-color: #00d084;
     380}
     381
     382.entry-content .has-pale-cyan-blue-color {
     383        color: #8ed1fc;
     384}
     385
     386.entry-content .has-pale-cyan-blue-background-color,
     387.wp-block-button.is-style-outline .has-pale-cyan-blue-background-color:link {
     388        background-color: #8ed1fc;
     389}
     390
     391.entry-content .has-vivid-cyan-blue-color {
     392        color: #0693e3;
     393}
     394
     395.entry-content .has-vivid-cyan-blue-background-color,
     396.wp-block-button.is-style-outline .has-vivid-cyan-blue-background-color:link {
     397        background-color: #0693e3;
     398}
     399
     400.entry-content .has-very-light-gray-color {
     401        color: #eee;
     402}
     403
     404.entry-content .has-very-light-gray-background-color,
     405.wp-block-button.is-style-outline .has-very-light-gray-background-color:link {
     406        background-color: #eee;
     407}
     408
     409.entry-content .has-cyan-bluish-gray-color {
     410        color: #abb8c3;
     411}
     412
     413.entry-content .has-cyan-bluish-gray-background-color,
     414.wp-block-button.is-style-outline .has-cyan-bluish-gray-background-color:link {
     415        background-color: #abb8c3;
     416}
     417
     418.entry-content .has-very-dark-gray-color {
     419        color: #313131;
     420}
     421
     422.entry-content .has-very-dark-gray-background-color,
     423.wp-block-button.is-style-outline .has-very-dark-gray-background-color:link {
     424        background-color: #313131;
     425}
  • 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 {