Make WordPress Core

Changeset 26992 for branches/3.8


Ignore:
Timestamp:
01/21/2014 06:04:16 PM (13 years ago)
Author:
nacin
Message:

Copy media modal colors out of colors.css and into media-views.css, as the modal can be triggered on the front end.

Merges part of [26929] to the 3.8 branch.

props avryl.
props collinsinternet for the initial patch.
fixes #26677.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8/src/wp-includes/css/media-views.css

    r26816 r26992  
    22 * Base Styles
    33 */
     4.media-modal * {
     5        -webkit-box-sizing: content-box;
     6        -moz-box-sizing:    content-box;
     7        box-sizing:         content-box;
     8}
     9
    410.media-modal,
    511.media-frame {
     
    174180        overflow: auto;
    175181        min-height: 300px;
    176         background: #fff;
    177         -webkit-font-smoothing: subpixel-antialiased;
     182        box-shadow: 0 5px 15px rgba(0,0,0,0.7);
     183        background: #fcfcfc;
     184        -webkit-font-smoothing: subpixel-antialiased;
    178185}
    179186
     
    233240        padding: 0 16px 24px;
    234241        z-index: 75;
    235         background: #f5f5f5;
    236         border-left: 1px solid #dfdfdf;
     242        background: #f3f3f3;
     243        border-left: 1px solid #ddd;
    237244        overflow: auto;
    238245        -webkit-overflow-scrolling: touch;
     
    390397        margin: 0;
    391398        padding: 16px 0;
     399        background: #f3f3f3;
    392400        border-right-width: 1px;
    393401        border-right-style: solid;
     402        border-right-color: #ccc;
    394403        -webkit-user-select: none;
    395404        -moz-user-select: none;
     
    405414        line-height: 18px;
    406415        font-size: 14px;
    407         color: #21759B;
     416        color: #0074a2;
    408417        text-decoration: none;
    409418}
     
    420429.media-menu .active,
    421430.media-menu .active:hover {
    422         color: #333;
     431        color: #222;
    423432        font-weight: bold;
    424433}
     
    428437        margin: 12px 20px;
    429438        padding: 0;
    430         border-top: 1px solid #dfdfdf;
    431         border-bottom: 1px solid #fff;
     439        border-top: 1px solid #ddd;
    432440}
    433441
     
    474482.media-router > a.active:last-child {
    475483        margin: -1px -1px 0;
     484        background: #fff;
     485        border: 1px solid #ddd;
     486        border-bottom: none;
    476487}
    477488
     
    529540        margin: 0;
    530541        overflow: auto;
    531         border-top-width: 1px;
    532         border-top-style: solid;
    533         border-bottom-width: 1px;
    534         border-bottom-style: solid;
     542        background: #fff;
     543        border-top: 1px solid #ddd;
     544        border-bottom: 1px solid #ddd;
    535545}
    536546
     
    793803        right: -6px;
    794804        outline: none;
     805        background: #eee;
     806        box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.4 );
    795807}
    796808
     
    808820.attachment.selected .check {
    809821        display: block;
     822}
     823
     824.attachment.details {
     825        box-shadow: 0 0 0 1px #fff,
     826                                0 0 0 5px #1e8cbe;
     827}
     828
     829.attachment.details .check {
     830        background-color: #1e8cbe;
     831        box-shadow: 0 0 0 1px #fff,
     832                                0 0 0 2px #1e8cbe;
    810833}
    811834
Note: See TracChangeset for help on using the changeset viewer.