mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-03 15:24:19 +01:00
Tweak side nav styles
This commit is contained in:
parent
c75f3748e8
commit
73427f717d
@ -230,8 +230,8 @@ body {
|
|||||||
.bs-sidenav {
|
.bs-sidenav {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
padding-top: 15px;
|
padding-top: 5px;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 5px;
|
||||||
text-shadow: 0 1px 0 #fff;
|
text-shadow: 0 1px 0 #fff;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
@ -241,7 +241,7 @@ body {
|
|||||||
.bs-sidebar .nav > li > a {
|
.bs-sidebar .nav > li > a {
|
||||||
display: block;
|
display: block;
|
||||||
color: #666;
|
color: #666;
|
||||||
padding: 4px 20px;
|
padding: 5px 20px;
|
||||||
}
|
}
|
||||||
.bs-sidebar .nav > li > a:hover,
|
.bs-sidebar .nav > li > a:hover,
|
||||||
.bs-sidebar .nav > li > a:focus {
|
.bs-sidebar .nav > li > a:focus {
|
||||||
@ -251,7 +251,7 @@ body {
|
|||||||
.bs-sidebar .nav > .active > a,
|
.bs-sidebar .nav > .active > a,
|
||||||
.bs-sidebar .nav > .active:hover > a,
|
.bs-sidebar .nav > .active:hover > a,
|
||||||
.bs-sidebar .nav > .active:focus > a {
|
.bs-sidebar .nav > .active:focus > a {
|
||||||
font-weight: 500;
|
font-weight: bold;
|
||||||
color: #563d7c;
|
color: #563d7c;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
border-right: 1px solid #563d7c;
|
border-right: 1px solid #563d7c;
|
||||||
@ -260,14 +260,14 @@ body {
|
|||||||
/* Nav: second level (shown on .active) */
|
/* Nav: second level (shown on .active) */
|
||||||
.bs-sidebar .nav .nav {
|
.bs-sidebar .nav .nav {
|
||||||
display: none;
|
display: none;
|
||||||
margin-bottom: 5px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
.bs-sidebar .nav > .active > ul {
|
.bs-sidebar .nav > .active > ul {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.bs-sidebar .nav .nav > li > a {
|
.bs-sidebar .nav .nav > li > a {
|
||||||
padding-top: 2px;
|
padding-top: 3px;
|
||||||
padding-bottom: 2px;
|
padding-bottom: 3px;
|
||||||
padding-left: 30px;
|
padding-left: 30px;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user