Skip to content

Commit

Permalink
spruce: fix color on control-label states
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Jan 27, 2013
1 parent 489a0d3 commit 664fea0
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
8 changes: 5 additions & 3 deletions spruce/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -5503,7 +5503,11 @@ select {
-moz-border-radius: 4px;
border-radius: 4px;
}
.control-group.error label,
.control-group.warning .control-label,
.control-group.error .control-label,
.control-group.success .control-label {
color: #555555;
}
.control-group.error .help-block,
.control-group.error .help-inline {
color: #d14432;
Expand All @@ -5514,7 +5518,6 @@ select {
border: 1px solid #d14432;
color: #555555;
}
.control-group.success label,
.control-group.success .help-block,
.control-group.success .help-inline {
color: #015b4e;
Expand All @@ -5525,7 +5528,6 @@ select {
border: 1px solid #015b4e;
color: #555555;
}
.control-group.warning label,
.control-group.warning .help-block,
.control-group.warning .help-inline {
color: #f26522;
Expand Down
7 changes: 4 additions & 3 deletions spruce/bootstrap.min.css

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

21 changes: 18 additions & 3 deletions spruce/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -499,9 +499,22 @@ input, textarea, select {
.border-radius(4px);
}

.control-group {

&.warning,
&.error,
&.success {

.control-label {
color: @textColor;
}
}
}

.control-group.error {

label, .help-block, .help-inline {
.help-block,
.help-inline {
color: @red;
}

Expand All @@ -513,7 +526,8 @@ input, textarea, select {

.control-group.success {

label, .help-block, .help-inline {
.help-block,
.help-inline {
color: @green;
}

Expand All @@ -525,7 +539,8 @@ input, textarea, select {

.control-group.warning {

label, .help-block, .help-inline {
.help-block,
.help-inline {
color: @orange;
}

Expand Down

0 comments on commit 664fea0

Please sign in to comment.