diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/App.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/App.razor deleted file mode 100644 index 6fd3ed1b..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/App.razor +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Not found - -

Sorry, there's nothing at this address.

-
-
-
diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/App.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/App.razor new file mode 100644 index 00000000..5fb132e4 --- /dev/null +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/App.razor @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/MainLayout.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/MainLayout.razor similarity index 53% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/MainLayout.razor rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/MainLayout.razor index 19c24284..5a24bb13 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/MainLayout.razor +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/MainLayout.razor @@ -1,7 +1,5 @@ @inherits LayoutComponentBase -Without-Default-Options -
+ +
+ An unhandled error has occurred. + Reload + 🗙 +
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/MainLayout.razor.css b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/MainLayout.razor.css similarity index 56% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/MainLayout.razor.css rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/MainLayout.razor.css index 551e4b27..038baf17 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/MainLayout.razor.css +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/MainLayout.razor.css @@ -21,26 +21,27 @@ main { align-items: center; } - .top-row ::deep a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { white-space: nowrap; margin-left: 1.5rem; + text-decoration: none; } - .top-row a:first-child { + .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; + } + + .top-row ::deep a:first-child { overflow: hidden; text-overflow: ellipsis; } @media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { + .top-row { justify-content: space-between; } - .top-row a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { margin-left: 0; } } @@ -63,8 +64,33 @@ main { z-index: 1; } + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } + .top-row, article { padding-left: 2rem !important; padding-right: 1.5rem !important; } } + +#blazor-error-ui { + background: lightyellow; + bottom: 0; + box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); + display: none; + left: 0; + padding: 0.6rem 1.25rem 0.7rem 1.25rem; + position: fixed; + width: 100%; + z-index: 1000; +} + + #blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; + } diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/NavMenu.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/NavMenu.razor new file mode 100644 index 00000000..707d536b --- /dev/null +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/NavMenu.razor @@ -0,0 +1,30 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/NavMenu.razor.css b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/NavMenu.razor.css new file mode 100644 index 00000000..4e15395e --- /dev/null +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Layout/NavMenu.razor.css @@ -0,0 +1,105 @@ +.navbar-toggler { + appearance: none; + cursor: pointer; + width: 3.5rem; + height: 2.5rem; + color: white; + position: absolute; + top: 0.5rem; + right: 1rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1); +} + +.navbar-toggler:checked { + background-color: rgba(255, 255, 255, 0.5); +} + +.top-row { + height: 3.5rem; + background-color: rgba(0,0,0,0.4); +} + +.navbar-brand { + font-size: 1.1rem; +} + +.bi { + display: inline-block; + position: relative; + width: 1.25rem; + height: 1.25rem; + margin-right: 0.75rem; + top: -1px; + background-size: cover; +} + +.bi-house-door-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E"); +} + +.bi-plus-square-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E"); +} + +.bi-list-nested-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); +} + +.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 .nav-link { + color: #d7d7d7; + background: none; + border: none; + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + width: 100%; + } + +.nav-item ::deep a.active { + background-color: rgba(255,255,255,0.37); + color: white; +} + +.nav-item ::deep .nav-link:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +.nav-scrollable { + display: none; +} + +.navbar-toggler:checked ~ .nav-scrollable { + display: block; +} + +@media (min-width: 641px) { + .navbar-toggler { + display: none; + } + + .nav-scrollable { + /* Never collapse the sidebar for wide screens */ + display: block; + + /* Allow sidebar to scroll for tall menus */ + height: calc(100vh - 3.5rem); + overflow-y: auto; + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Counter.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Counter.razor similarity index 91% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Counter.razor rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Counter.razor index ef23cb31..1a4f8e75 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Counter.razor +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Counter.razor @@ -1,4 +1,5 @@ @page "/counter" +@rendermode InteractiveServer Counter diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Error.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Error.razor new file mode 100644 index 00000000..576cc2d2 --- /dev/null +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Error.razor @@ -0,0 +1,36 @@ +@page "/Error" +@using System.Diagnostics + +Error + +

Error.

+

An error occurred while processing your request.

+ +@if (ShowRequestId) +{ +

+ Request ID: @RequestId +

+} + +

Development Mode

+

+ Swapping to Development environment will display more detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

+ +@code{ + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; +} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Example.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Example.razor similarity index 100% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Example.razor rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Example.razor diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Index.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Home.razor similarity index 100% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Index.razor rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Home.razor diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/ReArrange.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/ReArrange.razor similarity index 100% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/ReArrange.razor rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/ReArrange.razor diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Weather.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Weather.razor new file mode 100644 index 00000000..43a1ecbe --- /dev/null +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Pages/Weather.razor @@ -0,0 +1,64 @@ +@page "/weather" +@attribute [StreamRendering] + +Weather + +

Weather

+ +

This component demonstrates showing data.

