Make WordPress Core

Changeset 26528


Ignore:
Timestamp:
12/02/2013 05:58:45 PM (13 years ago)
Author:
iammattthomas
Message:

Updating .wp-dialog styling to match the new admin design. Fixes #26328, props SergeyBiryukov, Ocean90.

Location:
trunk/src
Files:
3 edited

Legend:

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

    r26471 r26528  
    164164
    165165#dashboard-widgets h4 {
    166         color: #222;   
     166        color: #222;
    167167}
    168168
     
    19371937}
    19381938
    1939 .clearlooks2 .mceFocus .mceTop .mceLeft,
    1940 .clearlooks2 .mceFocus .mceTop .mceRight {
    1941         background-color: #f3f3f3;
    1942 }
    1943 
    19441939.clearlooks2 .mceTop span,
    19451940.clearlooks2 .mceFocus .mceTop span {
     
    19481943
    19491944.clearlooks2 .mceClose:before {
    1950         color: #666;
    1951 }
     1945        color: #999;
     1946}
     1947
    19521948.clearlooks2 .mceClose:hover:before {
    19531949        color: #2ea2cc;
  • trunk/src/wp-includes/css/editor.css

    r26446 r26528  
    16391639        padding: 0;
    16401640        z-index: 300002;
    1641         border: 1px solid #999;
    1642         -webkit-box-shadow: 0px 0px 16px rgba( 0,0,0,0.3 );
    1643         box-shadow: 0px 0px 16px rgba( 0,0,0,0.3 );
     1641        border: 0;
     1642        -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7);
     1643        box-shadow:         0 5px 15px rgba(0,0,0,0.7);
    16441644        background-color: #f5f5f5;
    1645         -webkit-border-top-left-radius: 4px;
    1646         border-top-left-radius: 4px;
    1647         -webkit-border-top-right-radius: 4px;
    1648         border-top-right-radius: 4px;
    16491645}
    16501646
     
    16521648        display: block;
    16531649        text-align: center;
    1654         padding: 1px 0 2px;
     1650        padding: 0;
    16551651}
    16561652
     
    16581654        padding: 0 1em;
    16591655        background-color: #444;
    1660         font-weight: bold;
    1661         font-size: 11px;
    1662         line-height: 18px;
    1663         color: #e5e5e5;
    1664         -webkit-border-top-left-radius: 3px;
    1665         border-top-left-radius: 3px;
    1666         -webkit-border-top-right-radius: 3px;
    1667         border-top-right-radius: 3px;
     1656        font-size: 13px;
     1657        line-height: 24px;
     1658        color: #fff;
    16681659}
    16691660
     
    16761667        -webkit-appearance: none;
    16771668        border: 0;
    1678         width: 29px;
    1679         height: 16px;
     1669        width: 30px;
     1670        height: 20px;
    16801671        top: 13px;
    16811672        right: 6px;
    1682         background: url('../js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif') no-repeat -87px -16px;
     1673        background: none;
     1674}
     1675
     1676.wp-dialog .ui-dialog-titlebar-close:before {
     1677        content: '\f158';
     1678        font: normal 20px/1 'dashicons';
     1679        speak: none;
     1680        -webkit-font-smoothing: antialiased;
     1681        -moz-osx-font-smoothing: grayscale;
     1682        color: #999;
     1683        padding-left: 12px;
     1684}
     1685
     1686.wp-dialog .ui-dialog-titlebar-close:hover:before {
     1687        color: #2ea2cc;
    16831688}
    16841689
     
    17641769        -webkit-font-smoothing: antialiased;
    17651770        -moz-osx-font-smoothing: grayscale;
    1766         color: #666;
     1771        color: #999;
    17671772        padding-left: 12px;
    17681773}
  • trunk/src/wp-includes/css/jquery-ui-dialog.css

    r26243 r26528  
    254254        padding: 0;
    255255        z-index: 300002;
    256         border: 1px solid #999;
    257         -webkit-box-shadow: 0px 0px 16px rgba( 0,0,0,0.3 );
    258         box-shadow: 0px 0px 16px rgba( 0,0,0,0.3 );
     256        border: 0;
     257        -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7);
     258        box-shadow:         0 5px 15px rgba(0,0,0,0.7);
    259259        background-color: #f5f5f5;
    260         -webkit-border-top-left-radius: 4px;
    261         border-top-left-radius: 4px;
    262         -webkit-border-top-right-radius: 4px;
    263         border-top-right-radius: 4px;
    264260}
    265261
     
    267263        display: block;
    268264        text-align: center;
    269         padding: 1px 0 2px;
     265        padding: 0;
    270266}
    271267
     
    273269        padding: 0 1em;
    274270        background-color: #444;
    275         font-weight: bold;
    276         font-size: 11px;
    277         line-height: 18px;
    278         color: #e5e5e5;
    279         -webkit-border-top-left-radius: 3px;
    280         border-top-left-radius: 3px;
    281         -webkit-border-top-right-radius: 3px;
    282         border-top-right-radius: 3px;
     271        font-size: 13px;
     272        line-height: 24px;
     273        color: #fff;
    283274}
    284275
     
    291282        -webkit-appearance: none;
    292283        border: 0;
    293         width: 29px;
    294         height: 16px;
     284        width: 30px;
     285        height: 20px;
    295286        top: 13px;
    296287        right: 6px;
    297         background: url('../js/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif') no-repeat -87px -16px;
     288        background: none;
     289}
     290
     291.wp-dialog .ui-dialog-titlebar-close:before {
     292        content: '\f158';
     293        font: normal 20px/1 'dashicons';
     294        speak: none;
     295        -webkit-font-smoothing: antialiased;
     296        -moz-osx-font-smoothing: grayscale;
     297        color: #999;
     298        padding-left: 12px;
     299}
     300
     301.wp-dialog .ui-dialog-titlebar-close:hover:before {
     302        color: #2ea2cc;
    298303}
    299304
Note: See TracChangeset for help on using the changeset viewer.