cosmo: add control-info state
[bootswatch] / cosmo / bootswatch.less
index 4681c47..d7c85cf 100644 (file)
@@ -1,4 +1,4 @@
-// Cosmo 2.2.2
+// Cosmo 2.3.2
 // Bootswatch
 // -----------------------------------------------------
 
@@ -126,8 +126,8 @@ a.text-success:hover { color: darken(@green, 10%); }
 
 div.subnav {
 
-       background-color: @grayLight;
-       background-image: none;
+       margin: 0 1px;
+       background: @grayLight none;
        .box-shadow(none);
        border: none;
        .border-radius(0);
@@ -145,12 +145,12 @@ div.subnav {
                border-color: transparent;
                background-color: @black;
                color: @white;
-               // border-left-width: 2px;
                .box-shadow(none);
        }
 
        &-fixed {
-               top: @navbarHeight;
+               top: @navbarHeight + 1;
+               margin: 0;
        }
 }
 
@@ -163,7 +163,6 @@ div.subnav {
        & > li.dropdown.open.active > a:hover {
                color: @blue;
        }
-
 }
 
 .nav-tabs {
@@ -363,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;
        }
 
@@ -435,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,