Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
b542137d
Commit
b542137d
authored
Jan 06, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
streamline homepage nav
parent
82f460b2
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
26 deletions
+17
-26
docs/_includes/home-nav.html
docs/_includes/home-nav.html
+14
-18
docs/assets/css/docs.min.css
docs/assets/css/docs.min.css
+1
-1
docs/assets/css/docs.min.css.map
docs/assets/css/docs.min.css.map
+0
-0
docs/assets/scss/docs.scss
docs/assets/scss/docs.scss
+2
-7
No files found.
docs/_includes/home-nav.html
View file @
b542137d
<header
class=
"navbar navbar-inverse navbar-static-top bs-docs-nav"
id=
"top"
role=
"banner"
>
<
a
href=
"../"
class=
"navbar-brand"
>
Bootstrap
</a
>
<ul
class=
"nav nav-pills pull-left
"
>
{% for group in site.data.nav %}
{% assign link = group.pages | first %}
{% assign slug = group.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' %}
<
div
class=
"container"
>
<h3
class=
"navbar-brand
"
>
<a
href=
"{{ site.baseurl }}"
>
Bootstrap
</a>
</h3>
<ul
class=
"nav nav-pills pull-right"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"{{ site.baseurl }}{{ group.title | downcase | replace: ' ', '-' }}/{{ link.title | downcase | replace: ' ', '-' || page.title | downcase | replace: ' ', '-' }}"
>
{{ group.title }}
</a>
<a
class=
"nav-link"
href=
"{{ site.baseurl }}/getting-started/quick-start"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Docs');"
>
Documentation
</a>
</li>
{% endfor %}
</ul>
<ul
class=
"nav nav-pills pull-right"
>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"{{ site.expo }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Expo');"
>
Expo
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"{{ site.blog }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Blog');"
>
Blog
</a>
</li>
</ul>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"{{ site.expo }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Expo');"
>
Expo
</a>
</li>
<li
class=
"nav-item"
>
<a
class=
"nav-link"
href=
"{{ site.blog }}"
onclick=
"ga('send', 'event', 'Navbar', 'Community links', 'Blog');"
>
Blog
</a>
</li>
</ul>
</div>
</header>
docs/assets/css/docs.min.css
View file @
b542137d
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css.map
View file @
b542137d
This diff was suppressed by a .gitattributes entry.
docs/assets/scss/docs.scss
View file @
b542137d
...
...
@@ -101,17 +101,12 @@ body {
background-color
:
#563d7c
;
border-bottom
:
0
;
}
.bs-home-nav
.bs-nav-b
{
display
:
none
;
}
.bs-docs-nav
.navbar-brand
,
.bs-docs-nav
.navbar-brand
>
a
,
.bs-docs-nav
.navbar-nav
>
li
>
a
{
font-weight
:
500
;
color
:
#cdbfe3
;
}
.bs-docs-nav
.navbar-brand
{
padding-right
:
.25rem
;
padding-left
:
.25rem
;
.bs-docs-nav
.navbar-brand
>
a
{
color
:
#fff
;
}
.bs-docs-nav
.navbar-nav
>
li
>
a
:hover
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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