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
6ecb5d6c
Commit
6ecb5d6c
authored
Oct 20, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:twbs/bootstrap
parents
d8fab5aa
98378d2d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
8 deletions
+35
-8
dist/css/bootstrap.css
dist/css/bootstrap.css
+2
-2
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
examples/navbar/navbar.css
examples/navbar/navbar.css
+4
-3
examples/theme/index.html
examples/theme/index.html
+24
-0
less/navbar.less
less/navbar.less
+4
-2
No files found.
dist/css/bootstrap.css
View file @
6ecb5d6c
...
@@ -4266,7 +4266,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
...
@@ -4266,7 +4266,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
.navbar
{
.navbar
{
position
:
relative
;
position
:
relative
;
z-index
:
1000
;
min-height
:
50px
;
min-height
:
50px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
border
:
1px
solid
transparent
;
border
:
1px
solid
transparent
;
...
@@ -4399,6 +4398,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
...
@@ -4399,6 +4398,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
}
}
.navbar-static-top
{
.navbar-static-top
{
z-index
:
1000
;
border-width
:
0
0
1px
;
border-width
:
0
0
1px
;
}
}
...
@@ -4413,6 +4413,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
...
@@ -4413,6 +4413,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
position
:
fixed
;
position
:
fixed
;
right
:
0
;
right
:
0
;
left
:
0
;
left
:
0
;
z-index
:
1030
;
}
}
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
768px
)
{
...
@@ -4424,7 +4425,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
...
@@ -4424,7 +4425,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
.navbar-fixed-top
{
.navbar-fixed-top
{
top
:
0
;
top
:
0
;
z-index
:
1030
;
border-width
:
0
0
1px
;
border-width
:
0
0
1px
;
}
}
...
...
dist/css/bootstrap.min.css
View file @
6ecb5d6c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
examples/navbar/navbar.css
View file @
6ecb5d6c
body
{
body
{
padding
:
30px
;
padding-top
:
20px
;
padding-bottom
:
20px
;
}
}
.navbar
{
.navbar
{
margin-bottom
:
3
0px
;
margin-bottom
:
2
0px
;
}
}
examples/theme/index.html
View file @
6ecb5d6c
...
@@ -159,6 +159,18 @@
...
@@ -159,6 +159,18 @@
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li
class=
"dropdown-header"
>
Nav header
</li>
<li><a
href=
"#"
>
Separated link
</a></li>
<li><a
href=
"#"
>
One more separated link
</a></li>
</ul>
</li>
</ul>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.nav-collapse -->
</div>
</div>
...
@@ -179,6 +191,18 @@
...
@@ -179,6 +191,18 @@
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li
class=
"active"
><a
href=
"#"
>
Home
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#about"
>
About
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li><a
href=
"#contact"
>
Contact
</a></li>
<li
class=
"dropdown"
>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Dropdown
<b
class=
"caret"
></b></a>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li
class=
"dropdown-header"
>
Nav header
</li>
<li><a
href=
"#"
>
Separated link
</a></li>
<li><a
href=
"#"
>
One more separated link
</a></li>
</ul>
</li>
</ul>
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.nav-collapse -->
</div>
</div>
...
...
less/navbar.less
View file @
6ecb5d6c
...
@@ -10,7 +10,6 @@
...
@@ -10,7 +10,6 @@
.navbar {
.navbar {
position: relative;
position: relative;
z-index: @zindex-navbar;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: @navbar-margin-bottom;
margin-bottom: @navbar-margin-bottom;
border: 1px solid transparent;
border: 1px solid transparent;
...
@@ -116,7 +115,9 @@
...
@@ -116,7 +115,9 @@
// Static top (unfixed, but 100% wide) navbar
// Static top (unfixed, but 100% wide) navbar
.navbar-static-top {
.navbar-static-top {
z-index: @zindex-navbar;
border-width: 0 0 1px;
border-width: 0 0 1px;
@media (min-width: @grid-float-breakpoint) {
@media (min-width: @grid-float-breakpoint) {
border-radius: 0;
border-radius: 0;
}
}
...
@@ -128,6 +129,7 @@
...
@@ -128,6 +129,7 @@
position: fixed;
position: fixed;
right: 0;
right: 0;
left: 0;
left: 0;
z-index: @zindex-navbar-fixed;
// Undo the rounded corners
// Undo the rounded corners
@media (min-width: @grid-float-breakpoint) {
@media (min-width: @grid-float-breakpoint) {
...
@@ -135,7 +137,6 @@
...
@@ -135,7 +137,6 @@
}
}
}
}
.navbar-fixed-top {
.navbar-fixed-top {
z-index: @zindex-navbar-fixed;
top: 0;
top: 0;
border-width: 0 0 1px;
border-width: 0 0 1px;
}
}
...
@@ -153,6 +154,7 @@
...
@@ -153,6 +154,7 @@
padding: @navbar-padding-vertical @navbar-padding-horizontal;
padding: @navbar-padding-vertical @navbar-padding-horizontal;
font-size: @font-size-large;
font-size: @font-size-large;
line-height: @line-height-computed;
line-height: @line-height-computed;
&:hover,
&:hover,
&:focus {
&:focus {
text-decoration: none;
text-decoration: none;
...
...
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