mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
more docs nav changes
This commit is contained in:
parent
71b6877328
commit
3c93681245
@ -3,12 +3,16 @@
|
||||
Bootstrap
|
||||
</a>
|
||||
|
||||
<form class="bs-docs-search hidden-xs-down">
|
||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#docsNavbarContent">
|
||||
☰
|
||||
</button>
|
||||
|
||||
<form class="bs-docs-search hidden-sm-down">
|
||||
<input type="text" class="form-control" id="search-input" placeholder="Search...">
|
||||
<ul class="dropdown-menu bs-docs-search-results" id="search-results"></ul>
|
||||
</form>
|
||||
|
||||
<nav class="bs-docs-links hidden-xs-down">
|
||||
<nav class="bs-docs-links collapse hidden-xs-down" id="docsNavbarContent">
|
||||
{% for group in site.data.nav %}
|
||||
{% assign link = group.pages | first %}
|
||||
{% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
|
||||
|
2
docs/assets/css/docs.min.css
vendored
2
docs/assets/css/docs.min.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -637,14 +637,15 @@ body {
|
||||
padding: 0;
|
||||
margin-bottom: 0;
|
||||
// background-color: #322f38;
|
||||
|
||||
.navbar-toggler {
|
||||
position: absolute;
|
||||
top: 1.25rem;
|
||||
right: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
}
|
||||
|
||||
.bs-docs-sidebar .navbar-toggle {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 0;
|
||||
z-index: 5;
|
||||
}
|
||||
.bs-docs-sidebar .navbar-toggle .icon-bar {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user