diff --git a/SportsStore/SportsStore.WebUI/Content/ErrorStyles.css b/SportsStore/SportsStore.WebUI/Content/ErrorStyles.css new file mode 100644 index 0000000..035f549 --- /dev/null +++ b/SportsStore/SportsStore.WebUI/Content/ErrorStyles.css @@ -0,0 +1,21 @@ +.field-validation-error     { + color: #f00; +} + +.field-validation-valid     { + display: none; +} + +.input-validation-error     { + border: 1px solid #f00; + background-color: #fee; +} + +.validation-summary-errors { + font-weight: bold; + color: #f00; +} + +.validation-summary-valid   { + display: none; +} diff --git a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj index b8817e6..debeef3 100644 --- a/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj +++ b/SportsStore/SportsStore.WebUI/SportsStore.WebUI.csproj @@ -114,6 +114,7 @@ +