Changeset 3363654
- Timestamp:
- 09/18/2025 05:48:42 AM (4 months ago)
- Location:
- hook-locator
- Files:
-
- 4 edited
-
tags/1.0/assets/css/hook-locator-admin.css (modified) (1 diff)
-
tags/1.0/assets/js/hook-locator-admin.js (modified) (2 diffs)
-
trunk/assets/css/hook-locator-admin.css (modified) (1 diff)
-
trunk/assets/js/hook-locator-admin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hook-locator/tags/1.0/assets/css/hook-locator-admin.css
r3362969 r3363654 347 347 .wp-list-table.hook_results tbody tr:last-child td { 348 348 border-bottom: none; 349 } 350 351 .wp-list-table.hook_results tbody tr .hook-locator-detail-btn { 352 opacity: .8; 353 } 354 355 .wp-list-table.hook_results tbody tr:hover .hook-locator-detail-btn { 356 opacity: 1; 349 357 } 350 358 -
hook-locator/tags/1.0/assets/js/hook-locator-admin.js
r3362969 r3363654 45 45 // Keyboard shortcuts 46 46 $(document).on('keydown', this.handleKeyboardShortcuts.bind(this)); 47 48 // Table enhancements49 this.enhanceResultsTable();50 47 }, 51 48 … … 149 146 } 150 147 } 151 },152 153 /**154 * Enhance results table functionality.155 *156 * @since 2.1.0157 */158 enhanceResultsTable: function() {159 // Add hover effects to table rows160 $('.wp-list-table.hook_results tbody tr').hover(161 function() {162 $(this).find('.hook-locator-detail-btn').css('opacity', '1');163 },164 function() {165 $(this).find('.hook-locator-detail-btn').css('opacity', '0.8');166 }167 );168 148 }, 169 149 -
hook-locator/trunk/assets/css/hook-locator-admin.css
r3362882 r3363654 347 347 .wp-list-table.hook_results tbody tr:last-child td { 348 348 border-bottom: none; 349 } 350 351 .wp-list-table.hook_results tbody tr .hook-locator-detail-btn { 352 opacity: .8; 353 } 354 355 .wp-list-table.hook_results tbody tr:hover .hook-locator-detail-btn { 356 opacity: 1; 349 357 } 350 358 -
hook-locator/trunk/assets/js/hook-locator-admin.js
r3362882 r3363654 45 45 // Keyboard shortcuts 46 46 $(document).on('keydown', this.handleKeyboardShortcuts.bind(this)); 47 48 // Table enhancements49 this.enhanceResultsTable();50 47 }, 51 48 … … 149 146 } 150 147 } 151 },152 153 /**154 * Enhance results table functionality.155 *156 * @since 2.1.0157 */158 enhanceResultsTable: function() {159 // Add hover effects to table rows160 $('.wp-list-table.hook_results tbody tr').hover(161 function() {162 $(this).find('.hook-locator-detail-btn').css('opacity', '1');163 },164 function() {165 $(this).find('.hook-locator-detail-btn').css('opacity', '0.8');166 }167 );168 148 }, 169 149
Note: See TracChangeset
for help on using the changeset viewer.