Make WordPress Core

Changeset 38969


Ignore:
Timestamp:
10/26/2016 09:55:09 PM (8 years ago)
Author:
karmatosed
Message:

Twenty Seventeen: Placeholder styling

These were designed but never implemented.

Props melchoyce, davidakennedy
Fixes #38519

Location:
trunk/src/wp-content/themes/twentyseventeen
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/colors-dark.css

    r38918 r38969  
    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,
  • trunk/src/wp-content/themes/twentyseventeen/style.css

    r38966 r38969  
    10411041input[type="submit"].secondary:focus {
    10421042    background: #bbb;
     1043}
     1044
     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;
    10431066}
    10441067
Note: See TracChangeset for help on using the changeset viewer.