Skip to content

Commit ed81d54

Browse files
committed
Nav-pills
1 parent 13854aa commit ed81d54

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

bootstrap/css/multiloquent/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,7 @@ h3.nowrap {
812812
.navitems.article.white2 {
813813
text-align: center;
814814
}
815+
/* ---- pagination --- */
815816
.pagination .page-numbers {
816817
display: inline-block;
817818
margin: 0;
@@ -851,6 +852,22 @@ h3.nowrap {
851852
.pager li > span {
852853
border-radius: 5px;
853854
}
855+
/* ---- nav-pills --- */
856+
.nav-pills > li {
857+
display: inline;
858+
}
859+
.nav-pills > li > a,
860+
.nav-pills > li > span {
861+
color: #1c567f;
862+
}
863+
.nav-pills > li.active > a,
864+
.nav-pills > li.active > span {
865+
background-color: #1c567f;
866+
}
867+
.nav-pills > li.active > a:hover,
868+
.nav-pills > li.active > span:hover {
869+
background-color: #2572a9;
870+
}
854871
.restricted-height-sidebar {
855872
line-height: 53px;
856873
max-height: 53px;

bootstrap/less/multiloquent/style.less

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,7 @@ h3.nowrap {
949949
}
950950

951951

952+
/* ---- pagination --- */
952953

953954
.pagination {
954955
.page-numbers {
@@ -990,6 +991,27 @@ h3.nowrap {
990991
border-radius: 5px;
991992
}
992993

994+
995+
/* ---- nav-pills --- */
996+
997+
.nav-pills {
998+
&>li {
999+
display: inline;
1000+
&>a, &>span {
1001+
color: @primary-color;
1002+
}
1003+
&.active {
1004+
&>a, &>span {
1005+
background-color: @primary-color;
1006+
&:hover{
1007+
background-color: lighten(@primary-color,10%);
1008+
}
1009+
}
1010+
}
1011+
}
1012+
}
1013+
1014+
9931015
.restricted-height-sidebar {
9941016
line-height: 53px;
9951017
max-height: 53px;

0 commit comments

Comments
 (0)