From f7dc1429e2a9e5053e99bc65eb75b2ad2b9baeee Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 19 Aug 2015 15:34:37 +0800 Subject: [PATCH] navs add different color https://github.com/almasaeed2010/AdminLTE/issues/429 --- build/less/navs.less | 45 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/build/less/navs.less b/build/less/navs.less index 45eb851d3..d02d2f25c 100644 --- a/build/less/navs.less +++ b/build/less/navs.less @@ -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; } } -} \ No newline at end of file +}