Ticket #21368: 21368.7.diff
File 21368.7.diff, 22.8 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 id="wp350_change_theme" href="%s">' . __( 'change your theme completely' ) . '</a>', esc_url( admin_url( 'themes.php?tooltip=true' ) ) ); ?></p> <?php } ?> 1268 1263 </div> 1269 1264 <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> 1265 <h4><?php _e( 'Next Steps' ); ?></h4> 1272 1266 <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> 1267 <?php if ( ( 'page' == get_option( 'show_on_front' ) ) && '0' == get_option( 'page_for_posts' ) ) { ?> 1268 <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> 1269 <li><?php printf( '<a href="%s">' . __( 'Add additional pages' ) . '</a>', esc_url( admin_url( 'post-new.php?post_type=page' ) ) ); ?></li> 1270 <?php } else if ( 'page' == get_option( 'show_on_front' ) ) { ?> 1271 <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> 1272 <li><?php printf( '<a href="%s">' . __( 'Add additional pages' ) . '</a>', esc_url( admin_url( 'post-new.php?post_type=page' ) ) ); ?></li> 1273 <li><?php printf( '<a href="%s">' . __( 'Add a blog post' ) . '</a>', esc_url( admin_url( 'post-new.php' ) ) ); ?></li> 1274 <?php } else { ?> 1275 <li><?php printf( '<a href="%s">' . __( 'Write your first blog post' ) . '</a>', esc_url( admin_url( 'post-new.php' ) ) ); ?></li> 1276 <li><?php printf( '<a href="%s">' . __( 'Add an About page' ) . '</a>', esc_url( admin_url( 'post-new.php?post_type=page' ) ) ); ?></li> 1277 <?php } ?> 1278 <li><?php printf( '<a href="%s">' . __( 'View your site' ) . '</a>', esc_url( home_url() ) ); ?></li> 1277 1279 </ul> 1278 1280 </div> 1279 1281 <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; ?> 1282 <h4><?php _e( 'Learn how to' ); ?></h4> 1283 <ul> 1284 <li><?php printf( '<a id="wp350_add_images" href="%s">' . __( 'Add media' ) . '</a>', esc_url( admin_url( 'media-new.php' ) ) ); ?></li> 1285 <li><?php printf( '<a id="wp350_widgets" href="%s">' . __( 'Add/remove widgets' ) . '</a>', esc_url( admin_url( 'widgets.php' ) ) ); ?></li> 1286 <li><?php printf( '<a id="wp350_edit_menu" href="%s">' . __( 'Edit your navigation menu' ) . '</a>', esc_url( admin_url( 'nav-menus.php' ) ) ); ?></li> 1287 </ul> 1318 1288 </div> 1319 1289 </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 1290 </div> 1322 1291 </div> 1323 1292 <?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 1778 options = $.extend( options, { 1779 close: function() { 1780 $.post( ajaxurl, { 1781 pointer: '<?php echo $pointer_id; ?>', 1782 action: 'dismiss-wp-pointer' 1783 }); 1784 } 1785 }); 1781 <?php if( empty( $args['persistent'] ) ): ?> 1786 1782 1783 options = $.extend( options, { 1784 close: function() { 1785 $.post( ajaxurl, { 1786 pointer: '<?php echo $pointer_id; ?>', 1787 action: 'dismiss-wp-pointer' 1788 }); 1789 } 1790 }); 1791 1792 <?php endif; ?> 1793 1787 1794 setup = function() { 1788 1795 $('<?php echo $selector; ?>').pointer( options ).pointer('open'); 1796 return false; 1789 1797 }; 1790 1798 1791 if ( options.position && options.position.defer_loading ) 1792 $(window).bind( 'load.wp-pointers', setup ); 1793 else 1794 $(document).ready( setup ); 1799 <?php if( empty( $args['onclick_element'] ) ): ?> 1795 1800 1801 if ( options.position && options.position.defer_loading ) 1802 $(window).bind( 'load.wp-pointers', setup ); 1803 else 1804 $(document).ready( setup ); 1805 1806 <?php else: ?> 1807 1808 $('<?php echo $args['onclick_element']; ?>').click( setup ); 1809 1810 <?php endif; ?> 1811 1796 1812 })( jQuery ); 1797 1813 //]]> 1798 1814 </script> … … 1873 1889 ) ); 1874 1890 } 1875 1891 1892 public static function pointer_wp350_add_images() { 1893 $content = '<h3>' . __( 'Use the add new menu' ) . '</h3>'; 1894 $content .= '<p>' . __( 'Select “Post” from the add new menu.' ) . '</p>'; 1895 1896 WP_Internal_Pointers::print_js( 'pointer_wp350_add_images', '#wp-admin-bar-new-content', array( 1897 'content' => $content, 1898 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1899 'persistent' => true, 1900 'onclick_element' => '#wp350_add_images', 1901 ) ); 1902 } 1903 1904 public static function pointer_wp350_add_images_2() { 1905 $content = '<h3>' . __( 'Add images/media' ) . '</h3>'; 1906 $content .= '<p>' . __( 'You can add images, videos, pdfs, and other documents to your posts and pages by clicking this button.' ) . '</p>'; 1907 1908 WP_Internal_Pointers::print_js( 'pointer_wp350_add_images_2', '#wp-content-media-buttons a', array( 1909 'content' => $content, 1910 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1911 'persistent' => true, 1912 ) ); 1913 } 1914 1915 public static function pointer_wp350_change_theme() { 1916 $content = '<h3>' . __( 'Install a new theme' ) . '</h3>'; 1917 $content .= '<p>' . __( 'Optionally, select the “Install Themes” tab to select new themes.' ) . '</p>'; 1918 1919 WP_Internal_Pointers::print_js( 'pointer_wp350_change_theme_2', '.nav-tab:not(.nav-tab-active)', array( 1920 'content' => $content, 1921 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1922 'persistent' => true, 1923 ) ); 1924 } 1925 1926 public static function pointer_wp350_widgets() { 1927 $content = '<h3>' . __( 'Under appearance' ) . '</h3>'; 1928 $content .= '<p>' . __( 'Click the “Widgets” link under the appearance menu.' ) . '</p>'; 1929 1930 WP_Internal_Pointers::print_js( 'pointer_wp350_widgets', '#menu-appearance', array( 1931 'content' => $content, 1932 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1933 'persistent' => true, 1934 'onclick_element' => '#wp350_widgets', 1935 ) ); 1936 } 1937 1938 public static function pointer_wp350_widgets_2() { 1939 1940 $content = '<h3>' . __( 'Add/remove widgets' ) . '</h3>'; 1941 $content .= '<p>' . __( 'To add new widgets, drag them from "Available widgets" to this container. Remove widgets by dragging them from this container.' ) . '</p>'; 1942 1943 WP_Internal_Pointers::print_js( 'pointer_wp350_widgets_2', 'div.widget-liquid-right', array( 1944 'content' => $content, 1945 'position' => array( 'edge' => is_rtl() ? 'left' : 'right', 'align' => is_rtl() ? 'left' : 'right', 'offset' => '0 -200' ), 1946 'persistent' => true, 1947 ) ); 1948 } 1949 1950 public static function pointer_wp350_edit_menu() { 1951 $content = '<h3>' . __( 'Under appearance' ) . '</h3>'; 1952 $content .= '<p>' . __( 'Click the “Menus” link under the appearance menu.' ) . '</p>'; 1953 1954 WP_Internal_Pointers::print_js( 'pointer_wp350_edit_menu', '#menu-appearance', array( 1955 'content' => $content, 1956 'position' => array( 'edge' => is_rtl() ? 'right' : 'left', 'align' => is_rtl() ? 'right' : 'left' ), 1957 'persistent' => true, 1958 'onclick_element' => '#wp350_edit_menu', 1959 ) ); 1960 } 1961 1962 public static function pointer_wp350_edit_menu_2() { 1963 if( isset( $_GET['menu'] ) && intval( $_GET['menu'] ) ) 1964 return; 1965 1966 $content = '<h3>' . __( 'Create a new menu' ) . '</h3>'; 1967 $content .= '<p>' . __( 'Give your new menu a name, and then click the “Create Menu” button.' ) . '</p>'; 1968 1969 WP_Internal_Pointers::print_js( 'pointer_wp350_edit_menu_2', '#menu-name', array( 1970 'content' => $content, 1971 'position' => array( 'edge' => 'top', 'align' => is_rtl() ? 'right' : 'left' ), 1972 'persistent' => true, 1973 ) ); 1974 } 1975 1876 1976 /** 1877 1977 * Prevents new users from seeing existing 'new feature' pointers. 1878 1978 * -
wp-admin/css/colors-fresh.css
762 762 } 763 763 764 764 .welcome-panel { 765 background: #f5f5f5; 766 background-image: -webkit-gradient(linear, left bottom, left top, from(#f5f5f5), to(#fafafa)); 767 background-image: -webkit-linear-gradient(bottom, #f5f5f5, #fafafa); 768 background-image: -moz-linear-gradient(bottom, #f5f5f5, #fafafa); 769 background-image: -o-linear-gradient(bottom, #f5f5f5, #fafafa); 770 background-image: linear-gradient(to top, #f5f5f5, #fafafa); 765 771 border-color: #dfdfdf; 766 772 } 767 773 .welcome-panel p { … … 771 777 color: #464646; 772 778 } 773 779 .welcome-panel h3 { 774 text-shadow: 1px 1px 1px white;780 text-shadow: 1px 1px 1px #fff; 775 781 } 776 782 783 /* welcome screen button */ 784 785 .welcome-button { 786 border-color: #026896; 787 color: #fff; 788 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 789 790 background-color: #2ea2cc; 791 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 792 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 793 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 794 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 795 796 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 797 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 798 } 799 800 .welcome-button:hover { 801 color: #fff; 802 text-shadow: 0 -1px 0 rgb(0,116,162); 803 804 background-image: -webkit-linear-gradient(top, #2ea2cc, #0074a2); 805 background-image: -moz-linear-gradient(top, #2ea2cc, #0074a2); 806 background-image: -o-linear-gradient(top, #2ea2cc, #0074a2); 807 background-image: linear-gradient(to bottom, #2ea2cc, #0074a2); 808 809 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 810 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 811 } 812 813 .welcome-button:active, 814 .welcome-button:focus { 815 color:rgba(255,255,255,.9); 816 817 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 818 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 819 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 820 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 821 822 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 823 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 824 } 825 826 .welcome-button:focus { 827 border: 1px solid #002E45; 828 829 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 830 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 831 } 832 833 @media screen and (max-width: 1000px) { 834 .welcome-button { 835 font-size: 14px; 836 padding: 1em 2.3em; 837 } 838 } 839 777 840 .widget, 778 841 #widget-list .widget-top, 779 842 .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
1352 1352 position: absolute; 1353 1353 top: -1000em; 1354 1354 left: 146px; 1355 z-index: 999;1355 z-index: 10000; 1356 1356 overflow: visible; 1357 1357 border-width: 1px; 1358 1358 border-style: solid; … … 2158 2158 2159 2159 /* Welcome Panel */ 2160 2160 .welcome-panel { 2161 margin: 20px 8px; 2161 position: relative; 2162 overflow: auto; 2163 margin: 20px 0; 2162 2164 padding: 30px 10px 20px; 2163 border-width: 1px 0;2165 border-width: 1px; 2164 2166 border-style: solid; 2165 position: relative; 2167 border-radius: 3px; 2168 font-size: 14px; 2166 2169 line-height: 1.6em; 2167 overflow: auto;2168 2170 } 2169 2171 2170 2172 .welcome-panel h3 { 2173 margin: 0; 2171 2174 font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif; 2172 2175 font-size: 32px; 2173 2176 font-weight: normal; 2174 2177 line-height: 1.2; 2175 margin: 0.1em 0 0.8em;2176 2178 } 2177 2179 .welcome-panel h4 { 2180 margin: 1.33em 0 0; 2178 2181 font-size: 14px; 2179 2182 } 2180 2183 2184 .welcome-panel .about-description { 2185 margin: 0; 2186 } 2187 2181 2188 .welcome-panel .welcome-panel-close { 2182 2189 position: absolute; 2183 2190 top: 0; … … 2188 2195 } 2189 2196 2190 2197 .welcome-panel .welcome-panel-close:before { 2191 background: url('../images/xit.gif') 0 17% no-repeat;2192 2198 content: ' '; 2199 position: absolute; 2200 left: -12px; 2201 width: 10px; 2193 2202 height: 100%; 2194 width: 10px; 2195 left: -12px; 2196 position: absolute; 2203 background: url('../images/xit.gif') 0 17% no-repeat; 2197 2204 } 2198 2205 2199 2206 .welcome-panel .welcome-panel-close:hover:before { 2200 2207 background-position: 100% 17%; 2201 2208 } 2202 2209 2203 .welcome-panel .wp-badge { 2204 float: left; 2205 margin-bottom: 20px; 2210 .welcome-button { 2211 display: inline-block; 2212 margin: -9px 0 3px; 2213 padding: 1em 3em; 2214 height: auto; 2215 border-width: 1px; 2216 border-style: solid; 2217 border-radius: 3px; 2218 font: normal 15px/1 sans-serif; 2219 text-decoration: none; 2220 white-space: nowrap; 2221 cursor: pointer; 2206 2222 } 2207 2223 2208 2224 .welcome-panel-content { 2225 margin-left: 13px; 2209 2226 max-width: 1500px; 2210 2227 } 2211 2228 2212 .welcome-panel-content .about-description,2213 .welcome-panel h3 {2214 margin-left: 190px;2215 }2216 2217 .welcome-panel p.welcome-panel-dismiss {2218 clear: both;2219 padding: 1em 0 0 0;2220 }2221 2222 2229 .welcome-panel .welcome-panel-column-container { 2223 2230 clear: both; 2224 2231 overflow: hidden; 2225 2232 position: relative; 2226 padding-left: 26px;2227 2233 } 2228 2234 2229 2235 .welcome-panel .welcome-panel-column { 2230 margin: 0 5% 0 -25px; 2231 padding-left: 25px; 2232 width: 30%; 2236 width: 32%; 2233 2237 min-width: 200px; 2234 2238 float: left; 2235 2239 } 2236 2240 2241 .welcome-panel .welcome-panel-column:first-child { 2242 width: 36%; 2243 } 2244 2237 2245 .welcome-panel .welcome-panel-column.welcome-panel-last { 2238 2246 margin-right: 0; 2239 2247 } … … 2242 2250 margin-left: -32px; 2243 2251 } 2244 2252 2253 .welcome-panel-column p { 2254 margin-top: 5px; 2255 } 2256 2245 2257 .welcome-panel .welcome-panel-column ul { 2246 margin: 1.6em 1em 1em 1.3em;2258 margin: 0.4em 1em 1em 1.3em; 2247 2259 } 2248 2260 2249 2261 .welcome-panel .welcome-panel-column li { … … 2251 2263 padding-left: 2px; 2252 2264 } 2253 2265 2266 @media screen and (max-width: 800px) { 2267 .welcome-button { 2268 font-size: 14px; 2269 padding: 1em 2.3em; 2270 } 2254 2271 2272 .welcome-panel .welcome-panel-column, .welcome-panel .welcome-panel-column:first-child { 2273 display: block; 2274 float: none; 2275 width: 100%; 2276 } 2277 .welcome-panel .welcome-panel-column li { 2278 display: inline-block; 2279 margin-right: 13px; 2280 } 2281 .welcome-panel .welcome-panel-column ul { 2282 margin: 0.4em 0 0; 2283 } 2284 } 2285 2255 2286 /*------------------------------------------------------------------------------ 2256 2287 10.0 - List Posts (/Pages/etc) 2257 2288 ------------------------------------------------------------------------------*/ -
wp-admin/css/colors-classic.css
771 771 } 772 772 773 773 .welcome-panel { 774 background: #f7fcfe; 774 775 border-color: #d1e5ee; 775 776 } 776 777 .welcome-panel p { … … 780 781 color: #464646; 781 782 } 782 783 .welcome-panel h3 { 783 text-shadow: 1px 1px 1px white;784 text-shadow: 1px 1px 1px #fff; 784 785 } 785 786 787 /* welcome screen button */ 788 789 .welcome-button { 790 border-color: #026896; 791 color: #fff; 792 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 793 794 background-color: #2ea2cc; 795 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 796 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 797 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 798 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 799 800 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 801 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 802 } 803 804 .welcome-button:hover { 805 color: #fff; 806 text-shadow: 0 -1px 0 rgb(0,116,162); 807 808 background-image: -webkit-linear-gradient(top, #2ea2cc, #0074a2); 809 background-image: -moz-linear-gradient(top, #2ea2cc, #0074a2); 810 background-image: -o-linear-gradient(top, #2ea2cc, #0074a2); 811 background-image: linear-gradient(to bottom, #2ea2cc, #0074a2); 812 813 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 814 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 815 } 816 817 .welcome-button:active, 818 .welcome-button:focus { 819 color:rgba(255,255,255,.9); 820 821 background-image: -webkit-linear-gradient(top, #1e8cbe, #0074a2); 822 background-image: -moz-linear-gradient(top, #1e8cbe, #0074a2); 823 background-image: -o-linear-gradient(top, #1e8cbe, #0074a2); 824 background-image: linear-gradient(to bottom, #1e8cbe, #0074a2); 825 826 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 827 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 828 } 829 830 .welcome-button:focus { 831 border: 1px solid #002E45; 832 833 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 834 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 835 } 836 837 786 838 .widget, 787 839 #widget-list .widget-top, 788 840 .postbox,