Make WordPress Core

Changeset 46419


Ignore:
Timestamp:
10/07/2019 01:18:19 PM (5 years ago)
Author:
afercia
Message:

Accessibility: Improve and modernize user interface controls for better contrast: Further improvements to input heights and alignments.

  • improves input fields height in the customizer
  • improves input fields height for Internet Explorer 11
  • improves input fields height in the Image Editor
  • improves alignment of selects and buttons in the privacy policy pages
  • makes the search themes fields font-size consistent

Props garrett-eclipse, afercia.
See #47477.

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

Legend:

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

    r46360 r46419  
    9595    padding: 5px;
    9696    vertical-align: top;
     97    min-height: 28px;
    9798}
    9899
  • trunk/src/wp-admin/css/customize-controls.css

    r46411 r46419  
    285285
    286286#customize-control-changeset_preview_link input {
    287     line-height: 2.5;
     287    line-height: 2.85714286; /* 40px */
    288288    border-top: 1px solid #ddd;
    289289    border-left: none;
     
    291291    text-indent: -999px;
    292292    color: #fff;
     293    /* Only necessary for IE11 */
     294    min-height: 40px;
    293295}
    294296
     
    348350
    349351.date-time-fields .date-input.year {
    350     width: 60px;
     352    width: 65px;
    351353}
    352354
     
    925927.customize-control input[type="url"] {
    926928    width: 100%;
    927     line-height: 1.3;
    928929    margin: 0;
    929930}
     
    25892590#available-menu-items-search input {
    25902591    width: 100%;
    2591     height: 32px;
     2592    min-height: 32px;
    25922593    margin: 1px 0;
    2593     padding: 6px 30px;
     2594    padding: 0 30px;
    25942595}
    25952596
  • trunk/src/wp-admin/css/forms.css

    r46411 r46419  
    7575    /* inherits font size 14px */
    7676    line-height: 2; /* 28px */
     77    /* Only necessary for IE11 */
     78    min-height: 30px;
    7779}
    7880
     
    11721174.tools-privacy-policy-page input.button,
    11731175.tools-privacy-policy-page select {
    1174     margin-left: 6px;
     1176    margin: 0 1px 0 6px;
    11751177}
    11761178
  • trunk/src/wp-admin/css/media.css

    r46418 r46419  
    11291129    width: 80px;
    11301130    font-size: 14px;
    1131     padding: 5px 8px;
     1131    padding: 0 8px;
    11321132}
    11331133
  • trunk/src/wp-admin/css/themes.css

    r46356 r46419  
    3535    margin: 0;
    3636    width: 280px;
     37    font-size: inherit;
    3738}
    3839
Note: See TracChangeset for help on using the changeset viewer.