Changeset 9384

Show
Ignore:
Timestamp:
10/28/08 10:59:26 (2 months ago)
Author:
azaozz
Message:

Write page styling

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/css/colors-fresh.css

    r9369 r9384  
     1 
     2textarea, input, select { 
     3    border-color: #dfdfdf; 
     4} 
    15 
    26#sidemenu-bg, 
     
    1115 
    1216body, 
     17#wpbody, 
    1318.form-table .pre, 
    1419.find-box-inside { 
    15     background-color: #fff
     20    background-color: #f9f9f9
    1621    color: #333; 
    1722} 
     
    6570} 
    6671 
    67 li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, 
    68  #poststuff h3, .metabox-holder h3, #replyhandle, 
    69 .login form, h3.info-box-title, #post-status-info, #screen-options-wrap, 
    70 #wpbody-content .describe tr, #edithead, #replyhead  { 
     72li.widget-list-control-item, 
     73div.nav, 
     74.tablenav, 
     75#dashboard-widgets p.dashboard-widget-links, 
     76#replyhandle, 
     77.login form, h3.info-box-title, 
     78#screen-options-wrap, 
     79#wpbody-content .describe tr, 
     80#edithead, 
     81#replyhead  { 
    7182    background-color: #eaf3fa; 
     83} 
     84 
     85#poststuff h3, 
     86.metabox-holder h3 { 
     87    background-color: #dfdfdf; 
    7288} 
    7389 
     
    87103 
    88104#post-body ul#category-tabs li.ui-tabs-selected, 
    89 #quicktags, #login form .submit input, .search-box .button, 
     105#login form .submit input, .search-box .button, 
    90106#ed_reply_toolbar { 
    91107    background-color: #cee1ef !important; 
     
    365381} 
    366382 
    367 #adminmenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, .ui-sortable .postbox h3:hover span, a { 
     383#adminmenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, .ui-tabs-nav a, a { 
    368384    color: #2583ad; 
    369385} 
     
    482498} 
    483499 
    484 #poststuff #editor-toolbar { 
    485     background-color: #cee1ef; 
    486 
    487  
    488 #poststuff #editor-toolbar .active { 
    489     background-color: #EAF3FA; 
    490     color: #333; 
    491 
    492  
    493 .metabox-holder .postbox, #poststuff .postbox, #titlediv, #poststuff .postarea, #poststuff .stuffbox { 
    494     border-color: #ebebeb; 
    495     border-right-color: #ccc; 
    496     border-bottom-color: #ccc; 
    497 
    498  
    499 .metabox-holder .postbox, #poststuff .postbox { 
     500.metabox-holder .postbox, 
     501#poststuff .postbox, 
     502#titlediv, 
     503#poststuff .postarea, 
     504#poststuff .stuffbox { 
     505    border-color: #dfdfdf; 
     506
     507 
     508.metabox-holder .postbox, 
     509#poststuff .postbox { 
    500510    background-color: #FFF; 
    501511} 
     512 
     513.ui-sortable .postbox h3 { 
     514    color: #555; 
     515} 
     516 
     517.ui-sortable .postbox h3:hover { 
     518    color: #000; 
     519}  
    502520 
    503521.curtime #timestamp { 
     
    606624} 
    607625 
     626/* editors */ 
     627#quicktags { 
     628    border-color: #dfdfdf; 
     629    background-color: #dfdfdf; 
     630} 
     631 
     632#poststuff .wp_themeSkin .mceStatusbar { 
     633    border-color: #EDEDED; 
     634} 
     635 
     636#poststuff #edButtonPreview, 
     637#poststuff #edButtonHTML { 
     638    background-color: #f1f1f1; 
     639    border-color: #dfdfdf; 
     640    color: #999; 
     641} 
     642 
     643#poststuff #editor-toolbar .active { 
     644    border-bottom-color: #e9e9e9; 
     645    background-color: #e9e9e9; 
     646    color: #333; 
     647} 
     648 
    608649/* TinyMCE */ 
     650#post-status-info { 
     651    background-color: #EDEDED; 
     652} 
     653 
    609654.wp_themeSkin *, 
    610655.wp_themeSkin a:hover, 
     
    617662/* Containers */ 
    618663.wp_themeSkin table, #wp_editbtns { 
     664    /* 
    619665    background: #cee1ef; 
     666    */ 
    620667} 
    621668 
     
    626673/* Layout */ 
    627674.wp_themeSkin .mceStatusbar { 
    628     color:#000; 
    629     background-color: #eaf3fa
     675    color: #000; 
     676    background-color: #f5f5f5
    630677} 
    631678 
     
    633680.wp_themeSkin .mceButton { 
    634681    background-color: #e9e8e8; 
    635     border-color: #abc0fb
     682    border-color: #B2B2B2
    636683} 
    637684 
     
    639686.wp_themeSkin a.mceButtonActive, 
    640687.wp_themeSkin a.mceButtonSelected { 
    641     background-color: #d6d8da
    642     border-color: #7789ba !important; 
     688    background-color: #d5d5d5
     689    border-color: #777 !important; 
    643690} 
    644691 
    645692.wp_themeSkin .mceButtonDisabled { 
    646     border-color: #bdd !important; 
     693    border-color: #ccc !important; 
    647694} 
    648695 
     
    650697.wp_themeSkin .mceListBox .mceText, 
    651698.wp_themeSkin .mceListBox .mceOpen  { 
    652     border-color: #abc0fb
    653     background-color: #e9e8e8
     699    border-color: #B2B2B2
     700    background-color: #d5d5d5
    654701} 
    655702 
     
    658705.wp_themeSkin .mceListBoxSelected .mceOpen, 
    659706.wp_themeSkin .mceListBoxSelected .mceText { 
    660     border-color: #7789ba !important; 
    661     background-color: #d6d8da
     707    border-color: #777 !important; 
     708    background-color: #d5d5d5
    662709} 
    663710 
    664711.wp_themeSkin table.mceListBoxEnabled:hover .mceText, 
    665712.wp_themeSkin .mceListBoxHover .mceText { 
    666     border-color: #7789ba !important; 
     713    border-color: #777 !important; 
    667714} 
    668715 
    669716.wp_themeSkin select.mceListBox { 
    670     border-color: #b3c7e1
     717    border-color: #B2B2B2
    671718    background-color: #fff; 
    672719} 
     
    675722.wp_themeSkin .mceSplitButton a.mceAction, 
    676723.wp_themeSkin .mceSplitButton a.mceOpen { 
    677     background-color: #e9e8e8; 
    678     border-color: #abc0fb
     724    background-color: #e8e8e8; 
     725    border-color: #B2B2B2
    679726} 
    680727 
     
    683730.wp_themeSkin table.mceSplitButtonEnabled:hover a.mceAction, 
    684731.wp_themeSkin .mceSplitButton a.mceAction:hover { 
    685     background-color: #d6d8da
    686     border-color: #7789ba !important; 
     732    background-color: #d5d5d5
     733    border-color: #777 !important; 
    687734} 
    688735 
    689736.wp_themeSkin .mceSplitButtonActive { 
    690     background-color: #d6d8da
     737    background-color: #B2B2B2
    691738} 
    692739 
    693740/* ColorSplitButton */ 
    694741.wp_themeSkin div.mceColorSplitMenu table { 
    695     background-color: #ebeaeb; 
    696     border-color: #808080
     742    background-color: #ebebeb; 
     743    border-color: #B2B2B2
    697744} 
    698745 
    699746.wp_themeSkin .mceColorSplitMenu a { 
    700     border-color: #808080
     747    border-color: #B2B2B2
    701748} 
    702749 
     
    729776.wp_themeSkin .mceMenu .mceMenuItemEnabled a:hover, 
    730777.wp_themeSkin .mceMenu .mceMenuItemActive { 
    731     background-color: #CEE1EF
     778    background-color: #f5f5f5
    732779} 
    733780.wp_themeSkin td.mceMenuItemSeparator { 
     
    745792} 
    746793 
     794.wp_themeSkin tr.mceFirst { 
     795    background-color: #dfdfdf; 
     796    border-color: #dfdfdf; 
     797} 
     798 
    747799/* pop-up */ 
    748800.clearlooks2 .mceTop .mceLeft, .clearlooks2 .mceTop .mceRight { 
    749     background-color: #cee1ef
     801    background-color: #f5f5f5
    750802    border-color: #c6d9e9; 
    751803} 
     
    757809/* end TinyMCE */ 
    758810 
    759 #editorcontainer, #post-status-info { 
    760     border-color: #ccc; 
    761 
    762  
     811#editorcontainer, 
     812#post-status-info, 
    763813#poststuff #titlewrap { 
    764     border-color: #ccc; 
     814    border-color: #dfdfdf; 
     815
     816 
     817#poststuff #titlewrap { 
     818    background-color: #fff; 
    765819} 
    766820 
  • trunk/wp-admin/css/global.css

    r9363 r9384  
    9898    margin: 1px; 
    9999    padding: 3px; 
     100    border-width: 1px; 
     101    border-style: solid; 
    100102} 
    101103 
  • trunk/wp-admin/css/ie.css

    r9306 r9384  
    159159} 
    160160 
    161 * html #editorcontainer #content { 
    162     position: relative; 
     161#editorcontainer #content { 
    163162    overflow: auto; 
    164     padding: 6px; 
    165163    margin: auto; 
    166164    width: 98%; 
  • trunk/wp-admin/edit-form-advanced.php

    r9365 r9384  
    509509<div id="post-body-content" class="has-sidebar-content"> 
    510510<div id="titlediv"> 
    511 <h3><label for="title"><?php _e('Title') ?></label></h3> 
    512511<div id="titlewrap"> 
    513512    <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape($post->post_title); ?>" id="title" autocomplete="off" /> 
     
    527526<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 
    528527 
    529 <div id="add-media-button"><a id="add-media-link" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&amp;type=image&amp;TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Insert Media' ); ?></a></div> 
    530  
    531 <h3><?php _e('Post') ?></h3> 
     528<!--<div id="add-media-button"><a id="add-media-link" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&amp;type=image&amp;TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Insert Media' ); ?></a></div>--> 
    532529 
    533530<?php the_editor($post->post_content); ?> 
  • trunk/wp-admin/edit-form-comment.php

    r9155 r9384  
    1919<?php wp_nonce_field('update-comment_' . $comment->comment_ID) ?> 
    2020<div class="wrap"> 
     21<h2><?php _e('Edit Comment'); ?></h2> 
    2122 
    2223<div id="poststuff" class="metabox-holder"> 
  • trunk/wp-admin/edit-page-form.php

    r9363 r9384  
    395395 
    396396<div id="titlediv"> 
    397 <h3><label for="title"><?php _e('Title') ?></label></h3> 
    398397<div id="titlewrap"> 
    399398  <input type="text" name="post_title" size="30" tabindex="1" value="<?php echo attribute_escape( $post->post_title ); ?>" id="title" autocomplete="off" /> 
     
    411410<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea"> 
    412411 
    413 <div id="add-media-button"><a id="add-media-link" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&amp;type=image&amp;TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Insert Media' ); ?></a></div> 
    414  
    415 <h3><?php _e('Page') ?></h3> 
    416412<?php the_editor($post->post_content); ?> 
    417413<div id="post-status-info"> 
     
    434430</div> 
    435431 
    436  
    437432<?php wp_nonce_field( 'autosave', 'autosavenonce', false ); ?> 
    438433<?php wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); ?> 
  • trunk/wp-admin/includes/media.php

    r9328 r9384  
    321321    global $post_ID, $temp_ID; 
    322322    $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); 
    323     $context = apply_filters('media_buttons_context', __('Add media: %s')); 
     323    $context = apply_filters('media_buttons_context', __('Upload %s')); 
    324324    $media_upload_iframe_src = "media-upload.php?post_id=$uploading_iframe_ID"; 
    325     $media_title = __('Add Media'); 
     325    $media_title = __('Upload Media'); 
    326326    $image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src&amp;type=image"); 
    327     $image_title = __('Add an Image'); 
     327    $image_title = __('Upload an Image'); 
    328328    $video_upload_iframe_src = apply_filters('video_upload_iframe_src', "$media_upload_iframe_src&amp;type=video"); 
    329     $video_title = __('Add Video'); 
     329    $video_title = __('Upload Video'); 
    330330    $audio_upload_iframe_src = apply_filters('audio_upload_iframe_src', "$media_upload_iframe_src&amp;type=audio"); 
    331     $audio_title = __('Add Audio'); 
     331    $audio_title = __('Upload Audio'); 
    332332    $out = <<<EOF 
    333333 
  • trunk/wp-admin/includes/post.php

    r9353 r9384  
    11421142        'gecko_spellcheck' => true, 
    11431143        'entities' => '38,amp,60,lt,62,gt', 
    1144         'accessibility_focus' => false, 
    1145         'tab_focus' => ':next', 
     1144        'accessibility_focus' => true, 
     1145        'tab_focus' => ':prev,:next', 
    11461146        'content_css' => "$mce_css", 
    11471147        'save_callback' => 'switchEditors.saveCallback', 
  • trunk/wp-admin/js/editor.js

    r9019 r9384  
    1717        } else { 
    1818            try { 
    19                 this.I('editorcontainer').style.padding = '0px'; 
    2019                this.I("quicktags").style.display = "none"; 
    2120            } catch(e){}; 
     
    101100        var P = this.I('edButtonPreview'); 
    102101        var ta = this.I(id); 
    103         var ec = (ta.parentNode && ta.parentNode.nodeName == 'DIV') ? ta.parentNode : ''; 
    104102 
    105103        if ( 'tinymce' == mode ) { 
     
    116114 
    117115            qt.style.display = 'none'; 
    118             ta.style.padding = '0px'; 
    119             if ( ec ) 
    120                 ec.style.padding = '0px'; 
    121116 
    122117            ta.value = this.wpautop(ta.value); 
     
    138133            ed.hide(); 
    139134            qt.style.display = 'block'; 
    140  
    141             if ( tinymce.isIE6 ) { 
    142                 ta.style.width = '98%'; 
    143                 if ( ec ) 
    144                     ec.style.padding = '0px'; 
    145                 ta.style.padding = '6px'; 
    146             } else { 
    147                 ta.style.width = '100%'; 
    148                 if ( ec ) 
    149                     ec.style.padding = '6px'; 
    150             } 
    151135 
    152136            ta.style.color = ''; 
  • trunk/wp-admin/wp-admin.css

    r9365 r9384  
    299299    -webkit-border-radius: 11px; 
    300300    border-radius: 11px; 
     301    -moz-box-sizing: content-box; 
    301302} 
    302303 
     
    378379} 
    379380 
     381#wpbody-content .metabox-holder { 
     382    padding-top: 10px; 
     383} 
     384 
    380385#postdivrich { 
    381386    margin: 0; 
     
    389394 
    390395#editorcontainer #content { 
    391     padding: 0
     396    padding: 6px
    392397    line-height: 150%; 
    393398    border: 0 none; 
    394399    outline: none; 
    395 
    396  
    397 #editorcontainer { 
    398     padding: 6px; 
    399     border-style: none solid solid; 
     400    -moz-box-sizing: border-box; 
     401    -webkit-box-sizing: border-box; 
     402    box-sizing: border-box; 
     403
     404 
     405#editorcontainer, 
     406#quicktags { 
     407    border-style: solid; 
    400408    border-width: 1px; 
    401409    border-collapse: separate; 
     410    -moz-border-radius: 6px 6px 0 0; 
     411    -webkit-border-top-right-radius: 6px; 
     412    -webkit-border-top-left-radius: 6px; 
     413    -khtml-border-top-right-radius: 6px; 
     414    -khtml-border-top-left-radius: 6px; 
     415    border-top-right-radius: 6px; 
     416    border-top-left-radius: 6px; 
    402417} 
    403418 
    404419#quicktags { 
    405420    padding: 0; 
    406     border: 0 none; 
     421    margin-bottom: -3px; 
     422    border-bottom-width: 3px; 
     423    background-image: url("images/ed-bg.gif"); 
     424    background-position: left top; 
     425    background-repeat: repeat-x; 
    407426} 
    408427 
    409428#quicktags #ed_toolbar { 
    410     padding: 2px 4px
     429    padding: 2px 4px 0
    411430} 
    412431 
     
    13241343    font-size: 12px; 
    13251344    line-height: 2; 
    1326     padding: 0 7px; 
    1327     border: 1px solid; 
    1328     border-top: none; 
     1345    padding: 0 15px 0 7px; 
     1346    border-width: 0 1px 1px; 
     1347    border-style: none solid solid; 
     1348    -moz-border-radius: 0 0 6px 6px; 
     1349    -webkit-border-bottom-left-radius: 6px; 
     1350    -webkit-border-bottom-right-radius: 6px; 
     1351    -khtml-border-bottom-left-radius: 6px; 
     1352    -khtml-border-bottom-right-radius: 6px; 
     1353    border-bottom-left-radius: 6px; 
     1354    border-bottom-right-radius: 6px; 
    13291355} 
    13301356 
     
    13321358    border: none; 
    13331359} 
     1360 
     1361#post-body-content .wp_themeSkin .mceStatusbar a.mceResize { 
     1362    display: block; 
     1363    float: right; 
     1364    background: transparent url(images/resize.gif) no-repeat scroll right bottom; 
     1365    width: 12px; 
     1366    height: 12px; 
     1367    cursor: se-resize; 
     1368    margin: 0 2px; 
     1369    position: relative; 
     1370    right: 0; 
     1371    top: 31px; 
     1372} 
     1373 
    13341374 
    13351375#pagesubmitdiv div.inside, 
     
    14241464} 
    14251465 
    1426 #poststuff h3, .metabox-holder h3 { 
    1427     font-size: 14px; 
     1466#poststuff h3, 
     1467.metabox-holder h3 { 
     1468    font-size: 12px; 
    14281469    font-weight: bold; 
    1429     padding: 7px; 
     1470    padding: 6px 7px; 
    14301471    margin: 0 0 10px; 
    14311472} 
    14321473 
    1433 .metabox-holder .postbox, #poststuff .postbox, #poststuff .stuffbox { 
    1434     padding: 2px; 
     1474.metabox-holder .postbox, 
     1475#poststuff .postbox, 
     1476#poststuff .stuffbox { 
    14351477    margin-bottom: 20px; 
    14361478    border-width: 1px; 
    14371479    border-style: solid; 
     1480    -moz-border-radius: 6px; 
     1481    -khtml-border-radius: 6px; 
     1482    -webkit-border-radius: 6px; 
     1483    border-radius: 6px; 
     1484} 
     1485 
     1486.metabox-holder .postbox h3, 
     1487#poststuff .postbox h3, 
     1488#poststuff .stuffbox h3 { 
     1489    background-image: url("images/postbox-bg.gif"); 
     1490    background-position: left top; 
     1491    background-repeat: repeat-x; 
    14381492} 
    14391493 
     
    14651519 
    14661520#poststuff #titlewrap { 
    1467     padding: 2px 3px; 
     1521    padding: 3px 4px; 
    14681522    border-width: 1px; 
    14691523    border-style: solid; 
     1524    -moz-border-radius: 6px; 
     1525    -khtml-border-radius: 6px; 
     1526    -webkit-border-radius: 6px; 
     1527    border-radius: 6px; 
    14701528} 
    14711529 
     
    14921550#edit-slug-box { 
    14931551    margin-top: 8px; 
    1494 
    1495  
    1496 #editable-post-name-full { display: none; } 
    1497  
    1498 #editable-post-name input { width: 16em; } 
     1552    padding: 0 7px; 
     1553
     1554 
     1555#editable-post-name-full { 
     1556    display: none; 
     1557
     1558 
     1559#editable-post-name input { 
     1560    width: 16em; 
     1561
    14991562 
    15001563#edit-slug-buttons a.save { 
     
    15231586 
    15241587#poststuff #editor-toolbar { 
    1525     clear: both; 
    1526     position: relative; 
    1527     margin-top: -10px; 
    1528 
    1529 #poststuff #editor-toolbar #edButtonHTML, #poststuff #editor-toolbar #edButtonPreview { 
    1530     position: relative; 
    1531     top: -5px; 
    1532 
    1533  
    1534 #poststuff #edButtonPreview, #poststuff #edButtonHTML { 
     1588    height: 30px; 
     1589
     1590 
     1591.wp_themeSkin tr.mceFirst { 
     1592    background-image: url("images/ed-bg.gif"); 
     1593    background-position: left top; 
     1594    background-repeat: repeat-x; 
     1595    border-width: 0 0 1px; 
     1596    border-style: none none solid; 
     1597
     1598 
     1599#poststuff #edButtonPreview, 
     1600#poststuff #edButtonHTML { 
    15351601    display: block; 
    1536     height: 20px; 
    1537     padding: 5px 5px 1px
    1538     margin: 5px 8px 0 0
     1602    height: 18px; 
     1603    margin: 5px 5px 0 0
     1604    padding: 4px 5px 2px
    15391605    float: right; 
    15401606    cursor: pointer; 
     1607    border-width: 1px; 
     1608    border-style: solid; 
     1609    -moz-border-radius: 3px 3px 0 0; 
     1610    -webkit-border-top-right-radius: 3px; 
     1611    -webkit-border-top-left-radius: 3px; 
     1612    -khtml-border-top-right-radius: 3px; 
     1613    -khtml-border-top-left-radius: 3px; 
     1614    border-top-right-radius: 3px; 
     1615    border-top-left-radius: 3px; 
     1616} 
     1617 
     1618#poststuff #edButtonHTML { 
     1619    margin-right: 15px; 
    15411620} 
    15421621 
    15431622#poststuff #editor-toolbar .active { 
    1544     font-weight: bold; 
    1545     -moz-border-radius: 0 0 3px 3px; 
    1546     -webkit-border-bottom-right-radius: 3px; 
    1547     -webkit-border-bottom-left-radius: 3px; 
    1548     -khtml-border-bottom-right-radius: 3px; 
    1549     -khtml-border-bottom-left-radius: 3px; 
    1550     border-bottom-right-radius: 3px; 
    1551     border-bottom-left-radius: 3px; 
     1623    /*font-weight: bold;*/ 
    15521624} 
    15531625 
    15541626#poststuff #media-buttons { 
    1555     float: right; 
    1556     margin-right: 20px; 
    1557     margin-top: 8px; 
    15581627    cursor: default; 
    1559     line-height: 1; 
    1560     height: 1.1em; 
     1628    padding: 8px 8px 0; 
    15611629} 
    15621630 
    15631631#poststuff #media-buttons a { 
    15641632    cursor: pointer; 
    1565     padding: 0 5px 2px 2px; 
     1633    padding: 0 0 5px 10px; 
     1634    vertical-align: middle; 
    15661635} 
    15671636 
  • trunk/wp-includes/general-template.php

    r9376 r9384  
    14951495    } 
    14961496 
    1497 /*    if ( $media_buttons ) { ?> 
     1497  if ( $media_buttons ) { ?> 
    14981498        <div id="media-buttons" class="hide-if-no-js"> 
    14991499        <?php do_action( 'media_buttons' ); ?> 
    15001500        </div> 
    1501     <?php } */ ?> 
     1501    <?php } ?> 
    15021502    </div> 
    15031503 
     
    15201520    if ( typeof tinyMCE != 'undefined' ) { 
    15211521        // This code is meant to allow tabbing from Title to Post (TinyMCE). 
    1522         document.getElementById('<?php echo $prev_id; ?>').onkeydown = function (e) { 
    1523             e = e || window.event; 
    1524             if (e.keyCode == 9 && !e.shiftKey && !e.controlKey && !e.altKey) { 
    1525                 if ( tinyMCE.activeEditor ) { 
    1526                     if ( (jQuery("#post_ID").val() < 1) && (jQuery("#title").val().length > 0) ) { autosave(); } 
    1527                     e = null; 
    1528                     if ( tinyMCE.activeEditor.isHidden() ) return true; 
     1522        jQuery('#<?php echo $prev_id; ?>').keydown(function (e) { 
     1523            if (e.which == 9 && !e.shiftKey && !e.controlKey && !e.altKey) { 
     1524                if ( (jQuery("#post_ID").val() < 1) && (jQuery("#title").val().length > 0) ) { autosave(); } 
     1525                if ( tinyMCE.activeEditor && ! tinyMCE.activeEditor.isHidden() ) { 
    15291526                    tinyMCE.activeEditor.focus(); 
     1527                    e.preventDefault(); 
    15301528                    return false; 
    15311529                } 
    1532                 return true
     1530                return
    15331531            } 
    1534         } 
     1532        }); 
    15351533    } 
    15361534    <?php } ?> 
  • trunk/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/ui.css

    r9090 r9384  
    2020.wp_themeSkin table.mceLayout {border:0;} 
    2121.wp_themeSkin .mceIframeContainer {} 
    22 .wp_themeSkin .mceStatusbar {display:block; font-family:'MS Sans Serif',sans-serif,Verdana,Arial; font-size:9pt; line-height:16px; overflow:visible;height:20px;} 
     22.wp_themeSkin .mceStatusbar { 
     23    display: block; 
     24    font-family: 'MS Sans Serif',sans-serif,Verdana,Arial; 
     25    font-size: 9pt; 
     26    line-height: 16px; 
     27    overflow: visible; 
     28    height: 20px; 
     29    border-top-width: 1px; 
     30    border-top-style: solid; 
     31
    2332.wp_themeSkin .mceStatusbar div {float:left; padding:2px;} 
    24 .wp_themeSkin .mceStatusbar a.mceResize {display:block; float:right; background:url(../../img/icons.gif) -800px 0; width:20px; height:20px; cursor:se-resize} 
     33.wp_themeSkin .mceStatusbar a.mceResize { 
     34    display: block; 
     35    float: right; 
     36    background: url(../../img/icons.gif) -800px 0; 
     37    width: 20px; 
     38    height: 20px; 
     39    cursor: se-resize 
     40
    2541.wp_themeSkin .mceStatusbar a:hover {text-decoration:underline} 
    2642.wp_themeSkin table.mceToolbar {margin: 0 2px 2px;} 
     
    3955    margin: 1px;  
    4056    background-image: url(img/butt2.png); 
    41     background-position: 2px 1px
    42     background-repeat: no-repeat
     57    background-position: left top
     58    background-repeat: repeat-x
    4359    -moz-border-radius: 3px; 
    4460    -webkit-border-radius: 3px; 
     
    4965.wp_themeSkin .mceOldBoxModel a.mceButton span, .wp_themeSkin .mceOldBoxModel a.mceButton img {margin:0 0 0 1px} 
    5066.wp_themeSkin a.mceButtonEnabled:hover { 
    51     background-position:0 -20px; 
     67    background-position:0 -10px; 
    5268} 
    5369.wp_themeSkin a.mceButtonActive, .wp_themeSkin a.mceButtonSelected { 
    54     background-position:0 -20px
     70    background-image: inherit
    5571} 
    5672.wp_themeSkin .mceButtonDisabled .mceIcon {opacity:0.3; filter:alpha(opacity=30);} 
     
    7591    width:70px;   
    7692    background-image: url(img/butt2.png); 
    77     background-position: 1px 1px
     93    background-position: left top
    7894    background-repeat: repeat-x; 
    7995    font-family: Tahoma,Verdana,Arial,Helvetica;  
     
    92108    border-collapse: separate; 
    93109    background-image: url(img/butt2.png); 
    94     background-position: 1px 1px
     110    background-position: left top
    95111    background-repeat: repeat-x; 
    96112    padding: 1px; 
     
    132148    width:20px; 
    133149    background-image: url(img/butt2.png); 
    134     background-position: 1px 1px
     150    background-position: left top
    135151    background-repeat: repeat-x; 
    136152    padding: 1px 2px; 
     
    145161    border-collapse:separate; 
    146162    background-image: url(img/butt2.png); 
    147     background-position: 1px 1px
     163    background-position: left top
    148164    background-repeat: repeat-x; 
    149165    padding: 1px; 
  • trunk/wp-includes/script-loader.php

    r9330 r9384  
    6262    // Modify this version when tinyMCE plugins are changed. 
    6363    function mce_version() { 
    64         return '20080930'; 
     64        return '20081028'; 
    6565    } 
    6666    add_filter( 'tiny_mce_version', 'mce_version' ); 
     
    278278 
    279279        $scripts->add( 'hoverIntent', '/wp-includes/js/hoverIntent.js', array('jquery'), '20070327' ); 
    280         $scripts->add( 'menu', '/wp-admin/js/menu.js', array( 'jquery', 'hoverIntent' ), '20081023' ); 
     280        $scripts->add( 'menu', '/wp-admin/js/menu.js', array( 'jquery', 'hoverIntent' ), '20081028' ); 
    281281 
    282282    }