strapi-plugin-magic-sessionmanager 4.4.2 → 4.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{Analytics-sX94t6D9.mjs → Analytics-CFlATYIp.mjs} +50 -57
- package/dist/_chunks/{Analytics-tOOj5T92.js → Analytics-mFarhu5A.js} +50 -57
- package/dist/_chunks/{App-Cs4KKd3L.mjs → App-BkFz8R3I.mjs} +93 -123
- package/dist/_chunks/{App-D4qVym6y.js → App-CrdNlRlL.js} +93 -123
- package/dist/_chunks/{License-kfVcskd3.js → License-BI04KWfw.js} +9 -9
- package/dist/_chunks/{License-CN5YpqIu.mjs → License-BnbIePhc.mjs} +9 -9
- package/dist/_chunks/{OnlineUsersWidget-Cg3R7602.js → OnlineUsersWidget-D1B_2ge5.js} +2 -2
- package/dist/_chunks/{OnlineUsersWidget-ytykP_tA.mjs → OnlineUsersWidget-eBwttUiU.mjs} +2 -2
- package/dist/_chunks/{Settings-XloJ-aHl.mjs → Settings-BfKDErt5.mjs} +55 -61
- package/dist/_chunks/{Settings-DVRIrGho.js → Settings-Cy-6vah_.js} +55 -61
- package/dist/_chunks/{StyledButtons-fbNVRlMY.mjs → StyledButtons-Cz8oYhmc.mjs} +47 -47
- package/dist/_chunks/{StyledButtons-D2EbG_Zw.js → StyledButtons-DDuxnYz8.js} +47 -47
- package/dist/_chunks/{UpgradePage-C441wvPX.mjs → UpgradePage-2mV2iqDM.mjs} +14 -14
- package/dist/_chunks/{UpgradePage-D2FRalDz.js → UpgradePage-B8kz6Cyz.js} +14 -14
- package/dist/_chunks/{index-Ij0JRf9W.mjs → index-B0wQeSSu.mjs} +30 -30
- package/dist/_chunks/{index-DtBfKBne.js → index-BEh2DizI.js} +30 -30
- package/dist/_chunks/{useLicense-NCFYHpDd.js → useLicense-DFdVp_qI.js} +1 -1
- package/dist/_chunks/{useLicense-DJEDGSap.mjs → useLicense-RxDUbCoU.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -7,18 +7,12 @@ const designSystem = require("@strapi/design-system");
|
|
|
7
7
|
const admin = require("@strapi/strapi/admin");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const styled = require("styled-components");
|
|
10
|
-
const index = require("./index-
|
|
11
|
-
const useLicense = require("./useLicense-
|
|
12
|
-
const StyledButtons = require("./StyledButtons-
|
|
10
|
+
const index = require("./index-BEh2DizI.js");
|
|
11
|
+
const useLicense = require("./useLicense-DFdVp_qI.js");
|
|
12
|
+
const StyledButtons = require("./StyledButtons-DDuxnYz8.js");
|
|
13
13
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
14
14
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
15
15
|
const theme = {
|
|
16
|
-
colors: {
|
|
17
|
-
primary: { 600: "#0284C7", 700: "#075985", 100: "#E0F2FE", 50: "#F0F9FF" },
|
|
18
|
-
success: { 600: "#16A34A", 700: "#15803D" },
|
|
19
|
-
danger: { 600: "#DC2626" },
|
|
20
|
-
neutral: { 0: "#FFFFFF", 200: "#E5E7EB", 400: "#9CA3AF", 700: "#374151" }
|
|
21
|
-
},
|
|
22
16
|
borderRadius: { md: "8px", lg: "12px" }
|
|
23
17
|
};
|
|
24
18
|
const fadeIn = styled.keyframes`
|
|
@@ -38,17 +32,17 @@ const StickySaveBar = styled__default.default(designSystem.Box)`
|
|
|
38
32
|
position: sticky;
|
|
39
33
|
top: 0;
|
|
40
34
|
z-index: 10;
|
|
41
|
-
background: ${(
|
|
42
|
-
border-bottom: 1px solid
|
|
35
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
36
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
43
37
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
44
38
|
`;
|
|
45
39
|
const ToggleCard = styled__default.default(designSystem.Box)`
|
|
46
|
-
background: ${(props) => props.$active ? "linear-gradient(135deg,
|
|
40
|
+
background: ${(props) => props.$active ? "linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(22, 163, 74, 0.12) 100%)" : "linear-gradient(135deg, rgba(128, 128, 128, 0.04) 0%, rgba(128, 128, 128, 0.08) 100%)"};
|
|
47
41
|
border-radius: ${theme.borderRadius.lg};
|
|
48
42
|
padding: 24px;
|
|
49
43
|
min-height: 120px;
|
|
50
44
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
51
|
-
border: 2px solid ${(props) => props.$active ?
|
|
45
|
+
border: 2px solid ${(props) => props.$active ? "var(--colors-success600, #16A34A)" : "rgba(128, 128, 128, 0.2)"};
|
|
52
46
|
box-shadow: ${(props) => props.$active ? "0 4px 20px rgba(34, 197, 94, 0.15)" : "0 2px 8px rgba(0, 0, 0, 0.06)"};
|
|
53
47
|
position: relative;
|
|
54
48
|
cursor: pointer;
|
|
@@ -58,7 +52,7 @@ const ToggleCard = styled__default.default(designSystem.Box)`
|
|
|
58
52
|
&:hover {
|
|
59
53
|
transform: translateY(-4px);
|
|
60
54
|
box-shadow: ${(props) => props.$active ? "0 8px 30px rgba(34, 197, 94, 0.25)" : "0 6px 16px rgba(0, 0, 0, 0.12)"};
|
|
61
|
-
border-color: ${(props) => props.$active ?
|
|
55
|
+
border-color: ${(props) => props.$active ? "var(--colors-success600, #15803D)" : "rgba(128, 128, 128, 0.3)"};
|
|
62
56
|
}
|
|
63
57
|
|
|
64
58
|
&:active {
|
|
@@ -71,7 +65,7 @@ const ToggleCard = styled__default.default(designSystem.Box)`
|
|
|
71
65
|
position: absolute;
|
|
72
66
|
top: 12px;
|
|
73
67
|
right: 12px;
|
|
74
|
-
background: ${
|
|
68
|
+
background: ${"var(--colors-success600, #16A34A)"};
|
|
75
69
|
color: white;
|
|
76
70
|
padding: 4px 10px;
|
|
77
71
|
border-radius: 6px;
|
|
@@ -88,7 +82,7 @@ const ToggleCard = styled__default.default(designSystem.Box)`
|
|
|
88
82
|
position: absolute;
|
|
89
83
|
top: 12px;
|
|
90
84
|
right: 12px;
|
|
91
|
-
background: ${
|
|
85
|
+
background: ${"rgba(128, 128, 128, 0.4)"};
|
|
92
86
|
color: white;
|
|
93
87
|
padding: 4px 10px;
|
|
94
88
|
border-radius: 6px;
|
|
@@ -102,17 +96,17 @@ const ToggleCard = styled__default.default(designSystem.Box)`
|
|
|
102
96
|
const GreenToggle = styled__default.default.div`
|
|
103
97
|
${(props) => props.$isActive && `
|
|
104
98
|
button[role="switch"] {
|
|
105
|
-
background-color: #16A34A !important;
|
|
106
|
-
border-color: #16A34A !important;
|
|
99
|
+
background-color: var(--colors-success600, #16A34A) !important;
|
|
100
|
+
border-color: var(--colors-success600, #16A34A) !important;
|
|
107
101
|
|
|
108
102
|
&:hover {
|
|
109
|
-
background-color: #15803D !important;
|
|
110
|
-
border-color: #15803D !important;
|
|
103
|
+
background-color: var(--colors-success600, #15803D) !important;
|
|
104
|
+
border-color: var(--colors-success600, #15803D) !important;
|
|
111
105
|
}
|
|
112
106
|
|
|
113
107
|
&:focus {
|
|
114
|
-
background-color: #16A34A !important;
|
|
115
|
-
border-color: #16A34A !important;
|
|
108
|
+
background-color: var(--colors-success600, #16A34A) !important;
|
|
109
|
+
border-color: var(--colors-success600, #16A34A) !important;
|
|
116
110
|
box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2) !important;
|
|
117
111
|
}
|
|
118
112
|
}
|
|
@@ -125,10 +119,10 @@ const GreenToggle = styled__default.default.div`
|
|
|
125
119
|
|
|
126
120
|
${(props) => !props.$isActive && `
|
|
127
121
|
button[role="switch"] {
|
|
128
|
-
background-color:
|
|
122
|
+
background-color: rgba(128, 128, 128, 0.2);
|
|
129
123
|
|
|
130
124
|
&:hover {
|
|
131
|
-
background-color:
|
|
125
|
+
background-color: rgba(128, 128, 128, 0.2);
|
|
132
126
|
}
|
|
133
127
|
}
|
|
134
128
|
`}
|
|
@@ -494,8 +488,8 @@ const SettingsPage = () => {
|
|
|
494
488
|
size: "L",
|
|
495
489
|
disabled: !hasChanges || saving,
|
|
496
490
|
style: {
|
|
497
|
-
background: hasChanges && !saving ? "linear-gradient(135deg, #667eea 0%, #764ba2 100%)" : "
|
|
498
|
-
color: hasChanges && !saving ? "white" : "
|
|
491
|
+
background: hasChanges && !saving ? "linear-gradient(135deg, #667eea 0%, #764ba2 100%)" : "rgba(128, 128, 128, 0.2)",
|
|
492
|
+
color: hasChanges && !saving ? "white" : "var(--colors-neutral500)",
|
|
499
493
|
fontWeight: "600",
|
|
500
494
|
padding: "12px 24px",
|
|
501
495
|
border: "none",
|
|
@@ -518,8 +512,8 @@ const SettingsPage = () => {
|
|
|
518
512
|
] })
|
|
519
513
|
] }) }),
|
|
520
514
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { paddingTop: 6, paddingLeft: 6, paddingRight: 6, paddingBottom: 10, children: [
|
|
521
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 4, background: "primary50", hasRadius: true, style: { marginBottom: "24px", border: "1px solid
|
|
522
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Information, { style: { width: "20px", height: "20px", color: "#0284C7" } }),
|
|
515
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 4, background: "primary50", hasRadius: true, style: { marginBottom: "24px", border: "1px solid rgba(14, 165, 233, 0.3)" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 3, alignItems: "center", children: [
|
|
516
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Information, { style: { width: "20px", height: "20px", color: "var(--colors-primary600, #0284C7)" } }),
|
|
523
517
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
524
518
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", textColor: "primary700", style: { marginBottom: "4px" }, children: t("settings.license.title", "Current License Status") }),
|
|
525
519
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 3, children: [
|
|
@@ -552,7 +546,7 @@ const SettingsPage = () => {
|
|
|
552
546
|
}
|
|
553
547
|
) }),
|
|
554
548
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 6, children: [
|
|
555
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
549
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: t("settings.general.timeout.title", "SESSION TIMEOUT") }),
|
|
556
550
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Grid.Root, { gap: 6, style: { marginBottom: "32px" }, children: [
|
|
557
551
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 6, s: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
558
552
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: t("settings.general.timeout.inactivity", "Inactivity Timeout") }),
|
|
@@ -593,7 +587,7 @@ const SettingsPage = () => {
|
|
|
593
587
|
] }) })
|
|
594
588
|
] }),
|
|
595
589
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Divider, { style: { marginBottom: "24px" } }),
|
|
596
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
590
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: [
|
|
597
591
|
"🧹 ",
|
|
598
592
|
t("settings.general.cleanup.title", "AUTO-CLEANUP & RETENTION")
|
|
599
593
|
] }),
|
|
@@ -635,8 +629,8 @@ const SettingsPage = () => {
|
|
|
635
629
|
),
|
|
636
630
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "11px", marginTop: "8px" }, children: settings.retentionDays === -1 ? t("settings.general.retention.hintNever", "Old sessions deleted after never") : t("settings.general.retention.hint", "Old sessions deleted after {days}", { days: `${settings.retentionDays} days` }) })
|
|
637
631
|
] }) }),
|
|
638
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 12, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 4, background: "danger100", style: { borderRadius: theme.borderRadius.md, border: `2px solid
|
|
639
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Trash, { style: { width: "18px", height: "18px", color:
|
|
632
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 12, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 4, background: "danger100", style: { borderRadius: theme.borderRadius.md, border: `2px solid rgba(220, 38, 38, 0.2)` }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 3, alignItems: "flex-start", children: [
|
|
633
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Trash, { style: { width: "18px", height: "18px", color: "var(--colors-danger600, #DC2626)", flexShrink: 0, marginTop: "2px" } }),
|
|
640
634
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
641
635
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", textColor: "danger700", style: { marginBottom: "8px", display: "block" }, children: t("settings.general.danger.title", "Danger Zone") }),
|
|
642
636
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "danger600", style: { fontSize: "13px", lineHeight: "1.7" }, children: t("settings.general.danger.description", "Clean All Inactive: Permanently deletes all inactive sessions. This cannot be undone.") })
|
|
@@ -666,7 +660,7 @@ const SettingsPage = () => {
|
|
|
666
660
|
}
|
|
667
661
|
) }),
|
|
668
662
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 6, children: [
|
|
669
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
663
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: t("settings.security.options", "SECURITY OPTIONS") }),
|
|
670
664
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
671
665
|
designSystem.Box,
|
|
672
666
|
{
|
|
@@ -675,12 +669,12 @@ const SettingsPage = () => {
|
|
|
675
669
|
style: {
|
|
676
670
|
borderRadius: theme.borderRadius.lg,
|
|
677
671
|
marginBottom: "32px",
|
|
678
|
-
border: `2px solid ${
|
|
679
|
-
background:
|
|
672
|
+
border: `2px solid ${"rgba(2, 132, 199, 0.12)"}`,
|
|
673
|
+
background: "rgba(2, 132, 199, 0.04)"
|
|
680
674
|
},
|
|
681
675
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 4, children: [
|
|
682
676
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
|
|
683
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Shield, { style: { width: 24, height: 24, color:
|
|
677
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Shield, { style: { width: 24, height: 24, color: "var(--colors-primary600, #0284C7)" } }),
|
|
684
678
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", children: t("settings.security.encryption.title", "JWT Encryption Key Generator") })
|
|
685
679
|
] }),
|
|
686
680
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral600", style: { lineHeight: 1.6 }, children: t("settings.security.encryption.description", "Generate a secure 32-character encryption key for JWT token storage. This key is used to encrypt tokens before saving them to the database.") }),
|
|
@@ -776,14 +770,14 @@ const SettingsPage = () => {
|
|
|
776
770
|
background: "neutral100",
|
|
777
771
|
style: {
|
|
778
772
|
borderRadius: theme.borderRadius.md,
|
|
779
|
-
border: "1px solid
|
|
773
|
+
border: "1px solid rgba(128, 128, 128, 0.2)",
|
|
780
774
|
fontFamily: "monospace",
|
|
781
775
|
fontSize: "12px",
|
|
782
776
|
wordBreak: "break-all"
|
|
783
777
|
},
|
|
784
778
|
children: [
|
|
785
779
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", style: { marginBottom: 8, display: "block" }, children: t("settings.security.encryption.envLabel", "Add to .env file:") }),
|
|
786
|
-
/* @__PURE__ */ jsxRuntime.jsxs("code", { style: { color:
|
|
780
|
+
/* @__PURE__ */ jsxRuntime.jsxs("code", { style: { color: "var(--colors-primary600, #075985)" }, children: [
|
|
787
781
|
"SESSION_ENCRYPTION_KEY=",
|
|
788
782
|
encryptionKey
|
|
789
783
|
] })
|
|
@@ -913,7 +907,7 @@ const SettingsPage = () => {
|
|
|
913
907
|
) }),
|
|
914
908
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 6, children: [
|
|
915
909
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { background: "neutral100", padding: 5, style: { borderRadius: theme.borderRadius.md, marginBottom: "32px" }, children: [
|
|
916
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color:
|
|
910
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color: "var(--colors-neutral700)" }, children: [
|
|
917
911
|
"📧 ",
|
|
918
912
|
t("settings.email.alerts.title", "EMAIL ALERTS")
|
|
919
913
|
] }),
|
|
@@ -949,7 +943,7 @@ const SettingsPage = () => {
|
|
|
949
943
|
) }) })
|
|
950
944
|
] }),
|
|
951
945
|
settings.enableEmailAlerts && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
952
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
946
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: [
|
|
953
947
|
"⚙️ ",
|
|
954
948
|
t("settings.email.types.title", "ALERT TYPES")
|
|
955
949
|
] }),
|
|
@@ -961,7 +955,7 @@ const SettingsPage = () => {
|
|
|
961
955
|
background: settings.alertOnSuspiciousLogin ? "danger50" : "neutral50",
|
|
962
956
|
style: {
|
|
963
957
|
borderRadius: theme.borderRadius.md,
|
|
964
|
-
border: `2px solid ${settings.alertOnSuspiciousLogin ? "
|
|
958
|
+
border: `2px solid ${settings.alertOnSuspiciousLogin ? "rgba(239, 68, 68, 0.4)" : "rgba(128, 128, 128, 0.2)"}`,
|
|
965
959
|
transition: "all 0.2s",
|
|
966
960
|
cursor: "pointer"
|
|
967
961
|
},
|
|
@@ -983,7 +977,7 @@ const SettingsPage = () => {
|
|
|
983
977
|
background: settings.alertOnNewLocation ? "primary50" : "neutral50",
|
|
984
978
|
style: {
|
|
985
979
|
borderRadius: theme.borderRadius.md,
|
|
986
|
-
border: `2px solid ${settings.alertOnNewLocation ? "
|
|
980
|
+
border: `2px solid ${settings.alertOnNewLocation ? "rgba(14, 165, 233, 0.3)" : "rgba(128, 128, 128, 0.2)"}`,
|
|
987
981
|
transition: "all 0.2s",
|
|
988
982
|
cursor: "pointer"
|
|
989
983
|
},
|
|
@@ -1005,7 +999,7 @@ const SettingsPage = () => {
|
|
|
1005
999
|
background: settings.alertOnVpnProxy ? "warning50" : "neutral50",
|
|
1006
1000
|
style: {
|
|
1007
1001
|
borderRadius: theme.borderRadius.md,
|
|
1008
|
-
border: `2px solid ${settings.alertOnVpnProxy ? "
|
|
1002
|
+
border: `2px solid ${settings.alertOnVpnProxy ? "rgba(234, 179, 8, 0.4)" : "rgba(128, 128, 128, 0.2)"}`,
|
|
1009
1003
|
transition: "all 0.2s",
|
|
1010
1004
|
cursor: "pointer"
|
|
1011
1005
|
},
|
|
@@ -1022,7 +1016,7 @@ const SettingsPage = () => {
|
|
|
1022
1016
|
) })
|
|
1023
1017
|
] }),
|
|
1024
1018
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Divider, { style: { marginBottom: "24px" } }),
|
|
1025
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color:
|
|
1019
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color: "var(--colors-neutral700)" }, children: t("settings.email.templates.title", "EMAIL TEMPLATES") }),
|
|
1026
1020
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", fontSize: "12px" }, children: t("settings.email.templates.subtitle", "Customize email notification templates with dynamic variables") }),
|
|
1027
1021
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Tabs.Root, { value: activeTemplateTab, onValueChange: setActiveTemplateTab, children: [
|
|
1028
1022
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Tabs.List, { "aria-label": "Email Templates", children: [
|
|
@@ -1051,10 +1045,10 @@ const SettingsPage = () => {
|
|
|
1051
1045
|
{
|
|
1052
1046
|
padding: 3,
|
|
1053
1047
|
background: "primary100",
|
|
1054
|
-
style: { borderRadius: theme.borderRadius.md, marginBottom: "20px", border: "2px solid
|
|
1048
|
+
style: { borderRadius: theme.borderRadius.md, marginBottom: "20px", border: "2px solid rgba(14, 165, 233, 0.3)" },
|
|
1055
1049
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
1056
1050
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
1057
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Code, { style: { width: "16px", height: "16px", color:
|
|
1051
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Code, { style: { width: "16px", height: "16px", color: "var(--colors-primary600, #0284C7)" } }),
|
|
1058
1052
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", textColor: "primary600", children: t("settings.email.templates.variables", "Available Variables (click to copy)") })
|
|
1059
1053
|
] }),
|
|
1060
1054
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { gap: 2, wrap: "wrap", children: TEMPLATE_VARIABLES[templateKey].map(({ var: variable, desc }) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1084,7 +1078,7 @@ const SettingsPage = () => {
|
|
|
1084
1078
|
{
|
|
1085
1079
|
background: "neutral0",
|
|
1086
1080
|
padding: 6,
|
|
1087
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
1081
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(128, 128, 128, 0.2)", width: "100%", marginBottom: "24px" },
|
|
1088
1082
|
children: [
|
|
1089
1083
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "16px" }, children: [
|
|
1090
1084
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
@@ -1114,7 +1108,7 @@ const SettingsPage = () => {
|
|
|
1114
1108
|
designSystem.Box,
|
|
1115
1109
|
{
|
|
1116
1110
|
style: {
|
|
1117
|
-
border: "2px solid
|
|
1111
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1118
1112
|
borderRadius: "6px",
|
|
1119
1113
|
overflow: "hidden",
|
|
1120
1114
|
background: "#1e1e1e",
|
|
@@ -1214,7 +1208,7 @@ const SettingsPage = () => {
|
|
|
1214
1208
|
{
|
|
1215
1209
|
background: "neutral0",
|
|
1216
1210
|
padding: 6,
|
|
1217
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
1211
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(128, 128, 128, 0.2)", width: "100%", marginBottom: "24px" },
|
|
1218
1212
|
children: [
|
|
1219
1213
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "16px" }, children: [
|
|
1220
1214
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
@@ -1244,7 +1238,7 @@ const SettingsPage = () => {
|
|
|
1244
1238
|
designSystem.Box,
|
|
1245
1239
|
{
|
|
1246
1240
|
style: {
|
|
1247
|
-
border: "2px solid
|
|
1241
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1248
1242
|
borderRadius: "6px",
|
|
1249
1243
|
overflow: "hidden",
|
|
1250
1244
|
background: "#1e1e1e",
|
|
@@ -1362,10 +1356,10 @@ const SettingsPage = () => {
|
|
|
1362
1356
|
designSystem.Box,
|
|
1363
1357
|
{
|
|
1364
1358
|
style: {
|
|
1365
|
-
border: "2px solid
|
|
1359
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1366
1360
|
borderRadius: theme.borderRadius.md,
|
|
1367
1361
|
overflow: "hidden",
|
|
1368
|
-
background: "
|
|
1362
|
+
background: "var(--colors-neutral100)"
|
|
1369
1363
|
},
|
|
1370
1364
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1371
1365
|
"textarea",
|
|
@@ -1382,8 +1376,8 @@ const SettingsPage = () => {
|
|
|
1382
1376
|
fontFamily: "Monaco, Consolas, monospace",
|
|
1383
1377
|
fontSize: "14px",
|
|
1384
1378
|
lineHeight: "1.8",
|
|
1385
|
-
color: "
|
|
1386
|
-
background: "
|
|
1379
|
+
color: "var(--colors-neutral800)",
|
|
1380
|
+
background: "transparent",
|
|
1387
1381
|
resize: "vertical",
|
|
1388
1382
|
minHeight: "80px"
|
|
1389
1383
|
}
|
|
@@ -1405,10 +1399,10 @@ const SettingsPage = () => {
|
|
|
1405
1399
|
designSystem.Box,
|
|
1406
1400
|
{
|
|
1407
1401
|
style: {
|
|
1408
|
-
border: "2px solid
|
|
1402
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1409
1403
|
borderRadius: theme.borderRadius.md,
|
|
1410
1404
|
overflow: "hidden",
|
|
1411
|
-
background: "
|
|
1405
|
+
background: "var(--colors-neutral100)"
|
|
1412
1406
|
},
|
|
1413
1407
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1414
1408
|
"textarea",
|
|
@@ -1425,8 +1419,8 @@ const SettingsPage = () => {
|
|
|
1425
1419
|
fontFamily: "Monaco, Consolas, monospace",
|
|
1426
1420
|
fontSize: "14px",
|
|
1427
1421
|
lineHeight: "1.8",
|
|
1428
|
-
color: "
|
|
1429
|
-
background: "
|
|
1422
|
+
color: "var(--colors-neutral800)",
|
|
1423
|
+
background: "transparent",
|
|
1430
1424
|
resize: "vertical",
|
|
1431
1425
|
minHeight: "80px"
|
|
1432
1426
|
}
|
|
@@ -1443,10 +1437,10 @@ const SettingsPage = () => {
|
|
|
1443
1437
|
] }) })
|
|
1444
1438
|
] })
|
|
1445
1439
|
] }),
|
|
1446
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 5, background: "primary100", style: { borderRadius: theme.borderRadius.md, marginTop: "32px", border: "2px solid
|
|
1447
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Check, { style: { width: "20px", height: "20px", color:
|
|
1440
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 5, background: "primary100", style: { borderRadius: theme.borderRadius.md, marginTop: "32px", border: "2px solid rgba(14, 165, 233, 0.3)" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 3, alignItems: "flex-start", children: [
|
|
1441
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Check, { style: { width: "20px", height: "20px", color: "var(--colors-success600, #16A34A)", flexShrink: 0, marginTop: "2px" } }),
|
|
1448
1442
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
1449
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color:
|
|
1443
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color: "var(--colors-primary600, #075985)" }, children: t("settings.footer.title", "Database-Backed Settings") }),
|
|
1450
1444
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "primary700", style: { fontSize: "13px", lineHeight: "1.8" }, children: t("settings.footer.description", "All settings are stored in your Strapi database and shared across all admin users. Changes take effect immediately - no server restart required! Email templates, webhooks, and security options are all managed from this interface.") })
|
|
1451
1445
|
] })
|
|
1452
1446
|
] }) })
|
|
@@ -28,11 +28,11 @@ const GradientButton = styled(Button)`
|
|
|
28
28
|
`;
|
|
29
29
|
const SecondaryButton = styled(Button)`
|
|
30
30
|
&& {
|
|
31
|
-
background:
|
|
32
|
-
color: #7C3AED;
|
|
31
|
+
background: ${(p) => p.theme.colors.neutral0};
|
|
32
|
+
color: var(--colors-secondary600, #7C3AED);
|
|
33
33
|
font-weight: 600;
|
|
34
34
|
border: 2px solid transparent;
|
|
35
|
-
background-image: linear-gradient(
|
|
35
|
+
background-image: linear-gradient(${(p) => p.theme.colors.neutral0}, ${(p) => p.theme.colors.neutral0}), linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
|
|
36
36
|
background-origin: border-box;
|
|
37
37
|
background-clip: padding-box, border-box;
|
|
38
38
|
padding: 10px 20px;
|
|
@@ -60,17 +60,17 @@ const SecondaryButton = styled(Button)`
|
|
|
60
60
|
const TertiaryButton = styled(Button)`
|
|
61
61
|
&& {
|
|
62
62
|
background: transparent;
|
|
63
|
-
color:
|
|
63
|
+
color: var(--colors-neutral600);
|
|
64
64
|
font-weight: 500;
|
|
65
|
-
border: 1px solid
|
|
65
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
66
66
|
padding: 10px 20px;
|
|
67
67
|
min-height: 40px;
|
|
68
68
|
transition: all 0.2s ease;
|
|
69
69
|
|
|
70
70
|
&:hover:not(:disabled) {
|
|
71
|
-
background:
|
|
72
|
-
border-color:
|
|
73
|
-
color:
|
|
71
|
+
background: rgba(128, 128, 128, 0.08);
|
|
72
|
+
border-color: rgba(128, 128, 128, 0.3);
|
|
73
|
+
color: var(--colors-neutral800);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&:disabled {
|
|
@@ -81,18 +81,18 @@ const TertiaryButton = styled(Button)`
|
|
|
81
81
|
`;
|
|
82
82
|
const DangerButton = styled(Button)`
|
|
83
83
|
&& {
|
|
84
|
-
background:
|
|
85
|
-
color: #DC2626;
|
|
84
|
+
background: rgba(220, 38, 38, 0.12);
|
|
85
|
+
color: var(--colors-danger600, #DC2626);
|
|
86
86
|
font-weight: 600;
|
|
87
|
-
border: 1px solid
|
|
87
|
+
border: 1px solid rgba(239, 68, 68, 0.4);
|
|
88
88
|
padding: 10px 20px;
|
|
89
89
|
min-height: 40px;
|
|
90
90
|
transition: all 0.2s ease;
|
|
91
91
|
|
|
92
92
|
&:hover:not(:disabled) {
|
|
93
|
-
background: #DC2626;
|
|
93
|
+
background: var(--colors-danger600, #DC2626);
|
|
94
94
|
color: white;
|
|
95
|
-
border-color: #DC2626;
|
|
95
|
+
border-color: var(--colors-danger600, #DC2626);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
&:disabled {
|
|
@@ -125,9 +125,9 @@ styled(Button)`
|
|
|
125
125
|
`;
|
|
126
126
|
styled(Button)`
|
|
127
127
|
&& {
|
|
128
|
-
background: linear-gradient(135deg,
|
|
129
|
-
color:
|
|
130
|
-
border: 1px solid
|
|
128
|
+
background: linear-gradient(135deg, rgba(128, 128, 128, 0.04) 0%, rgba(128, 128, 128, 0.08) 100%);
|
|
129
|
+
color: var(--colors-neutral600);
|
|
130
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
131
131
|
padding: 8px;
|
|
132
132
|
min-width: 38px;
|
|
133
133
|
min-height: 38px;
|
|
@@ -147,7 +147,7 @@ styled(Button)`
|
|
|
147
147
|
|
|
148
148
|
&:hover:not(:disabled) {
|
|
149
149
|
background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
|
|
150
|
-
border-color: #0EA5E9;
|
|
150
|
+
border-color: var(--colors-primary600, #0EA5E9);
|
|
151
151
|
color: white;
|
|
152
152
|
transform: translateY(-1px);
|
|
153
153
|
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
|
|
@@ -161,9 +161,9 @@ styled(Button)`
|
|
|
161
161
|
`;
|
|
162
162
|
const IconButtonDanger = styled(Button)`
|
|
163
163
|
&& {
|
|
164
|
-
background: linear-gradient(135deg,
|
|
165
|
-
color: #EF4444;
|
|
166
|
-
border: 1px solid
|
|
164
|
+
background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, rgba(220, 38, 38, 0.12) 100%);
|
|
165
|
+
color: var(--colors-danger600, #EF4444);
|
|
166
|
+
border: 1px solid rgba(239, 68, 68, 0.4);
|
|
167
167
|
padding: 8px;
|
|
168
168
|
min-width: 38px;
|
|
169
169
|
min-height: 38px;
|
|
@@ -183,7 +183,7 @@ const IconButtonDanger = styled(Button)`
|
|
|
183
183
|
|
|
184
184
|
&:hover:not(:disabled) {
|
|
185
185
|
background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
|
|
186
|
-
border-color: #EF4444;
|
|
186
|
+
border-color: var(--colors-danger600, #EF4444);
|
|
187
187
|
color: white;
|
|
188
188
|
transform: translateY(-1px);
|
|
189
189
|
box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
|
|
@@ -197,9 +197,9 @@ const IconButtonDanger = styled(Button)`
|
|
|
197
197
|
`;
|
|
198
198
|
const IconButtonPrimary = styled(Button)`
|
|
199
199
|
&& {
|
|
200
|
-
background: linear-gradient(135deg,
|
|
201
|
-
color: #0EA5E9;
|
|
202
|
-
border: 1px solid
|
|
200
|
+
background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(2, 132, 199, 0.12) 100%);
|
|
201
|
+
color: var(--colors-primary600, #0EA5E9);
|
|
202
|
+
border: 1px solid rgba(14, 165, 233, 0.3);
|
|
203
203
|
padding: 8px;
|
|
204
204
|
min-width: 38px;
|
|
205
205
|
min-height: 38px;
|
|
@@ -219,7 +219,7 @@ const IconButtonPrimary = styled(Button)`
|
|
|
219
219
|
|
|
220
220
|
&:hover:not(:disabled) {
|
|
221
221
|
background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
|
|
222
|
-
border-color: #0EA5E9;
|
|
222
|
+
border-color: var(--colors-primary600, #0EA5E9);
|
|
223
223
|
color: white;
|
|
224
224
|
transform: translateY(-1px);
|
|
225
225
|
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
|
|
@@ -233,9 +233,9 @@ const IconButtonPrimary = styled(Button)`
|
|
|
233
233
|
`;
|
|
234
234
|
styled(Button)`
|
|
235
235
|
&& {
|
|
236
|
-
background: linear-gradient(135deg,
|
|
237
|
-
color: #22C55E;
|
|
238
|
-
border: 1px solid
|
|
236
|
+
background: linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(22, 163, 74, 0.12) 100%);
|
|
237
|
+
color: var(--colors-success600, #22C55E);
|
|
238
|
+
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
239
239
|
padding: 8px;
|
|
240
240
|
min-width: 38px;
|
|
241
241
|
min-height: 38px;
|
|
@@ -255,7 +255,7 @@ styled(Button)`
|
|
|
255
255
|
|
|
256
256
|
&:hover:not(:disabled) {
|
|
257
257
|
background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
|
|
258
|
-
border-color: #22C55E;
|
|
258
|
+
border-color: var(--colors-success600, #22C55E);
|
|
259
259
|
color: white;
|
|
260
260
|
transform: translateY(-1px);
|
|
261
261
|
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
|
|
@@ -269,9 +269,9 @@ styled(Button)`
|
|
|
269
269
|
`;
|
|
270
270
|
const IconButtonWarning = styled(Button)`
|
|
271
271
|
&& {
|
|
272
|
-
background: linear-gradient(135deg,
|
|
273
|
-
color: #D97706;
|
|
274
|
-
border: 1px solid
|
|
272
|
+
background: linear-gradient(135deg, rgba(234, 179, 8, 0.06) 0%, rgba(234, 179, 8, 0.12) 100%);
|
|
273
|
+
color: var(--colors-warning600, #D97706);
|
|
274
|
+
border: 1px solid rgba(234, 179, 8, 0.4);
|
|
275
275
|
padding: 8px;
|
|
276
276
|
min-width: 38px;
|
|
277
277
|
min-height: 38px;
|
|
@@ -291,7 +291,7 @@ const IconButtonWarning = styled(Button)`
|
|
|
291
291
|
|
|
292
292
|
&:hover:not(:disabled) {
|
|
293
293
|
background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
|
|
294
|
-
border-color: #F59E0B;
|
|
294
|
+
border-color: var(--colors-warning600, #F59E0B);
|
|
295
295
|
color: white;
|
|
296
296
|
transform: translateY(-1px);
|
|
297
297
|
box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
|
|
@@ -300,9 +300,9 @@ const IconButtonWarning = styled(Button)`
|
|
|
300
300
|
&:disabled {
|
|
301
301
|
opacity: 0.5;
|
|
302
302
|
cursor: not-allowed;
|
|
303
|
-
background:
|
|
304
|
-
border-color:
|
|
305
|
-
color:
|
|
303
|
+
background: var(--colors-neutral100);
|
|
304
|
+
border-color: rgba(128, 128, 128, 0.2);
|
|
305
|
+
color: var(--colors-neutral500);
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
`;
|
|
@@ -338,7 +338,7 @@ styled(Button)`
|
|
|
338
338
|
styled(Button)`
|
|
339
339
|
&& {
|
|
340
340
|
background: transparent;
|
|
341
|
-
color: #0EA5E9;
|
|
341
|
+
color: var(--colors-primary600, #0EA5E9);
|
|
342
342
|
font-weight: 500;
|
|
343
343
|
border: none;
|
|
344
344
|
padding: 4px 8px;
|
|
@@ -347,7 +347,7 @@ styled(Button)`
|
|
|
347
347
|
transition: all 0.2s ease;
|
|
348
348
|
|
|
349
349
|
&:hover:not(:disabled) {
|
|
350
|
-
color: #0284C7;
|
|
350
|
+
color: var(--colors-primary600, #0284C7);
|
|
351
351
|
text-decoration: none;
|
|
352
352
|
}
|
|
353
353
|
|
|
@@ -359,18 +359,18 @@ styled(Button)`
|
|
|
359
359
|
`;
|
|
360
360
|
const ShowHideButton = styled(Button)`
|
|
361
361
|
&& {
|
|
362
|
-
background: linear-gradient(135deg,
|
|
363
|
-
color:
|
|
362
|
+
background: linear-gradient(135deg, rgba(128, 128, 128, 0.04) 0%, rgba(128, 128, 128, 0.08) 100%);
|
|
363
|
+
color: var(--colors-neutral600);
|
|
364
364
|
font-weight: 600;
|
|
365
|
-
border: 1px solid
|
|
365
|
+
border: 1px solid rgba(128, 128, 128, 0.2);
|
|
366
366
|
padding: 10px 16px;
|
|
367
367
|
min-height: 40px;
|
|
368
368
|
border-radius: 8px;
|
|
369
369
|
transition: all 0.2s ease;
|
|
370
370
|
|
|
371
371
|
&:hover:not(:disabled) {
|
|
372
|
-
background: linear-gradient(135deg,
|
|
373
|
-
color:
|
|
372
|
+
background: linear-gradient(135deg, rgba(128, 128, 128, 0.15) 0%, rgba(128, 128, 128, 0.25) 100%);
|
|
373
|
+
color: var(--colors-neutral800);
|
|
374
374
|
transform: translateY(-1px);
|
|
375
375
|
}
|
|
376
376
|
|
|
@@ -382,10 +382,10 @@ const ShowHideButton = styled(Button)`
|
|
|
382
382
|
`;
|
|
383
383
|
const CopyButton = styled(Button)`
|
|
384
384
|
&& {
|
|
385
|
-
background: linear-gradient(135deg,
|
|
386
|
-
color: #0284C7;
|
|
385
|
+
background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(2, 132, 199, 0.12) 100%);
|
|
386
|
+
color: var(--colors-primary600, #0284C7);
|
|
387
387
|
font-weight: 600;
|
|
388
|
-
border: 1px solid
|
|
388
|
+
border: 1px solid rgba(14, 165, 233, 0.3);
|
|
389
389
|
padding: 10px 16px;
|
|
390
390
|
min-height: 40px;
|
|
391
391
|
border-radius: 8px;
|
|
@@ -394,7 +394,7 @@ const CopyButton = styled(Button)`
|
|
|
394
394
|
&:hover:not(:disabled) {
|
|
395
395
|
background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
|
|
396
396
|
color: white;
|
|
397
|
-
border-color: #0EA5E9;
|
|
397
|
+
border-color: var(--colors-primary600, #0EA5E9);
|
|
398
398
|
transform: translateY(-1px);
|
|
399
399
|
box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
|
|
400
400
|
}
|