fix(frontend): match wallet tile icon colors
This commit is contained in:
@@ -144,7 +144,7 @@ if (!function_exists('aksrt_header_user_wallet_mini')) :
|
|||||||
. '<i class="ml6 fa fas fa-angle-right em12" aria-hidden="true"></i></div>'
|
. '<i class="ml6 fa fas fa-angle-right em12" aria-hidden="true"></i></div>'
|
||||||
. '<div class="flex jsb"><span class="font-bold c-blue-2" data-aksrt-wallet-value>'
|
. '<div class="flex jsb"><span class="font-bold c-blue-2" data-aksrt-wallet-value>'
|
||||||
. esc_html(aksrt_cut_count((float) aksrt_user_balance_decimal($user_id)))
|
. esc_html(aksrt_cut_count((float) aksrt_user_balance_decimal($user_id)))
|
||||||
. '</span><i class="fa fas fa-money-bill-wave em14" aria-hidden="true"></i></div></a>';
|
. '</span><i class="fa fas fa-money-bill-wave em14 c-blue-2" aria-hidden="true"></i></div></a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($points_on) {
|
if ($points_on) {
|
||||||
@@ -154,7 +154,7 @@ if (!function_exists('aksrt_header_user_wallet_mini')) :
|
|||||||
. '<i class="ml6 fa fas fa-angle-right em12" aria-hidden="true"></i></div>'
|
. '<i class="ml6 fa fas fa-angle-right em12" aria-hidden="true"></i></div>'
|
||||||
. '<div class="flex jsb"><span class="font-bold c-yellow" data-aksrt-points-value>'
|
. '<div class="flex jsb"><span class="font-bold c-yellow" data-aksrt-points-value>'
|
||||||
. esc_html(aksrt_cut_count(aksrt_user_points($user_id)))
|
. esc_html(aksrt_cut_count(aksrt_user_points($user_id)))
|
||||||
. '</span><i class="fa fas fa-coins em14" aria-hidden="true"></i></div></a>';
|
. '</span><i class="fa fas fa-coins em14 c-yellow" aria-hidden="true"></i></div></a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
return '<div class="flex ab jsb col-ml6">' . $box . '</div>';
|
return '<div class="flex ab jsb col-ml6">' . $box . '</div>';
|
||||||
|
|||||||
@@ -201,8 +201,8 @@ test('the account popover rows match the reference user box structure', () => {
|
|||||||
assert.match(header, /muted-box padding-6 flex1 radius4/);
|
assert.match(header, /muted-box padding-6 flex1 radius4/);
|
||||||
assert.match(header, /font-bold c-blue-2/);
|
assert.match(header, /font-bold c-blue-2/);
|
||||||
assert.match(header, /font-bold c-yellow/);
|
assert.match(header, /font-bold c-yellow/);
|
||||||
assert.match(header, /fa fas fa-money-bill-wave/);
|
assert.match(header, /fa fas fa-money-bill-wave em14 c-blue-2/);
|
||||||
assert.match(header, /fa fas fa-coins/);
|
assert.match(header, /fa fas fa-coins em14 c-yellow/);
|
||||||
|
|
||||||
// Message icon uses the reference markup.
|
// Message icon uses the reference markup.
|
||||||
assert.match(header, /msg-news-icon abs-right/);
|
assert.match(header, /msg-news-icon abs-right/);
|
||||||
|
|||||||
Reference in New Issue
Block a user