diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonAbort.razor b/src/Lumina.Presentation.Web/Components/EnlightenmentButton.razor
similarity index 50%
rename from src/Lumina.Presentation.Web/Components/EnlightenmentButtonAbort.razor
rename to src/Lumina.Presentation.Web/Components/EnlightenmentButton.razor
index 4c2fe378..706b03d8 100644
--- a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonAbort.razor
+++ b/src/Lumina.Presentation.Web/Components/EnlightenmentButton.razor
@@ -1,8 +1,9 @@
-
+
@code {
[Parameter] public RenderFragment? ChildContent { get; set; }
[Parameter] public EventCallback OnClick { get; set; }
[Parameter] public bool IsDisabled { get; set; }
+ [Parameter] public bool IsConfirmButton { get; set; } = true;
[Parameter] public string? CssClass { get; set; }
}
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentButton.razor.css b/src/Lumina.Presentation.Web/Components/EnlightenmentButton.razor.css
new file mode 100644
index 00000000..15896c63
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Components/EnlightenmentButton.razor.css
@@ -0,0 +1,161 @@
+.abort-button {
+ text-decoration: none;
+ border-radius: 4px;
+ border: solid 1px;
+ border-color: #006666 #004030 #003020 #006666;
+ background: linear-gradient(to bottom, #90AEA6 0%, #336659 50%, #004030 50%, #004030 100%);
+ color: #999999;
+ position: relative;
+ overflow: hidden;
+ transition: all 0.3s;
+ cursor: pointer;
+ outline: none;
+ box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
+ z-index: 1;
+}
+
+ .abort-button:before {
+ content: "";
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 50%;
+ background: radial-gradient(circle at center, #00FF00, transparent);
+ background-size: 120% 100%;
+ transform: translateY(100%);
+ background-position: center;
+ transition: transform 0.3s, opacity 0.8s;
+ pointer-events: none;
+ opacity: 0;
+ filter: blur(8px);
+ }
+
+ .abort-button:hover {
+ color: #fff;
+ }
+
+ .abort-button:hover:before {
+ transform: translateY(50%);
+ opacity: 1;
+ }
+
+ .abort-button:active {
+ background: #CC009F58;
+ font-style: italic;
+ }
+
+ .abort-button:disabled {
+ background: #333333;
+ border-color: #333333;
+ color: #777;
+ cursor: not-allowed;
+ }
+
+ .abort-button:disabled:hover:before {
+ transform: translateY(100%);
+ opacity: 0;
+ }
+
+ .abort-button:disabled:active {
+ font-style: normal;
+ }
+
+ .abort-button[disabled] {
+ background: #333333;
+ border-color: #333333;
+ color: #777;
+ cursor: not-allowed;
+ pointer-events: none;
+ text-decoration: none;
+ }
+
+ .abort-button[disabled]:hover:before {
+ transform: translateY(100%);
+ opacity: 0;
+ }
+
+ .abort-button[disabled]:active {
+ font-style: normal;
+ }
+
+.confirm-button {
+ text-decoration: none;
+ border-radius: 4px;
+ border: solid 1px;
+ border-color: #363636 #000 #000 #363636;
+ background: linear-gradient(to bottom, #AAAAAA 0%, #363636 50%, #000 50%, #000 100%);
+ color: #AAAAAA;
+ position: relative;
+ overflow: hidden;
+ transition: all 0.3s;
+ cursor: pointer;
+ outline: none;
+ box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
+ z-index: 1;
+}
+
+ .confirm-button:before {
+ content: "";
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 50%;
+ background: radial-gradient(circle at center, #00FF8B, transparent);
+ background-size: 120% 100%;
+ transform: translateY(100%);
+ background-position: center;
+ transition: transform 0.3s, opacity 0.8s;
+ pointer-events: none;
+ opacity: 0;
+ filter: blur(8px);
+ }
+
+ .confirm-button:hover {
+ color: #fff;
+ }
+
+ .confirm-button:hover:before {
+ transform: translateY(50%);
+ opacity: 1;
+ }
+
+ .confirm-button:active {
+ background: #CC000000;
+ font-style: italic;
+ }
+
+ .confirm-button:disabled {
+ background: #333333;
+ border-color: #333333;
+ color: #777;
+ cursor: not-allowed;
+ }
+
+ .confirm-button:disabled:hover:before {
+ transform: translateY(100%);
+ opacity: 0;
+ }
+
+ .confirm-button:disabled:active {
+ font-style: normal;
+ }
+
+confirm-button[disabled] {
+ background: #333333;
+ border-color: #333333;
+ color: #777;
+ cursor: not-allowed;
+ pointer-events: none;
+ text-decoration: none;
+}
+
+.confirm-button[disabled]:hover:before {
+ transform: translateY(100%);
+ opacity: 0;
+}
+
+.confirm-button[disabled]:active {
+ font-style: normal;
+}
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonAbort.razor.css b/src/Lumina.Presentation.Web/Components/EnlightenmentButtonAbort.razor.css
deleted file mode 100644
index ee185a34..00000000
--- a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonAbort.razor.css
+++ /dev/null
@@ -1,80 +0,0 @@
-.abort-button {
- text-decoration: none;
- border-radius: 4px;
- border: solid 1px;
- border-color: #006666 #004030 #003020 #006666;
- background: linear-gradient(to bottom, #90AEA6 0%, #336659 50%, #004030 50%, #004030 100%);
- color: #999999;
- position: relative;
- overflow: hidden;
- transition: all 0.3s;
- cursor: pointer;
- outline: none;
- box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
- z-index: 1;
-}
-
- .abort-button:before {
- content: "";
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 50%;
- background: radial-gradient(circle at center, #00FF00, transparent);
- background-size: 120% 100%;
- transform: translateY(100%);
- background-position: center;
- transition: transform 0.3s, opacity 0.8s;
- pointer-events: none;
- opacity: 0;
- filter: blur(8px);
- }
-
- .abort-button:hover:before {
- transform: translateY(50%);
- opacity: 1;
- }
-
- .abort-button:active {
- background: #CC009F58;
- font-style: italic;
- }
-
- .abort-button:hover {
- color: #fff;
- }
-
- .abort-button:disabled {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- }
-
- .abort-button:disabled:hover:before {
- transform: translateY(100%);
- opacity: 0;
- }
-
- .abort-button:disabled:active {
- font-style: normal;
- }
-
- .abort-button[disabled] {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- pointer-events: none;
- text-decoration: none;
- }
-
- .abort-button[disabled]:hover:before {
- transform: translateY(100%);
- opacity: 0;
- }
-
- .abort-button[disabled]:active {
- font-style: normal;
- }
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonConfirm.razor b/src/Lumina.Presentation.Web/Components/EnlightenmentButtonConfirm.razor
deleted file mode 100644
index 16c3996f..00000000
--- a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonConfirm.razor
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-@code {
- [Parameter] public RenderFragment? ChildContent { get; set; }
- [Parameter] public EventCallback OnClick { get; set; }
- [Parameter] public bool IsDisabled { get; set; }
- [Parameter] public string? CssClass { get; set; }
-}
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonConfirm.razor.css b/src/Lumina.Presentation.Web/Components/EnlightenmentButtonConfirm.razor.css
deleted file mode 100644
index 9f7b0b6c..00000000
--- a/src/Lumina.Presentation.Web/Components/EnlightenmentButtonConfirm.razor.css
+++ /dev/null
@@ -1,80 +0,0 @@
-.confirm-button {
- text-decoration: none;
- border-radius: 4px;
- border: solid 1px;
- border-color: #363636 #000 #000 #363636;
- background: linear-gradient(to bottom, #AAAAAA 0%, #363636 50%, #000 50%, #000 100%);
- color: #AAAAAA;
- position: relative;
- overflow: hidden;
- transition: all 0.3s;
- cursor: pointer;
- outline: none;
- box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
- z-index: 1;
-}
-
- .confirm-button:before {
- content: "";
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- height: 50%;
- background: radial-gradient(circle at center, #00FF8B, transparent);
- background-size: 120% 100%;
- transform: translateY(100%);
- background-position: center;
- transition: transform 0.3s, opacity 0.8s;
- pointer-events: none;
- opacity: 0;
- filter: blur(8px);
- }
-
- .confirm-button:hover {
- color: #fff;
- }
-
- .confirm-button:hover:before {
- transform: translateY(50%);
- opacity: 1;
- }
-
- .confirm-button:active {
- background: #CC000000;
- font-style: italic;
- }
-
- .confirm-button:disabled {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- }
-
- .confirm-button:disabled:hover:before {
- transform: translateY(100%);
- opacity: 0;
- }
-
- .confirm-button:disabled:active {
- font-style: normal;
- }
-
-confirm-button[disabled] {
- background: #333333;
- border-color: #333333;
- color: #777;
- cursor: not-allowed;
- pointer-events: none;
- text-decoration: none;
-}
-
-.confirm-button[disabled]:hover:before {
- transform: translateY(100%);
- opacity: 0;
-}
-
-.confirm-button[disabled]:active {
- font-style: normal;
-}
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentInput.razor b/src/Lumina.Presentation.Web/Components/EnlightenmentInput.razor
new file mode 100644
index 00000000..363df04f
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Components/EnlightenmentInput.razor
@@ -0,0 +1,33 @@
+
+
+@code {
+ [Parameter] public string Type { get; set; } = "text";
+ [Parameter] public string? CssClass { get; set; }
+ [Parameter] public string? Name { get; set; }
+ [Parameter] public bool AutoComplete { get; set; } = true;
+ [Parameter] public string? Value { get; set; }
+ [Parameter] public EventCallback ValueChanged { get; set; }
+ [Parameter] public string? Placeholder { get; set; }
+ [Parameter] public bool IsDisabled { get; set; }
+ [Parameter] public bool IsReadOnly { get; set; }
+ [Parameter] public bool HasError { get; set; }
+
+ ///
+ /// Handles the input event.
+ ///
+ /// The event arguments.
+ private async Task OnInputHandlerAsync(ChangeEventArgs e)
+ {
+ Value = e.Value?.ToString();
+ await ValueChanged.InvokeAsync(Value);
+ }
+}
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentInput.razor.css b/src/Lumina.Presentation.Web/Components/EnlightenmentInput.razor.css
new file mode 100644
index 00000000..9fd9d95e
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Components/EnlightenmentInput.razor.css
@@ -0,0 +1,55 @@
+.enlightenment-input {
+ font-size: 14px;
+ padding: 5px;
+ border: 1px solid;
+ border-color: var(--border-unlit) var(--border-lit) var(--border-lit) var(--border-unlit);
+ border-radius: 3px;
+ background: linear-gradient(0deg, #90c247, #509c00);
+ transition: background 0.3s, color 0.3s;
+ color: #000;
+ outline: none;
+ position: relative;
+ box-sizing: border-box;
+}
+
+ .enlightenment-input:hover {
+ background: var(--window-button-over-color);
+ }
+
+ .enlightenment-input:not(:focus) {
+ background: linear-gradient(0deg, #6b7579, #576b65);
+ color: #000;
+ }
+
+ .enlightenment-input:focus {
+ font-style: italic;
+ color: #333;
+ background: linear-gradient(0deg, #6AAFF8, #82E9F7);
+ box-shadow: inset 4px 6px 8px rgba(0,0,0,0.6);
+ border-color: var(--border-unlit) var(--border-lit) var(--border-lit) var(--border-unlit);
+ outline: none;
+ }
+
+ .enlightenment-input::placeholder {
+ color: #999;
+ }
+
+ .enlightenment-input:disabled {
+ color: #999;
+ background: var(--window-back-color);
+ }
+
+ .enlightenment-input[readonly] {
+ color: #999;
+ background: var(--window-back-color);
+ }
+
+ .enlightenment-input[data-has-error="true"] {
+ border-color: #f00;
+ color: #FFF;
+ background: #700;
+ }
+
+textarea {
+ resize: none;
+}
\ No newline at end of file