+ +@if (forecasts == null) +{ +

Loading...

+} +else +{ + + + + + + + + + + + @foreach (var forecast in forecasts) + { + + + + + + + } + +
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
+} + +@code { + private WeatherForecast[]? forecasts; + + protected override async Task OnInitializedAsync() + { + // Simulate asynchronous loading to demonstrate streaming rendering + await Task.Delay(500); + + var startDate = DateOnly.FromDateTime(DateTime.Now); + var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; + forecasts = Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = startDate.AddDays(index), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = summaries[Random.Shared.Next(summaries.Length)] + }).ToArray(); + } + + private class WeatherForecast + { + public DateOnly Date { get; set; } + public int TemperatureC { get; set; } + public string? Summary { get; set; } + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + } +} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Routes.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Routes.razor new file mode 100644 index 00000000..f756e19d --- /dev/null +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/Routes.razor @@ -0,0 +1,6 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/_Imports.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/_Imports.razor similarity index 58% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/_Imports.razor rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/_Imports.razor index ab24ea5e..b1a38f78 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/_Imports.razor +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Components/_Imports.razor @@ -1,12 +1,12 @@ @using System.Net.Http -@using Microsoft.AspNetCore.Authorization -@using Microsoft.AspNetCore.Components.Authorization +@using System.Net.Http.Json @using Microsoft.AspNetCore.Components.Forms @using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.JSInterop @using CustomToolbar -@using CustomToolbar.Shared -@using Syncfusion.Blazor; -@using Syncfusion.Blazor.SfPdfViewer; \ No newline at end of file +@using CustomToolbar.Components +@using Syncfusion.Blazor +@using Syncfusion.Blazor.SfPdfViewer \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj index 562206f1..fdfb1afd 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj @@ -1,7 +1,7 @@ - net7.0 + net8.0 enable enable diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj.user b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj.user deleted file mode 100644 index 9ff5820a..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - https - - \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar.sln b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.sln similarity index 60% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar.sln rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.sln index 0229afc0..1f1b85f1 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar.sln +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/CustomToolbar.sln @@ -1,9 +1,8 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 -VisualStudioVersion = 17.10.34607.79 +VisualStudioVersion = 17.5.2.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomToolbar", "CustomToolbar\CustomToolbar.csproj", "{7159B758-ACD2-4275-B2C9-6F72ADE23ED5}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CustomToolbar", "CustomToolbar.csproj", "{BDB4645E-EC1F-6D00-4FE7-2C6AB5166375}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +10,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {7159B758-ACD2-4275-B2C9-6F72ADE23ED5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7159B758-ACD2-4275-B2C9-6F72ADE23ED5}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7159B758-ACD2-4275-B2C9-6F72ADE23ED5}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7159B758-ACD2-4275-B2C9-6F72ADE23ED5}.Release|Any CPU.Build.0 = Release|Any CPU + {BDB4645E-EC1F-6D00-4FE7-2C6AB5166375}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BDB4645E-EC1F-6D00-4FE7-2C6AB5166375}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BDB4645E-EC1F-6D00-4FE7-2C6AB5166375}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BDB4645E-EC1F-6D00-4FE7-2C6AB5166375}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {DBDD3F7E-46A1-4658-8AF0-6F58C15ACC92} + SolutionGuid = {C3C6F1FE-EC55-44FB-AE8C-A5E1FEBFEE12} EndGlobalSection EndGlobal diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Data/WeatherForecast.cs b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Data/WeatherForecast.cs deleted file mode 100644 index 4a115234..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Data/WeatherForecast.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace CustomToolbar.Data -{ - public class WeatherForecast - { - public DateOnly Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } - } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Data/WeatherForecastService.cs b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Data/WeatherForecastService.cs deleted file mode 100644 index 816cb318..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Data/WeatherForecastService.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace CustomToolbar.Data -{ - public class WeatherForecastService - { - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - public Task GetForecastAsync(DateOnly startDate) - { - return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }).ToArray()); - } - } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Counter.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Counter.razor deleted file mode 100644 index 259156c3..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Counter.razor +++ /dev/null @@ -1,27 +0,0 @@ -@page "/counter" -@using Syncfusion.Blazor.SfPdfViewer - - - - - -@code { - - public string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"; - - List ToolbarItems = new List() - { - ToolbarItem.OpenOption, - ToolbarItem.PageNavigationTool, - ToolbarItem.AnnotationEditTool, - ToolbarItem.SearchOption, - ToolbarItem.DownloadOption, - }; - - List MobileToolbarItems = new List() - { - MobileToolbarItem.Open, - MobileToolbarItem.UndoRedo, - MobileToolbarItem.EditAnnotation, - }; -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/CustomTools.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/CustomTools.razor deleted file mode 100644 index 75ea760e..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/CustomTools.razor +++ /dev/null @@ -1,51 +0,0 @@ -@page "/customtool" -@using Syncfusion.Blazor.SfPdfViewer; -@using Syncfusion.Blazor.Navigations; - - - - - - -@code { - - SfPdfViewer2 Viewer; - MemoryStream stream; - - private string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"; - - // List provide the position and element for the custom toolbar items - public List CustomToolbarItems = new List() - { - new PdfToolbarItem (){ Template = @GetTemplate("Save")} - }; - - // Get the renderfragment element for the custom toolbaritems in the primary toolbar - private static RenderFragment GetTemplate(string name) - { - return __builder => - { - if (name == "Save") - { - - - } - }; - } - - // Click for the custom toolbar items in the primary toolbar - public async void ClickAction(ClickEventArgs Item) - { - if (Item.Item.Id == "save") - { - //Gets the loaded PDF document with the changes. - byte[] data = await Viewer.GetDocumentAsync(); - //Save the PDF document to a MemoryStream. - stream = new MemoryStream(data); - } - } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Error.cshtml b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Error.cshtml deleted file mode 100644 index 38135750..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Error.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@model CustomToolbar.Pages.ErrorModel - - - - - - - - Error - - - - - -
-
-

Error.

-

An error occurred while processing your request.

- - @if (Model.ShowRequestId) - { -

- Request ID: @Model.RequestId -

- } - -

Development Mode

-

- Swapping to the Development environment displays detailed information about the error that occurred. -

-

- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. -

-
-
- - - diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Error.cshtml.cs b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Error.cshtml.cs deleted file mode 100644 index ca8fb1cd..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/Error.cshtml.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; -using System.Diagnostics; - -namespace CustomToolbar.Pages -{ - [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - [IgnoreAntiforgeryToken] - public class ErrorModel : PageModel - { - public string? RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - - private readonly ILogger _logger; - - public ErrorModel(ILogger logger) - { - _logger = logger; - } - - public void OnGet() - { - RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; - } - } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/_Host.cshtml b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/_Host.cshtml deleted file mode 100644 index 78f1185e..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Pages/_Host.cshtml +++ /dev/null @@ -1,36 +0,0 @@ -@page "/" -@using Microsoft.AspNetCore.Components.Web -@namespace CustomToolbar.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - - - - - - - - - - - - - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- - - - diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Program.cs b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Program.cs index 10246c21..c52c97ad 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Program.cs +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Program.cs @@ -1,21 +1,20 @@ -using CustomToolbar.Data; -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Web; +using CustomToolbar.Components; using Syncfusion.Blazor; - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. -builder.Services.AddRazorPages(); -builder.Services.AddServerSideBlazor(); +builder.Services.AddRazorComponents() + .AddInteractiveServerComponents(); builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; }); +builder.Services.AddMemoryCache(); +//Add Syncfusion Blazor service to the container. builder.Services.AddSyncfusionBlazor(); + var app = builder.Build(); // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) { - app.UseExceptionHandler("/Error"); + app.UseExceptionHandler("/Error", createScopeForErrors: true); // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } @@ -23,10 +22,9 @@ app.UseHttpsRedirection(); app.UseStaticFiles(); +app.UseAntiforgery(); -app.UseRouting(); - -app.MapBlazorHub(); -app.MapFallbackToPage("/_Host"); +app.MapRazorComponents() + .AddInteractiveServerRenderMode(); app.Run(); diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Properties/launchSettings.json b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Properties/launchSettings.json index b0e85264..e3ff1a40 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Properties/launchSettings.json +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Properties/launchSettings.json @@ -1,37 +1,38 @@ { - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:45708", - "sslPort": 44335 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5273", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7146;http://localhost:5273", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:47617", + "sslPort": 44322 } }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5017", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7243;http://localhost:5017", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } } } } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/NavMenu.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/NavMenu.razor deleted file mode 100644 index acb369f3..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/NavMenu.razor +++ /dev/null @@ -1,49 +0,0 @@ - - - - -@code { - private bool collapseNavMenu = true; - - private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/NavMenu.razor.css b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/NavMenu.razor.css deleted file mode 100644 index 604b7a1a..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/NavMenu.razor.css +++ /dev/null @@ -1,68 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.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; - } - - .nav-scrollable { - /* Allow sidebar to scroll for tall menus */ - height: calc(100vh - 3.5rem); - overflow-y: auto; - } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/SurveyPrompt.razor b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/SurveyPrompt.razor deleted file mode 100644 index ec64baaa..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/appsettings.Development.json b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/appsettings.Development.json index 770d3e93..0c208ae9 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/appsettings.Development.json +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/appsettings.Development.json @@ -1,5 +1,4 @@ { - "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/site.css b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/app.css similarity index 82% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/site.css rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/app.css index 96b05836..2bd9b789 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/site.css +++ b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/app.css @@ -1,15 +1,9 @@ -@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); - html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } -h1:focus { - outline: none; -} - a, .btn-link { - color: #0071c1; + color: #006bb7; } .btn-primary { @@ -26,37 +20,22 @@ a, .btn-link { padding-top: 1.1rem; } +h1:focus { + outline: none; +} + .valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; } .invalid { - outline: 1px solid red; + outline: 1px solid #e50000; } .validation-message { - color: red; -} - -#blazor-error-ui { - background: lightyellow; - bottom: 0; - box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); - display: none; - left: 0; - padding: 0.6rem 1.25rem 0.7rem 1.25rem; - position: fixed; - width: 100%; - z-index: 1000; + color: #e50000; } - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } - .blazor-error-boundary { background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; padding: 1rem 1rem 1rem 3.7rem; @@ -66,3 +45,7 @@ a, .btn-link { .blazor-error-boundary::after { content: "An error has occurred." } + +.darker-border-checkbox.form-check-input { + border-color: #929292; +} diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/bootstrap/bootstrap.min.css b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/bootstrap/bootstrap.min.css similarity index 100% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/bootstrap/bootstrap.min.css rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/bootstrap/bootstrap.min.css diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/bootstrap/bootstrap.min.css.map b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/bootstrap/bootstrap.min.css.map similarity index 100% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/bootstrap/bootstrap.min.css.map rename to Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/bootstrap/bootstrap.min.css.map diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/FONT-LICENSE b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/FONT-LICENSE deleted file mode 100644 index a1dc03f3..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/FONT-LICENSE +++ /dev/null @@ -1,86 +0,0 @@ -SIL OPEN FONT LICENSE Version 1.1 - -Copyright (c) 2014 Waybury - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/ICON-LICENSE b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/ICON-LICENSE deleted file mode 100644 index 2199f4a6..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/ICON-LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Waybury - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/README.md b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/README.md deleted file mode 100644 index e34bd86a..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/README.md +++ /dev/null @@ -1,114 +0,0 @@ -[Open Iconic v1.1.1](https://github.com/iconic/open-iconic) -=========== - -### Open Iconic is the open source sibling of [Iconic](https://github.com/iconic/open-iconic). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](https://github.com/iconic/open-iconic) - - - -## What's in Open Iconic? - -* 223 icons designed to be legible down to 8 pixels -* Super-light SVG files - 61.8 for the entire set -* SVG sprite—the modern replacement for icon fonts -* Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats -* Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats -* PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. - - -## Getting Started - -#### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](https://github.com/iconic/open-iconic) and [Reference](https://github.com/iconic/open-iconic) sections. - -### General Usage - -#### Using Open Iconic's SVGs - -We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). - -``` -icon name -``` - -#### Using Open Iconic's SVG Sprite - -Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. - -Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* - -``` - - - -``` - -Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. - -``` -.icon { - width: 16px; - height: 16px; -} -``` - -Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. - -``` -.icon-account-login { - fill: #f00; -} -``` - -To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). - -#### Using Open Iconic's Icon Font... - - -##### …with Bootstrap - -You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` - - -``` - -``` - - -``` - -``` - -##### …with Foundation - -You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` - -``` - -``` - - -``` - -``` - -##### …on its own - -You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` - -``` - -``` - -``` - -``` - - -## License - -### Icons - -All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). - -### Fonts - -All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css deleted file mode 100644 index 4664f2e8..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.eot b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.eot deleted file mode 100644 index f98177db..00000000 Binary files a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.eot and /dev/null differ diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.otf b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.otf deleted file mode 100644 index f6bd6846..00000000 Binary files a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.otf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.svg b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.svg deleted file mode 100644 index 32b2c4e9..00000000 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.svg +++ /dev/null @@ -1,543 +0,0 @@ - - - - - -Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014 - By P.J. Onori -Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf deleted file mode 100644 index fab60486..00000000 Binary files a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.woff b/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.woff deleted file mode 100644 index f9309988..00000000 Binary files a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/open-iconic/font/fonts/open-iconic.woff and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/App.razor deleted file mode 100644 index 6fd3ed1b..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/App.razor +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Not found - -

Sorry, there's nothing at this address.

-
-
-
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/App.razor new file mode 100644 index 00000000..a4946d2b --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/App.razor @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/MainLayout.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/MainLayout.razor similarity index 53% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/MainLayout.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/MainLayout.razor index 491241b3..5a24bb13 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/MainLayout.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/MainLayout.razor @@ -1,7 +1,5 @@ @inherits LayoutComponentBase -CustomToolbar -
+ +
+ An unhandled error has occurred. + Reload + 🗙 +
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/MainLayout.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/MainLayout.razor.css similarity index 56% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/MainLayout.razor.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/MainLayout.razor.css index 551e4b27..038baf17 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/MainLayout.razor.css +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/MainLayout.razor.css @@ -21,26 +21,27 @@ main { align-items: center; } - .top-row ::deep a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { white-space: nowrap; margin-left: 1.5rem; + text-decoration: none; } - .top-row a:first-child { + .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; + } + + .top-row ::deep a:first-child { overflow: hidden; text-overflow: ellipsis; } @media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { + .top-row { justify-content: space-between; } - .top-row a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { margin-left: 0; } } @@ -63,8 +64,33 @@ main { z-index: 1; } + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } + .top-row, article { padding-left: 2rem !important; padding-right: 1.5rem !important; } } + +#blazor-error-ui { + background: lightyellow; + bottom: 0; + box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); + display: none; + left: 0; + padding: 0.6rem 1.25rem 0.7rem 1.25rem; + position: fixed; + width: 100%; + z-index: 1000; +} + + #blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; + } diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/NavMenu.razor new file mode 100644 index 00000000..69fae84d --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/NavMenu.razor @@ -0,0 +1,30 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/NavMenu.razor.css new file mode 100644 index 00000000..4e15395e --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Layout/NavMenu.razor.css @@ -0,0 +1,105 @@ +.navbar-toggler { + appearance: none; + cursor: pointer; + width: 3.5rem; + height: 2.5rem; + color: white; + position: absolute; + top: 0.5rem; + right: 1rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1); +} + +.navbar-toggler:checked { + background-color: rgba(255, 255, 255, 0.5); +} + +.top-row { + height: 3.5rem; + background-color: rgba(0,0,0,0.4); +} + +.navbar-brand { + font-size: 1.1rem; +} + +.bi { + display: inline-block; + position: relative; + width: 1.25rem; + height: 1.25rem; + margin-right: 0.75rem; + top: -1px; + background-size: cover; +} + +.bi-house-door-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E"); +} + +.bi-plus-square-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E"); +} + +.bi-list-nested-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); +} + +.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 .nav-link { + color: #d7d7d7; + background: none; + border: none; + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + width: 100%; + } + +.nav-item ::deep a.active { + background-color: rgba(255,255,255,0.37); + color: white; +} + +.nav-item ::deep .nav-link:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +.nav-scrollable { + display: none; +} + +.navbar-toggler:checked ~ .nav-scrollable { + display: block; +} + +@media (min-width: 641px) { + .navbar-toggler { + display: none; + } + + .nav-scrollable { + /* Never collapse the sidebar for wide screens */ + display: block; + + /* Allow sidebar to scroll for tall menus */ + height: calc(100vh - 3.5rem); + overflow-y: auto; + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Counter.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Counter.razor similarity index 91% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Counter.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Counter.razor index ef23cb31..1a4f8e75 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Counter.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Counter.razor @@ -1,4 +1,5 @@ @page "/counter" +@rendermode InteractiveServer Counter diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Error.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Error.razor new file mode 100644 index 00000000..576cc2d2 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Error.razor @@ -0,0 +1,36 @@ +@page "/Error" +@using System.Diagnostics + +Error + +

Error.

+

An error occurred while processing your request.

+ +@if (ShowRequestId) +{ +

+ Request ID: @RequestId +

+} + +

Development Mode

+

+ Swapping to Development environment will display more detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

