navs add different color

https://github.com/almasaeed2010/AdminLTE/issues/429
This commit is contained in:
Mark
2015-08-19 15:34:37 +08:00
parent 81aa879d3a
commit f7dc1429e2

View File

@@ -166,6 +166,49 @@
color: #999;
}
}
// Tab color variations
&.tab-primary {
> .nav-tabs {
> li.active {
border-top-color: @light-blue;
}
}
}
&.tab-info {
> .nav-tabs {
> li.active {
border-top-color: @aqua;
}
}
}
&.tab-danger {
> .nav-tabs {
> li.active {
border-top-color: @red;
}
}
}
&.tab-warning {
> .nav-tabs {
> li.active {
border-top-color: @yellow;
}
}
}
&.tab-success {
> .nav-tabs {
> li.active {
border-top-color: @green;
}
}
}
&.tab-default {
> .nav-tabs {
> li.active {
border-top-color: @gray;
}
}
}
}
/* PAGINATION */
@@ -179,4 +222,4 @@
.border-radius(0)!important;
}
}
}
}