WordPress.org

Make WordPress Core

Ticket #35622: 35622.4.patch

File 35622.4.patch, 6.3 KB (added by afercia, 3 years ago)
  • src/wp-admin/css/common.css

     
    830830
    831831.row-actions span.delete a,
    832832.row-actions span.trash a,
    833 .row-actions span.spam a,
    834 .plugins a.delete,
    835 #all-plugins-table .plugins a.delete,
    836 #search-plugins-table .plugins a.delete,
    837 .submitbox .submitdelete,
    838 #media-items a.delete,
    839 #media-items a.delete-permanently,
    840 #nav-menu-footer .menu-delete {
    841         color: #a00;
     833.row-actions span.spam a {
     834        color: #bb2a2a;
    842835}
    843836
    844 abbr.required,
    845 .file-error,
     837/* @todo #dc3232 on a zebra striped table row #f9f9f9 gives a contrast ratio of only 4.39:1 */
    846838.widget-control-remove:hover,
    847839.row-actions .delete a:hover,
    848840.row-actions .trash a:hover,
    849 .row-actions .spam a:hover,
    850 .plugins a.delete:hover,
    851 #all-plugins-table .plugins a.delete:hover,
    852 #search-plugins-table .plugins a.delete:hover,
     841.row-actions .spam a:hover {
     842        color: #dc3232;
     843        text-decoration: none;
     844        border: none;
     845}
     846
     847.submitbox .submitdelete,
     848#nav-menu-footer .menu-delete {
     849        color: #9a2323; /* #f5f5f5 background */
     850}
     851
    853852.submitbox .submitdelete:hover,
    854 #media-items a.delete:hover,
    855 #media-items a.delete-permanently:hover,
    856853#nav-menu-footer .menu-delete:hover {
    857         color: #f00;
     854        color: #bb2a2a; /* #f5f5f5 background */
    858855        text-decoration: none;
    859856        border: none;
    860857}
     
    21632160
    21642161.attention,
    21652162.error-message {
    2166         color: red;
     2163        color: #bb2a2a; /* white or zebra striped bg */
    21672164        font-weight: 600;
    21682165}
    21692166
  • src/wp-admin/css/customize-nav-menus.css

     
    426426        -webkit-box-shadow: none;
    427427        box-shadow: none;
    428428        outline: none;
    429         color: #f00;
     429        color: #dc3232;
    430430}
    431431
    432432.adding-menu-items .menu-item-bar .item-edit {
     
    526526#custom-menu-item-url.invalid,
    527527.menu-name-field.invalid,
    528528.menu-name-field.invalid:focus {
    529         border: 1px solid #f00;
     529        border: 1px solid #dc3232;
    530530}
    531531
    532532#available-menu-items .menu-item-handle .item-type {
     
    631631
    632632#available-menu-items-search .clear-results:hover,
    633633#available-menu-items-search .clear-results:focus {
    634         color: #f00;
     634        color: #dc3232;
    635635}
    636636
    637637#available-menu-items-search .spinner {
     
    768768        margin-bottom: 1em;
    769769}
    770770
    771 .menu-delete {
     771.menu-delete,
     772.wp-customizer .menu-item .submitbox .submitdelete {
    772773        color: #a00;
    773774        cursor: pointer;
    774775        text-decoration: underline;
     
    775776}
    776777
    777778.menu-delete:hover,
    778 .menu-delete:focus {
    779         color: #f00;
     779.menu-delete:focus,
     780.wp-customizer .menu-item .submitbox .submitdelete:hover,
     781.wp-customizer .menu-item .submitbox .submitdelete:focus {
     782        color: #bb2a2a; /* #eee background */
    780783        text-decoration: none;
    781784}
    782785
  • src/wp-admin/css/deprecated-media.css

     
    147147        border: 8px solid #fff;
    148148}
    149149
    150 abbr.required {
     150#media-items a.delete,
     151#media-items a.delete-permanently {
     152        color: #bb2a2a;
     153}
     154
     155abbr.required,
     156#media-items a.delete:hover,
     157#media-items a.delete-permanently:hover {
     158        color: #dc3232;
    151159        text-decoration: none;
    152160        border: none;
    153161}
  • src/wp-admin/css/edit.css

     
    148148        padding: 1px 2px;
    149149}
    150150
    151 /* @todo: do we really need this? word on the street is we don't and this
    152 stray rule may actually be compensated for elsewhere. */
    153 #normal-sortables .submitbox .submitdelete:hover {
    154         color: #000;
    155         background-color: #f00;
    156         border-bottom-color: #f00;
    157 }
    158 
    159151.submitbox .submit a:hover {
    160152        text-decoration: underline;
    161153}
     
    663655
    664656#poststuff .inside label.spam,
    665657#poststuff .inside label.deleted {
    666         color: red;
     658        color: #dc3232;
    667659}
    668660
    669661#poststuff .inside label.waiting {
  • src/wp-admin/css/list-tables.css

     
    162162}
    163163
    164164#replysubmit .error {
    165         color: red;
     165        color: #bb2a2a; /* #f9f9f9 background */
    166166        line-height: 21px;
    167167        text-align: center;
    168168}
  • src/wp-admin/css/media.css

     
    11071107}
    11081108
    11091109span.imgedit-scale-warn {
    1110         color: red;
     1110        color: #dc3232;
    11111111        font-size: 20px;
    11121112        font-style: normal;
    11131113        visibility: hidden;
  • src/wp-admin/css/press-this.css

     
    13281328}
    13291329
    13301330.alert.is-error:before {
    1331         background: red;
     1331        background: #dc3232;
    13321332}
    13331333
    13341334.scan {
  • src/wp-includes/css/media-views.css

     
    14571457
    14581458.selection-info .clear-selection:hover,
    14591459.selection-info .clear-selection:focus {
    1460         color: red;
     1460        color: #dc3232;
    14611461}
    14621462
    14631463.media-selection .selection-view {
     
    16811681.media-modal .untrash-attachment {
    16821682        display: inline;
    16831683        padding: 0;
    1684         color: #bc0b0b;
     1684        color: #bb2a2a; /* #f3f3f3 background */
    16851685}
    16861686
    16871687.media-modal .delete-attachment:hover,
     
    16901690.media-modal .trash-attachment:focus,
    16911691.media-modal .untrash-attachment:hover,
    16921692.media-modal .untrash-attachment:focus {
    1693         color: red;
     1693        color: #bb2a2a; /* #f3f3f3 background */
    16941694}
    16951695
    16961696/**
  • src/wp-includes/js/mediaelement/wp-mediaelement.css

     
    117117}
    118118
    119119.media-embed-details .setting a:hover {
    120         color: #f00;
     120        color: #dc3232;
    121121}
    122122
    123123.media-embed-details .embed-media-settings .checkbox-setting {