9.3.6 Displaying Validation Errors; Listing 9-20 The Contents of the ErrorStyles.css File
parent
f4146a6c0f
commit
ba2f003e49
|
@ -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;
|
||||||
|
}
|
|
@ -114,6 +114,7 @@
|
||||||
<Content Include="Content\bootstrap-theme.min.css" />
|
<Content Include="Content\bootstrap-theme.min.css" />
|
||||||
<Content Include="Content\bootstrap.css" />
|
<Content Include="Content\bootstrap.css" />
|
||||||
<Content Include="Content\bootstrap.min.css" />
|
<Content Include="Content\bootstrap.min.css" />
|
||||||
|
<Content Include="Content\ErrorStyles.css" />
|
||||||
<Content Include="Content\Site.css" />
|
<Content Include="Content\Site.css" />
|
||||||
<Content Include="fonts\glyphicons-halflings-regular.svg" />
|
<Content Include="fonts\glyphicons-halflings-regular.svg" />
|
||||||
<Content Include="Global.asax" />
|
<Content Include="Global.asax" />
|
||||||
|
|
Loading…
Reference in New Issue