Changeset 6582
- Timestamp:
- 01/09/2008 12:12:35 PM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin.php
r6574 r6582 29 29 wp_reset_vars(array('profile', 'redirect', 'redirect_url', 'a', 'popuptitle', 'popupurl', 'text', 'trackback', 'pingback')); 30 30 31 wp_enqueue_script( 'fat' ); 31 wp_enqueue_script( 'common' ); 32 wp_enqueue_script( 'jquery-color' ); 32 33 33 34 $editing = false; -
trunk/wp-admin/wp-admin.css
r6578 r6582 318 318 319 319 .updated { 320 background: # ddedfa;321 border: 1px solid # c6d9e9;320 background: #ffffe0; 321 border: 1px solid #e6db55; 322 322 } 323 323 324 324 .updated a { 325 color: #448abd; 326 font-weight: bold; 325 color: #2583ad; 326 text-decoration: none; 327 padding-bottom: 2px; 328 border-bottom: 1px solid #2583ad; 327 329 } 328 330 … … 1178 1180 1179 1181 #poststuff h2 { 1182 margin-top: 20px; 1180 1183 margin-bottom: 20px; 1181 1184 } … … 1275 1278 background-color:#2583ad; 1276 1279 background-image:url(images/toggle-arrow.gif); 1277 background-position: 5px 18px;1278 } 1280 background-position: 4px 18px; 1281 } -
trunk/wp-includes/js/wp-lists.js
r6303 r6582 173 173 if ( !s.data._ajax_nonce ) { return true; } 174 174 175 var func = function() { $('#' + s.element).css( 'background-color', '' ).hide();list.wpList.recolor(); };175 var func = function() { list.wpList.recolor(); }; 176 176 var hideTO = -1; 177 177 if ( 'none' != s.delColor ) { 178 Fat.fade_element(s.element,null,700,s.delColor);179 hideTO = setTimeout(func, 705);178 $('#' + s.element).animate( { backgroundColor: s.delColor }, 100 ).slideUp(); 179 hideTO = setTimeout(func, 500); 180 180 } else { 181 181 func(); … … 228 228 } 229 229 230 var thisclass = $('#' + s.element).attr('class'); 231 if ( thisclass && thisclass.match(/alternate/) ) 232 var color = '#f1f1f1'; 233 else 234 var color = '#fff'; 235 var isClass = $('#' + s.element).toggleClass(s.dimClass).is('.' + s.dimClass); 236 if ( isClass && 'none' != s.dimAddColor ) { 237 $('#' + s.element).animate( { backgroundColor: s.dimAddColor }, 50 ).animate( { backgroundColor: color }, 400 ); 238 } 239 else if ( !isClass && 'none' != s.dimDelColor ) { 240 $('#' + s.element).animate( { backgroundColor: s.dimDelColor }, 50 ).animate( { backgroundColor: color }, 400 ); 241 } 242 230 243 if ( !s.data._ajax_nonce ) { return true; } 231 232 var isClass = $('#' + s.element).toggleClass(s.dimClass).is('.' + s.dimClass);233 if ( isClass && 'none' != s.dimAddColor ) { Fat.fade_element(s.element,null,700,s.dimAddColor); }234 else if ( !isClass && 'none' != s.dimDelColor ) { Fat.fade_element(s.element,null,700,s.dimDelColor); }235 236 var dimTO = setTimeout( function() { $('#' + s.element).css( 'background-color', '' ); }, 705 );237 244 238 245 s.success = function(r) { … … 303 310 var b = e.css( 'background-color' ); 304 311 if ( b == 'transparent' ) { b = ''; } 305 Fat.fade_element(e.attr('id'),null,700,s.addColor); 306 setTimeout( function() { 307 var g = e.css( 'background-color', '' ).css( 'background-color' ); 308 if ( b != g ) { e.css( 'background-color', b ); } 309 }, 705 ); 312 313 $('#' + s.element).css('background-color', s.addColor).animate( { backgroundColor: '#fff' }, 300 ); 310 314 } 311 315 list.each( function() { this.wpList.process( e ); } ); -
trunk/wp-includes/script-loader.php
r6579 r6582 12 12 13 13 function default_scripts() { 14 $this->add( 'fat', '/wp-includes/js/fat.js', false, '1.0-RC1_3660' ); 15 14 $this->add( 'common', '/wp-admin/js/common.js', false, '1.0' ); 16 15 $this->add( 'sack', '/wp-includes/js/tw-sack.js', false, '1.6.1' ); 17 16 … … 57 56 ) ); 58 57 59 $this->add( 'listman', '/wp-includes/js/list-manipulation.js', array('wp-ajax', ' fat'), '20070306' );58 $this->add( 'listman', '/wp-includes/js/list-manipulation.js', array('wp-ajax', 'jquery-color'), '20070306' ); 60 59 $this->localize( 'listman', 'listManL10n', array( 61 60 'jumpText' => __('Jump to new item'), … … 79 78 $this->add( 'cropper', '/wp-includes/js/crop/cropper.js', array('scriptaculous-dragdrop'), '20070118'); 80 79 81 $this->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.2.2b2 ');80 $this->add( 'jquery', '/wp-includes/js/jquery/jquery.js', false, '1.2.2b2-color'); 82 81 $this->add( 'jquery-form', '/wp-includes/js/jquery/jquery.form.js', array('jquery'), '2.02'); 82 $this->add( 'jquery-color', '/wp-includes/js/jquery/jquery.color.js', array('jquery'), '2.0'); 83 83 $this->add( 'interface', '/wp-includes/js/jquery/interface.js', array('jquery'), '1.2' ); 84 84 $this->add( 'dimensions', '/wp-includes/js/jquery/jquery.dimensions.min.js', array('jquery'), '1.1.2');
Note: See TracChangeset
for help on using the changeset viewer.