+ +@code{ + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Index.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Home.razor similarity index 97% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Index.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Home.razor index 1ebcaf66..36023267 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Index.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Home.razor @@ -9,7 +9,7 @@ @code{ - private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succinctly.pdf"; + private string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"; SfPdfViewer2 Viewer; MemoryStream stream; diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Weather.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Weather.razor new file mode 100644 index 00000000..43a1ecbe --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Pages/Weather.razor @@ -0,0 +1,64 @@ +@page "/weather" +@attribute [StreamRendering] + +Weather + +

Weather

+ +

This component demonstrates showing data.

+ +@if (forecasts == null) +{ +

Loading...

+} +else +{ + + + + + + + + + + + @foreach (var forecast in forecasts) + { + + + + + + + } + +
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
+} + +@code { + private WeatherForecast[]? forecasts; + + protected override async Task OnInitializedAsync() + { + // Simulate asynchronous loading to demonstrate streaming rendering + await Task.Delay(500); + + var startDate = DateOnly.FromDateTime(DateTime.Now); + var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; + forecasts = Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = startDate.AddDays(index), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = summaries[Random.Shared.Next(summaries.Length)] + }).ToArray(); + } + + private class WeatherForecast + { + public DateOnly Date { get; set; } + public int TemperatureC { get; set; } + public string? Summary { get; set; } + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Routes.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Routes.razor new file mode 100644 index 00000000..f756e19d --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/Routes.razor @@ -0,0 +1,6 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/_Imports.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/_Imports.razor similarity index 59% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/_Imports.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/_Imports.razor index 12aeb544..7ed4fa35 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/_Imports.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Components/_Imports.razor @@ -1,10 +1,12 @@ @using System.Net.Http -@using Microsoft.AspNetCore.Authorization -@using Microsoft.AspNetCore.Components.Authorization +@using System.Net.Http.Json @using Microsoft.AspNetCore.Components.Forms @using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.JSInterop @using Icon_Style_Change -@using Icon_Style_Change.Shared +@using Icon_Style_Change.Components +@using Syncfusion.Blazor +@using Syncfusion.Blazor.SfPdfViewer \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Data/WeatherForecast.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Data/WeatherForecast.cs deleted file mode 100644 index 07737518..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Data/WeatherForecast.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace Icon_Style_Change.Data -{ - public class WeatherForecast - { - public DateOnly Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Data/WeatherForecastService.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Data/WeatherForecastService.cs deleted file mode 100644 index 1e96c6e4..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Data/WeatherForecastService.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Icon_Style_Change.Data -{ - public class WeatherForecastService - { - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - public Task GetForecastAsync(DateOnly startDate) - { - return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }).ToArray()); - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj index 9127c7fa..e886cbe5 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj @@ -1,12 +1,16 @@ - net7.0 + net8.0 enable enable + Icon-Style-Change + $(AssemblyName.Replace(' ', '_')) - - - - + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj.user b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj.user deleted file mode 100644 index 9ff5820a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - https - - \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change.sln b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.sln similarity index 60% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change.sln rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.sln index 630d6450..f2dcf484 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change.sln +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Icon-Style-Change.sln @@ -1,9 +1,8 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 -VisualStudioVersion = 17.9.34526.213 +VisualStudioVersion = 17.5.2.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Icon-Style-Change", "Icon-Style-Change\Icon-Style-Change.csproj", "{E0450A89-6646-4BE9-B216-16CDD6E19123}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Icon-Style-Change", "Icon-Style-Change.csproj", "{CA660EFD-DC78-3165-7D60-F4BDB3AA94F4}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +10,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E0450A89-6646-4BE9-B216-16CDD6E19123}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E0450A89-6646-4BE9-B216-16CDD6E19123}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E0450A89-6646-4BE9-B216-16CDD6E19123}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E0450A89-6646-4BE9-B216-16CDD6E19123}.Release|Any CPU.Build.0 = Release|Any CPU + {CA660EFD-DC78-3165-7D60-F4BDB3AA94F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CA660EFD-DC78-3165-7D60-F4BDB3AA94F4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CA660EFD-DC78-3165-7D60-F4BDB3AA94F4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CA660EFD-DC78-3165-7D60-F4BDB3AA94F4}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {8D287B08-68EB-402E-A95E-AB59527F1EF9} + SolutionGuid = {4AD68838-51C2-4379-B0AC-F46B3AD3541D} EndGlobalSection EndGlobal diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Error.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Error.cshtml deleted file mode 100644 index 4152007d..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Error.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@model Icon_Style_Change.Pages.ErrorModel - - - - - - - - Error - - - - - -
-
-

Error.

-

An error occurred while processing your request.

- - @if (Model.ShowRequestId) - { -

- Request ID: @Model.RequestId -

- } - -

Development Mode

-

- Swapping to the Development environment displays detailed information about the error that occurred. -

-

- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. -

-
-
- - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Error.cshtml.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Error.cshtml.cs deleted file mode 100644 index 73a9ff72..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Error.cshtml.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; -using System.Diagnostics; - -namespace Icon_Style_Change.Pages -{ - [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - [IgnoreAntiforgeryToken] - public class ErrorModel : PageModel - { - public string? RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - - private readonly ILogger _logger; - - public ErrorModel(ILogger logger) - { - _logger = logger; - } - - public void OnGet() - { - RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/FetchData.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/FetchData.razor deleted file mode 100644 index aa8f8df9..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/FetchData.razor +++ /dev/null @@ -1,47 +0,0 @@ -@page "/fetchdata" -@using Icon_Style_Change.Data -@inject WeatherForecastService ForecastService - -Weather forecast - -

Weather forecast

- -

This component demonstrates fetching data from a service.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - private WeatherForecast[]? forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await ForecastService.GetForecastAsync(DateOnly.FromDateTime(DateTime.Now)); - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/_Host.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/_Host.cshtml deleted file mode 100644 index f61e3108..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/_Host.cshtml +++ /dev/null @@ -1,36 +0,0 @@ -@page "/" -@using Microsoft.AspNetCore.Components.Web -@namespace Icon_Style_Change.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - - - - - - - - - - - - - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Program.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Program.cs index e7d25b60..5be982b4 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Program.cs +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Program.cs @@ -1,16 +1,12 @@ -using Icon_Style_Change.Data; -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Web; +using Icon_Style_Change.Components; using Syncfusion.Blazor; - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. -builder.Services.AddRazorPages(); -builder.Services.AddServerSideBlazor(); +builder.Services.AddRazorComponents() + .AddInteractiveServerComponents(); builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; }); -builder.Services.AddSingleton(); - +builder.Services.AddMemoryCache(); +//Add Syncfusion Blazor service to the container. builder.Services.AddSyncfusionBlazor(); var app = builder.Build(); @@ -18,7 +14,7 @@ // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) { - app.UseExceptionHandler("/Error"); + app.UseExceptionHandler("/Error", createScopeForErrors: true); // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } @@ -26,10 +22,9 @@ app.UseHttpsRedirection(); app.UseStaticFiles(); +app.UseAntiforgery(); -app.UseRouting(); - -app.MapBlazorHub(); -app.MapFallbackToPage("/_Host"); +app.MapRazorComponents() + .AddInteractiveServerRenderMode(); app.Run(); diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Properties/launchSettings.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Properties/launchSettings.json index fc12a004..b7aad0b2 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Properties/launchSettings.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Properties/launchSettings.json @@ -1,37 +1,38 @@ { - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:38044", - "sslPort": 44309 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5289", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7042;http://localhost:5289", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:48459", + "sslPort": 44348 } }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5014", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7213;http://localhost:5014", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } } } } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/NavMenu.razor deleted file mode 100644 index 44fe0894..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/NavMenu.razor +++ /dev/null @@ -1,39 +0,0 @@ - - - - -@code { - private bool collapseNavMenu = true; - - private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/NavMenu.razor.css deleted file mode 100644 index 604b7a1a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/NavMenu.razor.css +++ /dev/null @@ -1,68 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.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; - } - - .nav-scrollable { - /* Allow sidebar to scroll for tall menus */ - height: calc(100vh - 3.5rem); - overflow-y: auto; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/SurveyPrompt.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/SurveyPrompt.razor deleted file mode 100644 index ec64baaa..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/appsettings.Development.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/appsettings.Development.json index 770d3e93..0c208ae9 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/appsettings.Development.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/appsettings.Development.json @@ -1,5 +1,4 @@ { - "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/Data/PDF_Succinctly.pdf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/Data/PDF_Succinctly.pdf deleted file mode 100644 index ad91de2c..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/Data/PDF_Succinctly.pdf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/site.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/app.css similarity index 82% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/site.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/app.css index 96b05836..2bd9b789 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/site.css +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/app.css @@ -1,15 +1,9 @@ -@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); - html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } -h1:focus { - outline: none; -} - a, .btn-link { - color: #0071c1; + color: #006bb7; } .btn-primary { @@ -26,37 +20,22 @@ a, .btn-link { padding-top: 1.1rem; } +h1:focus { + outline: none; +} + .valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; } .invalid { - outline: 1px solid red; + outline: 1px solid #e50000; } .validation-message { - color: red; -} - -#blazor-error-ui { - background: lightyellow; - bottom: 0; - box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); - display: none; - left: 0; - padding: 0.6rem 1.25rem 0.7rem 1.25rem; - position: fixed; - width: 100%; - z-index: 1000; + color: #e50000; } - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } - .blazor-error-boundary { background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; padding: 1rem 1rem 1rem 3.7rem; @@ -66,3 +45,7 @@ a, .btn-link { .blazor-error-boundary::after { content: "An error has occurred." } + +.darker-border-checkbox.form-check-input { + border-color: #929292; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/bootstrap/bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/bootstrap/bootstrap.min.css similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/bootstrap/bootstrap.min.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/bootstrap/bootstrap.min.css diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/bootstrap/bootstrap.min.css.map b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/bootstrap/bootstrap.min.css.map similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/bootstrap/bootstrap.min.css.map rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/bootstrap/bootstrap.min.css.map diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/FONT-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/FONT-LICENSE deleted file mode 100644 index a1dc03f3..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/FONT-LICENSE +++ /dev/null @@ -1,86 +0,0 @@ -SIL OPEN FONT LICENSE Version 1.1 - -Copyright (c) 2014 Waybury - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/ICON-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/ICON-LICENSE deleted file mode 100644 index 2199f4a6..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/ICON-LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Waybury - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/README.md b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/README.md deleted file mode 100644 index e34bd86a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/README.md +++ /dev/null @@ -1,114 +0,0 @@ -[Open Iconic v1.1.1](https://github.com/iconic/open-iconic) -=========== - -### Open Iconic is the open source sibling of [Iconic](https://github.com/iconic/open-iconic). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](https://github.com/iconic/open-iconic) - - - -## What's in Open Iconic? - -* 223 icons designed to be legible down to 8 pixels -* Super-light SVG files - 61.8 for the entire set -* SVG sprite—the modern replacement for icon fonts -* Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats -* Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats -* PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. - - -## Getting Started - -#### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](https://github.com/iconic/open-iconic) and [Reference](https://github.com/iconic/open-iconic) sections. - -### General Usage - -#### Using Open Iconic's SVGs - -We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). - -``` -icon name -``` - -#### Using Open Iconic's SVG Sprite - -Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. - -Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* - -``` - - - -``` - -Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. - -``` -.icon { - width: 16px; - height: 16px; -} -``` - -Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. - -``` -.icon-account-login { - fill: #f00; -} -``` - -To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). - -#### Using Open Iconic's Icon Font... - - -##### …with Bootstrap - -You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` - - -``` - -``` - - -``` - -``` - -##### …with Foundation - -You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` - -``` - -``` - - -``` - -``` - -##### …on its own - -You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` - -``` - -``` - -``` - -``` - - -## License - -### Icons - -All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). - -### Fonts - -All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css deleted file mode 100644 index 4664f2e8..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.eot b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.eot deleted file mode 100644 index f98177db..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.eot and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.otf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.otf deleted file mode 100644 index f6bd6846..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.otf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.svg b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.svg deleted file mode 100644 index 32b2c4e9..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.svg +++ /dev/null @@ -1,543 +0,0 @@ - - - - - -Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014 - By P.J. Onori -Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf deleted file mode 100644 index fab60486..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.woff b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.woff deleted file mode 100644 index f9309988..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/wwwroot/css/open-iconic/font/fonts/open-iconic.woff and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options.sln b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options.sln deleted file mode 100644 index 017d2e63..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options.sln +++ /dev/null @@ -1,25 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.9.34526.213 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Rearrange-Default-Options", "Without-Default-Options\Rearrange-Default-Options.csproj", "{2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B3B9ADD3-0F00-4FDD-A9A9-73B01A6E9473} - EndGlobalSection -EndGlobal diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/App.razor deleted file mode 100644 index 6fd3ed1b..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/App.razor +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Not found - -

Sorry, there's nothing at this address.

-
-
-
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/App.razor new file mode 100644 index 00000000..9f56abb6 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/App.razor @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/MainLayout.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/MainLayout.razor similarity index 53% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/MainLayout.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/MainLayout.razor index 5925cceb..5a24bb13 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/MainLayout.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/MainLayout.razor @@ -1,7 +1,5 @@ @inherits LayoutComponentBase -With-Deafault-Options -
+ +
+ An unhandled error has occurred. + Reload + 🗙 +
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/MainLayout.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/MainLayout.razor.css similarity index 56% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/MainLayout.razor.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/MainLayout.razor.css index 551e4b27..038baf17 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/MainLayout.razor.css +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/MainLayout.razor.css @@ -21,26 +21,27 @@ main { align-items: center; } - .top-row ::deep a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { white-space: nowrap; margin-left: 1.5rem; + text-decoration: none; } - .top-row a:first-child { + .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; + } + + .top-row ::deep a:first-child { overflow: hidden; text-overflow: ellipsis; } @media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { + .top-row { justify-content: space-between; } - .top-row a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { margin-left: 0; } } @@ -63,8 +64,33 @@ main { z-index: 1; } + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } + .top-row, article { padding-left: 2rem !important; padding-right: 1.5rem !important; } } + +#blazor-error-ui { + background: lightyellow; + bottom: 0; + box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); + display: none; + left: 0; + padding: 0.6rem 1.25rem 0.7rem 1.25rem; + position: fixed; + width: 100%; + z-index: 1000; +} + + #blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; + } diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/NavMenu.razor new file mode 100644 index 00000000..f11fbaf2 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/NavMenu.razor @@ -0,0 +1,30 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/NavMenu.razor.css new file mode 100644 index 00000000..4e15395e --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Layout/NavMenu.razor.css @@ -0,0 +1,105 @@ +.navbar-toggler { + appearance: none; + cursor: pointer; + width: 3.5rem; + height: 2.5rem; + color: white; + position: absolute; + top: 0.5rem; + right: 1rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1); +} + +.navbar-toggler:checked { + background-color: rgba(255, 255, 255, 0.5); +} + +.top-row { + height: 3.5rem; + background-color: rgba(0,0,0,0.4); +} + +.navbar-brand { + font-size: 1.1rem; +} + +.bi { + display: inline-block; + position: relative; + width: 1.25rem; + height: 1.25rem; + margin-right: 0.75rem; + top: -1px; + background-size: cover; +} + +.bi-house-door-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E"); +} + +.bi-plus-square-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E"); +} + +.bi-list-nested-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); +} + +.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 .nav-link { + color: #d7d7d7; + background: none; + border: none; + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + width: 100%; + } + +.nav-item ::deep a.active { + background-color: rgba(255,255,255,0.37); + color: white; +} + +.nav-item ::deep .nav-link:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +.nav-scrollable { + display: none; +} + +.navbar-toggler:checked ~ .nav-scrollable { + display: block; +} + +@media (min-width: 641px) { + .navbar-toggler { + display: none; + } + + .nav-scrollable { + /* Never collapse the sidebar for wide screens */ + display: block; + + /* Allow sidebar to scroll for tall menus */ + height: calc(100vh - 3.5rem); + overflow-y: auto; + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Counter.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Counter.razor similarity index 91% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Counter.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Counter.razor index ef23cb31..1a4f8e75 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Pages/Counter.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Counter.razor @@ -1,4 +1,5 @@ @page "/counter" +@rendermode InteractiveServer Counter diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Error.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Error.razor new file mode 100644 index 00000000..576cc2d2 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Error.razor @@ -0,0 +1,36 @@ +@page "/Error" +@using System.Diagnostics + +Error + +

Error.

+

An error occurred while processing your request.

+ +@if (ShowRequestId) +{ +

+ Request ID: @RequestId +

+} + +

Development Mode

+

+ Swapping to Development environment will display more detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

+ +@code{ + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Index.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Home.razor similarity index 87% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Index.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Home.razor index dfe58af9..17ad3309 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Index.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Home.razor @@ -9,7 +9,7 @@ @code { - public string DocumentPath { get; set; } = "wwwroot/data/PDF_Succinctly.pdf"; + public string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"; List ToolbarItems = new List() { diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Weather.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Weather.razor new file mode 100644 index 00000000..43a1ecbe --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Pages/Weather.razor @@ -0,0 +1,64 @@ +@page "/weather" +@attribute [StreamRendering] + +Weather + +

Weather

+ +

This component demonstrates showing data.

+ +@if (forecasts == null) +{ +

Loading...

+} +else +{ + + + + + + + + + + + @foreach (var forecast in forecasts) + { + + + + + + + } + +
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
+} + +@code { + private WeatherForecast[]? forecasts; + + protected override async Task OnInitializedAsync() + { + // Simulate asynchronous loading to demonstrate streaming rendering + await Task.Delay(500); + + var startDate = DateOnly.FromDateTime(DateTime.Now); + var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; + forecasts = Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = startDate.AddDays(index), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = summaries[Random.Shared.Next(summaries.Length)] + }).ToArray(); + } + + private class WeatherForecast + { + public DateOnly Date { get; set; } + public int TemperatureC { get; set; } + public string? Summary { get; set; } + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Routes.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Routes.razor new file mode 100644 index 00000000..f756e19d --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/Routes.razor @@ -0,0 +1,6 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/_Imports.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/_Imports.razor similarity index 52% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/_Imports.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/_Imports.razor index 8abcce89..2e787b8f 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/_Imports.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Components/_Imports.razor @@ -1,10 +1,12 @@ @using System.Net.Http -@using Microsoft.AspNetCore.Authorization -@using Microsoft.AspNetCore.Components.Authorization +@using System.Net.Http.Json @using Microsoft.AspNetCore.Components.Forms @using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.JSInterop -@using With_Deafault_Options -@using With_Deafault_Options.Shared +@using Rearrange_Default_Options +@using Rearrange_Default_Options.Components +@using Syncfusion.Blazor +@using Syncfusion.Blazor.SfPdfViewer \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Data/WeatherForecast.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Data/WeatherForecast.cs deleted file mode 100644 index ee356843..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Data/WeatherForecast.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace Without_Default_Options.Data -{ - public class WeatherForecast - { - public DateOnly Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Data/WeatherForecastService.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Data/WeatherForecastService.cs deleted file mode 100644 index d39d7664..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Data/WeatherForecastService.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Without_Default_Options.Data -{ - public class WeatherForecastService - { - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - public Task GetForecastAsync(DateOnly startDate) - { - return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }).ToArray()); - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Error.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Error.cshtml deleted file mode 100644 index b7efecbb..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Error.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@model Without_Default_Options.Pages.ErrorModel - - - - - - - - Error - - - - - -
-
-

Error.

-

An error occurred while processing your request.

- - @if (Model.ShowRequestId) - { -

- Request ID: @Model.RequestId -

- } - -

Development Mode

-

- Swapping to the Development environment displays detailed information about the error that occurred. -

-

- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. -

-
-
- - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Error.cshtml.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Error.cshtml.cs deleted file mode 100644 index 2483971b..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/Error.cshtml.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; -using System.Diagnostics; - -namespace Without_Default_Options.Pages -{ - [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - [IgnoreAntiforgeryToken] - public class ErrorModel : PageModel - { - public string? RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - - private readonly ILogger _logger; - - public ErrorModel(ILogger logger) - { - _logger = logger; - } - - public void OnGet() - { - RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/FetchData.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/FetchData.razor deleted file mode 100644 index e60a52e5..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/FetchData.razor +++ /dev/null @@ -1,47 +0,0 @@ -@page "/fetchdata" -@using Without_Default_Options.Data -@inject WeatherForecastService ForecastService - -Weather forecast - -

Weather forecast

- -

This component demonstrates fetching data from a service.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - private WeatherForecast[]? forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await ForecastService.GetForecastAsync(DateOnly.FromDateTime(DateTime.Now)); - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/_Host.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/_Host.cshtml deleted file mode 100644 index 05f575b6..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Pages/_Host.cshtml +++ /dev/null @@ -1,36 +0,0 @@ -@page "/" -@using Microsoft.AspNetCore.Components.Web -@namespace Without_Default_Options.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - - - - - - - - - - - - - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Program.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Program.cs index e0cb22c1..d55dce53 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Program.cs +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Program.cs @@ -1,16 +1,12 @@ -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Web; -using Without_Default_Options.Data; +using Rearrange_Default_Options.Components; using Syncfusion.Blazor; - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. -builder.Services.AddRazorPages(); -builder.Services.AddServerSideBlazor(); +builder.Services.AddRazorComponents() + .AddInteractiveServerComponents(); builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; }); -builder.Services.AddSingleton(); - +builder.Services.AddMemoryCache(); +//Add Syncfusion Blazor service to the container. builder.Services.AddSyncfusionBlazor(); var app = builder.Build(); @@ -18,7 +14,7 @@ // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) { - app.UseExceptionHandler("/Error"); + app.UseExceptionHandler("/Error", createScopeForErrors: true); // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } @@ -26,10 +22,9 @@ app.UseHttpsRedirection(); app.UseStaticFiles(); +app.UseAntiforgery(); -app.UseRouting(); - -app.MapBlazorHub(); -app.MapFallbackToPage("/_Host"); +app.MapRazorComponents() + .AddInteractiveServerRenderMode(); app.Run(); diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Properties/launchSettings.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Properties/launchSettings.json index efdbf6e6..3bbd3b2f 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Properties/launchSettings.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Properties/launchSettings.json @@ -1,37 +1,38 @@ { - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:50293", - "sslPort": 44313 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5107", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7141;http://localhost:5107", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:15595", + "sslPort": 44356 } }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5106", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7164;http://localhost:5106", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } } } } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj index 9127c7fa..57088032 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj @@ -1,12 +1,16 @@ - net7.0 + net8.0 enable enable + Rearrange-Default-Options + $(AssemblyName.Replace(' ', '_')) - - - - + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj.user b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj.user deleted file mode 100644 index 9ff5820a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - https - - \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.sln b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.sln new file mode 100644 index 00000000..862d7f90 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Rearrange-Default-Options.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Rearrange-Default-Options", "Rearrange-Default-Options.csproj", "{9899DF55-B831-E53C-536D-C735643EA692}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9899DF55-B831-E53C-536D-C735643EA692}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9899DF55-B831-E53C-536D-C735643EA692}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9899DF55-B831-E53C-536D-C735643EA692}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9899DF55-B831-E53C-536D-C735643EA692}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {99ED1E22-A9F3-4FE6-883F-441B1212F8CD} + EndGlobalSection +EndGlobal diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/NavMenu.razor deleted file mode 100644 index 09a00554..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/NavMenu.razor +++ /dev/null @@ -1,39 +0,0 @@ - - - - -@code { - private bool collapseNavMenu = true; - - private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/NavMenu.razor.css deleted file mode 100644 index 604b7a1a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/NavMenu.razor.css +++ /dev/null @@ -1,68 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.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; - } - - .nav-scrollable { - /* Allow sidebar to scroll for tall menus */ - height: calc(100vh - 3.5rem); - overflow-y: auto; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/SurveyPrompt.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/SurveyPrompt.razor deleted file mode 100644 index ec64baaa..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/appsettings.Development.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/appsettings.Development.json index 770d3e93..0c208ae9 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/appsettings.Development.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/appsettings.Development.json @@ -1,5 +1,4 @@ { - "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/Data/PDF_Succinctly.pdf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/Data/PDF_Succinctly.pdf deleted file mode 100644 index ad91de2c..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/Data/PDF_Succinctly.pdf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/site.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/app.css similarity index 82% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/site.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/app.css index 96b05836..2bd9b789 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/wwwroot/css/site.css +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/app.css @@ -1,15 +1,9 @@ -@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); - html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } -h1:focus { - outline: none; -} - a, .btn-link { - color: #0071c1; + color: #006bb7; } .btn-primary { @@ -26,37 +20,22 @@ a, .btn-link { padding-top: 1.1rem; } +h1:focus { + outline: none; +} + .valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; } .invalid { - outline: 1px solid red; + outline: 1px solid #e50000; } .validation-message { - color: red; -} - -#blazor-error-ui { - background: lightyellow; - bottom: 0; - box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); - display: none; - left: 0; - padding: 0.6rem 1.25rem 0.7rem 1.25rem; - position: fixed; - width: 100%; - z-index: 1000; + color: #e50000; } - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } - .blazor-error-boundary { background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; padding: 1rem 1rem 1rem 3.7rem; @@ -66,3 +45,7 @@ a, .btn-link { .blazor-error-boundary::after { content: "An error has occurred." } + +.darker-border-checkbox.form-check-input { + border-color: #929292; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/bootstrap/bootstrap.min.css similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/bootstrap/bootstrap.min.css diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css.map b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/bootstrap/bootstrap.min.css.map similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css.map rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/bootstrap/bootstrap.min.css.map diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE deleted file mode 100644 index a1dc03f3..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE +++ /dev/null @@ -1,86 +0,0 @@ -SIL OPEN FONT LICENSE Version 1.1 - -Copyright (c) 2014 Waybury - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE deleted file mode 100644 index 2199f4a6..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Waybury - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/README.md b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/README.md deleted file mode 100644 index e34bd86a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/README.md +++ /dev/null @@ -1,114 +0,0 @@ -[Open Iconic v1.1.1](https://github.com/iconic/open-iconic) -=========== - -### Open Iconic is the open source sibling of [Iconic](https://github.com/iconic/open-iconic). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](https://github.com/iconic/open-iconic) - - - -## What's in Open Iconic? - -* 223 icons designed to be legible down to 8 pixels -* Super-light SVG files - 61.8 for the entire set -* SVG sprite—the modern replacement for icon fonts -* Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats -* Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats -* PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. - - -## Getting Started - -#### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](https://github.com/iconic/open-iconic) and [Reference](https://github.com/iconic/open-iconic) sections. - -### General Usage - -#### Using Open Iconic's SVGs - -We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). - -``` -icon name -``` - -#### Using Open Iconic's SVG Sprite - -Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. - -Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* - -``` - - - -``` - -Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. - -``` -.icon { - width: 16px; - height: 16px; -} -``` - -Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. - -``` -.icon-account-login { - fill: #f00; -} -``` - -To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). - -#### Using Open Iconic's Icon Font... - - -##### …with Bootstrap - -You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` - - -``` - -``` - - -``` - -``` - -##### …with Foundation - -You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` - -``` - -``` - - -``` - -``` - -##### …on its own - -You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` - -``` - -``` - -``` - -``` - - -## License - -### Icons - -All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). - -### Fonts - -All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css deleted file mode 100644 index 4664f2e8..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot deleted file mode 100644 index f98177db..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf deleted file mode 100644 index f6bd6846..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg deleted file mode 100644 index 32b2c4e9..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg +++ /dev/null @@ -1,543 +0,0 @@ - - - - - -Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014 - By P.J. Onori -Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf deleted file mode 100644 index fab60486..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff deleted file mode 100644 index f9309988..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/App.razor deleted file mode 100644 index 6fd3ed1b..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/App.razor +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Not found - -

Sorry, there's nothing at this address.

-
-
-
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/App.razor new file mode 100644 index 00000000..f97c1f1a --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/App.razor @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/MainLayout.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/MainLayout.razor similarity index 53% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/MainLayout.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/MainLayout.razor index c4d566c9..5a24bb13 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Icon-Style-Change/Icon-Style-Change/Shared/MainLayout.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/MainLayout.razor @@ -1,7 +1,5 @@ @inherits LayoutComponentBase -Icon-Style-Change -
+ +
+ An unhandled error has occurred. + Reload + 🗙 +
diff --git a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/MainLayout.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/MainLayout.razor.css similarity index 56% rename from Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/MainLayout.razor.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/MainLayout.razor.css index 551e4b27..038baf17 100644 --- a/Toolbar/Custom Toolbar/EBook Reader/CustomToolbar/Shared/MainLayout.razor.css +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/MainLayout.razor.css @@ -21,26 +21,27 @@ main { align-items: center; } - .top-row ::deep a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { white-space: nowrap; margin-left: 1.5rem; + text-decoration: none; } - .top-row a:first-child { + .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; + } + + .top-row ::deep a:first-child { overflow: hidden; text-overflow: ellipsis; } @media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { + .top-row { justify-content: space-between; } - .top-row a, .top-row .btn-link { + .top-row ::deep a, .top-row ::deep .btn-link { margin-left: 0; } } @@ -63,8 +64,33 @@ main { z-index: 1; } + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } + .top-row, article { padding-left: 2rem !important; padding-right: 1.5rem !important; } } + +#blazor-error-ui { + background: lightyellow; + bottom: 0; + box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); + display: none; + left: 0; + padding: 0.6rem 1.25rem 0.7rem 1.25rem; + position: fixed; + width: 100%; + z-index: 1000; +} + + #blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; + } diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/NavMenu.razor new file mode 100644 index 00000000..341408d7 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/NavMenu.razor @@ -0,0 +1,30 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/NavMenu.razor.css new file mode 100644 index 00000000..4e15395e --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Layout/NavMenu.razor.css @@ -0,0 +1,105 @@ +.navbar-toggler { + appearance: none; + cursor: pointer; + width: 3.5rem; + height: 2.5rem; + color: white; + position: absolute; + top: 0.5rem; + right: 1rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1); +} + +.navbar-toggler:checked { + background-color: rgba(255, 255, 255, 0.5); +} + +.top-row { + height: 3.5rem; + background-color: rgba(0,0,0,0.4); +} + +.navbar-brand { + font-size: 1.1rem; +} + +.bi { + display: inline-block; + position: relative; + width: 1.25rem; + height: 1.25rem; + margin-right: 0.75rem; + top: -1px; + background-size: cover; +} + +.bi-house-door-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E"); +} + +.bi-plus-square-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E"); +} + +.bi-list-nested-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); +} + +.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 .nav-link { + color: #d7d7d7; + background: none; + border: none; + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + width: 100%; + } + +.nav-item ::deep a.active { + background-color: rgba(255,255,255,0.37); + color: white; +} + +.nav-item ::deep .nav-link:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +.nav-scrollable { + display: none; +} + +.navbar-toggler:checked ~ .nav-scrollable { + display: block; +} + +@media (min-width: 641px) { + .navbar-toggler { + display: none; + } + + .nav-scrollable { + /* Never collapse the sidebar for wide screens */ + display: block; + + /* Allow sidebar to scroll for tall menus */ + height: calc(100vh - 3.5rem); + overflow-y: auto; + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Counter.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Counter.razor similarity index 91% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Counter.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Counter.razor index ef23cb31..1a4f8e75 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Counter.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Counter.razor @@ -1,4 +1,5 @@ @page "/counter" +@rendermode InteractiveServer Counter diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Error.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Error.razor new file mode 100644 index 00000000..576cc2d2 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Error.razor @@ -0,0 +1,36 @@ +@page "/Error" +@using System.Diagnostics + +Error + +

Error.

+

An error occurred while processing your request.

+ +@if (ShowRequestId) +{ +

+ Request ID: @RequestId +

+} + +

Development Mode

+

+ Swapping to Development environment will display more detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

+ +@code{ + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Index.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Home.razor similarity index 97% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Index.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Home.razor index ebc60008..cf9a0245 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Index.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Home.razor @@ -9,7 +9,7 @@ @code{ - private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succinctly.pdf"; + private string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"; SfPdfViewer2 Viewer; MemoryStream stream; diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Weather.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Weather.razor new file mode 100644 index 00000000..43a1ecbe --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Pages/Weather.razor @@ -0,0 +1,64 @@ +@page "/weather" +@attribute [StreamRendering] + +Weather + +

Weather

+ +

This component demonstrates showing data.

+ +@if (forecasts == null) +{ +

Loading...

+} +else +{ + + + + + + + + + + + @foreach (var forecast in forecasts) + { + + + + + + + } + +
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
+} + +@code { + private WeatherForecast[]? forecasts; + + protected override async Task OnInitializedAsync() + { + // Simulate asynchronous loading to demonstrate streaming rendering + await Task.Delay(500); + + var startDate = DateOnly.FromDateTime(DateTime.Now); + var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; + forecasts = Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = startDate.AddDays(index), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = summaries[Random.Shared.Next(summaries.Length)] + }).ToArray(); + } + + private class WeatherForecast + { + public DateOnly Date { get; set; } + public int TemperatureC { get; set; } + public string? Summary { get; set; } + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Routes.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Routes.razor new file mode 100644 index 00000000..f756e19d --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/Routes.razor @@ -0,0 +1,6 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/_Imports.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/_Imports.razor similarity index 53% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/_Imports.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/_Imports.razor index 74557ab7..6703572e 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/_Imports.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Components/_Imports.razor @@ -1,10 +1,12 @@ @using System.Net.Http -@using Microsoft.AspNetCore.Authorization -@using Microsoft.AspNetCore.Components.Authorization +@using System.Net.Http.Json @using Microsoft.AspNetCore.Components.Forms @using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.JSInterop -@using Without_Default_Options -@using Without_Default_Options.Shared +@using With_Default_Options +@using With_Default_Options.Components +@using Syncfusion.Blazor +@using Syncfusion.Blazor.SfPdfViewer \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Data/WeatherForecast.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Data/WeatherForecast.cs deleted file mode 100644 index 7d8265a2..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Data/WeatherForecast.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace With_Deafault_Options.Data -{ - public class WeatherForecast - { - public DateOnly Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Data/WeatherForecastService.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Data/WeatherForecastService.cs deleted file mode 100644 index 3d49f81c..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Data/WeatherForecastService.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace With_Deafault_Options.Data -{ - public class WeatherForecastService - { - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - public Task GetForecastAsync(DateOnly startDate) - { - return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }).ToArray()); - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Error.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Error.cshtml deleted file mode 100644 index fb4624d7..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Error.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@model With_Deafault_Options.Pages.ErrorModel - - - - - - - - Error - - - - - -
-
-

Error.

-

An error occurred while processing your request.

- - @if (Model.ShowRequestId) - { -

- Request ID: @Model.RequestId -

- } - -

Development Mode

-

- Swapping to the Development environment displays detailed information about the error that occurred. -

-

- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. -

-
-
- - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Error.cshtml.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Error.cshtml.cs deleted file mode 100644 index 00b24796..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/Error.cshtml.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; -using System.Diagnostics; - -namespace With_Deafault_Options.Pages -{ - [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - [IgnoreAntiforgeryToken] - public class ErrorModel : PageModel - { - public string? RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - - private readonly ILogger _logger; - - public ErrorModel(ILogger logger) - { - _logger = logger; - } - - public void OnGet() - { - RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/FetchData.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/FetchData.razor deleted file mode 100644 index 2166eb3e..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/FetchData.razor +++ /dev/null @@ -1,47 +0,0 @@ -@page "/fetchdata" -@using With_Deafault_Options.Data -@inject WeatherForecastService ForecastService - -Weather forecast - -

Weather forecast

- -

This component demonstrates fetching data from a service.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - private WeatherForecast[]? forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await ForecastService.GetForecastAsync(DateOnly.FromDateTime(DateTime.Now)); - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/_Host.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/_Host.cshtml deleted file mode 100644 index bf253b8c..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Pages/_Host.cshtml +++ /dev/null @@ -1,36 +0,0 @@ -@page "/" -@using Microsoft.AspNetCore.Components.Web -@namespace With_Deafault_Options.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - - - - - - - - - - - - - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Program.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Program.cs index e8f266d2..166ec5c4 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Program.cs +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Program.cs @@ -1,23 +1,20 @@ -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Web; -using With_Deafault_Options.Data; +using With_Default_Options.Components; using Syncfusion.Blazor; - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. -builder.Services.AddRazorPages(); -builder.Services.AddServerSideBlazor(); +builder.Services.AddRazorComponents() + .AddInteractiveServerComponents(); builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; }); -builder.Services.AddSingleton(); - +builder.Services.AddMemoryCache(); +//Add Syncfusion Blazor service to the container. builder.Services.AddSyncfusionBlazor(); + var app = builder.Build(); // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) { - app.UseExceptionHandler("/Error"); + app.UseExceptionHandler("/Error", createScopeForErrors: true); // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } @@ -25,10 +22,9 @@ app.UseHttpsRedirection(); app.UseStaticFiles(); +app.UseAntiforgery(); -app.UseRouting(); - -app.MapBlazorHub(); -app.MapFallbackToPage("/_Host"); +app.MapRazorComponents() + .AddInteractiveServerRenderMode(); app.Run(); diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Properties/launchSettings.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Properties/launchSettings.json index 75c23b36..878367ff 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Properties/launchSettings.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Properties/launchSettings.json @@ -1,37 +1,38 @@ { - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:46514", - "sslPort": 44315 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5148", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7087;http://localhost:5148", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:16913", + "sslPort": 44305 } }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5271", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7164;http://localhost:5271", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } } } } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/NavMenu.razor deleted file mode 100644 index d1a054d9..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/NavMenu.razor +++ /dev/null @@ -1,39 +0,0 @@ - - - - -@code { - private bool collapseNavMenu = true; - - private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/NavMenu.razor.css deleted file mode 100644 index 604b7a1a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/NavMenu.razor.css +++ /dev/null @@ -1,68 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.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; - } - - .nav-scrollable { - /* Allow sidebar to scroll for tall menus */ - height: calc(100vh - 3.5rem); - overflow-y: auto; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/SurveyPrompt.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/SurveyPrompt.razor deleted file mode 100644 index ec64baaa..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj index 9127c7fa..707647eb 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj @@ -1,12 +1,16 @@ - net7.0 + net8.0 enable enable + With-Default-Options + $(AssemblyName.Replace(' ', '_')) - - - - + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj.user b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj.user deleted file mode 100644 index 9ff5820a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - https - - \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options.sln b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.sln similarity index 54% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options.sln rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.sln index 72236f75..f1c749c2 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options.sln +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/With-Default-Options.sln @@ -1,9 +1,8 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 -VisualStudioVersion = 17.9.34526.213 +VisualStudioVersion = 17.5.2.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "With-Default-Options", "With-Deafault-Options\With-Default-Options.csproj", "{AF1DCFB4-3440-4B78-A8E1-C48CF6A000BF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "With-Default-Options", "With-Default-Options.csproj", "{F3C6408A-7B0E-815D-D685-0F98CD64E062}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +10,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AF1DCFB4-3440-4B78-A8E1-C48CF6A000BF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AF1DCFB4-3440-4B78-A8E1-C48CF6A000BF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AF1DCFB4-3440-4B78-A8E1-C48CF6A000BF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AF1DCFB4-3440-4B78-A8E1-C48CF6A000BF}.Release|Any CPU.Build.0 = Release|Any CPU + {F3C6408A-7B0E-815D-D685-0F98CD64E062}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F3C6408A-7B0E-815D-D685-0F98CD64E062}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F3C6408A-7B0E-815D-D685-0F98CD64E062}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F3C6408A-7B0E-815D-D685-0F98CD64E062}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {FCF6BD45-9A3A-41B0-A805-2F747BBC34F3} + SolutionGuid = {553118AA-E426-4296-9EA0-7F3C54C80205} EndGlobalSection EndGlobal diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/appsettings.Development.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/appsettings.Development.json index 770d3e93..0c208ae9 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/appsettings.Development.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/appsettings.Development.json @@ -1,5 +1,4 @@ { - "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/Data/PDF_Succinctly.pdf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/Data/PDF_Succinctly.pdf deleted file mode 100644 index ad91de2c..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/Data/PDF_Succinctly.pdf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/site.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/app.css similarity index 82% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/site.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/app.css index 96b05836..2bd9b789 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Rearrange-Default-Options/Rearrange-Default-Options/wwwroot/css/site.css +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/app.css @@ -1,15 +1,9 @@ -@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); - html, body { font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } -h1:focus { - outline: none; -} - a, .btn-link { - color: #0071c1; + color: #006bb7; } .btn-primary { @@ -26,37 +20,22 @@ a, .btn-link { padding-top: 1.1rem; } +h1:focus { + outline: none; +} + .valid.modified:not([type=checkbox]) { outline: 1px solid #26b050; } .invalid { - outline: 1px solid red; + outline: 1px solid #e50000; } .validation-message { - color: red; -} - -#blazor-error-ui { - background: lightyellow; - bottom: 0; - box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); - display: none; - left: 0; - padding: 0.6rem 1.25rem 0.7rem 1.25rem; - position: fixed; - width: 100%; - z-index: 1000; + color: #e50000; } - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } - .blazor-error-boundary { background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; padding: 1rem 1rem 1rem 3.7rem; @@ -66,3 +45,7 @@ a, .btn-link { .blazor-error-boundary::after { content: "An error has occurred." } + +.darker-border-checkbox.form-check-input { + border-color: #929292; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/bootstrap/bootstrap.min.css similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/bootstrap/bootstrap.min.css diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css.map b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/bootstrap/bootstrap.min.css.map similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css.map rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/bootstrap/bootstrap.min.css.map diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE deleted file mode 100644 index a1dc03f3..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE +++ /dev/null @@ -1,86 +0,0 @@ -SIL OPEN FONT LICENSE Version 1.1 - -Copyright (c) 2014 Waybury - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE deleted file mode 100644 index 2199f4a6..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Waybury - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/README.md b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/README.md deleted file mode 100644 index e34bd86a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/README.md +++ /dev/null @@ -1,114 +0,0 @@ -[Open Iconic v1.1.1](https://github.com/iconic/open-iconic) -=========== - -### Open Iconic is the open source sibling of [Iconic](https://github.com/iconic/open-iconic). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](https://github.com/iconic/open-iconic) - - - -## What's in Open Iconic? - -* 223 icons designed to be legible down to 8 pixels -* Super-light SVG files - 61.8 for the entire set -* SVG sprite—the modern replacement for icon fonts -* Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats -* Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats -* PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. - - -## Getting Started - -#### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](https://github.com/iconic/open-iconic) and [Reference](https://github.com/iconic/open-iconic) sections. - -### General Usage - -#### Using Open Iconic's SVGs - -We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). - -``` -icon name -``` - -#### Using Open Iconic's SVG Sprite - -Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. - -Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* - -``` - - - -``` - -Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. - -``` -.icon { - width: 16px; - height: 16px; -} -``` - -Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. - -``` -.icon-account-login { - fill: #f00; -} -``` - -To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). - -#### Using Open Iconic's Icon Font... - - -##### …with Bootstrap - -You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` - - -``` - -``` - - -``` - -``` - -##### …with Foundation - -You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` - -``` - -``` - - -``` - -``` - -##### …on its own - -You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` - -``` - -``` - -``` - -``` - - -## License - -### Icons - -All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). - -### Fonts - -All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css deleted file mode 100644 index 4664f2e8..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot deleted file mode 100644 index f98177db..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf deleted file mode 100644 index f6bd6846..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg deleted file mode 100644 index 32b2c4e9..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg +++ /dev/null @@ -1,543 +0,0 @@ - - - - - -Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014 - By P.J. Onori -Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf deleted file mode 100644 index fab60486..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff b/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff deleted file mode 100644 index f9309988..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/With-Default-Options/With-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/App.razor deleted file mode 100644 index 6fd3ed1b..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/App.razor +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - Not found - -

Sorry, there's nothing at this address.

-
-
-
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/App.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/App.razor new file mode 100644 index 00000000..2750b41e --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/App.razor @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/MainLayout.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/MainLayout.razor new file mode 100644 index 00000000..5a24bb13 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/MainLayout.razor @@ -0,0 +1,23 @@ +@inherits LayoutComponentBase + +
+ + +
+
+ About +
+ +
+ @Body +
+
+
+ +
+ An unhandled error has occurred. + Reload + 🗙 +
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/MainLayout.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/MainLayout.razor.css new file mode 100644 index 00000000..038baf17 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/MainLayout.razor.css @@ -0,0 +1,96 @@ +.page { + position: relative; + display: flex; + flex-direction: column; +} + +main { + flex: 1; +} + +.sidebar { + background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); +} + +.top-row { + background-color: #f7f7f7; + border-bottom: 1px solid #d6d5d5; + justify-content: flex-end; + height: 3.5rem; + display: flex; + align-items: center; +} + + .top-row ::deep a, .top-row ::deep .btn-link { + white-space: nowrap; + margin-left: 1.5rem; + text-decoration: none; + } + + .top-row ::deep a:hover, .top-row ::deep .btn-link:hover { + text-decoration: underline; + } + + .top-row ::deep a:first-child { + overflow: hidden; + text-overflow: ellipsis; + } + +@media (max-width: 640.98px) { + .top-row { + justify-content: space-between; + } + + .top-row ::deep a, .top-row ::deep .btn-link { + margin-left: 0; + } +} + +@media (min-width: 641px) { + .page { + flex-direction: row; + } + + .sidebar { + width: 250px; + height: 100vh; + position: sticky; + top: 0; + } + + .top-row { + position: sticky; + top: 0; + z-index: 1; + } + + .top-row.auth ::deep a:first-child { + flex: 1; + text-align: right; + width: 0; + } + + .top-row, article { + padding-left: 2rem !important; + padding-right: 1.5rem !important; + } +} + +#blazor-error-ui { + background: lightyellow; + bottom: 0; + box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); + display: none; + left: 0; + padding: 0.6rem 1.25rem 0.7rem 1.25rem; + position: fixed; + width: 100%; + z-index: 1000; +} + + #blazor-error-ui .dismiss { + cursor: pointer; + position: absolute; + right: 0.75rem; + top: 0.5rem; + } diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/NavMenu.razor new file mode 100644 index 00000000..8c66f5d0 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/NavMenu.razor @@ -0,0 +1,30 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/NavMenu.razor.css new file mode 100644 index 00000000..4e15395e --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Layout/NavMenu.razor.css @@ -0,0 +1,105 @@ +.navbar-toggler { + appearance: none; + cursor: pointer; + width: 3.5rem; + height: 2.5rem; + color: white; + position: absolute; + top: 0.5rem; + right: 1rem; + border: 1px solid rgba(255, 255, 255, 0.1); + background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1); +} + +.navbar-toggler:checked { + background-color: rgba(255, 255, 255, 0.5); +} + +.top-row { + height: 3.5rem; + background-color: rgba(0,0,0,0.4); +} + +.navbar-brand { + font-size: 1.1rem; +} + +.bi { + display: inline-block; + position: relative; + width: 1.25rem; + height: 1.25rem; + margin-right: 0.75rem; + top: -1px; + background-size: cover; +} + +.bi-house-door-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E"); +} + +.bi-plus-square-fill-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E"); +} + +.bi-list-nested-nav-menu { + background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E"); +} + +.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 .nav-link { + color: #d7d7d7; + background: none; + border: none; + border-radius: 4px; + height: 3rem; + display: flex; + align-items: center; + line-height: 3rem; + width: 100%; + } + +.nav-item ::deep a.active { + background-color: rgba(255,255,255,0.37); + color: white; +} + +.nav-item ::deep .nav-link:hover { + background-color: rgba(255,255,255,0.1); + color: white; +} + +.nav-scrollable { + display: none; +} + +.navbar-toggler:checked ~ .nav-scrollable { + display: block; +} + +@media (min-width: 641px) { + .navbar-toggler { + display: none; + } + + .nav-scrollable { + /* Never collapse the sidebar for wide screens */ + display: block; + + /* Allow sidebar to scroll for tall menus */ + height: calc(100vh - 3.5rem); + overflow-y: auto; + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Counter.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Counter.razor new file mode 100644 index 00000000..1a4f8e75 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Counter.razor @@ -0,0 +1,19 @@ +@page "/counter" +@rendermode InteractiveServer + +Counter + +

Counter

+ +

Current count: @currentCount

+ + + +@code { + private int currentCount = 0; + + private void IncrementCount() + { + currentCount++; + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Error.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Error.razor new file mode 100644 index 00000000..576cc2d2 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Error.razor @@ -0,0 +1,36 @@ +@page "/Error" +@using System.Diagnostics + +Error + +

Error.

+

An error occurred while processing your request.

+ +@if (ShowRequestId) +{ +

+ Request ID: @RequestId +

+} + +

Development Mode

+

+ Swapping to Development environment will display more detailed information about the error that occurred. +

+

+ The Development environment shouldn't be enabled for deployed applications. + It can result in displaying sensitive information from exceptions to end users. + For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development + and restarting the app. +

+ +@code{ + [CascadingParameter] + private HttpContext? HttpContext { get; set; } + + private string? RequestId { get; set; } + private bool ShowRequestId => !string.IsNullOrEmpty(RequestId); + + protected override void OnInitialized() => + RequestId = Activity.Current?.Id ?? HttpContext?.TraceIdentifier; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Index.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Home.razor similarity index 97% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Index.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Home.razor index ed2e220c..b51c84dd 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Index.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Home.razor @@ -8,7 +8,7 @@ @code{ - private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succinctly.pdf"; + private string DocumentPath { get; set; } = "https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"; SfPdfViewer2 Viewer; MemoryStream stream; diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Weather.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Weather.razor new file mode 100644 index 00000000..43a1ecbe --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Pages/Weather.razor @@ -0,0 +1,64 @@ +@page "/weather" +@attribute [StreamRendering] + +Weather + +

Weather

+ +

This component demonstrates showing data.

+ +@if (forecasts == null) +{ +

Loading...

+} +else +{ + + + + + + + + + + + @foreach (var forecast in forecasts) + { + + + + + + + } + +
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
+} + +@code { + private WeatherForecast[]? forecasts; + + protected override async Task OnInitializedAsync() + { + // Simulate asynchronous loading to demonstrate streaming rendering + await Task.Delay(500); + + var startDate = DateOnly.FromDateTime(DateTime.Now); + var summaries = new[] { "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" }; + forecasts = Enumerable.Range(1, 5).Select(index => new WeatherForecast + { + Date = startDate.AddDays(index), + TemperatureC = Random.Shared.Next(-20, 55), + Summary = summaries[Random.Shared.Next(summaries.Length)] + }).ToArray(); + } + + private class WeatherForecast + { + public DateOnly Date { get; set; } + public int TemperatureC { get; set; } + public string? Summary { get; set; } + public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + } +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Routes.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Routes.razor new file mode 100644 index 00000000..f756e19d --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/Routes.razor @@ -0,0 +1,6 @@ + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/_Imports.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/_Imports.razor similarity index 59% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/_Imports.razor rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/_Imports.razor index 74557ab7..d0bb7507 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/_Imports.razor +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Components/_Imports.razor @@ -1,10 +1,12 @@ @using System.Net.Http -@using Microsoft.AspNetCore.Authorization -@using Microsoft.AspNetCore.Components.Authorization +@using System.Net.Http.Json @using Microsoft.AspNetCore.Components.Forms @using Microsoft.AspNetCore.Components.Routing @using Microsoft.AspNetCore.Components.Web +@using static Microsoft.AspNetCore.Components.Web.RenderMode @using Microsoft.AspNetCore.Components.Web.Virtualization @using Microsoft.JSInterop @using Without_Default_Options -@using Without_Default_Options.Shared +@using Without_Default_Options.Components +@using Syncfusion.Blazor +@using Syncfusion.Blazor.SfPdfViewer \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Data/WeatherForecast.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Data/WeatherForecast.cs deleted file mode 100644 index ee356843..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Data/WeatherForecast.cs +++ /dev/null @@ -1,13 +0,0 @@ -namespace Without_Default_Options.Data -{ - public class WeatherForecast - { - public DateOnly Date { get; set; } - - public int TemperatureC { get; set; } - - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); - - public string? Summary { get; set; } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Data/WeatherForecastService.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Data/WeatherForecastService.cs deleted file mode 100644 index d39d7664..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Data/WeatherForecastService.cs +++ /dev/null @@ -1,20 +0,0 @@ -namespace Without_Default_Options.Data -{ - public class WeatherForecastService - { - private static readonly string[] Summaries = new[] - { - "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" - }; - - public Task GetForecastAsync(DateOnly startDate) - { - return Task.FromResult(Enumerable.Range(1, 5).Select(index => new WeatherForecast - { - Date = startDate.AddDays(index), - TemperatureC = Random.Shared.Next(-20, 55), - Summary = Summaries[Random.Shared.Next(Summaries.Length)] - }).ToArray()); - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Error.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Error.cshtml deleted file mode 100644 index b7efecbb..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Error.cshtml +++ /dev/null @@ -1,42 +0,0 @@ -@page -@model Without_Default_Options.Pages.ErrorModel - - - - - - - - Error - - - - - -
-
-

Error.

-

An error occurred while processing your request.

- - @if (Model.ShowRequestId) - { -

- Request ID: @Model.RequestId -

- } - -

Development Mode

-

- Swapping to the Development environment displays detailed information about the error that occurred. -

-

- The Development environment shouldn't be enabled for deployed applications. - It can result in displaying sensitive information from exceptions to end users. - For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development - and restarting the app. -

-
-
- - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Error.cshtml.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Error.cshtml.cs deleted file mode 100644 index 2483971b..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/Error.cshtml.cs +++ /dev/null @@ -1,27 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; -using System.Diagnostics; - -namespace Without_Default_Options.Pages -{ - [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - [IgnoreAntiforgeryToken] - public class ErrorModel : PageModel - { - public string? RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - - private readonly ILogger _logger; - - public ErrorModel(ILogger logger) - { - _logger = logger; - } - - public void OnGet() - { - RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier; - } - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/FetchData.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/FetchData.razor deleted file mode 100644 index e60a52e5..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/FetchData.razor +++ /dev/null @@ -1,47 +0,0 @@ -@page "/fetchdata" -@using Without_Default_Options.Data -@inject WeatherForecastService ForecastService - -Weather forecast - -

Weather forecast

- -

This component demonstrates fetching data from a service.

- -@if (forecasts == null) -{ -

Loading...

-} -else -{ - - - - - - - - - - - @foreach (var forecast in forecasts) - { - - - - - - - } - -
DateTemp. (C)Temp. (F)Summary
@forecast.Date.ToShortDateString()@forecast.TemperatureC@forecast.TemperatureF@forecast.Summary
-} - -@code { - private WeatherForecast[]? forecasts; - - protected override async Task OnInitializedAsync() - { - forecasts = await ForecastService.GetForecastAsync(DateOnly.FromDateTime(DateTime.Now)); - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/_Host.cshtml b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/_Host.cshtml deleted file mode 100644 index 05f575b6..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Pages/_Host.cshtml +++ /dev/null @@ -1,36 +0,0 @@ -@page "/" -@using Microsoft.AspNetCore.Components.Web -@namespace Without_Default_Options.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers - - - - - - - - - - - - - - - - - - -
- - An error has occurred. This application may no longer respond until reloaded. - - - An unhandled exception has occurred. See browser dev tools for details. - - Reload - 🗙 -
- - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Program.cs b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Program.cs index e0cb22c1..72936305 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Program.cs +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Program.cs @@ -1,16 +1,12 @@ -using Microsoft.AspNetCore.Components; -using Microsoft.AspNetCore.Components.Web; -using Without_Default_Options.Data; +using Without_Default_Options.Components; using Syncfusion.Blazor; - var builder = WebApplication.CreateBuilder(args); - // Add services to the container. -builder.Services.AddRazorPages(); -builder.Services.AddServerSideBlazor(); +builder.Services.AddRazorComponents() + .AddInteractiveServerComponents(); builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; }); -builder.Services.AddSingleton(); - +builder.Services.AddMemoryCache(); +//Add Syncfusion Blazor service to the container. builder.Services.AddSyncfusionBlazor(); var app = builder.Build(); @@ -18,7 +14,7 @@ // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) { - app.UseExceptionHandler("/Error"); + app.UseExceptionHandler("/Error", createScopeForErrors: true); // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. app.UseHsts(); } @@ -26,10 +22,9 @@ app.UseHttpsRedirection(); app.UseStaticFiles(); +app.UseAntiforgery(); -app.UseRouting(); - -app.MapBlazorHub(); -app.MapFallbackToPage("/_Host"); +app.MapRazorComponents() + .AddInteractiveServerRenderMode(); app.Run(); diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Properties/launchSettings.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Properties/launchSettings.json index efdbf6e6..58734b96 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Properties/launchSettings.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Properties/launchSettings.json @@ -1,37 +1,38 @@ { - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:50293", - "sslPort": 44313 - } - }, - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5107", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7141;http://localhost:5107", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "$schema": "http://json.schemastore.org/launchsettings.json", + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:8323", + "sslPort": 44358 } }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" + "profiles": { + "http": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "http://localhost:5224", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "https": { + "commandName": "Project", + "dotnetRunMessages": true, + "launchBrowser": true, + "applicationUrl": "https://localhost:7074;http://localhost:5224", + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } } } } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/MainLayout.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/MainLayout.razor deleted file mode 100644 index 19c24284..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/MainLayout.razor +++ /dev/null @@ -1,19 +0,0 @@ -@inherits LayoutComponentBase - -Without-Default-Options - -
- - -
-
- About -
- -
- @Body -
-
-
diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/MainLayout.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/MainLayout.razor.css deleted file mode 100644 index 551e4b27..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/MainLayout.razor.css +++ /dev/null @@ -1,70 +0,0 @@ -.page { - position: relative; - display: flex; - flex-direction: column; -} - -main { - flex: 1; -} - -.sidebar { - background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%); -} - -.top-row { - background-color: #f7f7f7; - border-bottom: 1px solid #d6d5d5; - justify-content: flex-end; - height: 3.5rem; - display: flex; - align-items: center; -} - - .top-row ::deep a, .top-row .btn-link { - white-space: nowrap; - margin-left: 1.5rem; - } - - .top-row a:first-child { - overflow: hidden; - text-overflow: ellipsis; - } - -@media (max-width: 640.98px) { - .top-row:not(.auth) { - display: none; - } - - .top-row.auth { - justify-content: space-between; - } - - .top-row a, .top-row .btn-link { - margin-left: 0; - } -} - -@media (min-width: 641px) { - .page { - flex-direction: row; - } - - .sidebar { - width: 250px; - height: 100vh; - position: sticky; - top: 0; - } - - .top-row { - position: sticky; - top: 0; - z-index: 1; - } - - .top-row, article { - padding-left: 2rem !important; - padding-right: 1.5rem !important; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/NavMenu.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/NavMenu.razor deleted file mode 100644 index 09a00554..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/NavMenu.razor +++ /dev/null @@ -1,39 +0,0 @@ - - - - -@code { - private bool collapseNavMenu = true; - - private string? NavMenuCssClass => collapseNavMenu ? "collapse" : null; - - private void ToggleNavMenu() - { - collapseNavMenu = !collapseNavMenu; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/NavMenu.razor.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/NavMenu.razor.css deleted file mode 100644 index 604b7a1a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/NavMenu.razor.css +++ /dev/null @@ -1,68 +0,0 @@ -.navbar-toggler { - background-color: rgba(255, 255, 255, 0.1); -} - -.top-row { - height: 3.5rem; - background-color: rgba(0,0,0,0.4); -} - -.navbar-brand { - font-size: 1.1rem; -} - -.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; - } - - .nav-scrollable { - /* Allow sidebar to scroll for tall menus */ - height: calc(100vh - 3.5rem); - overflow-y: auto; - } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/SurveyPrompt.razor b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/SurveyPrompt.razor deleted file mode 100644 index ec64baaa..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Shared/SurveyPrompt.razor +++ /dev/null @@ -1,16 +0,0 @@ -
- - @Title - - - Please take our - brief survey - - and tell us what you think. -
- -@code { - // Demonstrates how a parent component can supply parameters - [Parameter] - public string? Title { get; set; } -} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj index 9127c7fa..9a75711f 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj @@ -1,12 +1,16 @@ - net7.0 + net8.0 enable enable + Without-Default-Options + $(AssemblyName.Replace(' ', '_')) - - - - + + + + + + diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj.user b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj.user deleted file mode 100644 index 9ff5820a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.csproj.user +++ /dev/null @@ -1,6 +0,0 @@ - - - - https - - \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options.sln b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.sln similarity index 59% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options.sln rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.sln index ddaae967..9ae5e995 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options.sln +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/Without-Default-Options.sln @@ -1,9 +1,8 @@ - Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 -VisualStudioVersion = 17.9.34526.213 +VisualStudioVersion = 17.5.2.0 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Without-Default-Options", "Without-Default-Options\Without-Default-Options.csproj", "{2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Without-Default-Options", "Without-Default-Options.csproj", "{E7225293-13B0-259B-84C1-D9DEFA1249EF}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,15 +10,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2FA1A6CE-DF64-4D54-B153-F1C9B443A4C7}.Release|Any CPU.Build.0 = Release|Any CPU + {E7225293-13B0-259B-84C1-D9DEFA1249EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E7225293-13B0-259B-84C1-D9DEFA1249EF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E7225293-13B0-259B-84C1-D9DEFA1249EF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E7225293-13B0-259B-84C1-D9DEFA1249EF}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {B3B9ADD3-0F00-4FDD-A9A9-73B01A6E9473} + SolutionGuid = {2A63B20D-ECF1-4D3F-8960-7F5A5716B17C} EndGlobalSection EndGlobal diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/appsettings.Development.json b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/appsettings.Development.json index 770d3e93..0c208ae9 100644 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/appsettings.Development.json +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/appsettings.Development.json @@ -1,5 +1,4 @@ { - "DetailedErrors": true, "Logging": { "LogLevel": { "Default": "Information", diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/Data/PDF_Succinctly.pdf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/Data/PDF_Succinctly.pdf deleted file mode 100644 index ad91de2c..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/Data/PDF_Succinctly.pdf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/app.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/app.css new file mode 100644 index 00000000..2bd9b789 --- /dev/null +++ b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/app.css @@ -0,0 +1,51 @@ +html, body { + font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; +} + +a, .btn-link { + color: #006bb7; +} + +.btn-primary { + color: #fff; + background-color: #1b6ec2; + border-color: #1861ac; +} + +.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; +} + +.content { + padding-top: 1.1rem; +} + +h1:focus { + outline: none; +} + +.valid.modified:not([type=checkbox]) { + outline: 1px solid #26b050; +} + +.invalid { + outline: 1px solid #e50000; +} + +.validation-message { + color: #e50000; +} + +.blazor-error-boundary { + background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; + padding: 1rem 1rem 1rem 3.7rem; + color: white; +} + + .blazor-error-boundary::after { + content: "An error has occurred." + } + +.darker-border-checkbox.form-check-input { + border-color: #929292; +} diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/bootstrap/bootstrap.min.css similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/bootstrap/bootstrap.min.css diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css.map b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/bootstrap/bootstrap.min.css.map similarity index 100% rename from Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/bootstrap/bootstrap.min.css.map rename to Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/bootstrap/bootstrap.min.css.map diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE deleted file mode 100644 index a1dc03f3..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/FONT-LICENSE +++ /dev/null @@ -1,86 +0,0 @@ -SIL OPEN FONT LICENSE Version 1.1 - -Copyright (c) 2014 Waybury - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE deleted file mode 100644 index 2199f4a6..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/ICON-LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 Waybury - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/README.md b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/README.md deleted file mode 100644 index e34bd86a..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/README.md +++ /dev/null @@ -1,114 +0,0 @@ -[Open Iconic v1.1.1](https://github.com/iconic/open-iconic) -=========== - -### Open Iconic is the open source sibling of [Iconic](https://github.com/iconic/open-iconic). It is a hyper-legible collection of 223 icons with a tiny footprint—ready to use with Bootstrap and Foundation. [View the collection](https://github.com/iconic/open-iconic) - - - -## What's in Open Iconic? - -* 223 icons designed to be legible down to 8 pixels -* Super-light SVG files - 61.8 for the entire set -* SVG sprite—the modern replacement for icon fonts -* Webfont (EOT, OTF, SVG, TTF, WOFF), PNG and WebP formats -* Webfont stylesheets (including versions for Bootstrap and Foundation) in CSS, LESS, SCSS and Stylus formats -* PNG and WebP raster images in 8px, 16px, 24px, 32px, 48px and 64px. - - -## Getting Started - -#### For code samples and everything else you need to get started with Open Iconic, check out our [Icons](https://github.com/iconic/open-iconic) and [Reference](https://github.com/iconic/open-iconic) sections. - -### General Usage - -#### Using Open Iconic's SVGs - -We like SVGs and we think they're the way to display icons on the web. Since Open Iconic are just basic SVGs, we suggest you display them like you would any other image (don't forget the `alt` attribute). - -``` -icon name -``` - -#### Using Open Iconic's SVG Sprite - -Open Iconic also comes in a SVG sprite which allows you to display all the icons in the set with a single request. It's like an icon font, without being a hack. - -Adding an icon from an SVG sprite is a little different than what you're used to, but it's still a piece of cake. *Tip: To make your icons easily style able, we suggest adding a general class to the* `` *tag and a unique class name for each different icon in the* `` *tag.* - -``` - - - -``` - -Sizing icons only needs basic CSS. All the icons are in a square format, so just set the `` tag with equal width and height dimensions. - -``` -.icon { - width: 16px; - height: 16px; -} -``` - -Coloring icons is even easier. All you need to do is set the `fill` rule on the `` tag. - -``` -.icon-account-login { - fill: #f00; -} -``` - -To learn more about SVG Sprites, read [Chris Coyier's guide](http://css-tricks.com/svg-sprites-use-better-icon-fonts/). - -#### Using Open Iconic's Icon Font... - - -##### …with Bootstrap - -You can find our Bootstrap stylesheets in `font/css/open-iconic-bootstrap.{css, less, scss, styl}` - - -``` - -``` - - -``` - -``` - -##### …with Foundation - -You can find our Foundation stylesheets in `font/css/open-iconic-foundation.{css, less, scss, styl}` - -``` - -``` - - -``` - -``` - -##### …on its own - -You can find our default stylesheets in `font/css/open-iconic.{css, less, scss, styl}` - -``` - -``` - -``` - -``` - - -## License - -### Icons - -All code (including SVG markup) is under the [MIT License](http://opensource.org/licenses/MIT). - -### Fonts - -All fonts are under the [SIL Licensed](http://scripts.sil.org/cms/scripts/page.php?item_id=OFL_web). diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css deleted file mode 100644 index 4664f2e8..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/css/open-iconic-bootstrap.min.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Icons;src:url(../fonts/open-iconic.eot);src:url(../fonts/open-iconic.eot?#iconic-sm) format('embedded-opentype'),url(../fonts/open-iconic.woff) format('woff'),url(../fonts/open-iconic.ttf) format('truetype'),url(../fonts/open-iconic.otf) format('opentype'),url(../fonts/open-iconic.svg#iconic-sm) format('svg');font-weight:400;font-style:normal}.oi{position:relative;top:1px;display:inline-block;speak:none;font-family:Icons;font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.oi:empty:before{width:1em;text-align:center;box-sizing:content-box}.oi.oi-align-center:before{text-align:center}.oi.oi-align-left:before{text-align:left}.oi.oi-align-right:before{text-align:right}.oi.oi-flip-horizontal:before{-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}.oi.oi-flip-vertical:before{-webkit-transform:scale(1,-1);-ms-transform:scale(-1,1);transform:scale(1,-1)}.oi.oi-flip-horizontal-vertical:before{-webkit-transform:scale(-1,-1);-ms-transform:scale(-1,1);transform:scale(-1,-1)}.oi-account-login:before{content:'\e000'}.oi-account-logout:before{content:'\e001'}.oi-action-redo:before{content:'\e002'}.oi-action-undo:before{content:'\e003'}.oi-align-center:before{content:'\e004'}.oi-align-left:before{content:'\e005'}.oi-align-right:before{content:'\e006'}.oi-aperture:before{content:'\e007'}.oi-arrow-bottom:before{content:'\e008'}.oi-arrow-circle-bottom:before{content:'\e009'}.oi-arrow-circle-left:before{content:'\e00a'}.oi-arrow-circle-right:before{content:'\e00b'}.oi-arrow-circle-top:before{content:'\e00c'}.oi-arrow-left:before{content:'\e00d'}.oi-arrow-right:before{content:'\e00e'}.oi-arrow-thick-bottom:before{content:'\e00f'}.oi-arrow-thick-left:before{content:'\e010'}.oi-arrow-thick-right:before{content:'\e011'}.oi-arrow-thick-top:before{content:'\e012'}.oi-arrow-top:before{content:'\e013'}.oi-audio-spectrum:before{content:'\e014'}.oi-audio:before{content:'\e015'}.oi-badge:before{content:'\e016'}.oi-ban:before{content:'\e017'}.oi-bar-chart:before{content:'\e018'}.oi-basket:before{content:'\e019'}.oi-battery-empty:before{content:'\e01a'}.oi-battery-full:before{content:'\e01b'}.oi-beaker:before{content:'\e01c'}.oi-bell:before{content:'\e01d'}.oi-bluetooth:before{content:'\e01e'}.oi-bold:before{content:'\e01f'}.oi-bolt:before{content:'\e020'}.oi-book:before{content:'\e021'}.oi-bookmark:before{content:'\e022'}.oi-box:before{content:'\e023'}.oi-briefcase:before{content:'\e024'}.oi-british-pound:before{content:'\e025'}.oi-browser:before{content:'\e026'}.oi-brush:before{content:'\e027'}.oi-bug:before{content:'\e028'}.oi-bullhorn:before{content:'\e029'}.oi-calculator:before{content:'\e02a'}.oi-calendar:before{content:'\e02b'}.oi-camera-slr:before{content:'\e02c'}.oi-caret-bottom:before{content:'\e02d'}.oi-caret-left:before{content:'\e02e'}.oi-caret-right:before{content:'\e02f'}.oi-caret-top:before{content:'\e030'}.oi-cart:before{content:'\e031'}.oi-chat:before{content:'\e032'}.oi-check:before{content:'\e033'}.oi-chevron-bottom:before{content:'\e034'}.oi-chevron-left:before{content:'\e035'}.oi-chevron-right:before{content:'\e036'}.oi-chevron-top:before{content:'\e037'}.oi-circle-check:before{content:'\e038'}.oi-circle-x:before{content:'\e039'}.oi-clipboard:before{content:'\e03a'}.oi-clock:before{content:'\e03b'}.oi-cloud-download:before{content:'\e03c'}.oi-cloud-upload:before{content:'\e03d'}.oi-cloud:before{content:'\e03e'}.oi-cloudy:before{content:'\e03f'}.oi-code:before{content:'\e040'}.oi-cog:before{content:'\e041'}.oi-collapse-down:before{content:'\e042'}.oi-collapse-left:before{content:'\e043'}.oi-collapse-right:before{content:'\e044'}.oi-collapse-up:before{content:'\e045'}.oi-command:before{content:'\e046'}.oi-comment-square:before{content:'\e047'}.oi-compass:before{content:'\e048'}.oi-contrast:before{content:'\e049'}.oi-copywriting:before{content:'\e04a'}.oi-credit-card:before{content:'\e04b'}.oi-crop:before{content:'\e04c'}.oi-dashboard:before{content:'\e04d'}.oi-data-transfer-download:before{content:'\e04e'}.oi-data-transfer-upload:before{content:'\e04f'}.oi-delete:before{content:'\e050'}.oi-dial:before{content:'\e051'}.oi-document:before{content:'\e052'}.oi-dollar:before{content:'\e053'}.oi-double-quote-sans-left:before{content:'\e054'}.oi-double-quote-sans-right:before{content:'\e055'}.oi-double-quote-serif-left:before{content:'\e056'}.oi-double-quote-serif-right:before{content:'\e057'}.oi-droplet:before{content:'\e058'}.oi-eject:before{content:'\e059'}.oi-elevator:before{content:'\e05a'}.oi-ellipses:before{content:'\e05b'}.oi-envelope-closed:before{content:'\e05c'}.oi-envelope-open:before{content:'\e05d'}.oi-euro:before{content:'\e05e'}.oi-excerpt:before{content:'\e05f'}.oi-expand-down:before{content:'\e060'}.oi-expand-left:before{content:'\e061'}.oi-expand-right:before{content:'\e062'}.oi-expand-up:before{content:'\e063'}.oi-external-link:before{content:'\e064'}.oi-eye:before{content:'\e065'}.oi-eyedropper:before{content:'\e066'}.oi-file:before{content:'\e067'}.oi-fire:before{content:'\e068'}.oi-flag:before{content:'\e069'}.oi-flash:before{content:'\e06a'}.oi-folder:before{content:'\e06b'}.oi-fork:before{content:'\e06c'}.oi-fullscreen-enter:before{content:'\e06d'}.oi-fullscreen-exit:before{content:'\e06e'}.oi-globe:before{content:'\e06f'}.oi-graph:before{content:'\e070'}.oi-grid-four-up:before{content:'\e071'}.oi-grid-three-up:before{content:'\e072'}.oi-grid-two-up:before{content:'\e073'}.oi-hard-drive:before{content:'\e074'}.oi-header:before{content:'\e075'}.oi-headphones:before{content:'\e076'}.oi-heart:before{content:'\e077'}.oi-home:before{content:'\e078'}.oi-image:before{content:'\e079'}.oi-inbox:before{content:'\e07a'}.oi-infinity:before{content:'\e07b'}.oi-info:before{content:'\e07c'}.oi-italic:before{content:'\e07d'}.oi-justify-center:before{content:'\e07e'}.oi-justify-left:before{content:'\e07f'}.oi-justify-right:before{content:'\e080'}.oi-key:before{content:'\e081'}.oi-laptop:before{content:'\e082'}.oi-layers:before{content:'\e083'}.oi-lightbulb:before{content:'\e084'}.oi-link-broken:before{content:'\e085'}.oi-link-intact:before{content:'\e086'}.oi-list-rich:before{content:'\e087'}.oi-list:before{content:'\e088'}.oi-location:before{content:'\e089'}.oi-lock-locked:before{content:'\e08a'}.oi-lock-unlocked:before{content:'\e08b'}.oi-loop-circular:before{content:'\e08c'}.oi-loop-square:before{content:'\e08d'}.oi-loop:before{content:'\e08e'}.oi-magnifying-glass:before{content:'\e08f'}.oi-map-marker:before{content:'\e090'}.oi-map:before{content:'\e091'}.oi-media-pause:before{content:'\e092'}.oi-media-play:before{content:'\e093'}.oi-media-record:before{content:'\e094'}.oi-media-skip-backward:before{content:'\e095'}.oi-media-skip-forward:before{content:'\e096'}.oi-media-step-backward:before{content:'\e097'}.oi-media-step-forward:before{content:'\e098'}.oi-media-stop:before{content:'\e099'}.oi-medical-cross:before{content:'\e09a'}.oi-menu:before{content:'\e09b'}.oi-microphone:before{content:'\e09c'}.oi-minus:before{content:'\e09d'}.oi-monitor:before{content:'\e09e'}.oi-moon:before{content:'\e09f'}.oi-move:before{content:'\e0a0'}.oi-musical-note:before{content:'\e0a1'}.oi-paperclip:before{content:'\e0a2'}.oi-pencil:before{content:'\e0a3'}.oi-people:before{content:'\e0a4'}.oi-person:before{content:'\e0a5'}.oi-phone:before{content:'\e0a6'}.oi-pie-chart:before{content:'\e0a7'}.oi-pin:before{content:'\e0a8'}.oi-play-circle:before{content:'\e0a9'}.oi-plus:before{content:'\e0aa'}.oi-power-standby:before{content:'\e0ab'}.oi-print:before{content:'\e0ac'}.oi-project:before{content:'\e0ad'}.oi-pulse:before{content:'\e0ae'}.oi-puzzle-piece:before{content:'\e0af'}.oi-question-mark:before{content:'\e0b0'}.oi-rain:before{content:'\e0b1'}.oi-random:before{content:'\e0b2'}.oi-reload:before{content:'\e0b3'}.oi-resize-both:before{content:'\e0b4'}.oi-resize-height:before{content:'\e0b5'}.oi-resize-width:before{content:'\e0b6'}.oi-rss-alt:before{content:'\e0b7'}.oi-rss:before{content:'\e0b8'}.oi-script:before{content:'\e0b9'}.oi-share-boxed:before{content:'\e0ba'}.oi-share:before{content:'\e0bb'}.oi-shield:before{content:'\e0bc'}.oi-signal:before{content:'\e0bd'}.oi-signpost:before{content:'\e0be'}.oi-sort-ascending:before{content:'\e0bf'}.oi-sort-descending:before{content:'\e0c0'}.oi-spreadsheet:before{content:'\e0c1'}.oi-star:before{content:'\e0c2'}.oi-sun:before{content:'\e0c3'}.oi-tablet:before{content:'\e0c4'}.oi-tag:before{content:'\e0c5'}.oi-tags:before{content:'\e0c6'}.oi-target:before{content:'\e0c7'}.oi-task:before{content:'\e0c8'}.oi-terminal:before{content:'\e0c9'}.oi-text:before{content:'\e0ca'}.oi-thumb-down:before{content:'\e0cb'}.oi-thumb-up:before{content:'\e0cc'}.oi-timer:before{content:'\e0cd'}.oi-transfer:before{content:'\e0ce'}.oi-trash:before{content:'\e0cf'}.oi-underline:before{content:'\e0d0'}.oi-vertical-align-bottom:before{content:'\e0d1'}.oi-vertical-align-center:before{content:'\e0d2'}.oi-vertical-align-top:before{content:'\e0d3'}.oi-video:before{content:'\e0d4'}.oi-volume-high:before{content:'\e0d5'}.oi-volume-low:before{content:'\e0d6'}.oi-volume-off:before{content:'\e0d7'}.oi-warning:before{content:'\e0d8'}.oi-wifi:before{content:'\e0d9'}.oi-wrench:before{content:'\e0da'}.oi-x:before{content:'\e0db'}.oi-yen:before{content:'\e0dc'}.oi-zoom-in:before{content:'\e0dd'}.oi-zoom-out:before{content:'\e0de'} \ No newline at end of file diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot deleted file mode 100644 index f98177db..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.eot and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf deleted file mode 100644 index f6bd6846..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.otf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg deleted file mode 100644 index 32b2c4e9..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.svg +++ /dev/null @@ -1,543 +0,0 @@ - - - - - -Created by FontForge 20120731 at Tue Jul 1 20:39:22 2014 - By P.J. Onori -Created by P.J. Onori with FontForge 2.0 (http://fontforge.sf.net) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf deleted file mode 100644 index fab60486..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.ttf and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff deleted file mode 100644 index f9309988..00000000 Binary files a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/open-iconic/font/fonts/open-iconic.woff and /dev/null differ diff --git a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/site.css b/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/site.css deleted file mode 100644 index 96b05836..00000000 --- a/Toolbar/Custom Toolbar/Primary Custom Toolbar/Without-Default-Options/Without-Default-Options/wwwroot/css/site.css +++ /dev/null @@ -1,68 +0,0 @@ -@import url('open-iconic/font/css/open-iconic-bootstrap.min.css'); - -html, body { - font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; -} - -h1:focus { - outline: none; -} - -a, .btn-link { - color: #0071c1; -} - -.btn-primary { - color: #fff; - background-color: #1b6ec2; - border-color: #1861ac; -} - -.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; -} - -.content { - padding-top: 1.1rem; -} - -.valid.modified:not([type=checkbox]) { - outline: 1px solid #26b050; -} - -.invalid { - outline: 1px solid red; -} - -.validation-message { - color: red; -} - -#blazor-error-ui { - background: lightyellow; - bottom: 0; - box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2); - display: none; - left: 0; - padding: 0.6rem 1.25rem 0.7rem 1.25rem; - position: fixed; - width: 100%; - z-index: 1000; -} - - #blazor-error-ui .dismiss { - cursor: pointer; - position: absolute; - right: 0.75rem; - top: 0.5rem; - } - -.blazor-error-boundary { - background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121; - padding: 1rem 1rem 1rem 3.7rem; - color: white; -} - - .blazor-error-boundary::after { - content: "An error has occurred." - }