WordPress.org

Make WordPress Core

Changeset 7993


Ignore:
Timestamp:
05/25/08 20:39:16 (7 years ago)
Author:
ryan
Message:

Press This: Obey color scheme. Props azaozz. see #6998

Location:
trunk/wp-admin
Files:
4 edited

Legend:

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

    r7988 r7993  
    209209} 
    210210 
    211 #adminmenu a:hover, #sidemenu a:hover { 
     211#adminmenu a:hover, #sidemenu a:hover, .ui-tabs-nav a:hover { 
    212212    color: #97c4d8; 
    213213} 
     
    297297} 
    298298 
    299 #adminmenu a { 
     299#adminmenu a, .ui-tabs-nav a { 
    300300    color: #cfebf6; 
    301301} 
     
    305305} 
    306306/* Because we don't want visited on these links */ 
    307 #adminmenu a.current, #sidemenu a.current { 
     307#adminmenu a.current, #sidemenu a.current, .ui-tabs-selected a, .ui-tabs-selected a:hover { 
    308308    background-color: #fff; 
    309309    border-color: #07273e; 
  • trunk/wp-admin/css/colors-fresh.css

    r7988 r7993  
    197197} 
    198198 
    199 .submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #adminmenu a:hover, #sidemenu a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.delete:hover, #media-upload a.del-link:hover { 
     199.submit input:hover, .button:hover, .button-secondary:hover, #wphead #viewsite a:hover, #adminmenu a:hover, #sidemenu a:hover, #submenu a.current, #submenu a:hover, .submitbox #previewview a:hover, #the-comment-list .comment a:hover, #rightnow a:hover, a:hover, .subsubsub a:hover, .subsubsub a.current:hover, #login form .submit input:hover, div.dashboard-widget-submit input:hover, #edit-slug-buttons a.save:hover, #media-upload a.delete:hover, #media-upload a.del-link:hover, .ui-tabs-nav a:hover { 
    200200    color: #d54e21; 
    201201} 
     
    280280} 
    281281 
    282 #adminmenu a, #submenu a, #poststuff #edButtonPreview, #poststuff #edButtonHTML, #the-comment-list p.comment-author strong a, #media-upload a.del-link, #media-upload a.delete, a { 
     282#adminmenu a, #submenu 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 { 
    283283    color: #2583ad; 
    284284} 
    285285 
    286286/* Because we don't want visited on these links */ 
    287 #adminmenu a.current, #sidemenu a.current { 
     287#adminmenu a.current, #sidemenu a.current, .ui-tabs-selected a, .ui-tabs-selected a:hover { 
    288288    background-color: #fff; 
    289289    border-color: #c6d9e9; 
  • trunk/wp-admin/css/press-this.css

    r7983 r7993  
    7878    border-style: solid; 
    7979    border-width: 1px; 
    80     border-color: #C6D9E9 rgb(198, 217, 233) rgb(255, 255, 255); 
    81     color: #D54E21; 
    8280} 
    8381 
     
    10098.ui-tabs-loading em { 
    10199    padding: 0 0 0 20px; 
    102     background: url(./images/loading.gif) no-repeat 0 50%; 
     100    background: url(../images/loading.gif) no-repeat 0 50%; 
    103101} 
    104102 
     
    359357    border-top-right-radius: 3px; 
    360358} 
     359 
     360.hidden { 
     361    display: none; 
     362} 
  • trunk/wp-admin/press-this.php

    r7984 r7993  
    8787        <p class="submit">          
    8888        <input type="submit" value="<?php _e('Publish') ?>" onclick="document.getElementById('photo_saving').style.display = '';"/> 
    89         <img src="/images/bookmarklet_loader.gif" alt="" id="photo_saving" style="width:16px; height:16px; vertical-align:-4px; display:none;"/> 
     89        <img src="images/loading.gif" alt="" id="photo_saving" style="width:16px; height:16px; vertical-align:-4px; display:none;"/> 
    9090        </p> 
    9191    </div>   
     
    156156                tab_focus : ":next", 
    157157                plugins : "safari,inlinepopups", 
    158                 entity_encoding : "raw" 
     158                entities : "38,amp,60,lt,62,gt" 
    159159            }); 
    160160    <?php } ?> 
     
    200200    wp_enqueue_script('jquery-ui-tabs'); 
    201201    add_thickbox(); 
    202     wp_admin_css('press-this'); 
    203     wp_admin_css( 'colors' ); 
     202    wp_enqueue_style('press-this'); 
     203    wp_enqueue_style( 'colors' ); 
    204204    wp_enqueue_script('post'); 
    205205 
    206     do_action('admin_print_scripts');  
    207     do_action('admin_print_styles');  
     206    do_action('admin_print_styles'); 
     207    do_action('admin_print_scripts'); 
    208208    do_action('admin_head'); 
    209209?> 
     
    332332                    <h2><?php _e('Caption') ?></h2> 
    333333                    <div class="editor-container"> 
    334                         <textarea name="content" id="photo_post_two" style="" class="mceEditor"><?php echo $selection;?> 
    335                         &lt;a href="<?php echo attribute_escape($url);?>"&gt;<?php echo $title;?>&lt;/a&gt; </textarea> 
     334                        <textarea name="content" id="photo_post_two" style="" class="mceEditor"> 
     335                        <?php echo $selection; ?> 
     336                        &lt;p&gt;&lt;a href="<?php echo attribute_escape($url);?>"&gt;<?php echo $title;?>&lt;/a&gt; &lt;/p&gt; 
     337                        </textarea> 
    336338                    </div> 
    337339 
     
    361363                    <h2><?php _e('Post') ?></h2> 
    362364                    <div class="editor-container"> 
    363                         <textarea name="content" id="regular_post_two" style="height:170px;width:100%;" class="mceEditor"><?php echo $selection;?><a href="<?php echo $url;?>"><?php echo $title;?></a></textarea> 
     365                        <textarea name="content" id="regular_post_two" style="height:170px;width:100%;" class="mceEditor"> 
     366                        <?php echo $selection; ?> 
     367                        &lt;p&gt;&lt;a href="<?php echo $url;?>"&gt;<?php echo $title;?>&lt;/a&gt; &lt;/p&gt; 
     368                        </textarea> 
    364369                    </div>         
    365  
    366370                    <?php tag_div(); ?> 
    367371        
     
    389393                    <h2><?php _e('Quote') ?></h2> 
    390394                    <div class="editor-container"> 
    391                         <textarea name="content" id="quote_post_one" style="height:130px;width:100%;" class="mceEditor"><?php echo $selection;?></textarea> 
    392                     </div> 
    393  
    394                     <h2><?php _e('Source <span class="optional">(optional)</span>') ?></h2> 
     395                        <textarea name="content" id="quote_post_one" style="height:130px;width:100%;" class="mceEditor"> 
     396                        <?php echo $selection; ?> 
     397                        </textarea> 
     398                    </div> 
     399 
     400                    <h2><?php _e('Source'); ?> <span class="optional"><?php _e('(optional)'); ?></span></h2> 
    395401                    <div class="editor-container"> 
    396                         <textarea name="content2" id="quote_post_two" style="height:130px;width:100%;" class="mceEditor"><cite>&lt;a href="<?php echo $url;?>"&gt;<?php echo $title;?>&lt;/a&gt;</cite></textarea> 
     402                        <textarea name="content2" id="quote_post_two" style="height:130px;width:100%;" class="mceEditor"> 
     403                        &lt;p&gt;&lt;cite&gt;&lt;a href="<?php echo $url;?>"&gt;<?php echo $title;?>&lt;/a&gt;&lt;/cite&gt; &lt;/p&gt; 
     404                        </textarea> 
    397405                    </div> 
    398406 
     
    434442 
    435443                    <div class="editor-container"> 
    436                         <textarea name="content2" id="video_post_two" style="height:130px;width:100%;" class="mceEditor"><?php echo $selection; ?> &lt;a href="<?php echo $url; ?>"&gt;<?php echo $title;?>&lt;/a&gt;</textarea> 
     444                        <textarea name="content2" id="video_post_two" style="height:130px;width:100%;" class="mceEditor"> 
     445                        <?php echo $selection; ?> 
     446                        &lt;p&gt;&lt;a href="<?php echo $url; ?>"&gt;<?php echo $title; ?>&lt;/a&gt; &lt;/p&gt; 
     447                        </textarea> 
    437448                    </div> 
    438449 
Note: See TracChangeset for help on using the changeset viewer.