Make WordPress Core

Ticket #29147: 29147.3.diff

File 29147.3.diff, 2.7 KB (added by celloexpressions, 11 years ago)

Use Customizer panels hover-state colors throughout.

  • src/wp-admin/css/customize-controls.css

     
    232232.customize-controls-close:hover,
    233233.control-panel-back:focus,
    234234.control-panel-back:hover {
    235         color: #2ea2cc;
     235        background: #ddd;
     236        border-color: #ccc;
     237        color: #000;
    236238        outline: none;
    237239        -webkit-box-shadow: none;
    238240        box-shadow: none;
  • src/wp-admin/css/media.css

     
    705705        font-weight: 300;
    706706}
    707707
     708.upload-php .media-modal-close:hover,
     709.upload-php .media-modal-close:focus,
    708710.edit-attachment-frame .edit-media-header .left:hover,
    709711.edit-attachment-frame .edit-media-header .right:hover,
    710712.edit-attachment-frame .edit-media-header .left:focus,
    711713.edit-attachment-frame .edit-media-header .right:focus {
    712         color: #2ea2cc;
     714        background: #ddd;
     715        border-color: #ccc;
     716        color: #000;
    713717}
    714718
     719.upload-php .media-modal-close:focus .media-modal-icon:before,
     720.upload-php .media-modal-close:hover .media-modal-icon:before {
     721        color: #000;
     722}
     723
    715724.edit-attachment-frame .edit-media-header .left:before,
    716725.rtl .edit-attachment-frame .edit-media-header .right:before {
    717726        content: '\f341';
  • src/wp-admin/css/themes.css

     
    455455        transition: color .1s ease-in-out, background .1s ease-in-out;
    456456}
    457457
     458.theme-overlay .theme-header .close:focus,
    458459.theme-overlay .theme-header .close:hover,
    459 .theme-overlay .theme-header .close:hover:before,
    460 .theme-overlay .theme-header .close:focus:before,
     460.theme-overlay .theme-header .right:focus,
    461461.theme-overlay .theme-header .right:hover,
     462.theme-overlay .theme-header .left:focus,
    462463.theme-overlay .theme-header .left:hover {
    463         color: #2ea2cc;
     464        background: #ddd;
     465        border-color: #ccc;
     466        color: #000;
    464467}
    465468
     469.theme-overlay .theme-header .close:focus:before,
     470.theme-overlay .theme-header .close:hover:before {
     471        color: #000;
     472}
     473
    466474.theme-overlay .theme-header .close:focus,
    467475.theme-overlay .theme-header .right:focus,
    468476.theme-overlay .theme-header .left:focus {
    469         color: #2ea2cc;
    470477    -webkit-box-shadow:
    471478        0 0 0 1px #5b9dd9,
    472479                0 0 2px 1px rgba(30, 140, 190, .8);
     
    13981405.theme-install-overlay .previous-theme:focus,
    13991406.theme-install-overlay .next-theme:hover,
    14001407.theme-install-overlay .next-theme:focus {
    1401         color: #2ea2cc;
     1408        background: #ddd;
     1409        border-color: #ccc;
     1410        color: #000;
    14021411        outline: none;
    14031412        -webkit-box-shadow: none;
    14041413        box-shadow: none;