Refresh grafico x SHERPA
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<div class="container-fluid">
|
||||
@if (!showText)
|
||||
{
|
||||
<a class="navbar-brand p-0" @onclick="() => ToggleCompress()">SA <i class="fas fa-caret-square-right"></i></a>
|
||||
<a class="navbar-brand p-0" @onclick="() => ToggleCompress()">AD <i class="fas fa-caret-square-right"></i></a>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -11,23 +11,6 @@ namespace SHERPA.AD.Shared
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
protected string hideText { get => showText ? "" : "invisible"; }
|
||||
protected bool showText { get; set; } = true;
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected void ToggleCompress()
|
||||
{
|
||||
showText = !showText;
|
||||
EC_compressUpdated.InvokeAsync(showText);
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private bool collapseNavMenu = true;
|
||||
@@ -36,12 +19,20 @@ namespace SHERPA.AD.Shared
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private string hideText { get => showText ? "" : "invisible"; }
|
||||
private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null;
|
||||
private bool showText { get; set; } = true;
|
||||
|
||||
#endregion Private Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void ToggleCompress()
|
||||
{
|
||||
showText = !showText;
|
||||
EC_compressUpdated.InvokeAsync(showText);
|
||||
}
|
||||
|
||||
private void ToggleNavMenu()
|
||||
{
|
||||
collapseNavMenu = !collapseNavMenu;
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
}
|
||||
.top-row {
|
||||
height: 3.5rem;
|
||||
/*background-color: rgb(247, 223, 199)*/
|
||||
/*background: linear-gradient(135deg, #c8850c 0%, #F7EF99 30%, #c8850c 100%);*/
|
||||
background: #2E2E2E;
|
||||
background: linear-gradient(90deg, #000000 0%, #212121 60%, #2E2E2E 100%);
|
||||
}
|
||||
.navbar-brand {
|
||||
font-size: 1.5rem;
|
||||
|
||||
@@ -8,9 +8,7 @@
|
||||
|
||||
.top-row {
|
||||
height: 3.5rem;
|
||||
/*background-color: rgb(247, 223, 199)*/
|
||||
/*background: linear-gradient(135deg, #c8850c 0%, #F7EF99 30%, #c8850c 100%);*/
|
||||
background: #2E2E2E;
|
||||
background: linear-gradient(90deg, #000000 0%, #212121 60%, #2E2E2E 100%);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
.navbar-toggler{background-color:rgba(255,255,255,.1);}.navbar-home{background-color:#f7dfc7;}.top-row{height:3.5rem;background:#2e2e2e;}.navbar-brand{font-size:1.5rem;font-weight:bold;background:-webkit-linear-gradient(135deg,#d8951c 0%,#faf2a2 30%,#c8850c 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}.oi{width:2rem;font-size:1.1rem;vertical-align:text-top;top:-2px;}.nav-item{font-size:.9rem;padding-bottom:.5rem;}.nav-item:first-of-type{padding-top:1rem;}.nav-item:last-of-type{padding-bottom:1rem;}.nav-item ::deep a{color:#d7d7d7;border-radius:4px;height:3rem;display:flex;align-items:center;line-height:3rem;}.nav-item ::deep a.active{background-color:rgba(255,255,255,.25);color:#fff;}.nav-item ::deep a:hover{background-color:rgba(255,255,255,.1);color:#fff;}@media(min-width:641px){.navbar-toggler{display:none;}.collapse{display:block;}}
|
||||
.navbar-toggler{background-color:rgba(255,255,255,.1);}.navbar-home{background-color:#f7dfc7;}.top-row{height:3.5rem;background:linear-gradient(90deg,#000 0%,#212121 60%,#2e2e2e 100%);}.navbar-brand{font-size:1.5rem;font-weight:bold;background:-webkit-linear-gradient(135deg,#d8951c 0%,#faf2a2 30%,#c8850c 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}.oi{width:2rem;font-size:1.1rem;vertical-align:text-top;top:-2px;}.nav-item{font-size:.9rem;padding-bottom:.5rem;}.nav-item:first-of-type{padding-top:1rem;}.nav-item:last-of-type{padding-bottom:1rem;}.nav-item ::deep a{color:#d7d7d7;border-radius:4px;height:3rem;display:flex;align-items:center;line-height:3rem;}.nav-item ::deep a.active{background-color:rgba(255,255,255,.25);color:#fff;}.nav-item ::deep a:hover{background-color:rgba(255,255,255,.1);color:#fff;}@media(min-width:641px){.navbar-toggler{display:none;}.collapse{display:block;}}
|
||||
@@ -4,6 +4,76 @@
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="Migrations\202105111732450_InitDb.cs" />
|
||||
<Compile Remove="Migrations\202105111732450_InitDb.Designer.cs" />
|
||||
<Compile Remove="Migrations\202105130633114_NoteDocAdded.cs" />
|
||||
<Compile Remove="Migrations\202105130633114_NoteDocAdded.Designer.cs" />
|
||||
<Compile Remove="Migrations\202105241245378_AddNoteToResource.cs" />
|
||||
<Compile Remove="Migrations\202105241245378_AddNoteToResource.Designer.cs" />
|
||||
<Compile Remove="Migrations\202105241302362_AddNumFatt.cs" />
|
||||
<Compile Remove="Migrations\202105241302362_AddNumFatt.Designer.cs" />
|
||||
<Compile Remove="Migrations\202105241339432_AddNumFatt1.cs" />
|
||||
<Compile Remove="Migrations\202105241339432_AddNumFatt1.Designer.cs" />
|
||||
<Compile Remove="Migrations\202105251949349_DocAddDraft.cs" />
|
||||
<Compile Remove="Migrations\202105251949349_DocAddDraft.Designer.cs" />
|
||||
<Compile Remove="Migrations\202106171128514_AddCompany.cs" />
|
||||
<Compile Remove="Migrations\202106171128514_AddCompany.Designer.cs" />
|
||||
<Compile Remove="Migrations\202106171238132_UpdNegotiations01.cs" />
|
||||
<Compile Remove="Migrations\202106171238132_UpdNegotiations01.Designer.cs" />
|
||||
<Compile Remove="Migrations\202106171241509_UpdNegotiations02.cs" />
|
||||
<Compile Remove="Migrations\202106171241509_UpdNegotiations02.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111251737463_UpdateBasket.cs" />
|
||||
<Compile Remove="Migrations\202111251737463_UpdateBasket.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111251739068_UpdateBasket01.cs" />
|
||||
<Compile Remove="Migrations\202111251739068_UpdateBasket01.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111260951311_UpdNegotiations03.cs" />
|
||||
<Compile Remove="Migrations\202111260951311_UpdNegotiations03.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111261033473_UpdNegotiations04.cs" />
|
||||
<Compile Remove="Migrations\202111261033473_UpdNegotiations04.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111261043291_UpdNegotiations05.cs" />
|
||||
<Compile Remove="Migrations\202111261043291_UpdNegotiations05.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111261054212_UpdNegotiations06.cs" />
|
||||
<Compile Remove="Migrations\202111261054212_UpdNegotiations06.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111261713139_UpdateDocs01.cs" />
|
||||
<Compile Remove="Migrations\202111261713139_UpdateDocs01.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111291104133_UpdNegotiations07.cs" />
|
||||
<Compile Remove="Migrations\202111291104133_UpdNegotiations07.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111291105510_UpdNegotiations08.cs" />
|
||||
<Compile Remove="Migrations\202111291105510_UpdNegotiations08.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111291331530_UpdDocResAnno.cs" />
|
||||
<Compile Remove="Migrations\202111291331530_UpdDocResAnno.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111291442576_UpdNEgotAnno.cs" />
|
||||
<Compile Remove="Migrations\202111291442576_UpdNEgotAnno.Designer.cs" />
|
||||
<Compile Remove="Migrations\202111291635443_AddTagsItem.cs" />
|
||||
<Compile Remove="Migrations\202111291635443_AddTagsItem.Designer.cs" />
|
||||
<Compile Remove="Migrations\Configuration.cs" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Remove="Migrations\202105111732450_InitDb.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202105130633114_NoteDocAdded.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202105241245378_AddNoteToResource.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202105241302362_AddNumFatt.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202105241339432_AddNumFatt1.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202105251949349_DocAddDraft.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202106171128514_AddCompany.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202106171238132_UpdNegotiations01.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202106171241509_UpdNegotiations02.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111251737463_UpdateBasket.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111251739068_UpdateBasket01.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111260951311_UpdNegotiations03.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111261033473_UpdNegotiations04.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111261043291_UpdNegotiations05.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111261054212_UpdNegotiations06.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111261713139_UpdateDocs01.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111291104133_UpdNegotiations07.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111291105510_UpdNegotiations08.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111291331530_UpdDocResAnno.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111291442576_UpdNEgotAnno.resx" />
|
||||
<EmbeddedResource Remove="Migrations\202111291635443_AddTagsItem.resx" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.13" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Relational" Version="6.0.13" />
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<UserSecretsId>60fcdaab-6c1e-4bec-9d88-f7727ef1c12c</UserSecretsId>
|
||||
<ApplicationIcon>wwwroot\favicon.ico</ApplicationIcon>
|
||||
<Version>1.0.2307.0508</Version>
|
||||
<Version>1.0.2307.0517</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<Copyright>Egalware 2021+</Copyright>
|
||||
|
||||
@@ -1,9 +1,18 @@
|
||||
<div class="top-row pl-4 navbar navbar-dark">
|
||||
<a class="navbar-brand" href="">SHERPA.BBM.UI</a>
|
||||
<button class="navbar-toggler" @onclick="ToggleNavMenu">
|
||||
<div class="top-row ps-2 navbar">
|
||||
<div class="container-fluid">
|
||||
@if (!showText)
|
||||
{
|
||||
<a class="navbar-brand p-0" @onclick="() => ToggleCompress()">BBM <i class="fas fa-caret-square-right"></i></a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<a class="navbar-brand" @onclick="() => ToggleCompress()">SHERPA.BBM <i class="fas fa-caret-square-left compresser"></i></a>
|
||||
}
|
||||
<button title="Navigation menu" class="navbar-toggler" @onclick="ToggleNavMenu">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="@NavMenuCssClass" @onclick="ToggleNavMenu">
|
||||
<ul class="nav flex-column titleFont">
|
||||
<li class="nav-item px-3">
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
using Microsoft.AspNetCore.Components;
|
||||
|
||||
namespace SHERPA.BBM.UI.Shared
|
||||
{
|
||||
public partial class NavMenu
|
||||
{
|
||||
#region Public Properties
|
||||
|
||||
[Parameter]
|
||||
public EventCallback<bool> EC_compressUpdated { get; set; }
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private bool collapseNavMenu = true;
|
||||
@@ -10,12 +19,20 @@ namespace SHERPA.BBM.UI.Shared
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private string hideText { get => showText ? "" : "invisible"; }
|
||||
private string NavMenuCssClass => collapseNavMenu ? "collapse" : "";
|
||||
private bool showText { get; set; } = true;
|
||||
|
||||
#endregion Private Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void ToggleCompress()
|
||||
{
|
||||
showText = !showText;
|
||||
EC_compressUpdated.InvokeAsync(showText);
|
||||
}
|
||||
|
||||
private void ToggleNavMenu()
|
||||
{
|
||||
collapseNavMenu = !collapseNavMenu;
|
||||
|
||||
@@ -1,36 +1,36 @@
|
||||
.navbar-toggler {
|
||||
.navbar-toggler {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.navbar-home {
|
||||
background-color: #f7dfc7;
|
||||
}
|
||||
.top-row {
|
||||
height: 3.5rem;
|
||||
background-color: rgba(0,0,0,0.4);
|
||||
background: linear-gradient(90deg, #000000 0%, #212121 60%, #2E2E2E 100%);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 1.1rem;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
background: -webkit-linear-gradient(135deg, #D8951C 0%, #FAF2A2 30%, #c8850c 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.oi {
|
||||
width: 2rem;
|
||||
font-size: 1.1rem;
|
||||
vertical-align: text-top;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
font-size: 0.9rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.nav-item:first-of-type {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.nav-item:last-of-type {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.nav-item ::deep a {
|
||||
color: #d7d7d7;
|
||||
border-radius: 4px;
|
||||
@@ -39,22 +39,18 @@
|
||||
align-items: center;
|
||||
line-height: 3rem;
|
||||
}
|
||||
|
||||
.nav-item ::deep a.active {
|
||||
background-color: rgba(255, 255, 255, 0.25);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.nav-item ::deep a:hover {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media (min-width: 641px) {
|
||||
.navbar-toggler {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.collapse {
|
||||
/* Never collapse the sidebar for wide screens */
|
||||
display: block;
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
.navbar-toggler {
|
||||
background-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.navbar-home {
|
||||
background-color: rgb(247, 223, 199, 0.8);
|
||||
}
|
||||
|
||||
.top-row {
|
||||
height: 3.5rem;
|
||||
background: linear-gradient(90deg, #000000 0%, #212121 60%, #2E2E2E 100%);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
background: -webkit-linear-gradient(135deg, #D8951C 0%, #FAF2A2 30%, #c8850c 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
|
||||
.oi {
|
||||
width: 2rem;
|
||||
font-size: 1.1rem;
|
||||
vertical-align: text-top;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.nav-item {
|
||||
font-size: 0.9rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.nav-item:first-of-type {
|
||||
padding-top: 1rem;
|
||||
}
|
||||
|
||||
.nav-item:last-of-type {
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
.nav-item ::deep a {
|
||||
color: #d7d7d7;
|
||||
border-radius: 4px;
|
||||
height: 3rem;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 3rem;
|
||||
}
|
||||
|
||||
.nav-item ::deep a.active {
|
||||
background-color: rgba(255,255,255,0.25);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.nav-item ::deep a:hover {
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
color: white;
|
||||
}
|
||||
|
||||
@media (min-width: 641px) {
|
||||
.navbar-toggler {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.collapse {
|
||||
/* Never collapse the sidebar for wide screens */
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
+1
@@ -0,0 +1 @@
|
||||
.navbar-toggler{background-color:rgba(255,255,255,.1);}.navbar-home{background-color:#f7dfc7;}.top-row{height:3.5rem;background:linear-gradient(90deg,#000 0%,#212121 60%,#2e2e2e 100%);}.navbar-brand{font-size:1.5rem;font-weight:bold;background:-webkit-linear-gradient(135deg,#d8951c 0%,#faf2a2 30%,#c8850c 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}.oi{width:2rem;font-size:1.1rem;vertical-align:text-top;top:-2px;}.nav-item{font-size:.9rem;padding-bottom:.5rem;}.nav-item:first-of-type{padding-top:1rem;}.nav-item:last-of-type{padding-bottom:1rem;}.nav-item ::deep a{color:#d7d7d7;border-radius:4px;height:3rem;display:flex;align-items:center;line-height:3rem;}.nav-item ::deep a.active{background-color:rgba(255,255,255,.25);color:#fff;}.nav-item ::deep a:hover{background-color:rgba(255,255,255,.1);color:#fff;}@media(min-width:641px){.navbar-toggler{display:none;}.collapse{display:block;}}
|
||||
@@ -6,5 +6,9 @@
|
||||
{
|
||||
"outputFile": "wwwroot/css/fonts.css",
|
||||
"inputFile": "wwwroot/css/fonts.less"
|
||||
},
|
||||
{
|
||||
"outputFile": "Shared/NavMenu.razor.css",
|
||||
"inputFile": "Shared/NavMenu.razor.less"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user