cyborg: add inverse label and badge, fix table row warning, close #118
[bootswatch] / cyborg / bootswatch.less
index b488c30..4633be2 100755 (executable)
@@ -1,4 +1,4 @@
-// Cyborg 2.2.2
+// Cyborg 2.3.2
 // Bootswatch
 // -----------------------------------------------------
 
@@ -165,16 +165,13 @@ hr {
 }
 
 div.subnav {
+
+       margin: 0 1px;
        background-color: @grayDarker;
        background-image: none;
        border: none;
        border-bottom: 1px solid @grayDark;
 
-
-       &.subnav-fixed {
-               top: @navbarHeight;
-       }
-
        .nav > li > a,
        .nav > li:first-child > a,
        .nav > li:first-child > a:hover {
@@ -198,6 +195,14 @@ div.subnav {
        .nav li.nav-header {
                text-shadow: none;
        }
+
+
+
+
+       &-fixed {
+               top: @navbarHeight;
+               margin: 0;
+       }
 }
 
 // NAV
@@ -215,6 +220,10 @@ div.subnav {
                color: @white;
        }
 
+       li.disabled > a {
+               color: @textColor;
+       }
+
        .open .dropdown-toggle {
                background-color: #060606;
                border-color: transparent;
@@ -228,6 +237,10 @@ div.subnav {
                color: @white;
        }
 
+       li.disabled > a {
+               color: @textColor;
+       }
+
        .open .dropdown-toggle {
                background-color: #060606;
        }
@@ -455,6 +468,11 @@ legend, label {
                background-color: @blue;
                color: @white;
        }
+
+       tbody tr.warning td {
+               background-color: @orange;
+               color: @white;
+       }
 }
 
 // DROPDOWNS
@@ -482,6 +500,12 @@ legend, label {
   border: none;
 }
 
+.alert {
+       h1, h2, h3, h4, h5, h6 {
+               color: @grayLighter;
+       }
+}
+
 .label {
        color: @grayLighter;
 }
@@ -496,7 +520,7 @@ legend, label {
 
 .label-important:hover { background-color: darken(@red, 10%); }
 
-.label-warning   { background-color: darken(@orange, 10%); }
+.label-warning, .alert-warning   { background-color: darken(@orange, 10%); }
 
 .label-warning:hover { background-color: darken(@orange, 20%); }
 
@@ -508,6 +532,12 @@ legend, label {
 
 .label-info:hover { background-color: darken(@blueDark, 20%); }
 
+.badge-inverse,
+.label-inverse,
+.alert-inverse { background-color: darken(@purple, 10%); }
+
+.label-inverse:hover { background-color: darken(@purple, 20%); }
+
 // MISC
 // -----------------------------------------------------