Skip to content

Commit

Permalink
Update CSS (#16637)
Browse files Browse the repository at this point in the history
  • Loading branch information
ns8482e authored Aug 30, 2024
1 parent 09d10ec commit f44d339
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ span.field-validation-error {
// The following fields are coming from bootstrap.
border-color: var(--bs-form-invalid-border-color);
padding-right: calc(1.5em + 0.75rem);
}

input:not([type='checkbox']):not([type='radio']).input-validation-error {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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");
background-repeat: no-repeat;
background-position: right calc(0.375em + 0.1875rem) center;
Expand Down
3 changes: 3 additions & 0 deletions src/OrchardCore.Themes/TheAdmin/wwwroot/css/TheAdmin.css
Original file line number Diff line number Diff line change
Expand Up @@ -8688,6 +8688,9 @@ span.field-validation-error {
.input-validation-error {
border-color: var(--bs-form-invalid-border-color);
padding-right: calc(1.5em + 0.75rem);
}

input:not([type=checkbox]):not([type=radio]).input-validation-error {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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");
background-repeat: no-repeat;
background-position: right calc(0.375em + 0.1875rem) center;
Expand Down

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions src/OrchardCore.Themes/TheAdmin/wwwroot/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ span.field-validation-error {
.input-validation-error {
border-color: var(--bs-form-invalid-border-color);
padding-right: calc(1.5em + 0.75rem);
}

input:not([type=checkbox]):not([type=radio]).input-validation-error {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%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");
background-repeat: no-repeat;
background-position: right calc(0.375em + 0.1875rem) center;
Expand Down
2 changes: 1 addition & 1 deletion src/OrchardCore.Themes/TheAdmin/wwwroot/css/login.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f44d339

Please sign in to comment.