Ticket #21368: 21368.6.1.diff
File 21368.6.1.diff, 25.7 KB (added by , 9 years ago) |
---|
-
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/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' ) && 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/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 font-size: 14px; 2162 margin: 20px 0; 2162 2163 padding: 30px 10px 20px; 2163 border-width: 1px 0;2164 border-width: 1px; 2164 2165 border-style: solid; 2165 2166 position: relative; 2166 2167 line-height: 1.6em; … … 2172 2173 font-size: 32px; 2173 2174 font-weight: normal; 2174 2175 line-height: 1.2; 2175 margin: 0 .1em 0 0.8em;2176 margin: 0; 2176 2177 } 2177 2178 .welcome-panel h4 { 2178 2179 font-size: 14px; 2180 margin: 1.33em 0 0; 2179 2181 } 2180 2182 2183 .welcome-panel .about-description { 2184 margin: 0; 2185 } 2186 2181 2187 .welcome-panel .welcome-panel-close { 2182 2188 position: absolute; 2183 2189 top: 0; … … 2206 2212 } 2207 2213 2208 2214 .welcome-panel-content { 2215 margin-left: 13px; 2209 2216 max-width: 1500px; 2210 2217 } 2211 2218 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 2219 .welcome-panel .welcome-panel-column-container { 2223 2220 clear: both; 2224 2221 overflow: hidden; 2225 2222 position: relative; 2226 padding-left: 26px;2227 2223 } 2228 2224 2229 2225 .welcome-panel .welcome-panel-column { 2230 margin: 0 5% 0 -25px; 2231 padding-left: 25px; 2232 width: 30%; 2226 width: 32%; 2233 2227 min-width: 200px; 2234 2228 float: left; 2235 2229 } 2236 2230 2231 .welcome-panel .welcome-panel-column:first-child { 2232 width: 36%; 2233 } 2234 2237 2235 .welcome-panel .welcome-panel-column.welcome-panel-last { 2238 2236 margin-right: 0; 2239 2237 } … … 2243 2241 } 2244 2242 2245 2243 .welcome-panel .welcome-panel-column ul { 2246 margin: 1.6em 1em 1em 1.3em;2244 margin: 0.4em 1em 1em 1.3em; 2247 2245 } 2248 2246 2249 2247 .welcome-panel .welcome-panel-column li { … … 2251 2249 padding-left: 2px; 2252 2250 } 2253 2251 2252 @media screen and (max-width: 800px) { 2253 .welcome-panel .welcome-panel-column, .welcome-panel .welcome-panel-column:first-child { 2254 display: block; 2255 float: none; 2256 width: 100%; 2257 } 2258 .welcome-panel .welcome-panel-column li { 2259 display: inline-block; 2260 margin-right: 13px; 2261 } 2262 .welcome-panel .welcome-panel-column ul { 2263 margin: 0.4em 0 0; 2264 } 2265 } 2254 2266 2255 2267 /*------------------------------------------------------------------------------ 2256 2268 10.0 - List Posts (/Pages/etc) -
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/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; 772 773 -moz-border-radius: 3px; 774 -webkit-border-radius: 3px; 775 -o-border-radius: 3px; 776 -ms-border-radius: 3px; 777 border-radius: 3px; 766 778 } 767 779 .welcome-panel p { 768 780 color: #777; 769 781 } 770 782 .welcome-panel-column p { 771 783 color: #464646; 784 margin-top: 5px; 772 785 } 773 786 .welcome-panel h3 { 774 787 text-shadow: 1px 1px 1px white; 775 788 } 776 789 790 /* welcome screen button */ 791 792 .welcome-button { 793 color: #fff; 794 cursor: pointer; 795 display: inline-block; 796 font-size: 15px; 797 font-family: sans-serif; 798 text-decoration: none; 799 height: auto; 800 line-height: 1; 801 margin-bottom: 3px; 802 padding: 1em 3em; 803 font-weight: normal; 804 margin-top: -9px; 805 white-space: nowrap; 806 807 -moz-border-radius: 3px; 808 -webkit-border-radius: 3px; 809 -o-border-radius: 3px; 810 -ms-border-radius: 3px; 811 border-radius: 3px; 812 813 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 814 815 background-color: #2ea2cc; 816 background-image: -moz-linear-gradient(top, #1e8cbe 0%, #0074a2 100%); 817 background-image: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 818 background-image: -ms-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 819 background-image: -o-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 820 background-image: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 821 822 border: 1px solid #026896; 823 824 -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 825 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 826 -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 827 -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 828 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 829 } 830 831 .welcome-button:hover { 832 color: #fff; 833 text-shadow: 0 -1px 0 rgb(0,116,162); 834 835 background-image: -moz-linear-gradient(top, #2ea2cc 0%, #0074a2 100%); 836 background-image: -webkit-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 837 background-image: -o-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 838 background-image: -ms-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 839 background-image: linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 840 841 -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 842 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 843 -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 844 -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 845 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 846 } 847 848 .welcome-button:active { 849 color:rgba(255,255,255,.9); 850 851 background-image: -moz-linear-gradient(top, #1e8cbe 0%, #0074a2 100%); 852 background-image: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 853 background-image: -o-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 854 background-image: -ms-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 855 background-image: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 856 857 -moz-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 858 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 859 -o-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 860 -ms-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 861 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 862 } 863 864 .welcome-button:focus { 865 color:rgba(255,255,255,.9); 866 867 background-image: -moz-linear-gradient(top, #1e8cbc 0%, #0074a2 100%); 868 background-image: -webkit-linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 869 background-image: -o-linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 870 background-image: -ms-linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 871 background-image: linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 872 873 border: 1px solid #002E45; 874 875 -moz-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 876 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 877 -o-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 878 -ms-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 879 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 880 } 881 882 @media screen and (max-width: 1000px) { 883 .welcome-button { 884 font-size: 14px; 885 padding: 1em 2.3em; 886 } 887 } 888 777 889 .widget, 778 890 #widget-list .widget-top, 779 891 .postbox, -
wp-admin/css/colors-classic.css
771 771 } 772 772 773 773 .welcome-panel { 774 background: #f7fCfe; 774 775 border-color: #d1e5ee; 776 777 -moz-border-radius: 3px; 778 -webkit-border-radius: 3px; 779 -o-border-radius: 3px; 780 -ms-border-radius: 3px; 781 border-radius: 3px; 775 782 } 776 783 .welcome-panel p { 777 784 color: #777; 778 785 } 779 786 .welcome-panel-column p { 780 787 color: #464646; 788 margin-top: 5px; 781 789 } 782 790 .welcome-panel h3 { 783 791 text-shadow: 1px 1px 1px white; 784 792 } 785 793 794 /* welcome screen button */ 795 796 .welcome-button { 797 color: #fff; 798 cursor: pointer; 799 display: inline-block; 800 font-size: 15px; 801 font-family: sans-serif; 802 text-decoration: none; 803 height: auto; 804 line-height: 1; 805 margin-bottom: 3px; 806 padding: 1em 3em; 807 font-weight: normal; 808 margin-top: -9px; 809 white-space: nowrap; 810 811 -moz-border-radius: 3px; 812 -webkit-border-radius: 3px; 813 -o-border-radius: 3px; 814 -ms-border-radius: 3px; 815 border-radius: 3px; 816 817 text-shadow: 0 -1px 0 rgba(0,116,162,0.8); 818 819 background-color: #2ea2cc; 820 background-image: -moz-linear-gradient(top, #1e8cbe 0%, #0074a2 100%); 821 background-image: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 822 background-image: -ms-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 823 background-image: -o-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 824 background-image: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 825 826 border: 1px solid #026896; 827 828 -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 829 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 830 -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 831 -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 832 box-shadow: inset 0 1px 0 rgba(120,200,230,0.5); 833 } 834 835 .welcome-button:hover { 836 color: #fff; 837 text-shadow: 0 -1px 0 rgb(0,116,162); 838 839 background-image: -moz-linear-gradient(top, #2ea2cc 0%, #0074a2 100%); 840 background-image: -webkit-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 841 background-image: -o-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 842 background-image: -ms-linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 843 background-image: linear-gradient(top, #2ea2cc 0%,#0074a2 100%); 844 845 -moz-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 846 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 847 -o-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 848 -ms-box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 849 box-shadow: inset 0 1px 0 rgba(120,200,230,0.7), 0 1px 2px rgba(0,0,0,0.3); 850 } 851 852 .welcome-button:active { 853 color:rgba(255,255,255,.9); 854 855 background-image: -moz-linear-gradient(top, #1e8cbe 0%, #0074a2 100%); 856 background-image: -webkit-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 857 background-image: -o-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 858 background-image: -ms-linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 859 background-image: linear-gradient(top, #1e8cbe 0%,#0074a2 100%); 860 861 -moz-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 862 -webkit-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 863 -o-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 864 -ms-box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 865 box-shadow: inset 0 1px 5px #005684, inset 0 -1px 0 #1e8cbe; 866 } 867 868 .welcome-button:focus { 869 color:rgba(255,255,255,.9); 870 871 background-image: -moz-linear-gradient(top, #1e8cbc 0%, #0074a2 100%); 872 background-image: -webkit-linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 873 background-image: -o-linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 874 background-image: -ms-linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 875 background-image: linear-gradient(top, #1e8cbc 0%,#0074a2 100%); 876 877 border: 1px solid #002E45; 878 879 -moz-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 880 -webkit-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 881 -o-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 882 -ms-box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 883 box-shadow: inset 0 1px 3px #005684, inset 0 -1px 0 #1e8cbe; 884 } 885 886 @media screen and (max-width: 1000px) { 887 .welcome-button { 888 font-size: 14px; 889 padding: 1em 2.3em; 890 } 891 } 892 893 786 894 .widget, 787 895 #widget-list .widget-top, 788 896 .postbox,