!2723 doc(#I555PR): update logo for nuget package and website
* chore: 增加移动端适配脚本 * doc: 更新移动端菜单颜色 * chore: 更新 logo 尺寸 * chore: 更新网站 logo 图标 * chore: 更新图标 * chore: 增加 Header 悬浮特效 * chore: 删除不使用的工程 * chore: 更新 Logo 图标
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 44 KiB |
@ -1,4 +1,4 @@
|
||||
header {
|
||||
header {
|
||||
background-color: #7952b3;
|
||||
box-shadow: 0 0.5rem 1rem rgba(0,0,0,.05), inset 0 -1px 0 rgba(0,0,0,.1);
|
||||
font-size: 1rem;
|
||||
@ -9,6 +9,10 @@
|
||||
color: rgba(255,255,255,.85);
|
||||
}
|
||||
|
||||
.navbar-dark .navbar-nav .nav-link:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
header.hide {
|
||||
transform: translate3d(0,calc(-100% - 2px),0);
|
||||
@ -111,7 +115,7 @@ section {
|
||||
}
|
||||
|
||||
.sidebar .navbar {
|
||||
background-color: rgb(60, 40, 97);
|
||||
background-color: #8864ca;
|
||||
}
|
||||
|
||||
.sidebar .sidebar-title {
|
||||
|
@ -198,22 +198,25 @@
|
||||
bb_site_load: function (el) {
|
||||
$(el).tooltip();
|
||||
|
||||
// Intro 弹窗
|
||||
var $intro = $('.blazor-intro');
|
||||
$('.blazor-intro-close').on('click', function () {
|
||||
if (handler != null) {
|
||||
window.clearInterval(handler);
|
||||
var width = $(window).width();
|
||||
if (width >= 768) {
|
||||
// Intro 弹窗
|
||||
var $intro = $('.blazor-intro');
|
||||
$('.blazor-intro-close').on('click', function () {
|
||||
if (handler != null) {
|
||||
window.clearInterval(handler);
|
||||
$intro.slideToggle('fade');
|
||||
}
|
||||
});
|
||||
var count = 0;
|
||||
var handler = window.setInterval(function () {
|
||||
count++;
|
||||
$intro.slideToggle('fade');
|
||||
}
|
||||
});
|
||||
var count = 0;
|
||||
var handler = window.setInterval(function () {
|
||||
count++;
|
||||
$intro.slideToggle('fade');
|
||||
if (count >= 2) {
|
||||
window.clearInterval(handler);
|
||||
}
|
||||
}, 5000);
|
||||
if (count >= 2) {
|
||||
window.clearInterval(handler);
|
||||
}
|
||||
}, 15000);
|
||||
}
|
||||
},
|
||||
bb_block: function (el) {
|
||||
var $el = $(el);
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
@ -3,7 +3,7 @@
|
||||
<Import Project="..\..\..\bundleconfig.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>6.1.2</Version>
|
||||
<Version>6.1.3</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
@ -1,17 +0,0 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>6.0.0</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<PackageTags>Bootstrap Blazor Speech Components</PackageTags>
|
||||
<Description>Bootstrap UI components extensions of Speech</Description>
|
||||
<RootNamespace>BootstrapBlazor.Components</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\BootstrapBlazor\BootstrapBlazor.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
@ -1,26 +0,0 @@
|
||||
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
|
||||
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
||||
// Website: https://www.blazor.zone or https://argozhang.github.io/
|
||||
|
||||
using BootstrapBlazor.Components;
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
|
||||
namespace Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
/// <summary>
|
||||
/// BootstrapBlazor 服务扩展类
|
||||
/// </summary>
|
||||
public static class ServiceCollectionExtensions
|
||||
{
|
||||
/// <summary>
|
||||
/// 增加 BootstrapBlazor 服务
|
||||
/// </summary>
|
||||
/// <param name="services"></param>
|
||||
/// <returns></returns>
|
||||
public static IServiceCollection AddBootstrapBlazorSpeech(this IServiceCollection services)
|
||||
{
|
||||
services.TryAddScoped<SpeechService>();
|
||||
services.TryAddScoped<ISpeechProvider, AzureSpeechProvider>();
|
||||
return services;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 6.3 KiB |