Make WordPress Core

Changeset 46360


Ignore:
Timestamp:
09/30/2019 06:04:59 PM (7 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls: Improve new styles for the color picker.

Props audrasjb, garrett-eclipse.
Fixes #48131.

File:
1 edited

Legend:

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

    r45722 r46360  
    1111/* Needs higher specificiity. */
    1212.wp-picker-container .wp-color-result.button {
    13         height: 24px;
     13        min-height: 28px;
    1414        margin: 0 6px 6px 0px;
    1515        padding: 0 0 0 30px;
     
    2323        color: #555;
    2424        display: block;
    25         line-height: 2;
     25        line-height: 2.36363636; /* 26px */
    2626        padding: 0 6px;
    2727        text-align: center;
     
    7171}
    7272
    73 .wp-picker-input-wrap .button,
    74 .wp-customizer .wp-picker-input-wrap .button {
     73.wp-picker-input-wrap .button.wp-picker-default,
     74.wp-customizer .wp-picker-input-wrap .button.wp-picker-default {
    7575        margin-left: 6px;
     76        padding: 2px 8px;
    7677}
    7778
     
    9091        font-size: 12px;
    9192        font-family: monospace;
    92         line-height: 1.4;
     93        line-height: 1.33333333; /* 16px */
    9394        margin: 0;
     95        padding: 5px;
    9496        vertical-align: top;
    9597}
Note: See TracChangeset for help on using the changeset viewer.