WordPress.org

Make WordPress Core

Changeset 29447


Ignore:
Timestamp:
08/08/2014 07:00:28 PM (6 years ago)
Author:
helen
Message:

Revert [29287] based on design and core team feedback. see #29012.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/colors/_admin.scss

    r29287 r29447  
    417417}
    418418
    419 .media-modal-close:hover,
    420 .edit-attachment-frame .edit-media-header .right:hover,
    421 .edit-attachment-frame .edit-media-header .left:hover,
    422 .media-modal-close:focus,
    423 .edit-attachment-frame .edit-media-header .right:focus,
    424 .edit-attachment-frame .edit-media-header .left:focus {
    425     background: $menu-highlight-background;
    426     color: $menu-highlight-text;
    427 }
    428419
    429420/* Themes */
  • trunk/src/wp-includes/css/media-views.css

    r29446 r29447  
    141141    position: absolute;
    142142    text-decoration: none;
    143     top: 0;
    144     right: 0;
    145     width: 50px;
    146     height: 50px;
     143    top: 5px;
     144    right: 10px;
     145    width: 30px;
     146    height: 30px;
    147147    z-index: 1000;
    148     color: #777;
    149148    -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
    150149    transition: color .1s ease-in-out, background .1s ease-in-out;
     
    152151
    153152.media-modal-close span.media-modal-icon {
    154     display: none;
     153    display: block;
    155154    margin: 8px auto 0;
    156155    width: 15px;
     
    159158}
    160159
    161 .media-modal-close:before {
    162     position: absolute;
    163     top: 1px;
    164     left: 11px;
    165     font: normal 30px/50px 'dashicons' !important;
    166     content: '\f335';
    167     font-weight: 300;
     160.media-modal-close .media-modal-icon:before {
     161    content: '\f158';
     162    font: normal 20px/1 'dashicons';
    168163    speak: none;
     164    vertical-align: middle;
    169165    -webkit-font-smoothing: antialiased;
    170166    -moz-osx-font-smoothing: grayscale;
    171 }
    172 
    173 .media-modal-close:focus,
    174 .media-modal-close:hover {
    175     background: #0074a2;
    176     color: #fff;
    177     -webkit-box-shadow: none;
    178     box-shadow: none;
     167    color: #666;
     168}
     169
     170.media-modal-close:hover .media-modal-icon:before {
     171    color: #2ea2cc;
    179172}
    180173
     
    25552548}
    25562549
    2557 .upload-php .media-modal-close:before {
    2558     top: 4px;
    2559     left: 14px;
     2550.upload-php .media-modal-close .media-modal-icon:before {
     2551    content: '\f335';
     2552    font-size: 30px;
     2553}
     2554
     2555.upload-php .media-modal-close:hover .media-modal-icon:before,
     2556.upload-php .media-modal-close:focus .media-modal-icon:before {
     2557    color: #fff;
     2558}
     2559
     2560.upload-php .media-modal-close .media-modal-icon {
     2561    margin-top: 13px;
     2562    width: 30px;
     2563    height: 30px;
    25602564}
    25612565
     
    25772581}
    25782582
     2583.upload-php .media-modal-close {
     2584    top: 0;
     2585    right: 0;
     2586}
     2587
    25792588.edit-attachment-frame .edit-media-header .left {
    25802589    right: 112px;
     
    26092618.edit-attachment-frame .edit-media-header .left.disabled,
    26102619.edit-attachment-frame .edit-media-header .right.disabled,
    2611 .edit-attachment-frame .edit-media-header .left.disabled:focus,
    2612 .edit-attachment-frame .edit-media-header .right.disabled:focus,
    26132620.edit-attachment-frame .edit-media-header .left.disabled:hover,
    26142621.edit-attachment-frame .edit-media-header .right.disabled:hover {
Note: See TracChangeset for help on using the changeset viewer.