* Simplify jQuery UI slider CSS and bring into line with admin styles.

* Merge styles into wp-admin.css and colors-*.css.
* Scope the CSS with a class so as not to conflict with the color picker, which also utilizes jQuery UI slider. Authors wanting to use built-in styling for sliders should add a class of `.wp-slider` to the container to be intialized.

props karmatosed, helen. see #23497.


git-svn-id: https://develop.svn.wordpress.org/trunk@23581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2013-03-01 19:24:03 +00:00
parent b617e4742a
commit 45b4d47b02
7 changed files with 141 additions and 553 deletions

View File

@@ -73,7 +73,6 @@ if ( !empty($post->post_type) && 'post' != $post->post_type )
else
$parent_file = $submenu_file = 'edit.php';
wp_enqueue_style( 'wp-jquery-ui-slider' );
wp_enqueue_script( 'revisions' );
require_once( './admin-header.php' );
@@ -134,7 +133,7 @@ var wpRevisionsSettings = <?php echo json_encode( array( 'post_id' => $post->ID,
<span id="diff_max" ></span>
</div>
<div id="slider"></div>
<div id="slider" class="wp-slider"></div>
</div>
</div>
</script>