fix up docs css for responsive and subnav, fix forms error states

This commit is contained in:
Mark Otto
2012-01-24 23:35:34 -08:00
parent f2fe2b1798
commit 6ab56051fd
9 changed files with 1123 additions and 727 deletions

View File

@@ -297,15 +297,15 @@ textarea[readonly] {
}
// Warning
.control-group.warning {
.formFieldState(@warningText, @warningBorder, @warningBackground);
.formFieldState(@warningText, @warningText, @warningBackground);
}
// Error
.control-group.error {
.formFieldState(@errorText, @errorBorder, @errorBackground);
.formFieldState(@errorText, @errorText, @errorBackground);
}
// Success
.control-group.success {
.formFieldState(@successText, @successBorder, @successBackground);
.formFieldState(@successText, @successText, @successBackground);
}
// HTML5 invalid states

View File

@@ -16,6 +16,12 @@ p {
color: @grayLight;
}
}
.lead {
margin-bottom: @baseLineHeight;
font-size: 20px;
font-weight: 200;
line-height: @baseLineHeight * 1.5;
}
// HEADINGS
// --------
@@ -202,7 +208,6 @@ pre {
}
code {
padding: 3px 4px;
background-color: lighten(@orange, 40%);
color: #d14;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;