WordPress.org

Make WordPress Core

Changeset 45124


Ignore:
Timestamp:
04/06/2019 04:16:50 PM (6 months ago)
Author:
SergeyBiryukov
Message:

Twenty Twelve: Correct linear-gradient direction argument syntax.

In CSS, the linear-gradient function requires that the direction value explicitly use to instead of an implicit from.

Props: ianbelanger, joyously, man4toman.
Fixes #46786.

Location:
trunk/src/wp-content/themes/twentytwelve
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwelve/css/blocks.css

    r44432 r45124  
    144144    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    145145    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    146     background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
     146    background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
    147147    border: 1px solid #d2d2d2;
    148148    border-radius: 3px;
     
    165165    background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
    166166    background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
    167     background-image: linear-gradient(top, #f9f9f9, #ebebeb);
     167    background-image: linear-gradient(to bottom, #f9f9f9, #ebebeb);
    168168    background-repeat: repeat-x;
    169169    color: #5e5e5e;
     
    176176    background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
    177177    background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
    178     background-image: linear-gradient(top, #ebebeb, #e1e1e1);
     178    background-image: linear-gradient(to bottom, #ebebeb, #e1e1e1);
    179179    background-repeat: repeat-x;
    180180    border-color: transparent;
     
    286286    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    287287    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    288     background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
     288    background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
    289289}
    290290
     
    299299    background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
    300300    background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
    301     background-image: linear-gradient(top, #f9f9f9, #ebebeb);
     301    background-image: linear-gradient(to bottom, #f9f9f9, #ebebeb);
    302302    background-repeat: repeat-x;
    303303}
     
    308308    background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
    309309    background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
    310     background-image: linear-gradient(top, #ebebeb, #e1e1e1);
     310    background-image: linear-gradient(to bottom, #ebebeb, #e1e1e1);
    311311    background-repeat: repeat-x;
    312312    border-color: transparent;
  • trunk/src/wp-content/themes/twentytwelve/css/editor-blocks.css

    r44381 r45124  
    242242    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    243243    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    244     background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
     244    background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
    245245    border: 1px solid #d2d2d2;
    246246    border-radius: 3px;
     
    367367    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    368368    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    369     background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
     369    background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
    370370    background-repeat: repeat-x;
    371371}
  • trunk/src/wp-content/themes/twentytwelve/style.css

    r44730 r45124  
    256256    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    257257    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    258     background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
     258    background-image: linear-gradient(to bottom, #f4f4f4, #e6e6e6);
    259259    border: 1px solid #d2d2d2;
    260260    border-radius: 3px;
     
    286286    background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
    287287    background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
    288     background-image: linear-gradient(top, #f9f9f9, #ebebeb);
     288    background-image: linear-gradient(to bottom, #f9f9f9, #ebebeb);
    289289}
    290290.menu-toggle:active,
     
    301301    background-image: -webkit-linear-gradient(top, #ebebeb, #e1e1e1);
    302302    background-image: -o-linear-gradient(top, #ebebeb, #e1e1e1);
    303     background-image: linear-gradient(top, #ebebeb, #e1e1e1);
     303    background-image: linear-gradient(to bottom, #ebebeb, #e1e1e1);
    304304    box-shadow: inset 0 0 8px 2px #c6c6c6, 0 1px 0 0 #f4f4f4;
    305305    border-color: transparent;
     
    12771277    background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
    12781278    background-image: -o-linear-gradient(top, #009cee, #0088d0);
    1279     background-image: linear-gradient(top, #009cee, #0088d0);
     1279    background-image: linear-gradient(to bottom, #009cee, #0088d0);
    12801280    border-radius: 3px;
    12811281    border: 1px solid #007cbd;
Note: See TracChangeset for help on using the changeset viewer.