WordPress.org

Make WordPress Core

Ticket #47150: 47150.2.diff

File 47150.2.diff, 1000 bytes (added by audrasjb, 14 months ago)

Change media modal border color + add focus styles

  • src/wp-includes/css/media-views.css

    diff --git a/src/wp-includes/css/media-views.css b/src/wp-includes/css/media-views.css
    index 58ff903..6091be6 100644
    a b  
    8787.media-frame input[type="url"],
    8888.media-frame textarea,
    8989.media-frame select {
     90        padding: 6px 8px;
     91        box-shadow: 0 0 0 transparent;
     92        transition: box-shadow 0.1s linear;
     93        border: 1px solid #7e8993;
     94        border-radius: 4px;
    9095        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    9196        font-size: 12px;
    92         border-width: 1px;
    93         border-style: solid;
    94         border-color: #ddd;
    9597}
    9698
    9799.media-frame input[type="text"]:focus,
     
    102104.media-frame input[type="url"]:focus,
    103105.media-frame textarea:focus,
    104106.media-frame select:focus {
    105         border-color: #5b9dd9;
     107        border-color: #00a0d2;
     108        box-shadow: 0 0 0 1px #00a0d2;
     109        outline: 2px solid transparent;
     110        outline-offset: -2px;
    106111}
    107112
    108113.media-frame input:disabled,