Changeset 22948
- Timestamp:
- 11/30/2012 01:40:59 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-header.php
r22730 r22948 98 98 ?> 99 99 </head> 100 <body class="wp-admin no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">100 <body class="wp-admin wp-core-ui no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>"> 101 101 <script type="text/javascript"> 102 102 document.body.className = document.body.className.replace('no-js','js'); -
trunk/wp-admin/css/ie.css
r22799 r22948 26 26 } 27 27 28 .welcome-panel .welcome-button {29 padding: 0 16px;30 }31 32 28 #wp-fullscreen-title { 33 29 width: 97%; -
trunk/wp-admin/css/wp-admin.css
r22906 r22948 227 227 .js .closed .inside, 228 228 .js .hide-if-js, 229 .no-js .hide-if-no-js { 229 .no-js .hide-if-no-js, 230 .js.wp-core-ui .hide-if-js, 231 .js .wp-core-ui .hide-if-js, 232 .no-js.wp-core-ui .hide-if-no-js, 233 .no-js .wp-core-ui .hide-if-no-js { 230 234 display: none; 231 235 } … … 2294 2298 } 2295 2299 2296 .welcome-panel .welcome-button { 2297 font: normal 15px sans-serif; 2298 height: 46px; 2299 line-height: 44px; 2300 .wp-core-ui .welcome-panel .button.button-hero { 2300 2301 margin: 15px 0 3px; 2301 padding: 0 36px;2302 2302 } 2303 2303 … … 2378 2378 2379 2379 @media screen and (max-width: 870px) { 2380 .welcome-button {2381 font-size: 14px;2382 padding: 1em 2.3em;2383 }2384 2385 2380 .welcome-panel .welcome-panel-column, 2386 2381 .welcome-panel .welcome-panel-column:first-child { … … 5684 5679 5685 5680 .no-customize-support .hide-if-no-customize, 5686 .customize-support .hide-if-customize { 5681 .customize-support .hide-if-customize, 5682 .no-customize-support.wp-core-ui .hide-if-no-customize, 5683 .no-customize-support .wp-core-ui .hide-if-no-customize, 5684 .customize-support.wp-core-ui .hide-if-customize, 5685 .customize-support .wp-core-ui .hide-if-customize { 5687 5686 display: none; 5688 5687 } -
trunk/wp-admin/customize.php
r22798 r22948 45 45 _wp_admin_html_begin(); 46 46 47 $body_class = ' ';47 $body_class = 'wp-core-ui'; 48 48 49 49 if ( wp_is_mobile() ) : -
trunk/wp-admin/includes/dashboard.php
r22930 r22948 1245 1245 <div class="welcome-panel-column"> 1246 1246 <h4><?php _e( 'Get Started' ); ?></h4> 1247 <a class="button -primary welcome-buttonload-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a>1248 <a class="button -primary welcome-buttonhide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize Your Site' ); ?></a>1247 <a class="button button-primary button-hero load-customize hide-if-no-customize" href="<?php echo wp_customize_url(); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1248 <a class="button button-primary button-hero hide-if-customize" href="<?php echo admin_url( 'themes.php' ); ?>"><?php _e( 'Customize Your Site' ); ?></a> 1249 1249 <?php if ( current_user_can( 'install_themes' ) || ( current_user_can( 'switch_themes' ) && count( wp_get_themes( array( 'allowed' => true ) ) ) > 1 ) ) : ?> 1250 1250 <p class="hide-if-no-customize"><?php printf( __( 'or, <a href="%s">change your theme completely</a>' ), admin_url( 'themes.php' ) ); ?></p> -
trunk/wp-admin/includes/media.php
r22929 r22948 359 359 ?> 360 360 </head> 361 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class=" no-js">361 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-core-ui no-js"> 362 362 <script type="text/javascript"> 363 363 document.body.className = document.body.className.replace('no-js', 'js'); -
trunk/wp-admin/includes/template.php
r22874 r22948 1390 1390 ?> 1391 1391 </head> 1392 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-admin no-js iframe <?php echo apply_filters( 'admin_body_class', '' ) . ' ' . $admin_body_class; ?>">1392 <body<?php if ( isset($GLOBALS['body_id']) ) echo ' id="' . $GLOBALS['body_id'] . '"'; ?> class="wp-admin wp-core-ui no-js iframe <?php echo apply_filters( 'admin_body_class', '' ) . ' ' . $admin_body_class; ?>"> 1393 1393 <script type="text/javascript"> 1394 1394 //<![CDATA[ -
trunk/wp-admin/install.php
r22634 r22948 16 16 <title>Error: PHP is not running</title> 17 17 </head> 18 <body >18 <body class="wp-core-ui"> 19 19 <h1 id="logo"><a href="http://wordpress.org/">WordPress</a></h1> 20 20 <h2>Error: PHP is not running</h2> … … 63 63 ?> 64 64 </head> 65 <body <?php if ( is_rtl() ) echo ' class="rtl"'; ?>>65 <body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>"> 66 66 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 67 67 -
trunk/wp-admin/maint/repair.php
r22419 r22948 17 17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 18 18 <title><?php _e( 'WordPress › Database Repair' ); ?></title> 19 <?php 19 <?php 20 20 wp_admin_css( 'install', true ); 21 21 ?> 22 22 </head> 23 <body >23 <body class="wp-core-ui"> 24 24 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 25 25 -
trunk/wp-admin/network/sites.php
r22419 r22948 54 54 if ( 'confirm' === $_GET['action'] ) { 55 55 check_admin_referer( 'confirm' ); 56 56 57 57 if ( ! headers_sent() ) { 58 58 nocache_headers(); … … 73 73 ?> 74 74 </head> 75 <body >75 <body class="wp-core-ui"> 76 76 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 77 77 <form action="sites.php?action=<?php echo esc_attr( $_GET['action2'] ) ?>" method="post"> … … 86 86 </html> 87 87 <?php 88 exit(); 89 } 90 88 exit(); 89 } 90 91 91 $updated_action = ''; 92 92 93 93 $manage_actions = array( 'deleteblog', 'allblogs', 'archiveblog', 'unarchiveblog', 'activateblog', 'deactivateblog', 'unspamblog', 'spamblog', 'unmatureblog', 'matureblog' ); 94 if ( in_array( $_GET['action'], $manage_actions ) ) { 94 if ( in_array( $_GET['action'], $manage_actions ) ) { 95 95 $action = $_GET['action']; 96 96 if ( 'allblogs' === $action ) … … 98 98 99 99 check_admin_referer( $action ); 100 } 101 100 } 101 102 102 switch ( $_GET['action'] ) { 103 103 … … 109 109 if ( $id != '0' && $id != $current_site->blog_id && current_user_can( 'delete_site', $id ) ) { 110 110 wpmu_delete_blog( $id, true ); 111 $updated_action = 'delete'; 111 $updated_action = 'delete'; 112 112 } 113 113 break; … … 116 116 if ( ( isset( $_POST['action'] ) || isset( $_POST['action2'] ) ) && isset( $_POST['allblogs'] ) ) { 117 117 $doaction = $_POST['action'] != -1 ? $_POST['action'] : $_POST['action2']; 118 118 119 119 foreach ( (array) $_POST['allblogs'] as $key => $val ) { 120 120 if ( $val != '0' && $val != $current_site->blog_id ) { … … 123 123 if ( ! current_user_can( 'delete_site', $val ) ) 124 124 wp_die( __( 'You are not allowed to delete the site.' ) ); 125 125 126 126 $updated_action = 'all_delete'; 127 127 wpmu_delete_blog( $val, true ); … … 163 163 update_blog_status( $id, 'spam', ( 'spamblog' === $_GET['action'] ) ? '1' : '0' ); 164 164 break; 165 165 166 166 case 'unmatureblog': 167 167 case 'matureblog': … … 169 169 break; 170 170 } 171 171 172 172 if ( empty( $updated_action ) && in_array( $_GET['action'], $manage_actions ) ) 173 173 $updated_action = $_GET['action']; 174 174 175 175 if ( ! empty( $updated_action ) ) { 176 176 wp_safe_redirect( add_query_arg( array( 'updated' => $updated_action ), wp_get_referer() ) ); … … 219 219 break; 220 220 } 221 221 222 222 if ( ! empty( $msg ) ) 223 223 $msg = '<div class="updated" id="message"><p>' . $msg . '</p></div>'; … … 232 232 <?php screen_icon( 'ms-admin' ); ?> 233 233 <h2><?php _e( 'Sites' ) ?> 234 234 235 235 <?php if ( current_user_can( 'create_sites') ) : ?> 236 236 <a href="<?php echo network_admin_url('site-new.php'); ?>" class="add-new-h2"><?php echo esc_html_x( 'Add New', 'site' ); ?></a> … … 242 242 </h2> 243 243 244 <?php echo $msg; ?> 245 244 <?php echo $msg; ?> 245 246 246 <form action="" method="get" id="ms-search"> 247 247 <?php $wp_list_table->search_box( __( 'Search Sites' ), 'site' ); ?> -
trunk/wp-admin/press-this.php
r22908 r22948 440 440 $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_locale() ) ) ); 441 441 ?> 442 <body class="press-this wp-admin <?php echo $admin_body_class; ?>">442 <body class="press-this wp-admin wp-core-ui <?php echo $admin_body_class; ?>"> 443 443 <form action="press-this.php?action=post" method="post"> 444 444 <div id="poststuff" class="metabox-holder"> -
trunk/wp-admin/setup-config.php
r22419 r22948 100 100 101 101 </head> 102 <body <?php if ( is_rtl() ) echo ' class="rtl"'; ?>>102 <body class="wp-core-ui<?php if ( is_rtl() ) echo ' rtl'; ?>"> 103 103 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 104 104 <?php -
trunk/wp-admin/upgrade.php
r22424 r22948 58 58 ?> 59 59 </head> 60 <body >60 <body class="wp-core-ui"> 61 61 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> 62 62 -
trunk/wp-includes/class-wp-editor.php
r22719 r22948 114 114 } 115 115 116 echo '<div id="wp-' . $editor_id . '-wrap" class="wp- editor-wrap ' . $switch_class . '">';116 echo '<div id="wp-' . $editor_id . '-wrap" class="wp-core-ui wp-editor-wrap ' . $switch_class . '">'; 117 117 118 118 if ( self::$editor_buttons_css ) { -
trunk/wp-includes/css/admin-bar.css
r22941 r22948 601 601 */ 602 602 .no-customize-support .hide-if-no-customize, 603 .customize-support .hide-if-customize { 603 .customize-support .hide-if-customize, 604 .no-customize-support.wp-core-ui .hide-if-no-customize, 605 .no-customize-support .wp-core-ui .hide-if-no-customize, 606 .customize-support.wp-core-ui .hide-if-customize, 607 .customize-support .wp-core-ui .hide-if-customize { 604 608 display: none; 605 609 } -
trunk/wp-includes/css/buttons.css
r22707 r22948 35 35 ---------------------------------------------------------------------------- */ 36 36 37 . button,38 . button-primary,39 . button-secondary {37 .wp-core-ui .button, 38 .wp-core-ui .button-primary, 39 .wp-core-ui .button-secondary { 40 40 display: inline-block; 41 41 text-decoration: none; … … 58 58 59 59 /* Remove the dotted border on :focus and the extra padding in Firefox */ 60 button::-moz-focus-inner,61 input[type="reset"]::-moz-focus-inner,62 input[type="button"]::-moz-focus-inner,63 input[type="submit"]::-moz-focus-inner {60 .wp-core-ui button::-moz-focus-inner, 61 .wp-core-ui input[type="reset"]::-moz-focus-inner, 62 .wp-core-ui input[type="button"]::-moz-focus-inner, 63 .wp-core-ui input[type="submit"]::-moz-focus-inner { 64 64 border-width: 1px 0; 65 65 border-style: solid none; … … 68 68 } 69 69 70 . button.button-large,71 . button-group.button-large .button {70 .wp-core-ui .button.button-large, 71 .wp-core-ui .button-group.button-large .button { 72 72 height: 30px; 73 73 line-height: 28px; … … 75 75 } 76 76 77 . button.button-small,78 . button-group.button-small .button {77 .wp-core-ui .button.button-small, 78 .wp-core-ui .button-group.button-small .button { 79 79 height: 21px; 80 80 line-height: 20px; … … 82 82 } 83 83 84 . button.button-hero,85 . button-group.button-hero .button {84 .wp-core-ui .button.button-hero, 85 .wp-core-ui .button-group.button-hero .button { 86 86 font-size: 14px; 87 87 height: 46px; … … 90 90 } 91 91 92 . button:active {92 .wp-core-ui .button:active { 93 93 outline: none; 94 94 } 95 95 96 . button.hidden {96 .wp-core-ui .button.hidden { 97 97 display: none; 98 98 } … … 102 102 ---------------------------------------------------------------------------- */ 103 103 104 . button,105 . button-secondary {104 .wp-core-ui .button, 105 .wp-core-ui .button-secondary { 106 106 background: #f3f3f3; 107 107 background-image: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#f4f4f4)); … … 115 115 } 116 116 117 . button.hover,118 . button:hover,119 . button-secondary:hover,120 . button.focus,121 . button:focus,122 . button-secondary:focus {117 .wp-core-ui .button.hover, 118 .wp-core-ui .button:hover, 119 .wp-core-ui .button-secondary:hover, 120 .wp-core-ui .button.focus, 121 .wp-core-ui .button:focus, 122 .wp-core-ui .button-secondary:focus { 123 123 background: #f3f3f3; 124 124 background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f3f3f3)); … … 132 132 } 133 133 134 . button.focus,135 . button:focus,136 . button-secondary:focus {134 .wp-core-ui .button.focus, 135 .wp-core-ui .button:focus, 136 .wp-core-ui .button-secondary:focus { 137 137 -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.2); 138 138 box-shadow: 1px 1px 1px rgba(0,0,0,.2); 139 139 } 140 140 141 . button.active,142 . button.active:hover,143 . button.active:focus,144 . button:active,145 . button-secondary:active {141 .wp-core-ui .button.active, 142 .wp-core-ui .button.active:hover, 143 .wp-core-ui .button.active:focus, 144 .wp-core-ui .button:active, 145 .wp-core-ui .button-secondary:active { 146 146 background: #eee; 147 147 background-image: -webkit-gradient(linear, left top, left bottom, from(#f4f4f4), to(#fefefe)); … … 158 158 } 159 159 160 . button[disabled],161 . button:disabled,162 . button-secondary[disabled],163 . button-secondary:disabled,164 . button-disabled {160 .wp-core-ui .button[disabled], 161 .wp-core-ui .button:disabled, 162 .wp-core-ui .button-secondary[disabled], 163 .wp-core-ui .button-secondary:disabled, 164 .wp-core-ui .button-disabled { 165 165 color: #aaa !important; 166 166 border-color: #ddd !important; … … 181 181 ---------------------------------------------------------------------------- */ 182 182 183 . button-primary {183 .wp-core-ui .button-primary { 184 184 background-color: #21759b; 185 185 background-image: -webkit-gradient(linear, left top, left bottom, from(#2a95c5), to(#21759b)); … … 198 198 } 199 199 200 . button-primary.hover,201 . button-primary:hover,202 . button-primary.focus,203 . button-primary:focus {200 .wp-core-ui .button-primary.hover, 201 .wp-core-ui .button-primary:hover, 202 .wp-core-ui .button-primary.focus, 203 .wp-core-ui .button-primary:focus { 204 204 background-color: #278ab7; 205 205 background-image: -webkit-gradient(linear, left top, left bottom, from(#2e9fd2), to(#21759b)); … … 216 216 } 217 217 218 . button-primary.focus,219 . button-primary:focus {218 .wp-core-ui .button-primary.focus, 219 .wp-core-ui .button-primary:focus { 220 220 border-color: #0e3950; 221 221 -webkit-box-shadow: inset 0 1px 0 rgba(120,200,230,0.6), 1px 1px 2px rgba(0,0,0,0.4); … … 223 223 } 224 224 225 . button-primary.active,226 . button-primary.active:hover,227 . button-primary.active:focus,228 . button-primary:active {225 .wp-core-ui .button-primary.active, 226 .wp-core-ui .button-primary.active:hover, 227 .wp-core-ui .button-primary.active:focus, 228 .wp-core-ui .button-primary:active { 229 229 background: #1b607f; 230 230 background-image: -webkit-gradient(linear, left top, left bottom, from(#21759b), to(#278ab7)); … … 241 241 } 242 242 243 . button-primary[disabled],244 . button-primary:disabled,245 . button-primary-disabled {243 .wp-core-ui .button-primary[disabled], 244 .wp-core-ui .button-primary:disabled, 245 .wp-core-ui .button-primary-disabled { 246 246 color: #94cde7 !important; 247 247 background: #298cba !important; … … 257 257 ---------------------------------------------------------------------------- */ 258 258 259 . button-group {259 .wp-core-ui .button-group { 260 260 position: relative; 261 261 display: inline-block; … … 265 265 } 266 266 267 . button-group > .button {267 .wp-core-ui .button-group > .button { 268 268 display: inline-block; 269 269 border-radius: 0; … … 272 272 } 273 273 274 . button-group > .button-primary {274 .wp-core-ui .button-group > .button-primary { 275 275 z-index: 100; 276 276 } 277 277 278 . button-group > .button:hover {278 .wp-core-ui .button-group > .button:hover { 279 279 z-index: 20; 280 280 } 281 281 282 . button-group > .button:first-child {282 .wp-core-ui .button-group > .button:first-child { 283 283 border-radius: 3px 0 0 3px; 284 284 } 285 285 286 . button-group > .button:last-child {286 .wp-core-ui .button-group > .button:last-child { 287 287 border-radius: 0 3px 3px 0; 288 288 } -
trunk/wp-includes/js/media-views.js
r22946 r22948 1066 1066 uploader: true 1067 1067 }); 1068 1069 // Ensure core UI is enabled. 1070 this.$el.addClass('wp-core-ui'); 1068 1071 1069 1072 // Initialize modal container view. -
trunk/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html
r22942 r22948 12 12 </head> 13 13 14 <body id="media-upload" style="display:none;">14 <body id="media-upload" class="wp-core-ui" style="display:none;"> 15 15 <script type="text/javascript"> 16 16 if ( 'rtl' == tinyMCEPopup.editor.getParam('directionality','') ) -
trunk/wp-includes/js/tinymce/wp-mce-help.php
r22550 r22948 153 153 <?php endif; ?> 154 154 </head> 155 <body class="windows ">155 <body class="windows wp-core-ui"> 156 156 <script type="text/javascript"> 157 157 if ( tinymce.isMac ) -
trunk/wp-includes/media.php
r22929 r22948 1506 1506 1507 1507 <script type="text/html" id="tmpl-media-modal"> 1508 <div class="media-modal ">1508 <div class="media-modal wp-core-ui"> 1509 1509 <h3 class="media-modal-title">{{ data.title }}</h3> 1510 1510 <a class="media-modal-close media-modal-icon" href="#" title="<?php esc_attr_e('Close'); ?>"></a> -
trunk/wp-login.php
r22413 r22948 87 87 $login_header_url = '#'; 88 88 89 $classes = array( 'login-action-' . $action );89 $classes = array( 'login-action-' . $action, 'wp-core-ui' ); 90 90 if ( wp_is_mobile() ) 91 91 $classes[] = 'mobile';
Note: See TracChangeset
for help on using the changeset viewer.