Changeset 26498
- Timestamp:
- 12/01/2013 05:58:42 AM (13 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
-
css/wp-admin.css (modified) (1 diff)
-
js/theme.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/wp-admin.css
r26496 r26498 6729 6729 .theme-overlay .left:hover { 6730 6730 background: #333; 6731 }6732 6733 .theme-overlay .right:hover:before,6734 .theme-overlay .left:hover:before {6735 6731 color: #fff; 6732 } 6733 6734 .theme-overlay .left.disabled, 6735 .theme-overlay .right.disabled, 6736 .theme-overlay .left.disabled:hover, 6737 .theme-overlay .right.disabled:hover { 6738 color: #ccc; 6739 background: inherit; 6740 cursor: inherit; 6736 6741 } 6737 6742 -
trunk/src/wp-admin/js/theme.js
r26481 r26498 306 306 } 307 307 }); 308 309 // Disable Left/Right when at the start or end of the collection 310 if ( this.model.cid === this.model.collection.at(0).cid ) { 311 this.$el.find( '.left' ).addClass( 'disabled' ); 312 } 313 if ( this.model.cid === this.model.collection.at( this.model.collection.length - 1 ).cid ) { 314 this.$el.find( '.right' ).addClass( 'disabled' ); 315 } 308 316 }, 309 317
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)