| @@ -1,3 +1,19 @@ | ||
| 1 | -<span class="spinner"> | |
| 2 | - <img src="<?php echo BBPC_IMG ?>/icon/loading.svg" alt="<?php esc_attr_e( 'loading', 'bbp-core' ) ?>"> | |
| 1 | +<?php | |
| 2 | +/** | |
| 3 | + * Search Loading Spinner | |
| 4 | + * | |
| 5 | + * Modern circular spinner displayed inside the search input | |
| 6 | + * alongside the native clear (cross) button. | |
| 7 | + * | |
| 8 | + * @package Forumax | |
| 9 | + * @since 2.2.2 | |
| 10 | + */ | |
| 11 | + | |
| 12 | +defined( 'ABSPATH' ) || exit; | |
| 13 | +?> | |
| 14 | +<span class="spinner" aria-hidden="true"> | |
| 15 | + <svg class="frmx-spinner-icon" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"> | |
| 16 | + <circle cx="12" cy="12" r="10" stroke-opacity="0.2" /> | |
| 17 | + <path d="M12 2a10 10 0 0 1 10 10" /> | |
| 18 | + </svg> | |
| 3 | 19 | </span> |