Ticket #21368: 21368.8.1.diff
File 21368.8.1.diff, 23.0 KB (added by , 9 years ago) |
---|
-
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">Choose your privacy setting</a>' ), esc_url( admin_url('options-privacy.php') ) ); ?></li> 1264 <li><?php echo sprintf( __( '<a href="%s">Select your tagline and time zone</a>' ), esc_url( admin_url('options-general.php') ) ); ?></li> 1265 <li><?php echo sprintf( __( '<a href="%s">Turn comments on or off</a>' ), esc_url( admin_url('options-discussion.php') ) ); ?></li> 1266 <li><?php echo sprintf( __( '<a href="%s">Fill in your profile</a>' ), esc_url( get_edit_profile_url( get_current_user_id() ) ) ); ?></li> 1267 </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; ?> 1268 1264 </div> 1269 1265 <div class="welcome-panel-column"> 1270 <h4><span class="icon16 icon-page"></span> <?php _e( 'Add Real Content' ); ?></h4> 1271 <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> 1272 1267 <ul> 1273 <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> 1274 <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> 1275 <li><?php echo sprintf( __( '<a href="%s">Create an About Me page</a>' ), esc_url( admin_url('edit.php?post_type=page') ) ); ?></li> 1276 <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> 1277 1280 </ul> 1278 1281 </div> 1279 1282 <div class="welcome-panel-column welcome-panel-last"> 1280 <h4><span class="icon16 icon-appearance"></span> <?php _e( 'Customize Your Site' ); ?></h4> 1281 <?php 1282 $theme = wp_get_theme(); 1283 if ( $theme->errors() ) : 1284 echo '<p>'; 1285 printf( __( '<a href="%s">Install a theme</a> to get started customizing your site.' ), esc_url( admin_url( 'themes.php' ) ) ); 1286 echo '</p>'; 1287 else: 1288 $customize_links = array(); 1289 if ( 'twentyeleven' == $theme->get_stylesheet() ) 1290 $customize_links[] = sprintf( __( '<a href="%s">Choose light or dark</a>' ), esc_url( admin_url( 'themes.php?page=theme_options' ) ) ); 1291 1292 if ( current_theme_supports( 'custom-background' ) ) 1293 $customize_links[] = sprintf( __( '<a href="%s">Set a background color</a>' ), esc_url( admin_url( 'themes.php?page=custom-background' ) ) ); 1294 1295 if ( current_theme_supports( 'custom-header' ) ) 1296 $customize_links[] = sprintf( __( '<a href="%s">Select a new header image</a>' ), esc_url( admin_url( 'themes.php?page=custom-header' ) ) ); 1297 1298 if ( current_theme_supports( 'widgets' ) ) 1299 $customize_links[] = sprintf( __( '<a href="%s">Add some widgets</a>' ), esc_url( admin_url( 'widgets.php' ) ) ); 1300 1301 if ( ! empty( $customize_links ) ) { 1302 echo '<p>'; 1303 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' ) ) ); 1304 echo '</p>'; 1305 ?> 1306 <ul> 1307 <?php foreach ( $customize_links as $customize_link ) : ?> 1308 <li><?php echo $customize_link ?></li> 1309 <?php endforeach; ?> 1310 </ul> 1311 <?php 1312 } else { 1313 echo '<p>'; 1314 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' ) ) ); 1315 echo '</p>'; 1316 } 1317 endif; ?> 1283 <h4><?php _e( 'Learn how to' ); ?></h4> 1284 <ul> 1285 <li><?php printf( '<a id="wp350_add_images" href="%s">' . __( 'Add 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> 1318 1289 </div> 1319 1290 </div> 1320 <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>1321 1291 </div> 1322 1292 </div> 1323 1293 <?php -
wp-admin/includes/template.php
1707 1707 */ 1708 1708 1709 1709 $registered_pointers = array( 1710 'index.php' => 'wp330_toolbar', 1711 'post-new.php' => 'wp330_media_uploader', 1712 'post.php' => 'wp330_media_uploader', 1713 'themes.php' => array( 'wp330_saving_widgets', 'wp340_customize_current_theme_link' ), 1710 'index.php' => array( 'wp330_toolbar', 'wp350_add_images', 'wp350_edit_menu', 'wp350_widgets' ), 1711 'post-new.php' => array( 'wp330_media_uploader', 'wp350_add_images_2' ), 1712 'post.php' => 'wp330_media_uploader', 1713 'themes.php' => array( 'wp330_saving_widgets', 'wp340_customize_current_theme_link', 'wp350_change_theme' ), 1714 'widgets.php' => 'wp350_widgets_2', 1715 'nav-menus.php' => 'wp350_edit_menu_2', 1714 1716 'appearance_page_custom-header' => 'wp340_choose_image_from_library', 1715 1717 'appearance_page_custom-background' => 'wp340_choose_image_from_library', 1716 1718 ); … … 1726 1728 'wp330_saving_widgets' => array( 'edit_theme_options', 'switch_themes' ), 1727 1729 'wp340_customize_current_theme_link' => array( 'edit_theme_options' ), 1728 1730 'wp340_choose_image_from_library' => array( 'edit_theme_options' ), 1731 'wp350_change_theme' => array( 'install_themes' ), 1729 1732 ); 1730 1733 1731 1734 // Get dismissed pointers … … 1775 1778 if ( ! options ) 1776 1779 return; 1777 1780 1781 <?php if( empty( $args['persistent'] ) ): ?> 1782 1778 1783 options = $.extend( options, { 1779 1784 close: function() { 1780 1785 $.post( ajaxurl, { … … 1784 1789 } 1785 1790 }); 1786 1791 1792 <?php endif; ?> 1793 1787 1794 setup = function() { 1788 1795 $('<?php echo $selector; ?>').pointer( options ).pointer('open'); 1796 <?php if( ! empty( $args['link_selector'] ) ): ?> 1797 $('<?php echo $args['link_selector']; ?>').attr( 'href', function( index, href ) { 1798 return href + ( -1 == href.indexOf('?') ? '?' : '&' ) + 'walkthrough=<?php echo $pointer_id; ?>'; 1799 }); 1800 <?php endif; ?> 1801 return false; 1789 1802 }; 1790 1803 1804 <?php if( empty( $args['onclick_selector'] ) ): ?> 1805 1791 1806 if ( options.position && options.position.defer_loading ) 1792 1807 $(window).bind( 'load.wp-pointers', setup ); 1793 1808 else 1794 1809 $(document).ready( setup ); 1795 1810 1811 <?php else: ?> 1812 1813 $('<?php echo $args['onclick_selector']; ?>').click( setup ); 1814 1815 <?php endif; ?> 1816 1796 1817 })( jQuery ); 1797 1818 //]]> 1798 1819 </script> … … 1873 1894 ) ); 1874 1895 } 1875 1896 1897 public static function pointer_wp350_add_images() { 1898 $content = '<h3>' . __( 'Use the add new menu' ) . '</h3>'; 1899 $content .= '<p>' . __( 'Select “Post” from the add new menu.' ) . '</p>'; 1900 1901 WP_Internal_Pointers::print_js( 'pointer_wp350_add_images', '#wp-admin-bar-new-content', array( 1902 'content' => $content, 1903 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1904 'persistent' => true, 1905 'onclick_selector' => '#wp350_add_images', 1906 'link_selector' => '#wp-admin-bar-new-post a', 1907 ) ); 1908 } 1909 1910 public static function pointer_wp350_add_images_2() { 1911 if( ! isset( $_GET['walkthrough'] ) ) 1912 return; 1913 1914 $content = '<h3>' . __( 'Add images/media' ) . '</h3>'; 1915 $content .= '<p>' . __( 'You can add images, videos, pdfs, and other documents to your posts and pages by clicking this button.' ) . '</p>'; 1916 1917 WP_Internal_Pointers::print_js( 'pointer_wp350_add_images_2', '#wp-content-media-buttons a', array( 1918 'content' => $content, 1919 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1920 'persistent' => true, 1921 ) ); 1922 } 1923 1924 public static function pointer_wp350_widgets() { 1925 $content = '<h3>' . __( 'Under appearance' ) . '</h3>'; 1926 $content .= '<p>' . __( 'Click the “Widgets” link under the appearance menu.' ) . '</p>'; 1927 1928 WP_Internal_Pointers::print_js( 'pointer_wp350_widgets', '#menu-appearance', array( 1929 'content' => $content, 1930 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1931 'persistent' => true, 1932 'onclick_selector' => '#wp350_widgets', 1933 'link_selector' => '#menu-appearance a[href$="widgets.php"]', 1934 ) ); 1935 } 1936 1937 public static function pointer_wp350_widgets_2() { 1938 if( ! isset( $_GET['walkthrough'] ) ) 1939 return; 1940 1941 $content = '<h3>' . __( 'Add/remove widgets' ) . '</h3>'; 1942 $content .= '<p>' . __( 'To add new widgets, drag them from "Available widgets" to this container. Remove widgets by dragging them from this container.' ) . '</p>'; 1943 1944 WP_Internal_Pointers::print_js( 'pointer_wp350_widgets_2', 'div.widget-liquid-right', array( 1945 'content' => $content, 1946 'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => is_rtl() ? 'left' : 'right', 'offset' => '0 -200' ), 1947 'persistent' => true, 1948 ) ); 1949 } 1950 1951 public static function pointer_wp350_edit_menu() { 1952 $content = '<h3>' . __( 'Under appearance' ) . '</h3>'; 1953 $content .= '<p>' . __( 'Click the “Menus” link under the appearance menu.' ) . '</p>'; 1954 1955 WP_Internal_Pointers::print_js( 'pointer_wp350_edit_menu', '#menu-appearance', array( 1956 'content' => $content, 1957 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1958 'persistent' => true, 1959 'onclick_selector' => '#wp350_edit_menu', 1960 'link_selector' => '#menu-appearance a[href$="nav-menus.php"]', 1961 ) ); 1962 } 1963 1964 public static function pointer_wp350_edit_menu_2() { 1965 if( ! isset( $_GET['walkthrough'] ) ) 1966 return; 1967 if( isset( $_GET['menu'] ) && intval( $_GET['menu'] ) ) 1968 return; 1969 1970 $content = '<h3>' . __( 'Create a new menu' ) . '</h3>'; 1971 $content .= '<p>' . __( 'Give your new menu a name, and then click the “Create Menu” button.' ) . '</p>'; 1972 1973 WP_Internal_Pointers::print_js( 'pointer_wp350_edit_menu_2', '#menu-name', array( 1974 'content' => $content, 1975 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1976 'persistent' => true, 1977 ) ); 1978 } 1979 1980 public static function pointer_wp350_change_theme() { 1981 if( ! isset( $_GET['walkthrough'] ) ) 1982 return; 1983 1984 $content = '<h3>' . __( 'Install a new theme' ) . '</h3>'; 1985 $content .= '<p>' . __( 'Optionally, select the “Install Themes” tab to select new themes.' ) . '</p>'; 1986 1987 WP_Internal_Pointers::print_js( 'pointer_wp350_change_theme', '.nav-tab:not(.nav-tab-active)', array( 1988 'content' => $content, 1989 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1990 'persistent' => true, 1991 ) ); 1992 } 1993 1876 1994 /** 1877 1995 * Prevents new users from seeing existing 'new feature' pointers. 1878 1996 * -
wp-admin/css/colors-fresh.css
764 764 } 765 765 766 766 .welcome-panel { 767 background: #f5f5f5; 768 background-image: -webkit-gradient(linear, left bottom, left top, from(#f5f5f5), to(#fafafa)); 769 background-image: -webkit-linear-gradient(bottom, #f5f5f5, #fafafa); 770 background-image: -moz-linear-gradient(bottom, #f5f5f5, #fafafa); 771 background-image: -o-linear-gradient(bottom, #f5f5f5, #fafafa); 772 background-image: linear-gradient(to top, #f5f5f5, #fafafa); 767 773 border-color: #dfdfdf; 768 774 } 769 775 .welcome-panel p { … … 773 779 color: #464646; 774 780 } 775 781 .welcome-panel h3 { 776 text-shadow: 1px 1px 1px white;782 text-shadow: 1px 1px 1px #fff; 777 783 } 778 784 785 /* welcome screen button */ 786 787 .welcome-button { 788 border-color: #026896; 789 color: #fff; 790 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 791 792 background-color: #2ea2cc; 793 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 794 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 795 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 796 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 797 798 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 799 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 800 } 801 802 .welcome-button:hover { 803 color: #fff; 804 text-shadow: 0 -1px 0 rgb(0,116,162); 805 806 background-image: -webkit-linear-gradient(top, #2ea2cc, #0074a2); 807 background-image: -moz-linear-gradient(top, #2ea2cc, #0074a2); 808 background-image: -o-linear-gradient(top, #2ea2cc, #0074a2); 809 background-image: linear-gradient(to bottom, #2ea2cc, #0074a2); 810 811 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 812 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 813 } 814 815 .welcome-button:active, 816 .welcome-button:focus { 817 color:rgba(255,255,255,.9); 818 819 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 820 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 821 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 822 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 823 824 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 825 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 826 } 827 828 .welcome-button:focus { 829 border: 1px solid #002E45; 830 831 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 832 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 833 } 834 779 835 .widget, 780 836 #widget-list .widget-top, 781 837 .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
1358 1358 position: absolute; 1359 1359 top: -1000em; 1360 1360 left: 146px; 1361 z-index: 999;1361 z-index: 10000; 1362 1362 overflow: visible; 1363 1363 border-width: 1px; 1364 1364 border-style: solid; … … 2164 2164 2165 2165 /* Welcome Panel */ 2166 2166 .welcome-panel { 2167 margin: 20px 8px; 2167 position: relative; 2168 overflow: auto; 2169 margin: 20px 0; 2168 2170 padding: 30px 10px 20px; 2169 border-width: 1px 0;2171 border-width: 1px; 2170 2172 border-style: solid; 2171 position: relative; 2173 border-radius: 3px; 2174 font-size: 14px; 2172 2175 line-height: 1.6em; 2173 overflow: auto;2174 2176 } 2175 2177 2176 2178 .welcome-panel h3 { 2179 margin: 0; 2177 2180 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; 2178 2181 font-size: 32px; 2179 2182 font-weight: normal; 2180 2183 line-height: 1.2; 2181 margin: 0.1em 0 0.8em;2182 2184 } 2183 2185 .welcome-panel h4 { 2186 margin: 1.33em 0 0; 2184 2187 font-size: 14px; 2185 2188 } 2186 2189 2190 .welcome-panel .about-description { 2191 margin: 0; 2192 } 2193 2187 2194 .welcome-panel .welcome-panel-close { 2188 2195 position: absolute; 2189 2196 top: 0; … … 2194 2201 } 2195 2202 2196 2203 .welcome-panel .welcome-panel-close:before { 2197 background: url('../images/xit.gif') 0 17% no-repeat;2198 2204 content: ' '; 2205 position: absolute; 2206 left: -12px; 2207 width: 10px; 2199 2208 height: 100%; 2200 width: 10px; 2201 left: -12px; 2202 position: absolute; 2209 background: url('../images/xit.gif') 0 17% no-repeat; 2203 2210 } 2204 2211 2205 2212 .welcome-panel .welcome-panel-close:hover:before { 2206 2213 background-position: 100% 17%; 2207 2214 } 2208 2215 2209 .welcome-panel .wp-badge { 2210 float: left; 2211 margin-bottom: 20px; 2216 .welcome-button { 2217 display: inline-block; 2218 margin: -9px 0 3px; 2219 padding: 1em 3em; 2220 height: auto; 2221 border-width: 1px; 2222 border-style: solid; 2223 border-radius: 3px; 2224 font: normal 15px/1 sans-serif; 2225 text-decoration: none; 2226 white-space: nowrap; 2227 cursor: pointer; 2212 2228 } 2213 2229 2214 2230 .welcome-panel-content { 2231 margin-left: 13px; 2215 2232 max-width: 1500px; 2216 2233 } 2217 2234 2218 .welcome-panel-content .about-description,2219 .welcome-panel h3 {2220 margin-left: 190px;2221 }2222 2223 .welcome-panel p.welcome-panel-dismiss {2224 clear: both;2225 padding: 1em 0 0 0;2226 }2227 2228 2235 .welcome-panel .welcome-panel-column-container { 2229 2236 clear: both; 2230 2237 overflow: hidden; 2231 2238 position: relative; 2232 padding-left: 26px;2233 2239 } 2234 2240 2235 2241 .welcome-panel .welcome-panel-column { 2236 margin: 0 5% 0 -25px; 2237 padding-left: 25px; 2238 width: 30%; 2242 width: 32%; 2239 2243 min-width: 200px; 2240 2244 float: left; 2241 2245 } 2242 2246 2247 .welcome-panel .welcome-panel-column:first-child { 2248 width: 36%; 2249 } 2250 2243 2251 .welcome-panel .welcome-panel-column.welcome-panel-last { 2244 2252 margin-right: 0; 2245 2253 } … … 2248 2256 margin-left: -32px; 2249 2257 } 2250 2258 2259 .welcome-panel-column p { 2260 margin-top: 5px; 2261 } 2262 2251 2263 .welcome-panel .welcome-panel-column ul { 2252 margin: 1.6em 1em 1em 1.3em;2264 margin: 0.4em 1em 1em 1.3em; 2253 2265 } 2254 2266 2255 2267 .welcome-panel .welcome-panel-column li { … … 2257 2269 padding-left: 2px; 2258 2270 } 2259 2271 2272 @media screen and (max-width: 800px) { 2273 .welcome-button { 2274 font-size: 14px; 2275 padding: 1em 2.3em; 2276 } 2260 2277 2278 .welcome-panel .welcome-panel-column, .welcome-panel .welcome-panel-column:first-child { 2279 display: block; 2280 float: none; 2281 width: 100%; 2282 } 2283 .welcome-panel .welcome-panel-column li { 2284 display: inline-block; 2285 margin-right: 13px; 2286 } 2287 .welcome-panel .welcome-panel-column ul { 2288 margin: 0.4em 0 0; 2289 } 2290 } 2291 2261 2292 /*------------------------------------------------------------------------------ 2262 2293 10.0 - List Posts (/Pages/etc) 2263 2294 ------------------------------------------------------------------------------*/ -
wp-admin/css/colors-classic.css
773 773 } 774 774 775 775 .welcome-panel { 776 background: #f7fcfe; 776 777 border-color: #d1e5ee; 777 778 } 778 779 .welcome-panel p { … … 782 783 color: #464646; 783 784 } 784 785 .welcome-panel h3 { 785 text-shadow: 1px 1px 1px white;786 text-shadow: 1px 1px 1px #fff; 786 787 } 787 788 789 /* welcome screen button */ 790 791 .welcome-button { 792 border-color: #026896; 793 color: #fff; 794 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 795 796 background-color: #2ea2cc; 797 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 798 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 799 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 800 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 801 802 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 803 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 804 } 805 806 .welcome-button:hover { 807 color: #fff; 808 text-shadow: 0 -1px 0 rgb(0,116,162); 809 810 background-image: -webkit-linear-gradient(top, #2ea2cc, #0074a2); 811 background-image: -moz-linear-gradient(top, #2ea2cc, #0074a2); 812 background-image: -o-linear-gradient(top, #2ea2cc, #0074a2); 813 background-image: linear-gradient(to bottom, #2ea2cc, #0074a2); 814 815 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 816 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 817 } 818 819 .welcome-button:active, 820 .welcome-button:focus { 821 color:rgba(255,255,255,.9); 822 823 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 824 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 825 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 826 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 827 828 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 829 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 830 } 831 832 .welcome-button:focus { 833 border: 1px solid #002E45; 834 835 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 836 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 837 } 838 839 788 840 .widget, 789 841 #widget-list .widget-top, 790 842 .postbox,