mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 22:16:38 +02:00
purple sidebar
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.bd-sidebar {
|
.bd-sidebar {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f2f9;
|
||||||
border-bottom: 1px solid rgba(0,0,0,.1);
|
border-bottom: 1px solid rgba(0,0,0,.1);
|
||||||
|
|
||||||
@include media-breakpoint-up(md) {
|
@include media-breakpoint-up(md) {
|
||||||
@@ -89,27 +89,28 @@
|
|||||||
padding: .75rem 1.5rem;
|
padding: .75rem 1.5rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: $gray;
|
color: $gray;
|
||||||
}
|
|
||||||
|
|
||||||
.bd-toc-link:hover {
|
&:hover {
|
||||||
color: $brand-primary;
|
color: $brand-primary;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: #fafafa;
|
background-color: rgba(0,0,0,.01);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-toc-item {
|
.bd-toc-item {
|
||||||
|
border-bottom: 1px solid rgba(0,0,0,.05);
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-top: 1px solid $gray-lighter;
|
border-top: 1px solid rgba(0,0,0,.05);
|
||||||
}
|
|
||||||
&:not(:last-child) {
|
|
||||||
border-bottom: 1px solid $gray-lighter;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background-color: #fafafa;
|
|
||||||
|
|
||||||
> .bd-toc-link {
|
> .bd-toc-link {
|
||||||
color: $gray-dark;
|
color: $gray-dark;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
> .bd-sidenav {
|
> .bd-sidenav {
|
||||||
@@ -124,7 +125,7 @@
|
|||||||
display: block;
|
display: block;
|
||||||
padding: .25rem 1.5rem;
|
padding: .25rem 1.5rem;
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
color: #99979c;
|
color: rgba(0,0,0,.65);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-sidebar .nav > li > a:hover {
|
.bd-sidebar .nav > li > a:hover {
|
||||||
|
Reference in New Issue
Block a user