Make WordPress Core

Ticket #38519: 38519.1.patch

File 38519.1.patch, 1.8 KB (added by davidakennedy, 8 years ago)

Adds placeholder styles.

  • src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css

     
    151151        color: #eee;
    152152}
    153153
     154/* Placeholder text color -- selectors need to be separate to work. */
     155.colors-dark ::-webkit-input-placeholder {
     156        color: #ddd;
     157}
     158
     159.colors-dark :-moz-placeholder {
     160        color: #ddd;
     161}
     162
     163.colors-dark ::-moz-placeholder {
     164        color: #ddd;
     165}
     166
     167.colors-dark :-ms-input-placeholder {
     168        color: #ddd;
     169}
     170
    154171.colors-dark input[type="text"]:focus,
    155172.colors-dark input[type="email"]:focus,
    156173.colors-dark input[type="url"]:focus,
  • src/wp-content/themes/twentyseventeen/style.css

     
    10421042        background: #bbb;
    10431043}
    10441044
     1045/* Placeholder text color -- selectors need to be separate to work. */
     1046::-webkit-input-placeholder {
     1047        color: #333;
     1048        font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
     1049}
     1050
     1051:-moz-placeholder {
     1052        color: #333;
     1053        font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
     1054}
     1055
     1056::-moz-placeholder {
     1057        color: #333;
     1058        font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
     1059        opacity: 1;
     1060        /* Since FF19 lowers the opacity of the placeholder by default */
     1061}
     1062
     1063:-ms-input-placeholder {
     1064        color: #333;
     1065        font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
     1066}
     1067
    10451068/*--------------------------------------------------------------
    10461069# Formatting
    10471070--------------------------------------------------------------*/