Browse Source

Admin Template Commit 2 : Sidebar complete

pull/6/head
Benjamin Arhen 2 years ago
parent
commit
6f37adc947
  1. 29
      Client/Elements/MenuItem.razor
  2. 45
      Client/Elements/MenuItem.razor.cs
  3. 331
      Client/Elements/Sidebar.razor
  4. 13
      Client/Layouts/MainLayout.razor
  5. 111
      Client/Models/NavItem.cs
  6. 2
      Client/wwwroot/assets/js/config.js
  7. 4985
      Client/wwwroot/assets/vendor/css/core.css
  8. 110
      Client/wwwroot/assets/vendor/css/theme-default.css
  9. 10
      Client/wwwroot/index.html

29
Client/Elements/MenuItem.razor

@ -0,0 +1,29 @@
@using Biskilog_Accounting.Client.Models;
@if (Item.Children.Count == 0)
{
<li class="menu-item @(Item.Id == ActiveId ? "active":"")" @onclick="(() => ItemClick(Item.Id))">
<a href="@Item.Link" class="menu-link">
<i class="menu-icon tf-icons bx @Item.Icon"></i>
<div data-i18n="Analytics">@Item.Title</div>
</a>
</li>
}
else
{
<li class="menu-item @m_expand @(Item.Children.Any(a => a.Id == ActiveId) ? "active":"")" @onclick="Toggle">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx @Item.Icon"></i>
<div data-i18n="Form Elements">@Item.Title</div>
</a>
<ul class="menu-sub">
@foreach (NavItem navItem in Item.Children)
{
<li class="menu-item @(navItem.Id == ActiveId ? "active":"")" @onclick:stopPropagation="true" @onclick="(() => ItemClick(navItem.Id))">
<a href="@navItem.Link" class="menu-link">
<div data-i18n="Basic Inputs">@navItem.Title</div>
</a>
</li>
}
</ul>
</li>
}

45
Client/Elements/MenuItem.razor.cs

@ -0,0 +1,45 @@
using Biskilog_Accounting.Client.Models;
using Microsoft.AspNetCore.Components;
using System.Linq;
namespace Biskilog_Accounting.Client.Elements
{
public partial class MenuItem
{
[Parameter]
public NavItem Item { get; set; }
[Parameter]
public double ActiveId { get; set; }
[Parameter]
public EventCallback<double> ActiveChanged { get; set; }
private string m_expand { get; set; } = string.Empty;
protected override void OnParametersSet()
{
//Collapse expanded parents if none of its child is active
if (!Item.Children.Any(i => i.Id == ActiveId))
{
m_expand = string.Empty;
}
base.OnParametersSet();
}
private void Toggle()
{
if (String.IsNullOrEmpty(m_expand))
{
m_expand = "menu-item-animating open";
}
else
{
m_expand = "";
}
}
private void ItemClick(double a_id)
{
ActiveId = a_id;
ActiveChanged.InvokeAsync(a_id);
}
}
}

331
Client/Elements/Sidebar.razor

