зеркало из https://github.com/dotnet/aspnetcore.git
Blazor templates Accessebility (#50785)
* fix "About" link dissapearing * fix app name * fix navmenu tab color contrast with background and text * set user-scalable in meta tag * fix text contrast of code tag against bootstrap alert-warning background
This commit is contained in:
Родитель
50a16852bc
Коммит
51dc5735a0
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<base href="/" />
|
||||
@*#if (SampleContent)
|
||||
<link rel="stylesheet" href="bootstrap/bootstrap.min.css" />
|
||||
|
|
|
@ -38,11 +38,7 @@ main {
|
|||
}
|
||||
|
||||
@media (max-width: 640.98px) {
|
||||
.top-row:not(.auth) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.top-row.auth {
|
||||
.top-row {
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<div class="top-row ps-3 navbar navbar-dark">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="">MyBlazorWeb</a>
|
||||
<a class="navbar-brand" href="">BlazorWeb-CSharp</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
}
|
||||
|
||||
.nav-item ::deep a.active {
|
||||
background-color: rgba(255,255,255,0.25);
|
||||
background-color: rgba(255,255,255,0.37);
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
}
|
||||
|
||||
.nav-item ::deep a.active {
|
||||
background-color: rgba(255,255,255,0.4);
|
||||
background-color: rgba(255,255,255,0.37);
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
|
|
@ -99,3 +99,7 @@ a, .btn-link {
|
|||
.loading-progress-text:after {
|
||||
content: var(--blazor-load-percentage-text, "Loading");
|
||||
}
|
||||
|
||||
code {
|
||||
color: #c02d76;
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>ComponentsWebAssembly-CSharp</title>
|
||||
<base href="/" />
|
||||
<!--#if SampleContent -->
|
||||
|
|
Загрузка…
Ссылка в новой задаче