diff --git a/src/Lumina.Presentation.Web/Common/Models/UI/ComboboxItem.cs b/src/Lumina.Presentation.Web/Common/Models/UI/ComboboxItem.cs new file mode 100644 index 00000000..50364327 --- /dev/null +++ b/src/Lumina.Presentation.Web/Common/Models/UI/ComboboxItem.cs @@ -0,0 +1,19 @@ +namespace Lumina.Presentation.Web.Common.Models.UI; + +/// +/// Represents an item in a combobox. +/// +public class ComboboxItem +{ + #region ==================================================================== PROPERTIES ================================================================================= + /// + /// Gets or sets the text of the item, that is visible to the user. + /// + public string? Text { get; set; } + + /// + /// Gets or sets the value of the item, that is used by the application. + /// + public string? Value { get; set; } + #endregion +} \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentCombobox.razor b/src/Lumina.Presentation.Web/Components/EnlightenmentCombobox.razor new file mode 100644 index 00000000..5965fc58 --- /dev/null +++ b/src/Lumina.Presentation.Web/Components/EnlightenmentCombobox.razor @@ -0,0 +1,84 @@ +@using Lumina.Presentation.Web.Common.Models.UI +@using Lumina.Presentation.Web.Core.Services.UI + +@inject ComboboxService _comboboxService + +@implements IDisposable + +
+
+ + +
+
+
No item selected
+ + @for (int i = 0; i < Items.Count; i++) + { + var item = Items[i]; + var cssClass = $"enlightenment-item {(i == Items.Count - 1 ? "last-item" : string.Empty)}"; +
@item.Text
+ } +
+
+ +@code { + [Parameter] public List Items { get; set; } = []; + [Parameter] public ComboboxItem? SelectedItem { get; set; } + [Parameter] public EventCallback SelectedItemChanged { get; set; } + + private bool IsOpen { get; set; } + private string Id { get; set; } = $"combobox_{Guid.NewGuid()}"; + + /// + /// Initializes the component. + /// + protected override void OnInitialized() + { + _comboboxService.ComboboxOpened += CloseIfNotThis; + } + + /// + /// Toggles the dropdown state. + /// + private void ToggleDropdown() + { + IsOpen = !IsOpen; + if (IsOpen) + _comboboxService.NotifyComboboxOpened(Id); + } + + /// + /// Closes the dropdown if the provided is not the current , or if it's . + /// + /// The optional id of the combobox that initiated the dropdown state change. + private void CloseIfNotThis(string? openedId) + { + if (openedId != Id && IsOpen) + { + IsOpen = false; + StateHasChanged(); + } + } + + /// + /// Selects the provided . + /// + /// The item to select. + private async Task SelectItem(ComboboxItem? item) + { + SelectedItem = item; + IsOpen = false; + await SelectedItemChanged.InvokeAsync(item); + } + + /// + /// Disposes the component. + /// + public void Dispose() + { + _comboboxService.ComboboxOpened -= CloseIfNotThis; + } +} \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Components/EnlightenmentCombobox.razor.css b/src/Lumina.Presentation.Web/Components/EnlightenmentCombobox.razor.css new file mode 100644 index 00000000..5ca47258 --- /dev/null +++ b/src/Lumina.Presentation.Web/Components/EnlightenmentCombobox.razor.css @@ -0,0 +1,152 @@ +.enlightenment-combobox { + position: relative; + font-family: Arial, sans-serif; + padding: 0; + margin: 0; + box-sizing: border-box; +} + +.enlightenment-toggle-checkbox { + display: none; +} + +.enlightenment-toggle { + display: flex; + align-items: center; + justify-content: space-between; + cursor: pointer; + font-family: Arial, sans-serif; + font-size: 14px; + border-radius: 3px; + box-shadow: 0 0 3px rgba(0, 0, 0, 0.5); + color: #6DCBFE; + padding: 3px 24px 3px 18px; + width: 100%; + border: none; + outline: none; + appearance: none; + border-top: #989898 1px solid; + border-bottom: #151515 1px solid; + border-left: #878787 1px solid; + border-right: #202020 1px solid; + background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%225%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20d%3D%22M2%2C0L6%2C4L10%2C0%22%2F%3E%3C%2Fsvg%3E'), url('../images/ui/scrollbar_dots_v.png'), linear-gradient(180deg, #606060, #555555, #4C4C4C, #414141); + background-repeat: no-repeat, no-repeat, repeat; + background-position: right 10px top 50%, left 7px top 50%, 0 0; + background-size: 12px 6px, 3px auto, 100%; + user-select: none; + box-sizing: border-box; +} + + .enlightenment-toggle:hover { + background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%225%22%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20d%3D%22M2%2C0L6%2C4L10%2C0%22%2F%3E%3C%2Fsvg%3E'), url('../images/ui/scrollbar_dots_lit_v.png'), linear-gradient(180deg, #606060, #555555, #4C4C4C, #414141); + background-repeat: no-repeat, no-repeat, repeat; + background-position: right 10px top 50%, left 7px top 50%, 0 0; + background-size: 12px 6px, 3px auto, 100%; + } + +.enlightenment-selected-text { + flex: 1; + text-align: right; +} + +.enlightenment-dropdown { + display: none; + position: absolute; + top: 100%; + left: 0; + width: 100%; + box-sizing: border-box; + background-image: url('../images/ui/metal-plate.png'), linear-gradient(180deg, #505050, #464646, #404040, #363636); + background-repeat: repeat, no-repeat; + background-position: 3px 3px, 0 0; /* offset the metal-plate image by 3 pixels from the top and left */ + background-clip: content-box, border-box; /* clip the metal-plate image to the content box */ + border-top: #989898 1px solid; + border-bottom: #151515 1px solid; + border-left: #878787 1px solid; + border-right: #202020 1px solid; + padding: 3px; + z-index: 999; +} + + .enlightenment-dropdown > .shine-effect:first-child { + top: -4px; + } + +.enlightenment-item { + display: block; + border-left: 1px solid #232323; + border-right: 1px solid #777777; + border-top: 1px solid #232323; + border-bottom: 1px solid #777777; + color: #FFFFFF; + padding: 5px 10px; + width: 100%; + box-sizing: border-box; + user-select: none; + cursor: pointer; +} + + .enlightenment-item.first-item { + border-top: 1px solid #232323; + margin-top: -1px; + } + + .enlightenment-item.last-item { + border-bottom: 1px solid #777777; + } + + .enlightenment-item.disabled { + color: #AAAAAA; + } + + .enlightenment-item:hover { + background-image: none; + background: linear-gradient(to bottom, #505050, #464646, #404040, #363636); + color: #1D8AF9; + box-shadow: inset 1px 0 0 0 #777777, inset -1px 0 0 0 #232323, inset 0 1px 0 0 #989898, inset 0 -1px 0 0 #151515; + } + +.enlightenment-combobox.open .enlightenment-dropdown { + display: block; +} + +.enlightenment-combobox > .shine-effect:first-child { + top: 1px; + opacity: 0; + transition: opacity 0.5s; +} + +.enlightenment-combobox:hover > .shine-effect:first-child { + opacity: 1; +} + +.enlightenment-combobox > .shine-effect::before, +.enlightenment-combobox > .shine-effect::after { + content: ""; + position: absolute; + top: -1px; + left: 50%; + transform: translateX(-50%); + opacity: 0; + transition: opacity 0.5s; +} + +.enlightenment-combobox > .shine-effect::before { + width: 3px; + height: 2px; + border-radius: 5px 5px 0 0; + background-color: #FFFFFF; +} + +.enlightenment-combobox > .shine-effect::after { + width: 10px; + height: 3px; + border-radius: 5px 5px 0 0; + background-color: #FFFFFF; + filter: blur(3px); +} + +.enlightenment-combobox:hover > .shine-effect::before, +.enlightenment-combobox:hover > .shine-effect::after { + opacity: 1; +} diff --git a/src/Lumina.Presentation.Web/Core/Services/UI/ComboboxService.cs b/src/Lumina.Presentation.Web/Core/Services/UI/ComboboxService.cs new file mode 100644 index 00000000..4ed84e1e --- /dev/null +++ b/src/Lumina.Presentation.Web/Core/Services/UI/ComboboxService.cs @@ -0,0 +1,22 @@ +namespace Lumina.Presentation.Web.Core.Services.UI; + +/// +/// Service for managing comboboxes. +/// +public class ComboboxService +{ + #region ================================================================== FIELD MEMBERS ================================================================================ + public event Action? ComboboxOpened; + #endregion + + #region ===================================================================== METHODS =================================================================================== + /// + /// Notifies that a combobox has been opened. + /// + /// The id of the combobox that opened. + public void NotifyComboboxOpened(string id) + { + ComboboxOpened?.Invoke(id); + } + #endregion +} \ No newline at end of file diff --git a/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj b/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj index 5c5f1726..e0ee943c 100644 --- a/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj +++ b/src/Lumina.Presentation.Web/Lumina.Presentation.Web.csproj @@ -18,9 +18,4 @@ - - - - - diff --git a/src/Lumina.Presentation.Web/Program.cs b/src/Lumina.Presentation.Web/Program.cs index 5a62c609..f6f7b5f8 100644 --- a/src/Lumina.Presentation.Web/Program.cs +++ b/src/Lumina.Presentation.Web/Program.cs @@ -1,4 +1,5 @@ #region ========================================================================= USING ===================================================================================== +using Lumina.Presentation.Web.Core.Services.UI; using Microsoft.AspNetCore.Components.Web; using Microsoft.AspNetCore.Components.WebAssembly.Hosting; #endregion @@ -20,6 +21,7 @@ public class Program var builder = WebAssemblyHostBuilder.CreateDefault(args); builder.RootComponents.Add("#app"); builder.RootComponents.Add("head::after"); + builder.Services.AddSingleton(); builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) }); diff --git a/src/Lumina.Presentation.Web/wwwroot/css/site.css b/src/Lumina.Presentation.Web/wwwroot/css/site.css index 67cafbe0..73aeade8 100644 --- a/src/Lumina.Presentation.Web/wwwroot/css/site.css +++ b/src/Lumina.Presentation.Web/wwwroot/css/site.css @@ -41,6 +41,1169 @@ body { min-height: 100%; } +main { + padding-top: 20px; +} + +.shine-effect { + position: relative; + top: -11px; + left: 0; + right: 0; + height: 1px; + background: linear-gradient(to right, transparent, #fff, transparent); + z-index: 1; +} + +.shadow-effect { + box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.5); +} + +.enlightenment-panel { + border-radius: 5px; + background: linear-gradient(135deg, #404040, #232323); + border-top: 1px solid #505050; + border-left: 1px solid #505050; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + padding: 10px; +} + +.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus { + box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb; +} + +.panel { + background-color: #00000033; + border-radius: 5px; + padding: 10px; +} + +.text-light-one { + color: #6DCBFE; +} + +.text-light-two { + color: #FFFFFF; +} + +.text-light-three { + color: #FFD764; +} + +.text-disabled { + color: #777777; +} + +.invalid-feedback { + margin-top: 0.25rem; + font-size: 0.875em; + color: #FF0000; +} + +.transparent { + background-color: transparent; +} + +.no-border { + border: 0px; +} + +.no-underline { + text-decoration: none; +} +/* Margins */ +.mt-0 { + margin-top: 0px; +} + +.mr-0 { + margin-right: 0px; +} + +.mb-0 { + margin-bottom: 0px; +} + +.ml-0 { + margin-left: 0px; +} + +.mt-1 { + margin-top: 1px; +} + +.mr-1 { + margin-right: 1px; +} + +.mb-1 { + margin-bottom: 1px; +} + +.ml-1 { + margin-left: 1px; +} + +.mt-2 { + margin-top: 2px; +} + +.mr-2 { + margin-right: 2px; +} + +.mb-2 { + margin-bottom: 2px; +} + +.ml-2 { + margin-left: 2px; +} + +.mt-3 { + margin-top: 3px; +} + +.mr-3 { + margin-right: 3px; +} + +.mb-3 { + margin-bottom: 3px; +} + +.ml-3 { + margin-left: 3px; +} + +.mt-4 { + margin-top: 4px; +} + +.mr-4 { + margin-right: 4px; +} + +.mb-4 { + margin-bottom: 4px; +} + +.ml-4 { + margin-left: 4px; +} + +.mt-5 { + margin-top: 5px; +} + +.mr-5 { + margin-right: 5px; +} + +.mb-5 { + margin-bottom: 5px; +} + +.ml-5 { + margin-left: 5px; +} + +.mt-6 { + margin-top: 6px; +} + +.mr-6 { + margin-right: 6px; +} + +.mb-6 { + margin-bottom: 6px; +} + +.ml-6 { + margin-left: 6px; +} + +.mt-7 { + margin-top: 7px; +} + +.mr-7 { + margin-right: 7px; +} + +.mb-7 { + margin-bottom: 7px; +} + +.ml-7 { + margin-left: 7px; +} + +.mt-8 { + margin-top: 8px; +} + +.mr-8 { + margin-right: 8px; +} + +.mb-8 { + margin-bottom: 8px; +} + +.ml-8 { + margin-left: 8px; +} + +.mt-9 { + margin-top: 9px; +} + +.mr-9 { + margin-right: 9px; +} + +.mb-9 { + margin-bottom: 9px; +} + +.ml-9 { + margin-left: 9px; +} + +.mt-10 { + margin-top: 10px; +} + +.mr-10 { + margin-right: 10px; +} + +.mb-10 { + margin-bottom: 10px; +} + +.ml-10 { + margin-left: 10px; +} + +/* Paddings */ +.pt-0 { + padding-top: 0px; +} + +.pr-0 { + padding-right: 0px; +} + +.pb-0 { + padding-bottom: 0px; +} + +.pl-0 { + padding-left: 0px; +} + +.pt-1 { + padding-top: 1px; +} + +.pr-1 { + padding-right: 1px; +} + +.pb-1 { + padding-bottom: 1px; +} + +.pl-1 { + padding-left: 1px; +} + +.pt-2 { + padding-top: 2px; +} + +.pr-2 { + padding-right: 2px; +} + +.pb-2 { + padding-bottom: 2px; +} + +.pl-2 { + padding-left: 2px; +} + +.pt-3 { + padding-top: 3px; +} + +.pr-3 { + padding-right: 3px; +} + +.pb-3 { + padding-bottom: 3px; +} + +.pl-3 { + padding-left: 3px; +} + +.pt-4 { + padding-top: 4px; +} + +.pr-4 { + padding-right: 4px; +} + +.pb-4 { + padding-bottom: 4px; +} + +.pl-4 { + padding-left: 4px; +} + +.pt-5 { + padding-top: 5px; +} + +.pr-5 { + padding-right: 5px; +} + +.pb-5 { + padding-bottom: 5px; +} + +.pl-5 { + padding-left: 5px; +} + +.pt-6 { + padding-top: 6px; +} + +.pr-6 { + padding-right: 6px; +} + +.pb-6 { + padding-bottom: 6px; +} + +.pl-6 { + padding-left: 6px; +} + +.pt-7 { + padding-top: 7px; +} + +.pr-7 { + padding-right: 7px; +} + +.pb-7 { + padding-bottom: 7px; +} + +.pl-7 { + padding-left: 7px; +} + +.pt-8 { + padding-top: 8px; +} + +.pr-8 { + padding-right: 8px; +} + +.pb-8 { + padding-bottom: 8px; +} + +.pl-8 { + padding-left: 8px; +} + +.pt-9 { + padding-top: 9px; +} + +.pr-9 { + padding-right: 9px; +} + +.pb-9 { + padding-bottom: 9px; +} + +.pl-9 { + padding-left: 9px; +} + +.pt-10 { + padding-top: 10px; +} + +.pr-10 { + padding-right: 10px; +} + +.pb-10 { + padding-bottom: 10px; +} + +.pl-10 { + padding-left: 10px; +} + +/* Widths (1 to 10, then 5 by 5 until 100) */ +.w-0px { + width: 0px; +} + +.w-1px { + width: 1px; +} + +.w-2px { + width: 2px; +} + +.w-3px { + width: 3px; +} + +.w-4px { + width: 4px; +} + +.w-5px { + width: 5px; +} + +.w-6px { + width: 6px; +} + +.w-7px { + width: 7px; +} + +.w-8px { + width: 8px; +} + +.w-9px { + width: 9px; +} + +.w-10px { + width: 10px; +} + +.w-15px { + width: 15px; +} + +.w-20px { + width: 20px; +} + +.w-25px { + width: 25px; +} + +.w-30px { + width: 30px; +} + +.w-35px { + width: 35px; +} + +.w-40px { + width: 40px; +} + +.w-45px { + width: 45px; +} + +.w-50px { + width: 50px; +} + +.w-55px { + width: 55px; +} + +.w-60px { + width: 60px; +} + +.w-65px { + width: 65px; +} + +.w-70px { + width: 70px; +} + +.w-75px { + width: 75px; +} + +.w-80px { + width: 80px; +} + +.w-85px { + width: 85px; +} + +.w-90px { + width: 90px; +} + +.w-95px { + width: 95px; +} + +.w-100px { + width: 100px; +} + +.w-105px { + width: 105px; +} + +.w-110px { + width: 110px; +} + +.w-115px { + width: 115px; +} + +.w-120px { + width: 120px; +} + +.w-125px { + width: 125px; +} + +.w-150px { + width: 150px; +} + +.w-160px { + width: 160px; +} + +.w-170px { + width: 170px; +} + +.w-180px { + width: 180px; +} + +.w-190px { + width: 190px; +} + +.w-200px { + width: 200px; +} + +.w-210px { + width: 210px; +} + +.w-220px { + width: 220px; +} + +.w-230px { + width: 230px; +} + +.w-240px { + width: 240px; +} + +.w-250px { + width: 250px; +} + +/* Heights (1 to 10, then 5 by 5 until 100) */ +.h-0px { + height: 0px; +} + +.h-1px { + height: 1px; +} + +.h-2px { + height: 2px; +} + +.h-3px { + height: 3px; +} + +.h-4px { + height: 4px; +} + +.h-5px { + height: 5px; +} + +.h-6px { + height: 6px; +} + +.h-7px { + height: 7px; +} + +.h-8px { + height: 8px; +} + +.h-9px { + height: 9px; +} + +.h-10px { + height: 10px; +} + +.h-11px { + height: 11px; +} + +.h-12px { + height: 12px; +} + +.h-13px { + height: 13px; +} + +.h-14px { + height: 14px; +} + +.h-15px { + height: 15px; +} + +.h-16px { + height: 16px; +} + +.h-17px { + height: 17px; +} + +.h-18px { + height: 18px; +} + +.h-19px { + height: 19px; +} + +.h-20px { + height: 20px; +} + +.h-21px { + height: 21px; +} + +.h-22px { + height: 22px; +} + +.h-23px { + height: 23px; +} + +.h-24px { + height: 24px; +} + +.h-25px { + height: 25px; +} + +.h-30px { + height: 30px; +} + +.h-35px { + height: 35px; +} + +.h-40px { + height: 40px; +} + +.h-45px { + height: 45px; +} + +.h-50px { + height: 50px; +} + +.h-55px { + height: 55px; +} + +.h-60px { + height: 60px; +} + +.h-65px { + height: 65px; +} + +.h-70px { + height: 70px; +} + +.h-75px { + height: 75px; +} + +.h-80px { + height: 80px; +} + +.h-85px { + height: 85px; +} + +.h-90px { + height: 90px; +} + +.h-95px { + height: 95px; +} + +.h-100px { + height: 100px; +} + +.h-105px { + height: 105px; +} + +.h-110px { + height: 110px; +} + +.h-115px { + height: 115px; +} + +.h-120px { + height: 120px; +} + +.h-125px { + height: 125px; +} + +.h-150px { + height: 150px; +} + +.h-160px { + height: 160px; +} + +.h-170px { + height: 170px; +} + +.h-180px { + height: 180px; +} + +.h-190px { + height: 190px; +} + +.h-200px { + height: 200px; +} + +.h-210px { + height: 210px; +} + +.h-220px { + height: 220px; +} + +.h-230px { + height: 230px; +} + +.h-240px { + height: 240px; +} + +.h-250px { + height: 250px; +} + +/* Widths percentage */ +.w-1 { + width: 1%; +} + +.w-2 { + width: 2%; +} + +.w-3 { + width: 3%; +} + +.w-4 { + width: 4%; +} + +.w-5 { + width: 5%; +} + +.w-6 { + width: 6%; +} + +.w-7 { + width: 7%; +} + +.w-8 { + width: 8%; +} + +.w-9 { + width: 9%; +} + +.w-10 { + width: 10%; +} + +.w-15 { + width: 15%; +} + +.w-20 { + width: 20%; +} + +.w-25 { + width: 25%; +} + +.w-30 { + width: 30%; +} + +.w-35 { + width: 35%; +} + +.w-40 { + width: 40%; +} + +.w-45 { + width: 45%; +} + +.w-50 { + width: 50%; +} + +.w-55 { + width: 55%; +} + +.w-60 { + width: 60%; +} + +.w-65 { + width: 65%; +} + +.w-70 { + width: 70%; +} + +.w-75 { + width: 75%; +} + +.w-80 { + width: 80%; +} + +.w-85 { + width: 85%; +} + +.w-90 { + width: 90%; +} + +.w-95 { + width: 95%; +} + +.w-100 { + width: 100%; +} + +/* Heights (1 to 10, then 5 by 5 until 100) */ +.h-1 { + height: 1%; +} + +.h-2 { + height: 2%; +} + +.h-3 { + height: 3%; +} + +.h-4 { + height: 4%; +} + +.h-5 { + height: 5%; +} + +.h-6 { + height: 6%; +} + +.h-7 { + height: 7%; +} + +.h-8 { + height: 8%; +} + +.h-9 { + height: 9%; +} + +.h-10 { + height: 10%; +} + +.h-15 { + height: 15%; +} + +.h-20 { + height: 20%; +} + +.h-25 { + height: 25%; +} + +.h-30 { + height: 30%; +} + +.h-35 { + height: 35%; +} + +.h-40 { + height: 40%; +} + +.h-45 { + height: 45%; +} + +.h-50 { + height: 50%; +} + +.h-55 { + height: 55%; +} + +.h-60 { + height: 60%; +} + +.h-65 { + height: 65%; +} + +.h-70 { + height: 70%; +} + +.h-75 { + height: 75%; +} + +.h-80 { + height: 80%; +} + +.h-85 { + height: 85%; +} + +.h-90 { + height: 90%; +} + +.h-95 { + height: 95%; +} + +.h-100 { + height: 100%; +} + +.f-8 { + font-size: 8px !important; +} + +.f-9 { + font-size: 9px !important; +} + +.f-10 { + font-size: 10px !important; +} + +.f-11 { + font-size: 11px !important; +} + +.f-12 { + font-size: 12px !important; +} + +.f-14 { + font-size: 14px !important; +} + +.f-16 { + font-size: 16px !important; +} + +.f-18 { + font-size: 18px !important; +} + +.f-20 { + font-size: 20px !important; +} + +.f-22 { + font-size: 22px !important; +} + +.f-24 { + font-size: 24px !important; +} + +.hidden { + display: none !important; +} + +.block { + display: block !important; +} + +.inline { + display: inline !important; +} + +.inline-block { + display: inline-block !important; +} + +.mx-auto { + margin-left: auto; + margin-right: auto; +} + +.text-start { + text-align: left; +} + +.text-end { + text-align: right; +} + +.text-center { + text-align: center; +} + +.v-align-t { + vertical-align: top; +} + +.v-align-m { + vertical-align: middle; +} + +.v-align-b { + vertical-align: bottom; +} + +.h-align-l { + margin-right: auto !important; +} + +.h-align-m { + margin-left: auto !important; + margin-right: auto !important; +} + +.h-align-r { + margin-left: auto !important; +} + /* For phones */ @media only screen and (max-width: 768px) { #app { diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate-light.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate-light.png new file mode 100644 index 00000000..c9f1ce04 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate-light.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate.png new file mode 100644 index 00000000..5de7481d Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/metal-plate.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-bg-horizontal.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-bg-horizontal.png new file mode 100644 index 00000000..01d2d6cf Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-bg-horizontal.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-bg-vertical.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-bg-vertical.png new file mode 100644 index 00000000..62798fe2 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-bg-vertical.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-bottom-hover.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-bottom-hover.png new file mode 100644 index 00000000..f7ab9321 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-bottom-hover.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-bottom.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-bottom.png new file mode 100644 index 00000000..87f926ed Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-bottom.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-left-hover.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-left-hover.png new file mode 100644 index 00000000..3a594c32 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-left-hover.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-left.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-left.png new file mode 100644 index 00000000..b884de4c Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-left.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-right-hover.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-right-hover.png new file mode 100644 index 00000000..57c9ba5e Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-right-hover.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-right.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-right.png new file mode 100644 index 00000000..32af0755 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-right.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-top-hover.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-top-hover.png new file mode 100644 index 00000000..e7c98609 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-top-hover.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-top.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-top.png new file mode 100644 index 00000000..5e9bbb28 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-button-top.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-left.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-left.png new file mode 100644 index 00000000..da98daef Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-left.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-middle-hover.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-middle-hover.png new file mode 100644 index 00000000..c386a3e5 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-middle-hover.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-middle.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-middle.png new file mode 100644 index 00000000..2577b509 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-middle.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-repeat.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-repeat.png new file mode 100644 index 00000000..4775e7e2 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-repeat.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-right.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-right.png new file mode 100644 index 00000000..5a901871 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-horizontal-right.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-bottom.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-bottom.png new file mode 100644 index 00000000..f91d85bb Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-bottom.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-middle-hover.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-middle-hover.png new file mode 100644 index 00000000..76c837fb Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-middle-hover.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-middle.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-middle.png new file mode 100644 index 00000000..b2bddf69 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-middle.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-repeat.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-repeat.png new file mode 100644 index 00000000..557c24d8 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-repeat.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-top.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-top.png new file mode 100644 index 00000000..73390f72 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar-thumb-vertical-top.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_h.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_h.png new file mode 100644 index 00000000..d584fc55 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_h.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_h.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_h.png new file mode 100644 index 00000000..65381901 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_h.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_v.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_v.png new file mode 100644 index 00000000..3de334e8 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_lit_v.png differ diff --git a/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_v.png b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_v.png new file mode 100644 index 00000000..9551ccc1 Binary files /dev/null and b/src/Lumina.Presentation.Web/wwwroot/images/ui/scrollbar_dots_v.png differ