Skip to content

Commit

Permalink
🚧 Adjust contact form control backgrounds to be a darken
Browse files Browse the repository at this point in the history
  • Loading branch information
Fydar committed Mar 13, 2024
1 parent 0e32a1c commit 3dab034
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Fydar.Dev.WebApp/Components/Pages/ContactPage.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ p {
border-radius: 8px;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
box-shadow: 0 0 0 500px var(--color-background-1) inset, 0 0 0 0 var(--color-border-select-1);
box-shadow: 0 0 0 500px rgb(0 0 0 / 8%) inset, 0 0 0 0 var(--color-border-select-1);
}

::deep .form-control:focus {
Expand All @@ -101,7 +101,7 @@ p {
outline: 0;
border: 1px solid var(--color-border-select-2);
color: var(--color-text-subtle-1);
box-shadow: 0 0 0 500px var(--color-background-1) inset, 0 0 0 5px var(--color-border-select-1);
box-shadow: 0 0 0 500px rgb(0 0 0 / 8%) inset, 0 0 0 5px var(--color-border-select-1);
}

::deep .form-control:-webkit-autofill {
Expand Down Expand Up @@ -129,7 +129,7 @@ p {

::deep .form-control:user-invalid,
::deep .form-control.invalid {
box-shadow: 0 0 0 500px var(--color-background-1) inset, 0 0 0 0 var(--color-border-error-1);
box-shadow: 0 0 0 500px rgb(0 0 0 / 8%) inset, 0 0 0 0 var(--color-border-error-1);
border: 1px solid var(--color-border-error-2);
padding-right: calc(1.5em + .75rem);
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
Expand All @@ -142,7 +142,7 @@ p {
::deep .form-control:user-invalid:focus,
::deep .form-control.invalid:focus {
border-color: var(--color-border-error-2);
box-shadow: 0 0 0 500px var(--color-background-1) inset, 0 0 0 5px var(--color-border-error-1);
box-shadow: 0 0 0 500px rgb(0 0 0 / 8%) inset, 0 0 0 5px var(--color-border-error-1);
}

::deep .feedback {
Expand Down

0 comments on commit 3dab034

Please sign in to comment.