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
b542137d
Commit
b542137d
authored
10 years ago
by
Mark Otto
Browse files
Options
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
docs/_includes/home-nav.html
+14
-18
docs/_includes/home-nav.html
docs/assets/css/docs.min.css
+1
-1
docs/assets/css/docs.min.css
docs/assets/css/docs.min.css.map
+0
-0
docs/assets/css/docs.min.css.map
docs/assets/scss/docs.scss
+2
-7
docs/assets/scss/docs.scss
with
17 additions
and
26 deletions
+17
-26
docs/_includes/home-nav.html
+
14
-
18
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=
"nav
bar-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>
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css
+
1
-
1
View file @
b542137d
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.min.css.map
-6 bytes (0%)
View file @
b542137d
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
This diff is collapsed.
Click to expand it.
docs/assets/scss/docs.scss
+
2
-
7
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
,
...
...
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