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
bbee78b3
Commit
bbee78b3
authored
Apr 28, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
derp on navbar toggle and docs positions
parent
8b3a1702
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
6 deletions
+18
-6
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+1
-1
docs/assets/css/docs.css
docs/assets/css/docs.css
+13
-1
docs/docs.html
docs/docs.html
+2
-2
less/navbar.less
less/navbar.less
+2
-2
No files found.
docs/assets/css/bootstrap.css
View file @
bbee78b3
...
@@ -3516,7 +3516,7 @@ button.close {
...
@@ -3516,7 +3516,7 @@ button.close {
}
}
.navbar-nav
{
.navbar-nav
{
margin-top
:
1
5px
;
margin-top
:
5px
;
}
}
.navbar-nav
>
li
>
a
{
.navbar-nav
>
li
>
a
{
...
...
docs/assets/css/docs.css
View file @
bbee78b3
...
@@ -308,14 +308,21 @@ section > ul li {
...
@@ -308,14 +308,21 @@ section > ul li {
.bs-navbar-bottom-example
{
.bs-navbar-bottom-example
{
z-index
:
1
;
z-index
:
1
;
padding
:
0
;
padding
:
0
;
height
:
110px
;
min-
height
:
110px
;
overflow
:
hidden
;
/* cut the drop shadows off */
overflow
:
hidden
;
/* cut the drop shadows off */
}
}
.bs-navbar-top-example
.navbar-fixed-top
,
.bs-navbar-top-example
.navbar-fixed-top
,
.bs-navbar-bottom-example
.navbar-fixed-bottom
{
.bs-navbar-bottom-example
.navbar-fixed-bottom
{
position
:
relative
;
margin-left
:
0
;
margin-left
:
0
;
margin-right
:
0
;
margin-right
:
0
;
}
}
.bs-navbar-top-example
.navbar-fixed-top
{
top
:
-1px
;
}
.bs-navbar-bottom-example
.navbar-fixed-bottom
{
bottom
:
-1px
;
}
.bs-navbar-top-example
{
.bs-navbar-top-example
{
-webkit-border-radius
:
0
0
4px
4px
;
-webkit-border-radius
:
0
0
4px
4px
;
-moz-border-radius
:
0
0
4px
4px
;
-moz-border-radius
:
0
0
4px
4px
;
...
@@ -711,6 +718,11 @@ input.focused {
...
@@ -711,6 +718,11 @@ input.focused {
text-align
:
left
;
text-align
:
left
;
}
}
.bs-navbar-top-example
.navbar-fixed-top
,
.bs-navbar-bottom-example
.navbar-fixed-bottom
{
position
:
absolute
;
}
}
}
/* Tablets/desktops and up */
/* Tablets/desktops and up */
...
...
docs/docs.html
View file @
bbee78b3
...
@@ -3506,7 +3506,7 @@ For example, <code><section></code> should be wrapped as inline.
...
@@ -3506,7 +3506,7 @@ For example, <code><section></code> should be wrapped as inline.
<h3
id=
"navbar-fixed-top"
>
Fixed to top
</h3>
<h3
id=
"navbar-fixed-top"
>
Fixed to top
</h3>
<p>
Add
<code>
.navbar-fixed-top
</code>
.
</p>
<p>
Add
<code>
.navbar-fixed-top
</code>
.
</p>
<div
class=
"bs-docs-example bs-navbar-top-example"
>
<div
class=
"bs-docs-example bs-navbar-top-example"
>
<div
class=
"navbar navbar-fixed-top"
style=
"position: absolute; top: -1px;"
>
<div
class=
"navbar navbar-fixed-top"
>
<div
class=
"container"
style=
"width: auto;"
>
<div
class=
"container"
style=
"width: auto;"
>
<a
class=
"navbar-brand"
href=
"#"
>
Title
</a>
<a
class=
"navbar-brand"
href=
"#"
>
Title
</a>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
...
@@ -3542,7 +3542,7 @@ body {
...
@@ -3542,7 +3542,7 @@ body {
<h3
id=
"navbar-fixed-bottom"
>
Fixed to bottom
</h3>
<h3
id=
"navbar-fixed-bottom"
>
Fixed to bottom
</h3>
<p>
Add
<code>
.navbar-fixed-bottom
</code>
instead.
</p>
<p>
Add
<code>
.navbar-fixed-bottom
</code>
instead.
</p>
<div
class=
"bs-docs-example bs-navbar-bottom-example"
>
<div
class=
"bs-docs-example bs-navbar-bottom-example"
>
<div
class=
"navbar navbar-fixed-bottom"
style=
"position: absolute; bottom: -1px;"
>
<div
class=
"navbar navbar-fixed-bottom"
>
<div
class=
"container"
style=
"width: auto;"
>
<div
class=
"container"
style=
"width: auto;"
>
<a
class=
"navbar-brand"
href=
"#"
>
Title
</a>
<a
class=
"navbar-brand"
href=
"#"
>
Title
</a>
<ul
class=
"nav navbar-nav"
>
<ul
class=
"nav navbar-nav"
>
...
...
less/navbar.less
View file @
bbee78b3
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
.navbar-nav {
.navbar-nav {
// Space out from .navbar .brand and .btn-navbar
// Space out from .navbar .brand and .btn-navbar
margin-top:
1
5px;
margin-top: 5px;
> li > a {
> li > a {
padding-top: ((@navbar-height - @line-height-base) / 2);
padding-top: ((@navbar-height - @line-height-base) / 2);
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
// Collapsible navbar toggle
// Collapsible navbar toggle
.navbar-toggle {
.navbar-toggle {
position: absolute;
position: absolute;
top: 1
0
px;
top: 1
8
px;
right: 10px;
right: 10px;
padding: 8px 12px;
padding: 8px 12px;
background-color: transparent;
background-color: transparent;
...
...
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