fix(nav): publish menu contrast, check-in toast and button layout
Use solid light plate + forced ink on 发布 items, notyf instead of alert, and keep header check-in flex layout after success.
This commit is contained in:
1 parent
77164fee45
commit
35ac26db28
5 files changed
+238
-81
No files matched your search
@@ -41,14 +41,14 @@ if (!function_exists('aksrt_header_user_checkin_btn')) :
|
||||
|
||||
if ($signed) {
|
||||
return '<button type="button" class="but block c-yellow aksrt-header-checkin is-done" disabled>'
|
||||
. '<i class="fas fa-calendar-check" aria-hidden="true"></i> '
|
||||
. esc_html__('今日已签到', 'aksrt')
|
||||
. '<i class="fas fa-calendar-check" aria-hidden="true"></i>'
|
||||
. '<span>' . esc_html__('今日已签到', 'aksrt') . '</span>'
|
||||
. '</button>';
|
||||
}
|
||||
|
||||
return '<button type="button" class="but block c-yellow aksrt-header-checkin" data-aksrt-checkin="1">'
|
||||
. '<i class="fas fa-calendar-check" aria-hidden="true"></i> '
|
||||
. esc_html__('签到领取今日奖励', 'aksrt')
|
||||
. '<i class="fas fa-calendar-check" aria-hidden="true"></i>'
|
||||
. '<span>' . esc_html__('签到领取今日奖励', 'aksrt') . '</span>'
|
||||
. '</button>';
|
||||
}
|
||||
endif;
|
||||
|
||||
Reference in new issue
Block a user