Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
a78e86ae
Commit
a78e86ae
authored
7 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
more minimal sidebar nav
parent
2fd19296
7 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!25326
Adjust examples
,
!23995
Add back cursor: pointer for .btn-link
,
!23178
Spinner
,
!22716
Docs redesign
,
!17021
v4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
assets/scss/_sidebar.scss
+16
-17
assets/scss/_sidebar.scss
with
16 additions
and
17 deletions
+16
-17
assets/scss/_sidebar.scss
+
16
-
17
View file @
a78e86ae
...
...
@@ -64,8 +64,7 @@
}
.bd-links
{
margin-right
:
-15px
;
margin-left
:
-15px
;
margin
:
1rem
-15px
;
// Override collapse behaviors
@include
media-breakpoint-up
(
md
)
{
...
...
@@ -75,8 +74,10 @@
.bd-search
{
position
:
relative
;
// To contain the Algolia search
padding-top
:
1rem
;
padding-bottom
:
1rem
;
padding
:
1rem
15px
;
margin-right
:
-15px
;
margin-left
:
-15px
;
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,.
05
);
.form-control
:focus
{
border-color
:
$bd-purple-bright
;
...
...
@@ -95,27 +96,26 @@
.bd-toc-link
{
display
:
block
;
padding
:
.
7
5rem
1
.5rem
;
padding
:
.
2
5rem
1
.5rem
;
font-weight
:
500
;
color
:
$gray
;
color
:
rgba
(
0
,
0
,
0
,.
65
)
;
&
:hover
{
color
:
$brand-primary
;
color
:
rgba
(
0
,
0
,
0
,.
85
)
;
text-decoration
:
none
;
background-color
:
rgba
(
0
,
0
,
0
,.
01
);
}
}
.bd-toc-item
{
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,.
05
);
&
.active
{
margin-bottom
:
1rem
;
&
:first-child
{
border-top
:
1px
solid
rgba
(
0
,
0
,
0
,.
05
)
;
}
&
:
not
(
:
first-child
)
{
margin-top
:
1rem
;
}
&
.active
{
>
.bd-toc-link
{
color
:
$gray-dark
;
color
:
rgba
(
0
,
0
,
0
,.
85
)
;
&
:hover
{
background-color
:
transparent
;
...
...
@@ -124,7 +124,6 @@
>
.bd-sidenav
{
display
:
block
;
padding-bottom
:
.75rem
;
}
}
}
...
...
@@ -138,7 +137,7 @@
}
.bd-sidebar
.nav
>
li
>
a
:hover
{
color
:
$brand-primary
;
color
:
rgba
(
0
,
0
,
0
,.
85
)
;
text-decoration
:
none
;
background-color
:
transparent
;
}
...
...
@@ -146,6 +145,6 @@
.bd-sidebar
.nav
>
.active
>
a
,
.bd-sidebar
.nav
>
.active
:hover
>
a
{
font-weight
:
500
;
color
:
$gray-dark
;
color
:
rgba
(
0
,
0
,
0
,.
85
)
;
background-color
:
transparent
;
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets