Ticket #21368: 21368.10.refresh.diff
File 21368.10.refresh.diff, 24.4 KB (added by , 12 years ago) |
---|
-
wp-includes/default-filters.php
285 285 // If the upgrade hasn't run yet, assume link manager is used. 286 286 add_filter( 'default_option_link_manager_enabled', '__return_true' ); 287 287 288 // Welcome Panel 289 add_action( 'welcome_panel', 'wp_welcome_panel' ); 290 288 291 unset($filter, $action); -
wp-admin/includes/dashboard.php
1249 1249 ?> 1250 1250 <div id="welcome-panel" class="<?php echo esc_attr( $classes ); ?>"> 1251 1251 <?php wp_nonce_field( 'welcome-panel-nonce', 'welcomepanelnonce', false ); ?> 1252 <a class="welcome-panel-close" href="<?php echo esc_url( admin_url( '?welcome=0' ) ); ?>"><?php _e('Dismiss'); ?></a> 1253 <div class="wp-badge"><?php printf( __( 'Version %s' ), $display_version ); ?></div> 1254 1252 <a class="welcome-panel-close" href="<?php echo esc_url( admin_url( '?welcome=0' ) ); ?>"><?php _e( 'Dismiss' ); ?></a> 1255 1253 <div class="welcome-panel-content"> 1256 <h3><?php _e( 'Welcome to your new WordPress site!' ); ?></h3>1257 <p class="about-description"><?php _e( 'If you need help getting started, check out our documentation on <a href="http://codex.wordpress.org/First_Steps_With_WordPress">First Steps with WordPress</a>. If you’d rather dive right in, here are a few things most people do first when they set up a new WordPress site. If you need help, use the Help tabs in the upper right corner to get information on how to use your current screen and where to go for more assistance.'); ?></p>1254 <h3><?php _e( 'Welcome to WordPress!' ); ?></h3> 1255 <p class="about-description"><?php _e( "We've assembled some links to get you started:" ); ?></p> 1258 1256 <div class="welcome-panel-column-container"> 1259 1257 <div class="welcome-panel-column"> 1260 <h4><span class="icon16 icon-settings"></span> <?php _e( 'Basic Settings' ); ?></h4> 1261 <p><?php _e( 'Here are a few easy things you can do to get your feet wet. Make sure to click Save on each Settings screen.' ); ?></p> 1262 <ul> 1263 <li><?php echo sprintf( __( '<a href="%s">Select your tagline and time zone</a>' ), esc_url( admin_url('options-general.php') ) ); ?></li> 1264 <li><?php echo sprintf( __( '<a href="%s">Turn comments on or off</a>' ), esc_url( admin_url('options-discussion.php') ) ); ?></li> 1265 <li><?php echo sprintf( __( '<a href="%s">Fill in your profile</a>' ), esc_url( get_edit_profile_url( get_current_user_id() ) ) ); ?></li> 1266 </ul> 1258 <h4><?php _e( 'Get Started' ); ?></h4> 1259 <p><?php _e( 'First, tweak the look of your site:' ); ?></p> 1260 <a class="welcome-button" href="<?php echo wp_customize_url() ?>"><?php _e( 'Customize Your Site' ); ?></a> 1261 <?php if ( current_user_can( 'install_themes' ) || ( current_user_can( 'switch_themes' ) && count( wp_get_themes( $args = array('allowed' => 'true') ) ) > 1 ) ) : ?> 1262 <p><?php printf( __( 'or, ' ) . '<a href="%s">' . __( 'change your theme completely' ) . '</a>', esc_url( admin_url( 'themes.php?walkthrough=pointer_wp350_change_theme' ) ) ); ?></p> 1263 <?php endif; ?> 1267 1264 </div> 1268 1265 <div class="welcome-panel-column"> 1269 <h4><span class="icon16 icon-page"></span> <?php _e( 'Add Real Content' ); ?></h4> 1270 <p><?php _e( 'Check out the sample page & post editors to see how it all works, then delete the default content and write your own!' ); ?></p> 1266 <h4><?php _e( 'Next Steps' ); ?></h4> 1271 1267 <ul> 1272 <li><?php echo sprintf( __( 'View the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), esc_url( get_permalink( 2 ) ), esc_url( get_permalink( 1 ) ) ); ?></li> 1273 <li><?php echo sprintf( __( 'Delete the <a href="%1$s">sample page</a> and <a href="%2$s">post</a>' ), esc_url( admin_url('edit.php?post_type=page') ), esc_url( admin_url('edit.php') ) ); ?></li> 1274 <li><?php echo sprintf( __( '<a href="%s">Create an About Me page</a>' ), esc_url( admin_url('edit.php?post_type=page') ) ); ?></li> 1275 <li><?php echo sprintf( __( '<a href="%s">Write your first post</a>' ), esc_url( admin_url('post-new.php') ) ); ?></li> 1268 <?php if ( ( 'page' == get_option( 'show_on_front' ) ) && '0' == get_option( 'page_for_posts' ) ) { ?> 1269 <li><?php printf( '<a href="%s">' . __( 'Edit your front page' ) . '</a>', esc_url( admin_url( 'post.php?post=' . get_option( 'page_on_front' ) . '&action=edit' ) ) ); ?></li> 1270 <li><?php printf( '<a href="%s">' . __( 'Add additional pages' ) . '</a>', esc_url( admin_url( 'post-new.php?post_type=page' ) ) ); ?></li> 1271 <?php } else if ( 'page' == get_option( 'show_on_front' ) ) { ?> 1272 <li><?php printf( '<a href="%s">' . __( 'Edit your front page' ) . '</a>', esc_url( admin_url( 'post.php?post=' . get_option( 'page_on_front' ) . '&action=edit' ) ) ); ?></li> 1273 <li><?php printf( '<a href="%s">' . __( 'Add additional pages' ) . '</a>', esc_url( admin_url( 'post-new.php?post_type=page' ) ) ); ?></li> 1274 <li><?php printf( '<a href="%s">' . __( 'Add a blog post' ) . '</a>', esc_url( admin_url( 'post-new.php' ) ) ); ?></li> 1275 <?php } else { ?> 1276 <li><?php printf( '<a href="%s">' . __( 'Write your first blog post' ) . '</a>', esc_url( admin_url( 'post-new.php' ) ) ); ?></li> 1277 <li><?php printf( '<a href="%s">' . __( 'Add an About page' ) . '</a>', esc_url( admin_url( 'post-new.php?post_type=page' ) ) ); ?></li> 1278 <?php } ?> 1279 <li><?php printf( '<a href="%s">' . __( 'View your site' ) . '</a>', esc_url( home_url() ) ); ?></li> 1276 1280 </ul> 1277 1281 </div> 1278 1282 <div class="welcome-panel-column welcome-panel-last"> 1279 <h4><span class="icon16 icon-appearance"></span> <?php _e( 'Customize Your Site' ); ?></h4> 1280 <?php 1281 $theme = wp_get_theme(); 1282 if ( $theme->errors() ) : 1283 echo '<p>'; 1284 printf( __( '<a href="%s">Install a theme</a> to get started customizing your site.' ), esc_url( admin_url( 'themes.php' ) ) ); 1285 echo '</p>'; 1286 else: 1287 $customize_links = array(); 1288 if ( 'twentyeleven' == $theme->get_stylesheet() ) 1289 $customize_links[] = sprintf( __( '<a href="%s">Choose light or dark</a>' ), esc_url( admin_url( 'themes.php?page=theme_options' ) ) ); 1290 1291 if ( current_theme_supports( 'custom-background' ) ) 1292 $customize_links[] = sprintf( __( '<a href="%s">Set a background color</a>' ), esc_url( admin_url( 'themes.php?page=custom-background' ) ) ); 1293 1294 if ( current_theme_supports( 'custom-header' ) ) 1295 $customize_links[] = sprintf( __( '<a href="%s">Select a new header image</a>' ), esc_url( admin_url( 'themes.php?page=custom-header' ) ) ); 1296 1297 if ( current_theme_supports( 'widgets' ) ) 1298 $customize_links[] = sprintf( __( '<a href="%s">Add some widgets</a>' ), esc_url( admin_url( 'widgets.php' ) ) ); 1299 1300 if ( ! empty( $customize_links ) ) { 1301 echo '<p>'; 1302 printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>. If you stick with %1$s, here are a few ways to make your site look unique.' ), $theme->display('Name'), esc_url( admin_url( 'themes.php' ) ) ); 1303 echo '</p>'; 1304 ?> 1305 <ul> 1306 <?php foreach ( $customize_links as $customize_link ) : ?> 1307 <li><?php echo $customize_link ?></li> 1308 <?php endforeach; ?> 1309 </ul> 1310 <?php 1311 } else { 1312 echo '<p>'; 1313 printf( __( 'Use the current theme — %1$s — or <a href="%2$s">choose a new one</a>.' ), $theme->display('Name'), esc_url( admin_url( 'themes.php' ) ) ); 1314 echo '</p>'; 1315 } 1316 endif; ?> 1283 <h4><?php _e( 'Learn how to' ); ?></h4> 1284 <ul> 1285 <li><?php printf( '<a id="wp350_add_images" href="%s">' . __( 'Add image/media' ) . '</a>', esc_url( admin_url( 'media-new.php' ) ) ); ?></li> 1286 <li><?php printf( '<a id="wp350_widgets" href="%s">' . __( 'Add/remove widgets' ) . '</a>', esc_url( admin_url( 'widgets.php' ) ) ); ?></li> 1287 <li><?php printf( '<a id="wp350_edit_menu" href="%s">' . __( 'Edit your navigation menu' ) . '</a>', esc_url( admin_url( 'nav-menus.php' ) ) ); ?></li> 1288 </ul> 1317 1289 </div> 1318 1290 </div> 1319 <p class="welcome-panel-dismiss"><?php printf( __( 'Already know what you’re doing? <a href="%s">Dismiss this message</a>.' ), esc_url( admin_url( '?welcome=0' ) ) ); ?></p>1320 1291 </div> 1321 1292 </div> 1322 1293 <?php -
wp-admin/includes/template.php
1725 1725 */ 1726 1726 1727 1727 $registered_pointers = array( 1728 'index.php' => 'wp330_toolbar', 1729 'post-new.php' => 'wp330_media_uploader', 1730 'post.php' => 'wp330_media_uploader', 1731 'themes.php' => array( 'wp330_saving_widgets', 'wp340_customize_current_theme_link' ), 1728 'index.php' => array( 'wp330_toolbar', 'wp350_add_images', 'wp350_edit_menu', 'wp350_widgets' ), 1729 'post-new.php' => array( 'wp330_media_uploader', 'wp350_add_images_2' ), 1730 'post.php' => 'wp330_media_uploader', 1731 'themes.php' => array( 'wp330_saving_widgets', 'wp340_customize_current_theme_link', 'wp350_change_theme' ), 1732 'widgets.php' => 'wp350_widgets_2', 1733 'nav-menus.php' => 'wp350_edit_menu_2', 1732 1734 'appearance_page_custom-header' => 'wp340_choose_image_from_library', 1733 1735 'appearance_page_custom-background' => 'wp340_choose_image_from_library', 1734 1736 ); … … 1744 1746 'wp330_saving_widgets' => array( 'edit_theme_options', 'switch_themes' ), 1745 1747 'wp340_customize_current_theme_link' => array( 'edit_theme_options' ), 1746 1748 'wp340_choose_image_from_library' => array( 'edit_theme_options' ), 1749 'wp350_change_theme' => array( 'install_themes' ), 1747 1750 ); 1748 1751 1749 1752 // Get dismissed pointers … … 1793 1796 if ( ! options ) 1794 1797 return; 1795 1798 1799 <?php if( empty( $args['persistent'] ) ): ?> 1800 1796 1801 options = $.extend( options, { 1797 1802 close: function() { 1798 1803 $.post( ajaxurl, { … … 1802 1807 } 1803 1808 }); 1804 1809 1810 <?php endif; ?> 1811 1805 1812 setup = function() { 1806 1813 $('<?php echo $selector; ?>').pointer( options ).pointer('open'); 1814 <?php if( ! empty( $args['link_selector'] ) ): ?> 1815 $('<?php echo $args['link_selector']; ?>').attr( 'href', function( index, href ) { 1816 return href + ( -1 == href.indexOf('?') ? '?' : '&' ) + 'walkthrough=<?php echo $pointer_id; ?>'; 1817 }); 1818 <?php endif; ?> 1819 return false; 1807 1820 }; 1808 1821 1822 <?php if( empty( $args['onclick_selector'] ) ): ?> 1823 1809 1824 if ( options.position && options.position.defer_loading ) 1810 1825 $(window).bind( 'load.wp-pointers', setup ); 1811 1826 else 1812 1827 $(document).ready( setup ); 1813 1828 1829 <?php else: ?> 1830 1831 $('<?php echo $args['onclick_selector']; ?>').click( setup ); 1832 1833 <?php endif; ?> 1834 1814 1835 })( jQuery ); 1815 1836 //]]> 1816 1837 </script> … … 1891 1912 ) ); 1892 1913 } 1893 1914 1915 public static function pointer_wp350_add_images() { 1916 $content = '<h3>' . __( 'Use the add new menu' ) . '</h3>'; 1917 $content .= '<p>' . __( 'Select “Post” from the add new menu.' ) . '</p>'; 1918 1919 WP_Internal_Pointers::print_js( 'pointer_wp350_add_images', '#wp-admin-bar-new-content', array( 1920 'content' => $content, 1921 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1922 'persistent' => true, 1923 'onclick_selector' => '#wp350_add_images', 1924 'link_selector' => '#wp-admin-bar-new-post a', 1925 ) ); 1926 } 1927 1928 public static function pointer_wp350_add_images_2() { 1929 if( ! isset( $_GET['walkthrough'] ) ) 1930 return; 1931 1932 $content = '<h3>' . __( 'Add images/media' ) . '</h3>'; 1933 $content .= '<p>' . __( 'You can add images, videos, pdfs, and other documents to your posts and pages by clicking this button.' ) . '</p>'; 1934 1935 WP_Internal_Pointers::print_js( 'pointer_wp350_add_images_2', '#wp-content-media-buttons a', array( 1936 'content' => $content, 1937 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1938 'persistent' => true, 1939 ) ); 1940 } 1941 1942 public static function pointer_wp350_widgets() { 1943 $content = '<h3>' . __( 'Under appearance' ) . '</h3>'; 1944 $content .= '<p>' . __( 'Click the “Widgets” link under the appearance menu.' ) . '</p>'; 1945 1946 WP_Internal_Pointers::print_js( 'pointer_wp350_widgets', '#menu-appearance', array( 1947 'content' => $content, 1948 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1949 'persistent' => true, 1950 'onclick_selector' => '#wp350_widgets', 1951 'link_selector' => '#menu-appearance a[href$="widgets.php"]', 1952 ) ); 1953 } 1954 1955 public static function pointer_wp350_widgets_2() { 1956 if( ! isset( $_GET['walkthrough'] ) ) 1957 return; 1958 1959 $content = '<h3>' . __( 'Add/remove widgets' ) . '</h3>'; 1960 $content .= '<p>' . __( 'To add new widgets, drag them from "Available widgets" to this container. Remove widgets by dragging them from this container.' ) . '</p>'; 1961 1962 WP_Internal_Pointers::print_js( 'pointer_wp350_widgets_2', 'div.widget-liquid-right', array( 1963 'content' => $content, 1964 'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => is_rtl() ? 'left' : 'right', 'offset' => '0 -200' ), 1965 'persistent' => true, 1966 ) ); 1967 } 1968 1969 public static function pointer_wp350_edit_menu() { 1970 $content = '<h3>' . __( 'Under appearance' ) . '</h3>'; 1971 $content .= '<p>' . __( 'Click the “Menus” link under the appearance menu.' ) . '</p>'; 1972 1973 WP_Internal_Pointers::print_js( 'pointer_wp350_edit_menu', '#menu-appearance', array( 1974 'content' => $content, 1975 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1976 'persistent' => true, 1977 'onclick_selector' => '#wp350_edit_menu', 1978 'link_selector' => '#menu-appearance a[href$="nav-menus.php"]', 1979 ) ); 1980 } 1981 1982 public static function pointer_wp350_edit_menu_2() { 1983 if( ! isset( $_GET['walkthrough'] ) ) 1984 return; 1985 if( isset( $_GET['menu'] ) && intval( $_GET['menu'] ) ) 1986 return; 1987 1988 $content = '<h3>' . __( 'Create a new menu' ) . '</h3>'; 1989 $content .= '<p>' . __( 'Give your new menu a name, and then click the “Create Menu” button.' ) . '</p>'; 1990 1991 WP_Internal_Pointers::print_js( 'pointer_wp350_edit_menu_2', '#menu-name', array( 1992 'content' => $content, 1993 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1994 'persistent' => true, 1995 ) ); 1996 } 1997 1998 public static function pointer_wp350_change_theme() { 1999 if( ! isset( $_GET['walkthrough'] ) ) 2000 return; 2001 2002 $content = '<h3>' . __( 'Install a new theme' ) . '</h3>'; 2003 $content .= '<p>' . __( 'Optionally, select the “Install Themes” tab to select new themes.' ) . '</p>'; 2004 2005 WP_Internal_Pointers::print_js( 'pointer_wp350_change_theme', '.nav-tab:not(.nav-tab-active)', array( 2006 'content' => $content, 2007 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 2008 'persistent' => true, 2009 ) ); 2010 } 2011 1894 2012 /** 1895 2013 * Prevents new users from seeing existing 'new feature' pointers. 1896 2014 * -
wp-admin/includes/screen.php
930 930 <?php 931 931 meta_box_prefs( $this ); 932 932 933 if ( 'dashboard' === $this->id && current_user_can( 'edit_theme_options' ) ) {933 if ( 'dashboard' === $this->id && current_user_can( 'edit_theme_options' ) && has_action( 'welcome_panel' ) ) { 934 934 if ( isset( $_GET['welcome'] ) ) { 935 935 $welcome_checked = empty( $_GET['welcome'] ) ? 0 : 1; 936 936 update_user_meta( get_current_user_id(), 'show_welcome_panel', $welcome_checked ); -
wp-admin/index.php
106 106 <?php screen_icon(); ?> 107 107 <h2><?php echo esc_html( $title ); ?></h2> 108 108 109 <?php wp_welcome_panel(); ?>109 <?php do_action( 'welcome_panel' ); ?> 110 110 111 111 <div id="dashboard-widgets-wrap"> 112 112 -
wp-admin/css/colors-fresh.css
838 838 } 839 839 840 840 .welcome-panel { 841 background: #f5f5f5; 842 background-image: -webkit-gradient(linear, left bottom, left top, from(#f5f5f5), to(#fafafa)); 843 background-image: -webkit-linear-gradient(bottom, #f5f5f5, #fafafa); 844 background-image: -moz-linear-gradient(bottom, #f5f5f5, #fafafa); 845 background-image: -o-linear-gradient(bottom, #f5f5f5, #fafafa); 846 background-image: linear-gradient(to top, #f5f5f5, #fafafa); 841 847 border-color: #dfdfdf; 842 848 } 843 849 .welcome-panel p { … … 847 853 color: #464646; 848 854 } 849 855 .welcome-panel h3 { 850 text-shadow: 1px 1px 1px white;856 text-shadow: 1px 1px 1px #fff; 851 857 } 852 858 859 /* welcome screen button */ 860 861 .welcome-button { 862 border-color: #026896; 863 color: #fff; 864 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 865 866 background-color: #2ea2cc; 867 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 868 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 869 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 870 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 871 872 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 873 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 874 } 875 876 .welcome-button:hover { 877 color: #fff; 878 text-shadow: 0 -1px 0 rgb(0,116,162); 879 880 background-image: -webkit-linear-gradient(top, #2ea2cc, #0074a2); 881 background-image: -moz-linear-gradient(top, #2ea2cc, #0074a2); 882 background-image: -o-linear-gradient(top, #2ea2cc, #0074a2); 883 background-image: linear-gradient(to bottom, #2ea2cc, #0074a2); 884 885 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 886 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 887 } 888 889 .welcome-button:active, 890 .welcome-button:focus { 891 color:rgba(255,255,255,.9); 892 893 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 894 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 895 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 896 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 897 898 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 899 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 900 } 901 902 .welcome-button:focus { 903 border: 1px solid #002E45; 904 905 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 906 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 907 } 908 853 909 .widget, 854 910 #widget-list .widget-top, 855 911 .postbox, -
wp-admin/css/wp-admin-rtl.css
590 590 float: right; 591 591 } 592 592 593 .welcome-panel-content .about-description, .welcome-panel h3 {594 margin-left: 0;595 margin-right: 190px;596 }597 598 593 .welcome-panel .welcome-panel-column { 599 594 margin: 0 -25px 0 5%; 600 595 padding-left: 0; -
wp-admin/css/wp-admin.css
1363 1363 position: absolute; 1364 1364 top: -1000em; 1365 1365 left: 146px; 1366 z-index: 999;1366 z-index: 10000; 1367 1367 overflow: visible; 1368 1368 border-width: 1px; 1369 1369 border-style: solid; … … 2169 2169 2170 2170 /* Welcome Panel */ 2171 2171 .welcome-panel { 2172 margin: 20px 8px; 2173 padding: 30px 10px 20px; 2174 border-width: 1px 0; 2172 position: relative; 2173 overflow: auto; 2174 margin: 20px 0; 2175 padding: 23px 10px 12px; 2176 border-width: 1px; 2175 2177 border-style: solid; 2176 position: relative; 2178 border-radius: 3px; 2179 font-size: 13px; 2177 2180 line-height: 1.6em; 2178 overflow: auto;2179 2181 } 2180 2182 2181 2183 .welcome-panel h3 { 2184 margin: 0; 2182 2185 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; 2183 2186 font-size: 32px; 2184 2187 font-weight: normal; 2185 2188 line-height: 1.2; 2186 margin: 0.1em 0 0.8em;2187 2189 } 2188 2190 .welcome-panel h4 { 2189 font-size: 14px; 2191 margin: 1.33em 0 0; 2192 font-size: 13px; 2190 2193 } 2191 2194 2195 .welcome-panel .about-description { 2196 font-size: 18px; 2197 margin: 0; 2198 } 2199 2192 2200 .welcome-panel .welcome-panel-close { 2193 2201 position: absolute; 2194 2202 top: 0; … … 2199 2207 } 2200 2208 2201 2209 .welcome-panel .welcome-panel-close:before { 2202 background: url('../images/xit.gif') 0 17% no-repeat;2203 2210 content: ' '; 2211 position: absolute; 2212 left: -12px; 2213 width: 10px; 2204 2214 height: 100%; 2205 width: 10px; 2206 left: -12px; 2207 position: absolute; 2215 background: url('../images/xit.gif') 0 17% no-repeat; 2208 2216 } 2209 2217 2210 2218 .welcome-panel .welcome-panel-close:hover:before { 2211 2219 background-position: 100% 17%; 2212 2220 } 2213 2221 2214 .welcome-panel .wp-badge { 2215 float: left; 2216 margin-bottom: 20px; 2222 .welcome-button { 2223 display: inline-block; 2224 margin: -9px 0 3px; 2225 padding: 1em 3em; 2226 height: auto; 2227 border-width: 1px; 2228 border-style: solid; 2229 border-radius: 3px; 2230 font: normal 15px/1 sans-serif; 2231 text-decoration: none; 2232 white-space: nowrap; 2233 cursor: pointer; 2217 2234 } 2218 2235 2219 2236 .welcome-panel-content { 2237 margin-left: 13px; 2220 2238 max-width: 1500px; 2221 2239 } 2222 2240 2223 .welcome-panel-content .about-description,2224 .welcome-panel h3 {2225 margin-left: 190px;2226 }2227 2228 .welcome-panel p.welcome-panel-dismiss {2229 clear: both;2230 padding: 1em 0 0 0;2231 }2232 2233 2241 .welcome-panel .welcome-panel-column-container { 2234 2242 clear: both; 2235 2243 overflow: hidden; 2236 2244 position: relative; 2237 padding-left: 26px;2238 2245 } 2239 2246 2240 2247 .welcome-panel .welcome-panel-column { 2241 margin: 0 5% 0 -25px; 2242 padding-left: 25px; 2243 width: 30%; 2248 width: 32%; 2244 2249 min-width: 200px; 2245 2250 float: left; 2246 2251 } 2247 2252 2253 .welcome-panel .welcome-panel-column:first-child { 2254 width: 36%; 2255 } 2256 2248 2257 .welcome-panel .welcome-panel-column.welcome-panel-last { 2249 2258 margin-right: 0; 2250 2259 } … … 2253 2262 margin-left: -32px; 2254 2263 } 2255 2264 2265 .welcome-panel-column p { 2266 margin-top: 5px; 2267 } 2268 2256 2269 .welcome-panel .welcome-panel-column ul { 2257 margin: 1.6em 1em 1em 1.3em;2270 margin: 0.4em 1em 1em 1.3em; 2258 2271 } 2259 2272 2260 2273 .welcome-panel .welcome-panel-column li { … … 2262 2275 padding-left: 2px; 2263 2276 } 2264 2277 2278 @media screen and (max-width: 800px) { 2279 .welcome-button { 2280 font-size: 14px; 2281 padding: 1em 2.3em; 2282 } 2265 2283 2284 .welcome-panel .welcome-panel-column, .welcome-panel .welcome-panel-column:first-child { 2285 display: block; 2286 float: none; 2287 width: 100%; 2288 } 2289 .welcome-panel .welcome-panel-column li { 2290 display: inline-block; 2291 margin-right: 13px; 2292 } 2293 .welcome-panel .welcome-panel-column ul { 2294 margin: 0.4em 0 0; 2295 } 2296 } 2297 2266 2298 /*------------------------------------------------------------------------------ 2267 2299 10.0 - List Posts (/Pages/etc) 2268 2300 ------------------------------------------------------------------------------*/ -
wp-admin/css/colors-classic.css
844 844 } 845 845 846 846 .welcome-panel { 847 background: #f7fcfe; 847 848 border-color: #d1e5ee; 848 849 } 849 850 .welcome-panel p { … … 853 854 color: #464646; 854 855 } 855 856 .welcome-panel h3 { 856 text-shadow: 1px 1px 1px white;857 text-shadow: 1px 1px 1px #fff; 857 858 } 858 859 860 /* welcome screen button */ 861 862 .welcome-button { 863 border-color: #026896; 864 color: #fff; 865 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 866 867 background-color: #2ea2cc; 868 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 869 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 870 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 871 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 872 873 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 874 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 875 } 876 877 .welcome-button:hover { 878 color: #fff; 879 text-shadow: 0 -1px 0 rgb(0,116,162); 880 881 background-image: -webkit-linear-gradient(top, #2ea2cc, #0074a2); 882 background-image: -moz-linear-gradient(top, #2ea2cc, #0074a2); 883 background-image: -o-linear-gradient(top, #2ea2cc, #0074a2); 884 background-image: linear-gradient(to bottom, #2ea2cc, #0074a2); 885 886 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 887 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 888 } 889 890 .welcome-button:active, 891 .welcome-button:focus { 892 color:rgba(255,255,255,.9); 893 894 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 895 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 896 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 897 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 898 899 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 900 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 901 } 902 903 .welcome-button:focus { 904 border: 1px solid #002E45; 905 906 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 907 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 908 } 909 910 859 911 .widget, 860 912 #widget-list .widget-top, 861 913 .postbox,