@ -1,4 +1,5 @@
<aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
@using Biskilog_Accounting.Client.Models;
<aside id="layout-menu" class="layout-menu menu-vertical menu bg-menu-theme">
<div class="app-brand">
<a href="index.html" class="app-brand-link">
<span class="app-brand-logo">
@ -15,321 +16,25 @@
<div class="menu-inner-shadow"></div>
<ul class="menu-inner py-1">
<!-- Dashboard -->
<li class="menu-item active">
<a href="index.html" class="menu-link">
<i class="menu-icon tf-icons bx bx-home-circle"></i>
<div data-i18n="Analytics">Dashboard</div>
</a>
</li>
<!-- Layouts -->
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-layout"></i>
<div data-i18n="Layouts">Layouts</div>
</a>
@foreach (NavItem item in Menu.MenuList())
{
<MenuItem Item=@item ActiveId="m_activeId" ActiveChanged="HandleMenuClick" />
}
<!-- Warehouse
<li class="menu-header small text-uppercase"><span class="menu-header-text">Warehouse Operations</span></li>
-->
<ul class="menu-sub">
<li class="menu-item">
<a href="layouts-without-menu.html" class="menu-link">
<div data-i18n="Without menu">Without menu</div>
</a>
</li>
<li class="menu-item">
<a href="layouts-without-navbar.html" class="menu-link">
<div data-i18n="Without navbar">Without navbar</div>
</a>
</li>
<li class="menu-item">
<a href="layouts-container.html" class="menu-link">
<div data-i18n="Container">Container</div>
</a>
</li>
<li class="menu-item">
<a href="layouts-fluid.html" class="menu-link">
<div data-i18n="Fluid">Fluid</div>
</a>
</li>
<li class="menu-item">
<a href="layouts-blank.html" class="menu-link">
<div data-i18n="Blank">Blank</div>
</a>
</li>
</ul>
</li>
</aside>
<li class="menu-header small text-uppercase">
<span class="menu-header-text">Pages</span>
</li>
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-dock-top"></i>
<div data-i18n="Account Settings">Account Settings</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="pages-account-settings-account.html" class="menu-link">
<div data-i18n="Account">Account</div>
</a>
</li>
<li class="menu-item">
<a href="pages-account-settings-notifications.html" class="menu-link">
<div data-i18n="Notifications">Notifications</div>
</a>
</li>
<li class="menu-item">
<a href="pages-account-settings-connections.html" class="menu-link">
<div data-i18n="Connections">Connections</div>
</a>
</li>
</ul>
</li>
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-lock-open-alt"></i>
<div data-i18n="Authentications">Authentications</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="auth-login-basic.html" class="menu-link" target="_blank">
<div data-i18n="Basic">Login</div>
</a>
</li>
<li class="menu-item">
<a href="auth-register-basic.html" class="menu-link" target="_blank">
<div data-i18n="Basic">Register</div>
</a>
</li>
<li class="menu-item">
<a href="auth-forgot-password-basic.html" class="menu-link" target="_blank">
<div data-i18n="Basic">Forgot Password</div>
</a>
</li>
</ul>
</li>
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-cube-alt"></i>
<div data-i18n="Misc">Misc</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="pages-misc-error.html" class="menu-link">
<div data-i18n="Error">Error</div>
</a>
</li>
<li class="menu-item">
<a href="pages-misc-under-maintenance.html" class="menu-link">
<div data-i18n="Under Maintenance">Under Maintenance</div>
</a>
</li>
</ul>
</li>
<!-- Components -->
<li class="menu-header small text-uppercase"><span class="menu-header-text">Components</span></li>
<!-- Cards -->
<li class="menu-item">
<a href="cards-basic.html" class="menu-link">
<i class="menu-icon tf-icons bx bx-collection"></i>
<div data-i18n="Basic">Cards</div>
</a>
</li>
<!-- User interface -->
<li class="menu-item">
<a href="javascript:void(0)" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-box"></i>
<div data-i18n="User interface">User interface</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="ui-accordion.html" class="menu-link">
<div data-i18n="Accordion">Accordion</div>
</a>
</li>
<li class="menu-item">
<a href="ui-alerts.html" class="menu-link">
<div data-i18n="Alerts">Alerts</div>
</a>
</li>
<li class="menu-item">
<a href="ui-badges.html" class="menu-link">
<div data-i18n="Badges">Badges</div>
</a>
</li>
<li class="menu-item">
<a href="ui-buttons.html" class="menu-link">
<div data-i18n="Buttons">Buttons</div>
</a>
</li>
<li class="menu-item">
<a href="ui-carousel.html" class="menu-link">
<div data-i18n="Carousel">Carousel</div>
</a>
</li>
<li class="menu-item">
<a href="ui-collapse.html" class="menu-link">
<div data-i18n="Collapse">Collapse</div>
</a>
</li>
<li class="menu-item">
<a href="ui-dropdowns.html" class="menu-link">
<div data-i18n="Dropdowns">Dropdowns</div>
</a>
</li>
<li class="menu-item">
<a href="ui-footer.html" class="menu-link">
<div data-i18n="Footer">Footer</div>
</a>
</li>
<li class="menu-item">
<a href="ui-list-groups.html" class="menu-link">
<div data-i18n="List Groups">List groups</div>
</a>
</li>
<li class="menu-item">
<a href="ui-modals.html" class="menu-link">
<div data-i18n="Modals">Modals</div>
</a>
</li>
<li class="menu-item">
<a href="ui-navbar.html" class="menu-link">
<div data-i18n="Navbar">Navbar</div>
</a>
</li>
<li class="menu-item">
<a href="ui-offcanvas.html" class="menu-link">
<div data-i18n="Offcanvas">Offcanvas</div>
</a>
</li>
<li class="menu-item">
<a href="ui-pagination-breadcrumbs.html" class="menu-link">
<div data-i18n="Pagination &amp; Breadcrumbs">Pagination &amp; Breadcrumbs</div>
</a>
</li>
<li class="menu-item">
<a href="ui-progress.html" class="menu-link">
<div data-i18n="Progress">Progress</div>
</a>
</li>
<li class="menu-item">
<a href="ui-spinners.html" class="menu-link">
<div data-i18n="Spinners">Spinners</div>
</a>
</li>
<li class="menu-item">
<a href="ui-tabs-pills.html" class="menu-link">
<div data-i18n="Tabs &amp; Pills">Tabs &amp; Pills</div>
</a>
</li>
<li class="menu-item">
<a href="ui-toasts.html" class="menu-link">
<div data-i18n="Toasts">Toasts</div>
</a>
</li>
<li class="menu-item">
<a href="ui-tooltips-popovers.html" class="menu-link">
<div data-i18n="Tooltips & Popovers">Tooltips &amp; popovers</div>
</a>
</li>
<li class="menu-item">
<a href="ui-typography.html" class="menu-link">
<div data-i18n="Typography">Typography</div>
</a>
</li>
</ul>
</li>
<!-- Extended components -->
<li class="menu-item">
<a href="javascript:void(0)" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-copy"></i>
<div data-i18n="Extended UI">Extended UI</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="extended-ui-perfect-scrollbar.html" class="menu-link">
<div data-i18n="Perfect Scrollbar">Perfect scrollbar</div>
</a>
</li>
<li class="menu-item">
<a href="extended-ui-text-divider.html" class="menu-link">
<div data-i18n="Text Divider">Text Divider</div>
</a>
</li>
</ul>
</li>
@code {
private double m_activeId = 1;
<li class="menu-item">
<a href="icons-boxicons.html" class="menu-link">
<i class="menu-icon tf-icons bx bx-crown"></i>
<div data-i18n="Boxicons">Boxicons</div>
</a>
</li>
<!-- Forms & Tables -->
<li class="menu-header small text-uppercase"><span class="menu-header-text">Forms &amp; Tables</span></li>
<!-- Forms -->
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-detail"></i>
<div data-i18n="Form Elements">Form Elements</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="forms-basic-inputs.html" class="menu-link">
<div data-i18n="Basic Inputs">Basic Inputs</div>
</a>
</li>
<li class="menu-item">
<a href="forms-input-groups.html" class="menu-link">
<div data-i18n="Input groups">Input groups</div>
</a>
</li>
</ul>
</li>
<li class="menu-item">
<a href="javascript:void(0);" class="menu-link menu-toggle">
<i class="menu-icon tf-icons bx bx-detail"></i>
<div data-i18n="Form Layouts">Form Layouts</div>
</a>
<ul class="menu-sub">
<li class="menu-item">
<a href="form-layouts-vertical.html" class="menu-link">
<div data-i18n="Vertical Form">Vertical Form</div>
</a>
</li>
<li class="menu-item">
<a href="form-layouts-horizontal.html" class="menu-link">
<div data-i18n="Horizontal Form">Horizontal Form</div>
</a>
</li>
</ul>
</li>
<!-- Tables -->
<li class="menu-item">
<a href="tables-basic.html" class="menu-link">
<i class="menu-icon tf-icons bx bx-table"></i>
<div data-i18n="Tables">Tables</div>
</a>
</li>
<!-- Misc -->
<li class="menu-header small text-uppercase"><span class="menu-header-text">Misc</span></li>
<li class="menu-item">
<a href="https://github.com/themeselection/sneat-html-admin-template-free/issues"
target="_blank"
class="menu-link">
<i class="menu-icon tf-icons bx bx-support"></i>
<div data-i18n="Support">Support</div>
</a>
</li>
<li class="menu-item">
<a href="https://themeselection.com/demo/sneat-bootstrap-html-admin-template/documentation/"
target="_blank"
class="menu-link">
<i class="menu-icon tf-icons bx bx-file"></i>
<div data-i18n="Documentation">Documentation</div>
</a>
</li>
</ul>
</aside>
private void HandleMenuClick(double a_selectedId)
{
m_activeId = a_selectedId;
StateHasChanged();
}
}

