style tooltip and range input