Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/spa-templates.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Sanderson <SteveSandersonMS@users.noreply.github.com>2022-08-03 19:03:56 +0300
committerSteve Sanderson <SteveSandersonMS@users.noreply.github.com>2022-08-04 15:51:50 +0300
commitbbd5404010791a6c0f364cd2b7ed1cd4b2846864 (patch)
tree8c3826a3d59baf521eae592a7564339236c0ae9b
parent5f01be1a9bbff7454601536bb761dd76deb053bc (diff)
Increase color contrast on focus highlight for counter button. Fixes https://github.com/dotnet/aspnetcore/issues/42367
-rw-r--r--src/content/Angular-CSharp/ClientApp/src/styles.css4
-rw-r--r--src/content/React-CSharp/ClientApp/src/custom.css4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/content/Angular-CSharp/ClientApp/src/styles.css b/src/content/Angular-CSharp/ClientApp/src/styles.css
index 3ef6a64..8b8c2e2 100644
--- a/src/content/Angular-CSharp/ClientApp/src/styles.css
+++ b/src/content/Angular-CSharp/ClientApp/src/styles.css
@@ -5,6 +5,10 @@ a {
color: #0366d6;
}
+.btn:focus, .btn:active:focus {
+ box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
+}
+
code {
color: #e01a76;
}
diff --git a/src/content/React-CSharp/ClientApp/src/custom.css b/src/content/React-CSharp/ClientApp/src/custom.css
index 5fdfd06..4436615 100644
--- a/src/content/React-CSharp/ClientApp/src/custom.css
+++ b/src/content/React-CSharp/ClientApp/src/custom.css
@@ -3,6 +3,10 @@ a {
color: #0366d6;
}
+.btn:focus, .btn:active:focus {
+ box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
+}
+
code {
color: #E01A76;
}