13
Client/Layouts/MainLayout.razor

@ -4,28 +4,25 @@
<div class="layout-wrapper layout-content-navbar">
<div class="layout-container">
<!-- Menu -->
<Sidebar/>
<Sidebar />
<!-- / Menu -->
<!-- Body Layout container -->
<div class="layout-page">
<Headbar/>
<Headbar />
<!-- Content wrapper -->
<div class="content-wrapper">
<!-- Content -->
@Body
<!-- / Content -->
<!-- Footer -->
<Footer/>
<!-- / Footer -->
<div class="content-backdrop fade"></div>
<Footer />
<!-- / Footer -->
</div>
<!-- Content wrapper -->
</div>
<!-- / Layout page -->
</div>
<!-- Overlay -->
<div class="layout-overlay layout-menu-toggle"></div>
</div>
<!-- / Layout wrapper -->

111
Client/Models/NavItem.cs

@ -0,0 +1,111 @@
namespace Biskilog_Accounting.Client.Models
{
/// <summary>
/// Structure of the sidebar navigation menu items
/// </summary>
public class NavItem
{
/// <summary>
/// The unique id of the menu item
/// </summary>
public double Id { get; set; }
/// <summary>
/// The title of the menu item to display
/// </summary>
public string Title { get; set; } = string.Empty;
/// <summary>
/// The description of the menu item or description of the content of the page
/// </summary>
public string Description { get; set; } = string.Empty;
/// <summary>
/// The link to open the specified page tied to the menu item
/// </summary>
public string Link { get; set; } = string.Empty;
/// <summary>
/// The icon of the menu item
/// </summary>
public string Icon { get; set; } = string.Empty;
/// <summary>
/// Children or sub menu item
/// </summary>
public List<NavItem> Children { get; set; } = new List<NavItem>();
}
/// <summary>
/// Contains the list of menu Items
/// </summary>
public static class Menu
{
public static IEnumerable<NavItem> MenuList()
{
var menuItems = new List<NavItem>{
new NavItem()
{
Id = 1,
Description = "Analytics page",
Icon = "bx-home-circle",
Link = "",
Title = "Dashboard"
},
new NavItem()
{
Id = 2,
Description = "Customers",
Icon = "bx-users",
Link = "customers",
Title = "Customers"
},
new NavItem()
{
Id = 3,
Description = "Employees",
Icon = "bx-users",
Link = "employees",
Title = "Employees"
},
new NavItem()
{
Id = 4,
Description = "Products",
Icon = "bx-box",
Link = "",
Title = "Products",
Children = new List<NavItem>
{
new NavItem
{
Id = 4.1,
Description = "Inventory",
Title = "Inventory"
},
new NavItem
{
Id = 4.2,
Description = "Inventory",
Title = "Bulk Price Changes"
},
new NavItem
{
Id = 4.3,
Description = "Inventory",
Title = "Products Statistics",
Icon = "bx-detail"
}
}
},
};
var uniqueIds = new HashSet<double>();
//Validates list to check if there are no duplicate Ids
foreach (var menuItem in menuItems)
{
if (!uniqueIds.Add(menuItem.Id))
{
throw new Exception($"Duplicate Id found: {menuItem.Id}");
}
}
return menuItems;
}
}
}

