Make WordPress Core

Ticket #61888: 61888.label-input-button.patch

File 61888.label-input-button.patch, 1.1 KB (added by sabernhardt, 9 months ago)

option 2: removes font size, moves new rules, and adds some styles for the Search block label and input

  • src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css

     
    560560        text-align: left;
    561561}
    562562
    563 /* Search */
    564 
    565 .wp-block-search__button {
    566         background-color: #222;
    567         color: #fff;
    568         font-size: 16px;
    569         font-weight: 800;
    570         line-height: 1.5;
    571 }
    572 
    573563@media screen and (min-width: 30em) {
    574564        .wp-block-quote.alignleft p,
    575565        .wp-block-quote.alignright p,
     
    832822        margin-left: 0;
    833823        margin-right: 0;
    834824}
     825
     826/* Search */
     827
     828.wp-block-search .wp-block-search__label {
     829        font-weight: 800;
     830        margin-bottom: 0.5em;
     831}
     832
     833.wp-block-search .wp-block-search__input {
     834        color: #333;
     835        background: #fff;
     836        background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
     837        border: 1px solid #bbb;
     838        border-radius: 3px;
     839        line-height: 1.5;
     840        padding: 0.7em;
     841}
     842
     843.wp-block-search__button {
     844        background-color: #222;
     845        color: #fff;
     846        font-weight: 800;
     847        line-height: 1.5;
     848}