Skip to content

Commit

Permalink
cosmo: add control-info state
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Jul 29, 2013
1 parent 721a5f1 commit 1852ae7
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 23 deletions.
30 changes: 19 additions & 11 deletions cosmo/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
/*!
* Bootstrap v2.3.2
*
* Copyright 2012 Twitter, Inc
* Copyright 2013 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world by @mdo and @fat.
*/

.clearfix {
Expand Down Expand Up @@ -6525,15 +6525,10 @@ div.subnav-fixed {
box-shadow: none;
}

.table tbody tr.success td {
color: #ffffff;
}

.table tbody tr.error td {
color: #ffffff;
}

.table tbody tr.info td {
.table tbody tr.success td,
.table tbody tr.error td,
.table tbody tr.info td,
.table tbody tr.warning td {
color: #ffffff;
}

Expand Down Expand Up @@ -6603,6 +6598,19 @@ input[type="color"] {
border-color: #ff0039;
}

.control-group.info .control-label,
.control-group.info .help-block,
.control-group.info .help-inline {
color: #9954bb;
}

.control-group.info input,
.control-group.info select,
.control-group.info textarea {
color: #080808;
border-color: #9954bb;
}

.control-group.success .control-label,
.control-group.success .help-block,
.control-group.success .help-inline {
Expand Down
6 changes: 3 additions & 3 deletions cosmo/bootstrap.min.css

Large diffs are not rendered by default.

29 changes: 20 additions & 9 deletions cosmo/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -362,15 +362,10 @@ div.subnav {

.table {

tbody tr.success td {
color: @white;
}

tbody tr.error td {
color: @white;
}

tbody tr.info td {
tbody tr.success td,
tbody tr.error td,
tbody tr.info td,
tbody tr.warning td {
color: @white;
}

Expand Down Expand Up @@ -434,6 +429,22 @@ input[type="search"], input[type="tel"], input[type="color"] {
}
}

&.info {

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

input,
select,
textarea {
border-color: @purple;
color: @grayDarker;
}
}

&.success {

.control-label,
Expand Down

0 comments on commit 1852ae7

Please sign in to comment.