Make WordPress Core

Changeset 46247


Ignore:
Timestamp:
09/23/2019 04:20:24 PM (5 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls for better contrast. Fifth part: Common form controls.

Props anevins, melchoyce, audrasjb, kjellr.
Fixes #47153.

Location:
trunk/src/wp-admin/css
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/common.css

    r46242 r46247  
    13691369    border: 1px solid #ccd0d4;
    13701370    border-left-width: 4px;
    1371     box-shadow: 0 1px 1px rgba(0,0,0,.04)
     1371    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    13721372    margin: 5px 15px 2px;
    13731373    padding: 1px 12px;
     
    16741674    border: 1px solid #ccd0d4;
    16751675    border-top: none;
    1676     box-shadow: 0 1px 0 rgba(0, 0, 0, 0.025);
     1676    box-shadow: 0 0 0 transparent;
    16771677}
    16781678
     
    16911691    border: 1px solid #ccd0d4;
    16921692    border-top: none;
    1693     border-bottom-color: #ccd0d4;
    16941693    height: auto;
    16951694    margin-bottom: 0;
    16961695    padding: 3px 6px 3px 16px;
    16971696    background: #fff;
    1698     border-radius: 0;
     1697    border-radius: 0 0 4px 4px;
    16991698    color: #72777c;
    17001699    line-height: 1.7;
    1701     box-shadow: none;
     1700    box-shadow: 0 0 0 transparent;
     1701    transition: box-shadow 0.1s linear;
    17021702}
    17031703
  • trunk/src/wp-admin/css/forms.css

    r46243 r46247  
    2424select,
    2525textarea {
    26     border: 1px solid #ddd;
    27     box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
     26    padding: 6px 8px;
     27    box-shadow: 0 0 0 transparent;
     28    transition: box-shadow 0.1s linear;
     29    border-radius: 4px;
     30    border: 1px solid #7e8993;
    2831    background-color: #fff;
    2932    color: #32373c;
    3033    outline: none;
    31     transition: 0.05s border-color ease-in-out;
    3234}
    3335
     
    7173input[type="checkbox"],
    7274input[type="radio"] {
    73     border: 1px solid #b4b9be;
     75    border: 1px solid #7e8993;
    7476    background: #fff;
    7577    color: #555;
     
    185187    font-size: 14px;
    186188    padding: 3px 5px;
    187     border-radius: 0; /* Reset mobile webkit's default element styling */
    188189}
    189190
Note: See TracChangeset for help on using the changeset viewer.