mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 15:18:11 +00:00
fix ui
This commit is contained in:
@@ -321,11 +321,11 @@ const SetPasswordPage = () => {
|
||||
type="button"
|
||||
onClick={handleResendCode}
|
||||
disabled={isResendingCode || !email || !phoneNumber || isSubmitting}
|
||||
className="text-sm text-indigo-600 hover:text-indigo-800 font-medium flex items-center justify-center space-x-1 mx-auto"
|
||||
className="text-sm text-primary-600 hover:text-primary-800 font-medium flex items-center justify-center space-x-1 mx-auto"
|
||||
>
|
||||
{isResendingCode ? (
|
||||
<>
|
||||
<RefreshCw className="animate-spin h-4 w-4 text-indigo-600 mr-2" />
|
||||
<RefreshCw className="animate-spin h-4 w-4 text-primary-600 mr-2" />
|
||||
<span>Sending...</span>
|
||||
</>
|
||||
) : (
|
||||
|
||||
@@ -38,8 +38,8 @@ export function ActivityStats({
|
||||
label: t("auditLog.stats.totalActivities"),
|
||||
value: totalActivities.toLocaleString(),
|
||||
icon: Activity,
|
||||
color: "text-blue-600 dark:text-blue-400",
|
||||
bgColor: "bg-blue-50 dark:bg-blue-950",
|
||||
color: "text-primary-600 dark:text-primary-400",
|
||||
bgColor: "bg-primary-50 dark:bg-primary-950",
|
||||
},
|
||||
{
|
||||
label: t("auditLog.stats.successRate"),
|
||||
|
||||
@@ -50,11 +50,11 @@ export function ExportModal({
|
||||
const textStrong = 'text-gray-900 dark:text-gray-100'
|
||||
const textMuted = 'text-gray-600 dark:text-gray-300'
|
||||
const textSubtle = 'text-gray-500 dark:text-gray-400'
|
||||
const primaryBorder = 'border-primary dark:border-sky-600'
|
||||
const primaryBorder = 'border-primary dark:border-primary-600'
|
||||
const hoverBg = 'hover:bg-accent dark:hover:bg-gray-800'
|
||||
const hoverText = 'hover:text-accent-foreground dark:hover:text-gray-100'
|
||||
const primaryBtn =
|
||||
'bg-primary dark:bg-sky-600 hover:bg-primary/90 dark:hover:bg-sky-500 text-white'
|
||||
'bg-primary dark:bg-primary-600 hover:bg-primary/90 dark:hover:bg-primary-500 text-white'
|
||||
|
||||
const handleExport = () => {
|
||||
onExport(options)
|
||||
|
||||
@@ -152,7 +152,7 @@ export const AuditLogDetailPanel = ({
|
||||
{change.to !== undefined && (
|
||||
<p className="text-gray-600 mt-1">
|
||||
<span className="text-xs font-semibold">To:</span>{" "}
|
||||
<code className="bg-blue-50 px-2 py-1 rounded text-xs text-blue-900">
|
||||
<code className="bg-primary-50 px-2 py-1 rounded text-xs text-primary-900">
|
||||
{JSON.stringify(change.to)}
|
||||
</code>
|
||||
</p>
|
||||
|
||||
@@ -51,8 +51,8 @@ export const ForgotPassword = () => {
|
||||
};
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gradient-to-br from-cyan-50 via-white to-primary-50 relative overflow-hidden">
|
||||
<div className="absolute top-0 right-0 w-96 h-96 bg-cyan-100/30 rounded-full blur-3xl" />
|
||||
<div className="min-h-screen bg-gradient-to-br from-primary-50 via-white to-primary-50 relative overflow-hidden">
|
||||
<div className="absolute top-0 right-0 w-96 h-96 bg-primary-100/30 rounded-full blur-3xl" />
|
||||
<div className="absolute bottom-0 left-0 w-96 h-96 bg-primary-100/30 rounded-full blur-3xl" />
|
||||
|
||||
<button
|
||||
@@ -77,7 +77,7 @@ export const ForgotPassword = () => {
|
||||
<h1 className="text-2xl font-bold text-white mb-2">
|
||||
{t("forgotpassword.title")}
|
||||
</h1>
|
||||
<p className="text-cyan-50 text-sm">
|
||||
<p className="text-primary-50 text-sm">
|
||||
{t("forgotpassword.subtitle")}
|
||||
</p>
|
||||
</div>
|
||||
@@ -111,7 +111,7 @@ export const ForgotPassword = () => {
|
||||
)}
|
||||
</div>
|
||||
|
||||
<div className="flex items-start gap-3 p-4 bg-cyan-50 border border-cyan-100 rounded-lg">
|
||||
<div className="flex items-start gap-3 p-4 bg-primary-50 border border-primary-100 rounded-lg">
|
||||
<Mail className="w-5 h-5 text-primary flex-shrink-0 mt-0.5" />
|
||||
<div className="flex-1">
|
||||
<p className="text-sm text-gray-700 font-medium mb-1">
|
||||
|
||||
Reference in New Issue
Block a user