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
76baacf2
Commit
76baacf2
authored
Oct 20, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove default z-index on navbar and only set on static and fixed variants
parent
c71f8951
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
dist/css/bootstrap.css
dist/css/bootstrap.css
+1
-2
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/navbar.less
less/navbar.less
+2
-2
No files found.
dist/css/bootstrap.css
View file @
76baacf2
...
...
@@ -4266,7 +4266,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
.navbar
{
position
:
relative
;
z-index
:
1000
;
min-height
:
50px
;
margin-bottom
:
20px
;
border
:
1px
solid
transparent
;
...
...
@@ -4294,7 +4293,6 @@ textarea.input-group-sm > .input-group-btn > .btn {
@media
(
min-width
:
768px
)
{
.navbar
{
z-index
:
auto
;
border-radius
:
4px
;
}
}
...
...
@@ -4400,6 +4398,7 @@ textarea.input-group-sm > .input-group-btn > .btn {
}
.navbar-static-top
{
z-index
:
1000
;
border-width
:
0
0
1px
;
}
...
...
dist/css/bootstrap.min.css
View file @
76baacf2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/navbar.less
View file @
76baacf2
...
...
@@ -10,7 +10,6 @@
.navbar {
position: relative;
z-index: @zindex-navbar;
min-height: @navbar-height; // Ensure a navbar always shows (e.g., without a .navbar-brand in collapsed mode)
margin-bottom: @navbar-margin-bottom;
border: 1px solid transparent;
...
...
@@ -19,7 +18,6 @@
.clearfix();
@media (min-width: @grid-float-breakpoint) {
z-index: auto;
border-radius: @navbar-border-radius;
}
}
...
...
@@ -117,7 +115,9 @@
// Static top (unfixed, but 100% wide) navbar
.navbar-static-top {
z-index: @zindex-navbar;
border-width: 0 0 1px;
@media (min-width: @grid-float-breakpoint) {
border-radius: 0;
}
...
...
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