-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validation color in the login layout (#14400)
- Loading branch information
1 parent
f2c2d7b
commit 57f6644
Showing
12 changed files
with
76 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/OrchardCore.Themes/TheAdmin/Assets/js/userPreferencesPersistor.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
body, html { | ||
height: 100%; | ||
} | ||
|
||
.auth-wrapper { | ||
width: 100%; | ||
max-width: 800px; | ||
margin: auto; | ||
} | ||
|
||
@import 'components/validations'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
body, html { | ||
height: 100%; | ||
} | ||
|
||
.auth-wrapper { | ||
width: 100%; | ||
max-width: 800px; | ||
margin: auto; | ||
} | ||
|
||
span.field-validation-error { | ||
width: 100%; | ||
} | ||
|
||
.validation-summary-errors { | ||
--bs-alert-color: var(--bs-danger-text-emphasis); | ||
--bs-alert-bg: var(--bs-danger-bg-subtle); | ||
--bs-alert-border-color: var(--bs-danger-border-subtle); | ||
--bs-alert-link-color: var(--bs-danger-text-emphasis); | ||
--bs-alert-padding-x: 1rem; | ||
--bs-alert-padding-y: 1rem; | ||
--bs-alert-margin-bottom: 1rem; | ||
--bs-alert-border-color: transparent; | ||
--bs-alert-border: var(--bs-border-width) solid var(--bs-alert-border-color); | ||
--bs-alert-border-radius: var(--bs-border-radius); | ||
--bs-alert-link-color: inherit; | ||
position: relative; | ||
padding: var(--bs-alert-padding-y) var(--bs-alert-padding-x); | ||
margin-bottom: var(--bs-alert-margin-bottom); | ||
color: var(--bs-alert-color); | ||
background-color: var(--bs-alert-bg); | ||
border: var(--bs-alert-border); | ||
border-radius: var(--bs-alert-border-radius); | ||
} | ||
|
||
.validation-summary-errors ul { | ||
margin-bottom: 0 !important; | ||
} | ||
|
||
.field-validation-error { | ||
color: var(--bs-text-danger) !important; | ||
} | ||
|
||
.field-validation-valid { | ||
display: none; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.