Make WordPress Core

Ticket #31713: contrast-ratio-draft.patch

File contrast-ratio-draft.patch, 18.8 KB (added by afercia, 8 years ago)

useful as list of places to check

  • src/wp-admin/css/about.css

     
    4848        background-position: center 24px;
    4949        -webkit-background-size: 85px 85px;
    5050        background-size: 85px 85px;
    51         color: #78c8e6;
     51        color: #e3f1f8;
    5252        font-size: 14px;
    5353        text-align: center;
    5454        font-weight: 600;
     
    128128.about-wrap .about-text {
    129129        margin: 1em 200px 1em 0;
    130130        min-height: 60px;
    131         color: #777;
     131        color: #666;
    132132}
    133133
    134134/* 1.2 - Structure */
  • src/wp-admin/css/admin-menu.css

     
    505505#adminmenu .awaiting-mod,
    506506#adminmenu .update-plugins {
    507507        display: inline-block;
    508         background-color: #d54e21;
     508        background-color: #d00;
    509509        color: #fff;
    510510        font-size: 9px;
    511511        line-height: 17px;
  • src/wp-admin/css/color-picker.css

     
    116116        color: transparent;
    117117}
    118118
    119 .wp-picker-container input[type="text"].wp-color-picker:-moz-placeholder {
    120         color: #999;
     119.wp-picker-container input[type="text"].wp-color-picker::-moz-placeholder {
     120        color: #777;
    121121}
    122122
    123123.wp-picker-container input[type="text"].iris-error {
  • src/wp-admin/css/common.css

     
    431431
    432432.subsubsub a .count,
    433433.subsubsub a.current .count {
    434         color: #999;
     434        color: #666;
    435435        font-weight: normal;
    436436}
    437437
     
    592592        -webkit-border-radius: 2px;
    593593        border-radius: 2px;
    594594        background: #e0e0e0;
     595        color: #006b95;
    595596        text-shadow: none;
    596597        font-weight: 600;
    597598        font-size: 13px;
     
    669670
    670671.wp-ui-notification {
    671672        color: #fff;
    672         background-color: #d54e21;
     673        background-color: #d04b21;
    673674}
    674675.wp-ui-text-notification {
    675         color: #d54e21;
     676        color: #d04b21;
    676677}
    677678
    678679.wp-ui-text-icon {
     
    787788        border-bottom: 1px solid #fafafa;
    788789}
    789790
     791.row-actions span.unapprove a,
    790792.row-actions span.delete a,
    791793.row-actions span.trash a,
    792794.row-actions span.spam a,
     
    803805abbr.required,
    804806.file-error,
    805807.widget-control-remove:hover,
     808.row-actions .unapprove a:hover,
    806809.row-actions .delete a:hover,
    807810.row-actions .trash a:hover,
    808811.row-actions .spam a:hover,
     
    813816#media-items a.delete:hover,
    814817#media-items a.delete-permanently:hover,
    815818#nav-menu-footer .menu-delete:hover {
    816         color: #f00;
     819        color: #e00;
    817820        text-decoration: none;
    818821        border: none;
    819822}
     
    18111814        left: 0;
    18121815        right: 0;
    18131816        padding: 10px 20px;
    1814         color: #777;
     1817        color: #666;
    18151818}
    18161819
    18171820#wpfooter p {
     
    19241927}
    19251928
    19261929.error-message {
    1927         color: red;
     1930        color: #e00;
    19281931        font-weight: 600;
    19291932}
    19301933
     
    28022805.item-edit,
    28032806.sidebar-name-arrow,
    28042807.accordion-section-title:after {
    2805         color: #aaa;
     2808        color: #666;
    28062809}
    28072810
    28082811.widget-action:hover,
     
    28102813.item-edit:hover,
    28112814.sidebar-name:hover .sidebar-name-arrow,
    28122815.accordion-section-title:hover:after {
    2813         color: #777;
     2816        color: #222;
    28142817}
    28152818
    28162819.widget-top a.widget-action:after {
  • src/wp-admin/css/customize-controls.css

     
    6161#customize-info.open .accordion-section-title:after,
    6262#customize-info .accordion-section-title:hover:after,
    6363#customize-info .accordion-section-title:focus:after {
    64         color: #555555;
     64        color: #222;
    6565}
    6666
    6767#customize-info .preview-notice {
     
    123123#customize-theme-controls .control-section .accordion-section-title:hover:after,
    124124#customize-theme-controls .control-section.open .accordion-section-title:after,
    125125#customize-theme-controls .control-section .accordion-section-title:focus:after {
    126         color: #555;
     126        color: #222;
    127127}
    128128
    129129#customize-info.open,
     
    481481        text-shadow: none;
    482482}
    483483
    484 .collapsed .collapse-sidebar-arrow:before {
    485         color: #888;
    486 }
    487 
    488484/* Style for custom settings */
    489485
    490486/*
  • src/wp-admin/css/customize-widgets.css

     
    397397
    398398#available-widgets .widget .widget-description {
    399399        padding: 0;
    400         color: #777;
     400        color: #666;
    401401}
    402402
    403403#customize-preview {
  • src/wp-admin/css/dashboard.css

     
    390390
    391391#dashboard_right_now .warning a:before,
    392392#dashboard_right_now .warning span:before {
    393         color: #d54e21;
     393        color: #d04b21;
    394394}
    395395
    396396/* Dashboard right now - Icons */
     
    621621}
    622622
    623623#dashboard_activity .no-activity p {
    624         color: #999;
     624        color: #777;
    625625        font-size: 16px;
    626626}
    627627
    628628#dashboard_activity .no-activity .smiley {
     629        color: #999;
     630}
     631
     632#dashboard_activity .no-activity .smiley {
    629633        margin-top: 0;
    630634}
    631635
     
    715719
    716720#activity-widget #the-comment-list .comment-item h4 {
    717721        font-size: 13px;
    718         color: #999;
     722        color: #666;
    719723}
    720724
    721725#activity-widget #the-comment-list .comment-item p.row-actions {
     
    737741        left: 0;
    738742        top: 0;
    739743        bottom: 0;
    740         background: #d54e21;
     744        background: #d04b21;
    741745        width: 4px;
    742746}
    743747
     
    900904}
    901905
    902906.rss-widget span.rss-date {
    903         color: #999;
     907        color: #777;
    904908        font-size: 13px;
    905909        margin-left: 3px;
    906910}
     
    940944}
    941945
    942946#dashboard_browser_nag.postbox.browser-insecure {
    943         background-color: #ac1b1b;
     947        background-color: #c00;
    944948        border-color: #ac1b1b;
    945949}
    946950
    947951#dashboard_browser_nag.postbox {
    948         background-color: #e29808;
     952        background-color: #c00;
    949953        background-image: none;
    950954        border-color: #edc048;
    951955        color: #fff;
  • src/wp-admin/css/edit.css

     
    667667
    668668#poststuff .inside label.spam,
    669669#poststuff .inside label.deleted {
    670         color: red;
     670        color: #a00;
    671671}
    672672
    673673#poststuff .inside label.waiting {
    674         color: orange;
     674        color: #e00;
    675675}
    676676
    677677#poststuff .inside label.approved {
  • src/wp-admin/css/forms.css

     
    227227        background-color: #eee;
    228228}
    229229
    230 :-moz-placeholder,
    231 .wp-core-ui :-moz-placeholder {
    232    color: #a9a9a9;
     230::-moz-placeholder,
     231.wp-core-ui ::-moz-placeholder {
     232   color: #767676;
    233233}
    234234
     235::-webkit-input-placeholder {
     236   color: #767676;
     237}
     238
    235239.form-invalid {
    236240        background-color: #ffebe8 !important;
    237241}
  • src/wp-admin/css/ie.css

     
    5959}
    6060
    6161#wp-fullscreen-tagline {
    62         color: #888;
     62        color: #777;
    6363        font-size: 14px;
    6464}
    6565
  • src/wp-admin/css/install.css

     
    7777        background-size: 84px;
    7878        background-position: center top;
    7979        background-repeat: no-repeat;
    80         color: #999;
     80        color: #666;
    8181        height: 84px;
    8282        font-size: 20px;
    8383        font-weight: normal;
  • src/wp-admin/css/list-tables.css

     
    2222        width: 0;
    2323        height: 0;
    2424        margin-left: 8px;
    25         border-top: 5px solid #bbb;
     25        border-top: 5px solid #767676;
    2626        border-right: 5px solid transparent;
    2727}
    2828
     
    3636        display: inline-block;
    3737        -webkit-border-radius: 5px;
    3838        border-radius: 5px;
    39         background-color: #bbb;
     39        background-color: #767676;
    4040        color: #fff;
    4141}
    4242
     
    9292        margin: 0 0 .8em;
    9393}
    9494
    95 #submitted-on,
    96 .submitted-on {
    97         color: #777;
    98 }
    99 
    10095/* reply to comments */
    10196#replyrow td {
    10297        padding: 2px;
     
    119114}
    120115
    121116#replysubmit .error {
    122         color: red;
     117        color: #e00;
    123118        line-height: 21px;
    124119        text-align: center;
    125120}
     
    181176}
    182177
    183178#the-comment-list .unapproved th.check-column {
    184         border-left: 4px solid #d54e21;
     179        border-left: 4px solid #d04b21;
    185180}
    186181
    187182#the-comment-list .unapproved th.check-column input {
     
    188183        margin-left: 4px;
    189184}
    190185
    191 #the-comment-list .approve a {
    192         color: #006505;
    193 }
    194 
    195 #the-comment-list .unapprove a {
    196         color: #d98500;
    197 }
    198 
    199186#the-comment-list th,
    200187#the-comment-list td {
    201188        -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
     
    553540        padding: 0 10px 3px;
    554541        background: #eee;
    555542        background: rgba( 0, 0, 0, 0.05 );
     543        color: #006e9a;
    556544        font-size: 16px;
    557545        font-weight: normal;
    558546}
     
    574562
    575563.tablenav .displaying-num {
    576564        margin-right: 2px;
    577         color: #777;
    578565        font-size: 12px;
    579566        font-style: italic;
    580567}
     
    11541141
    11551142.plugins .active.update th.check-column,
    11561143.plugins .active.update + .plugin-update-tr .plugin-update {
    1157         border-left: 4px solid #d54e21;
     1144        border-left: 4px solid #d04b21;
    11581145}
    11591146
    11601147#wpbody-content .plugins .plugin-title,
     
    11961183.plugin-update-tr .update-message:before,
    11971184.plugin-card .update-now:before,
    11981185.plugin-card .install-now:before {
    1199         color: #d54e21;
     1186        color: #d04b21;
    12001187        display: inline-block;
    12011188        font: normal 20px/1 'dashicons';
    12021189        speak: none;
     
    14661453}
    14671454
    14681455.no-plugin-results {
    1469         color: #999;
     1456        color: #666;
    14701457        font-size: 18px;
    14711458        font-style: normal;
    14721459        margin: 0;
  • src/wp-admin/css/login.css

     
    130130        background-size: 84px;
    131131        background-position: center top;
    132132        background-repeat: no-repeat;
    133         color: #999;
     133        color: #666;
    134134        height: 84px;
    135135        font-size: 20px;
    136136        font-weight: normal;
     
    174174.login #nav a,
    175175.login #backtoblog a {
    176176        text-decoration: none;
    177         color: #999;
     177        color: #666;
    178178}
    179179
    180180.login #nav a:hover,
  • src/wp-admin/css/media.css

     
    400400}
    401401
    402402.drag-drop-inside p {
    403         color: #aaa;
     403        color: #666;
    404404        font-size: 14px;
    405405        margin: 5px 0;
    406406        display: none;
     
    606606}
    607607
    608608.media-frame.mode-grid .attachments-browser .no-media {
    609         color: #999;
     609        color: #666;
    610610        font-size: 18px;
    611611        font-style: normal;
    612612        margin: 0;
     
    889889        float: none;
    890890}
    891891
    892 .media-disabled,
    893 .imgedit-settings .disabled {
     892.media-disabled {
    894893        color: grey;
    895894}
    896895
     
    10631062}
    10641063
    10651064span.imgedit-scale-warn {
    1066         color: red;
     1065        color: #e00;
    10671066        font-size: 20px;
    10681067        font-style: normal;
    10691068        visibility: hidden;
  • src/wp-admin/css/nav-menus.css

     
    7373}
    7474
    7575.is-submenu {
    76         color: #999;
     76        color: #737373;
    7777        font-style: italic;
    7878        font-weight: normal;
    7979        margin-left: 4px;
     
    139139}
    140140
    141141.theme-location-set {
    142         color: #999;
    143         font-size: 11px;
     142        color: #777;
     143        font-size: 12px;
    144144}
    145145
    146146/* Menu Container */
     
    263263}
    264264
    265265.js .input-with-default-title {
    266         color: #aaa;
     266        color: #777;
    267267        font-style: italic;
    268268}
    269269
     
    513513}
    514514
    515515.menu-item-handle .menu-item-title.no-title {
    516         color: #999;
     516        color: #777;
    517517}
    518518
    519519/* Sortables */
     
    573573
    574574/* Menu item controls */
    575575.item-type {
    576         color: #777;
     576        color: #666;
    577577        font-size: 12px;
    578578        padding: 12px 10px;
    579579        line-height: 18px;
  • src/wp-admin/css/revisions.css

     
    145145}
    146146
    147147.revisions-controls .author-card.autosave {
    148         color: #d54e21;
     148        color: #d04b21;
    149149}
    150150
    151151.revisions-controls .author-card .author-name {
  • src/wp-admin/css/themes.css

     
    216216 */
    217217.theme-browser .theme .theme-update,
    218218.theme-browser .theme .theme-installed {
    219         background: #d54e21;
    220         background: rgba(213, 78, 33, 0.95);
     219        background: #be3c28;
     220        background: rgba(190, 60, 40, 0.95);
    221221        color: #fff;
    222222        display: block;
    223223        font-size: 13px;
     
    303303}
    304304
    305305.theme-browser .theme.add-new-theme a {
    306         color: #999;
     306        color: #777;
    307307        text-decoration: none;
    308308        display: block;
    309309        position: relative;
     
    604604.broken-themes a.delete-theme:focus,
    605605.theme-overlay .theme-actions .delete-theme:hover,
    606606.theme-overlay .theme-actions .delete-theme:focus {
    607         background: #d54e21;
     607        background: #d04b21;
    608608        color: #fff;
    609         border-color: #d54e21;
     609        border-color: #d04b21;
    610610}
    611611
    612612.theme-overlay .theme-actions .active-theme,
     
    740740}
    741741
    742742.theme-overlay .theme-version {
    743         color: #999;
     743        color: #777;
    744744        font-size: 13px;
    745745        font-weight: 400;
    746746        float: none;
     
    769769
    770770.theme-overlay .theme-tags {
    771771        border-top: 3px solid #eee;
    772         color: #82878c;
     772        color: #72777b;
    773773        font-size: 13px;
    774774        font-weight: 400;
    775775        margin: 30px 0 0 0;
     
    786786.theme-overlay .theme-update-message {
    787787        background: #fef7f1;
    788788        border: 1px solid #eee;
    789         border-left: 4px solid #d54e21;
     789        border-left: 4px solid #d04b21;
    790790        -webkit-border-radius: 3px;
    791791        border-radius: 3px;
    792792        padding: 5px 20px 10px;
     
    11221122}
    11231123.upload-theme .install-help,
    11241124.upload-plugin .install-help {
    1125         color: #999;
     1125        color: #777;
    11261126        font-size: 18px;
    11271127        font-style: normal;
    11281128        margin: 0;
     
    12251225.rating .ratings {
    12261226        display: block;
    12271227        line-height: 20px;
    1228         color: #999;
     1228        color: #777;
    12291229}
    12301230
    12311231/*------------------------------------------------------------------------------
     
    14731473        padding: 0;
    14741474        -webkit-border-radius: 50%;
    14751475        border-radius: 50%;
    1476         color: #777;
     1476        color: #555;
    14771477        text-decoration: none;
    14781478}
    14791479
  • src/wp-admin/css/widgets.css

     
    111111        padding: 0 0 15px;
    112112        margin: 0;
    113113        font-style: normal;
    114         color: #777;
    115114}
    116115
    117116#widgets-right .widgets-holder-wrap .description {
     
    464463        display: block;
    465464        -webkit-font-smoothing: antialiased;
    466465        font: normal 26px/1 'dashicons';
    467         color: #999;
     466        color: #777;
    468467        position: absolute;
    469468        top: 7px;
    470469        left: 5px;
  • src/wp-includes/css/admin-bar.css

     
    624624}
    625625
    626626#wpadminbar #adminbarsearch .adminbar-input::-webkit-input-placeholder {
    627         color: #999;
     627        color: #777;
    628628}
    629 #wpadminbar #adminbarsearch .adminbar-input:-moz-placeholder {
    630         color: #999;
    631 }
     629
    632630#wpadminbar #adminbarsearch .adminbar-input::-moz-placeholder {
    633         color: #999;
     631        color: #777;
    634632}
     633
    635634#wpadminbar #adminbarsearch .adminbar-input:-ms-input-placeholder {
    636         color: #999;
     635        color: #777;
    637636}
    638637
    639638#wpadminbar #adminbarsearch .adminbar-button {
     
    668667#wpadminbar .screen-reader-shortcut {
    669668        position: absolute;
    670669        top: -1000em;
    671 }
    672 
    673 #wpadminbar .screen-reader-shortcut:focus {
    674         left: 6px;
    675         top: 7px;
    676         height: auto;
    677         width: auto;
    678670        display: block;
    679671        font-size: 14px;
    680672        font-weight: bold;
     
    681673        padding: 15px 23px 14px;
    682674        background: #f1f1f1;
    683675        color: #21759b;
    684         z-index: 100000;
    685676        line-height: normal;
    686677        text-decoration: none;
    687678        -webkit-box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
     
    688679        box-shadow: 0 0 2px 2px rgba(0,0,0,.6);
    689680}
    690681
     682#wpadminbar .screen-reader-shortcut:focus {
     683        left: 6px;
     684        top: 7px;
     685        height: auto;
     686        width: auto;
     687        z-index: 100000;
     688}
     689
    691690/**
    692691 * IE 6-targeted rules
    693692 */
  • src/wp-includes/css/editor.css

     
    672672}
    673673
    674674.mce-toolbar .mce-ico {
    675         color: #777;
     675        color: #707070;
    676676        line-height: 20px;
    677677        width: 20px;
    678678        height: 20px;
     
    960960        position: relative;
    961961        top: 1px;
    962962        background: #ebebeb;
    963         color: #777;
     963        color: #6a6a6a;
    964964        cursor: pointer;
    965965        font: 13px/19px "Open Sans", sans-serif;
    966966        height: 20px;
     
    10041004.tmce-active .switch-tmce,
    10051005.html-active .switch-html {
    10061006        background: #f5f5f5;
    1007         color: #555;
     1007        color: #333;
    10081008        border-bottom-color: #f5f5f5;
    10091009}
    10101010
     
    14311431#wp-link .no-matches-found .item-title {
    14321432        display: block;
    14331433        padding: 6px;
    1434         border-left: 4px solid #d54e21;
     1434        border-left: 4px solid #d04b21;
    14351435}
    14361436
    14371437#wp-link .query-results em {
     
    18121812}
    18131813
    18141814#wp-fullscreen-tagline {
    1815         color: #888;
     1815        color: #777;
    18161816        font-size: 18px;
    18171817        float: right;
    18181818        padding: 4px 0 0;
  • src/wp-includes/css/media-views.css

     
    3838}
    3939
    4040.media-frame a:hover {
    41         color: #d54e21;
     41        color: #d04b21;
    4242}
    4343
    4444.media-frame a.button {
     
    9696        -webkit-appearance: textfield;
    9797}
    9898
    99 .media-frame :-moz-placeholder {
    100    color: #a9a9a9;
     99.media-frame ::-moz-placeholder {
     100   color: #777;
    101101}
    102102
    103103.media-frame .hidden {
     
    508508}
    509509
    510510.media-menu > a:hover {
    511         color: #21759B;
     511        color: #1f7195;
    512512        background: rgba( 0, 0, 0, 0.04 );
    513513}
    514514
     
    14031403        color: #21759B;
    14041404}
    14051405
    1406 .media-selection .selection-info a:hover {
     1406.media-selection .selection-info a:hover,
     1407.media-selection .selection-info a:focus {
    14071408        background: #21759B;
    14081409        color: #fff;
    14091410        border-color: transparent;
     
    14151416}
    14161417
    14171418.media-selection .selection-info .clear-selection {
    1418         color: red;
     1419        color: #bc0b0b;
    14191420}
    14201421
    1421 .media-selection .selection-info .clear-selection:hover {
    1422         background: red;
     1422.media-selection .selection-info .clear-selection:hover,
     1423.media-selection .selection-info .clear-selection:focus {
     1424        background: #bc0b0b;
    14231425}
    14241426
    14251427.media-selection .selection-view {
     
    16261628.media-modal .delete-attachment:hover,
    16271629.media-modal .trash-attachment:hover,
    16281630.media-modal .untrash-attachment:hover {
    1629         color: red;
     1631        color: #e00;
    16301632}
    16311633
    16321634/**
     
    18921894}
    18931895
    18941896.image-details .custom-size span small {
    1895         color: #999;
     1897        color: #666;
    18961898        font-size: inherit;
    18971899}
    18981900