2
Client/wwwroot/assets/js/config.js

@ -10,7 +10,7 @@
// JS global variables
let config = {
colors: {
primary: '#696cff',
primary: '#11726d',
secondary: '#8592a3',
success: '#71dd37',
info: '#03c3ec',

4985
Client/wwwroot/assets/vendor/css/core.css

File diff suppressed because one or more lines are too long

110
Client/wwwroot/assets/vendor/css/theme-default.css

@ -96,7 +96,7 @@
}
.text-primary {
color: #696cff !important;
color: #11726d !important;
}
.text-body[href]:hover {
@ -104,7 +104,7 @@
}
.bg-primary {
background-color: #696cff !important;
background-color: #11726d !important;
}
a.bg-primary:hover, a.bg-primary:focus {
@ -112,12 +112,12 @@ a.bg-primary:hover, a.bg-primary:focus {
}
.dropdown-notifications-item:not(.mark-as-read) .dropdown-notifications-read span {
background-color: #696cff;
background-color: #11726d;
}
.bg-label-primary {
background-color: #e7e7ff !important;
color: #696cff !important;
color: #11726d !important;
}
.border-label-primary {
@ -132,59 +132,59 @@ a.bg-primary:hover, a.bg-primary:focus {
.pagination li.active > a:not(.page-link),
.pagination li.active > a:not(.page-link):hover,
.pagination li.active > a:not(.page-link):focus {
border-color: #696cff;
background-color: #696cff;
border-color: #11726d;
background-color: #11726d;
color: #fff;
box-shadow: 0 0.125rem 0.25rem rgba(105, 108, 255, 0.4);
}
.progress-bar {
background-color: #696cff;
background-color: #11726d;
color: #fff;
box-shadow: 0 2px 4px 0 rgba(105, 108, 255, 0.4);
}
.list-group-item-primary {
background-color: #e1e2ff;
color: #696cff !important;
color: #11726d !important;
}
a.list-group-item-primary,
button.list-group-item-primary {
color: #696cff;
color: #11726d;
}
a.list-group-item-primary:hover, a.list-group-item-primary:focus,
button.list-group-item-primary:hover,
button.list-group-item-primary:focus {
background-color: #d6d7f2;
color: #696cff;
color: #11726d;
}
a.list-group-item-primary.active,
button.list-group-item-primary.active {
border-color: #696cff;
background-color: #696cff;
color: #696cff;
border-color: #11726d;
background-color: #11726d;
color: #11726d;
}
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
border-color: #696cff;
background-color: #696cff;
border-color: #11726d;
background-color: #11726d;
}
.alert-primary {
background-color: #e7e7ff;
border-color: #d2d3ff;
color: #696cff;
color: #11726d;
}
.alert-primary .btn-close {
background-image: url("data:image/svg+xml,%3Csvg width='150px' height='151px' viewBox='0 0 150 151' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpolygon id='path-1' points='131.251657 0 74.9933705 56.25 18.7483426 0 0 18.75 56.2450278 75 0 131.25 18.7483426 150 74.9933705 93.75 131.251657 150 150 131.25 93.7549722 75 150 18.75'%3E%3C/polygon%3E%3C/defs%3E%3Cg id='🎨-%5BSetup%5D:-Colors-&amp;-Shadows' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Artboard' transform='translate(-225.000000, -250.000000)'%3E%3Cg id='Icon-Color' transform='translate(225.000000, 250.500000)'%3E%3Cuse fill='%23696cff' xlink:href='%23path-1'%3E%3C/use%3E%3Cuse fill-opacity='0.5' fill='%23696cff' xlink:href='%23path-1'%3E%3C/use%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.alert-primary .alert-link {
color: #696cff;
color: #11726d;
}
.card .alert-primary hr {
background-color: #696cff !important;
background-color: #11726d !important;
}
.table-primary {
@ -207,8 +207,8 @@ button.list-group-item-primary.active {
.btn-primary {
color: #fff;
background-color: #696cff;
border-color: #696cff;
background-color: #11726d;
border-color: #11726d;
box-shadow: 0 0.125rem 0.25rem 0 rgba(105, 108, 255, 0.4);
}
.btn-primary:hover {
@ -237,8 +237,8 @@ button.list-group-item-primary.active {
}
.btn-outline-primary {
color: #696cff;
border-color: #696cff;
color: #11726d;
border-color: #11726d;
background: transparent;
}
.btn-outline-primary:hover {
@ -268,8 +268,8 @@ button.list-group-item-primary.active {
}
.btn-outline-primary .badge {
background: #696cff;
border-color: #696cff;
background: #11726d;
border-color: #11726d;
color: #fff;
}
@ -280,19 +280,19 @@ button.list-group-item-primary.active {
.show > .btn-outline-primary.dropdown-toggle .badge {
background: #fff;
border-color: #fff;
color: #696cff;
color: #11726d;
}
.dropdown-item:not(.disabled).active,
.dropdown-item:not(.disabled):active {
background-color: rgba(105, 108, 255, 0.08);
color: #696cff !important;
color: #11726d !important;
}
.dropdown-menu > li:not(.disabled) > a:not(.dropdown-item):active,
.dropdown-menu > li.active:not(.disabled) > a:not(.dropdown-item) {
background-color: rgba(105, 108, 255, 0.08);
color: #696cff !important;
color: #11726d !important;
}
.nav .nav-link:hover, .nav .nav-link:focus {
@ -300,36 +300,36 @@ button.list-group-item-primary.active {
}
.nav-pills .nav-link.active, .nav-pills .nav-link.active:hover, .nav-pills .nav-link.active:focus {
background-color: #696cff;
background-color: #11726d;
color: #fff;
box-shadow: 0 2px 4px 0 rgba(105, 108, 255, 0.4);
}
.form-control:focus,
.form-select:focus {
border-color: #696cff;
border-color: #11726d;
}
.input-group:focus-within .form-control,
.input-group:focus-within .input-group-text {
border-color: #696cff;
border-color: #11726d;
}
.form-check-input:focus {
border-color: #696cff;
border-color: #11726d;
box-shadow: 0 2px 4px 0 rgba(105, 108, 255, 0.4);
}
.form-check-input:disabled {
background-color: #eceef1;
}
.form-check-input:checked, .form-check-input[type=checkbox]:indeterminate {
background-color: #696cff;
border-color: #696cff;
background-color: #11726d;
border-color: #11726d;
box-shadow: 0 2px 4px 0 rgba(105, 108, 255, 0.4);
}
.custom-option.checked {
border: 1px solid #696cff;
border: 1px solid #11726d;
}
.form-switch .form-check-input:focus {
@ -340,18 +340,18 @@ button.list-group-item-primary.active {
}
.form-control:focus ~ .form-label {
border-color: #696cff;
border-color: #11726d;
}
.form-control:focus ~ .form-label::after {
border-color: inherit;
}
.divider.divider-primary .divider-text:before, .divider.divider-primary .divider-text:after {
border-color: #696cff;
border-color: #11726d;
}
.navbar.bg-primary {
background-color: #696cff !important;
background-color: #11726d !important;
color: #e0e1ff;
}
.navbar.bg-primary .navbar-brand,
@ -369,7 +369,7 @@ button.list-group-item-primary.active {
}
.navbar.bg-primary .search-input-wrapper .search-input,
.navbar.bg-primary .search-input-wrapper .search-toggler {
background-color: #696cff !important;
background-color: #11726d !important;
color: #e0e1ff;
}
.navbar.bg-primary .navbar-nav > .nav-link,
@ -416,7 +416,7 @@ button.list-group-item-primary.active {
}
.menu.bg-primary {
background-color: #696cff !important;
background-color: #11726d !important;
color: #e0e1ff;
}
.menu.bg-primary .menu-link,
@ -460,7 +460,7 @@ button.list-group-item-primary.active {
color: #e0e1ff;
}
.menu.bg-primary .menu-inner-shadow {
background: linear-gradient(#696cff 41%, rgba(105, 108, 255, 0.11) 95%, rgba(105, 108, 255, 0));
background: linear-gradient(#11726d 41%, rgba(105, 108, 255, 0.11) 95%, rgba(105, 108, 255, 0));
}
.menu.bg-primary .menu-text {
color: #fff;
@ -495,7 +495,7 @@ button.list-group-item-primary.active {
}
.footer.bg-primary {
background-color: #696cff !important;
background-color: #11726d !important;
color: #e0e1ff;
}
.footer.bg-primary .footer-link {
@ -529,42 +529,42 @@ button.list-group-item-primary.active {
color: #fff;
}
.bg-primary.toast .toast-header .btn-close, .bg-primary.bs-toast .toast-header .btn-close {
background-color: #696cff !important;
background-color: #11726d !important;
background-image: url("data:image/svg+xml,%3Csvg width='150px' height='151px' viewBox='0 0 150 151' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cdefs%3E%3Cpolygon id='path-1' points='131.251657 0 74.9933705 56.25 18.7483426 0 0 18.75 56.2450278 75 0 131.25 18.7483426 150 74.9933705 93.75 131.251657 150 150 131.25 93.7549722 75 150 18.75'%3E%3C/polygon%3E%3C/defs%3E%3Cg id='🎨-%5BSetup%5D:-Colors-&amp;-Shadows' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='Artboard' transform='translate(-225.000000, -250.000000)'%3E%3Cg id='Icon-Color' transform='translate(225.000000, 250.500000)'%3E%3Cuse fill='%23fff' xlink:href='%23path-1'%3E%3C/use%3E%3Cuse fill-opacity='1' fill='%23fff' xlink:href='%23path-1'%3E%3C/use%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
box-shadow: 0 0.1875rem 0.375rem 0 rgba(105, 108, 255, 0.4) !important;
}
.form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
color: #696cff;
color: #11726d;
}
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
color: #696cff;
color: #11726d;
}
.form-floating > .form-control:-webkit-autofill ~ label {
color: #696cff;
color: #11726d;
}
.svg-illustration svg {
fill: #696cff;
fill: #11726d;
}
html:not([dir=rtl]) .border-primary,
html[dir=rtl] .border-primary {
border-color: #696cff !important;
border-color: #11726d !important;
}
a {
color: #696cff;
color: #11726d;
}
a:hover {
color: #787bff;
}
.fill-primary {
fill: #696cff;
fill: #11726d;
}
.bg-navbar-theme {
@ -750,25 +750,25 @@ html:not(.layout-menu-collapsed) .bg-menu-theme .menu-inner .menu-item .menu-lin
background-color: rgba(67, 89, 113, 0.04);
}
.bg-menu-theme .menu-inner .menu-sub > .menu-item.active .menu-icon {
color: #696cff;
color: #11726d;
}
.bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
color: #696cff;
background-color: rgba(105, 108, 255, 0.16) !important;
color: white;
background-image: linear-gradient(to bottom right,rgb(10,10,56,1.16),rgb(20, 158, 132,1.16)) !important;
}
.bg-menu-theme .menu-inner > .menu-item.active:before {
background: #696cff;
background-image: linear-gradient(to bottom right,rgb(10,10,56),rgb(20, 158, 132));
}
.bg-menu-theme .menu-sub > .menu-item > .menu-link:before {
background-color: #b4bdc6 !important;
}
.bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
background-color: #696cff !important;
background-color: #11726d !important;
border: 3px solid #e7e7ff !important;
}
.app-brand .layout-menu-toggle {
background-color: #696cff;
background-color: #11726d;
border: 7px solid #f5f5f9;
}
.app-brand .layout-menu-toggle i {

10
Client/wwwroot/index.html

@ -16,8 +16,6 @@
<!-- MDB -->
<!--<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.2.0/mdb.min.css"
rel="stylesheet" />-->
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
@ -35,14 +33,6 @@
<link rel="stylesheet" href="assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.css" />
<link rel="stylesheet" href="assets/vendor/libs/apex-charts/apex-charts.css" />
<!-- Page CSS -->
<!-- Helpers -->
<script src="assets/vendor/js/helpers.js"></script>
<!--! Template customizer & Theme config files MUST be included after core stylesheets and helpers.js in the <head> section -->
<!--? Config: Mandatory theme config file contain global vars & default theme options, Set your preferred theme option in this file. -->
<script src="assets/js/config.js"></script>
<link href="Biskilog_Accounting.Client.styles.css" rel="stylesheet" />
</head>

Loading…
Cancel
Save