WordPress.org

Make WordPress Core

Changeset 8329


Ignore:
Timestamp:
07/14/2008 04:53:32 PM (12 years ago)
Author:
mdawaffe
Message:

crazyhorse: write screen media button to wireframes

Location:
branches/crazyhorse/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/crazyhorse/wp-admin/css/colors-classic.css

    r8220 r8329  
    435435}
    436436
     437#poststuff #editor-toolbar {
     438    background-color: #83b4d5;
     439}
     440
    437441#poststuff #editor-toolbar .active {
    438     background-color: #83b4d5;
     442    background-color: #CFEBF7;
    439443    color: #333;
    440444}
  • branches/crazyhorse/wp-admin/css/colors-fresh.css

    r8271 r8329  
    402402}
    403403
     404#poststuff #editor-toolbar {
     405    background-color: #cee1ef;
     406}
     407
    404408#poststuff #editor-toolbar .active {
    405     background-color: #cee1ef;
     409    background-color: #EAF3FA;
    406410    color: #333;
    407411}
  • branches/crazyhorse/wp-admin/edit-form-advanced.php

    r8291 r8329  
    334334
    335335<div id="<?php echo user_can_richedit() ? 'postdivrich' : 'postdiv'; ?>" class="postarea">
    336 <h3><label for="content"><?php _e('Post') ?></label></h3>
     336<h3>
     337    <label for="content"><?php _e('Post') ?></label>
     338    <a id="add-media-button" href="<?php echo clean_url( admin_url( 'media-upload.php?post_id=' . ( $post_ID ? $post_ID : $temp_ID ) . '&TB_iframe=true' ) ); ?>" class="thickbox button"><?php _e( 'Add Media' ); ?></a>
     339    <br class="clear" />
     340</h3>
    337341
    338342<?php the_editor($post->post_content); ?>
  • branches/crazyhorse/wp-admin/includes/media.php

    r8242 r8329  
    240240    printf($context, $out);
    241241}
    242 add_action( 'media_buttons', 'media_buttons' );
     242//add_action( 'media_buttons', 'media_buttons' ); // crazyhorse
    243243add_action('media_upload_media', 'media_upload_handler');
    244244
  • branches/crazyhorse/wp-admin/wp-admin.css

    r8300 r8329  
    11421142}
    11431143
     1144.postarea h3 label {
     1145    float: left;
     1146}
     1147
     1148.postarea h3 #add-media-button {
     1149    float: right;
     1150}
     1151
    11441152#poststuff #editor-toolbar {
     1153    clear: both;
    11451154    position: relative;
    1146     height: 30px;
    1147     margin-top: -41px;
     1155    margin-top: -10px;
     1156}
     1157#poststuff #editor-toolbar #edButtonHTML, #poststuff #editor-toolbar #edButtonPreview {
     1158    position: relative;
     1159    top: -5px;
    11481160}
    11491161
     
    11591171#poststuff #editor-toolbar .active {
    11601172    font-weight: bold;
    1161     -moz-border-radius-topright: 3px;
    1162     -khtml-border-top-right-radius: 3px;
    1163     -webkit-border-top-right-radius: 3px;
    1164     border-top-right-radius: 3px;
    1165     -moz-border-radius-topleft: 3px;
    1166     -khtml-border-top-left-radius: 3px;
    1167     -webkit-border-top-left-radius: 3px;
    1168     border-top-left-radius: 3px;
     1173    -moz-border-radius-bottomright: 3px;
     1174    -khtml-border-top-bottom-radius: 3px;
     1175    -webkit-border-bottom-right-radius: 3px;
     1176    border-bottom-right-radius: 3px;
     1177    -moz-border-radius-bottomleft: 3px;
     1178    -khtml-border-bottom-left-radius: 3px;
     1179    -webkit-border-bottom-left-radius: 3px;
     1180    border-bottom-left-radius: 3px;
    11691181}
    11701182
Note: See TracChangeset for help on using the changeset viewer.