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
c0ea077f
Commit
c0ea077f
authored
Feb 17, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert the statis navbar in mobile views--they're back to being fixed all the time
parent
4cbb663d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
25 deletions
+19
-25
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+12
-13
less/navbar.less
less/navbar.less
+7
-12
No files found.
docs/assets/css/bootstrap.css
View file @
c0ea077f
...
@@ -3170,9 +3170,21 @@ button.close {
...
@@ -3170,9 +3170,21 @@ button.close {
.navbar-fixed-top
,
.navbar-fixed-top
,
.navbar-fixed-bottom
{
.navbar-fixed-bottom
{
position
:
fixed
;
right
:
0
;
left
:
0
;
z-index
:
1030
;
border-radius
:
0
;
border-radius
:
0
;
}
}
.navbar-fixed-top
{
top
:
0
;
}
.navbar-fixed-bottom
{
bottom
:
0
;
}
.navbar
.brand
{
.navbar
.brand
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
7px
15px
;
padding
:
7px
15px
;
...
@@ -3371,19 +3383,6 @@ button.close {
...
@@ -3371,19 +3383,6 @@ button.close {
.navbar-inverse
.nav
>
.divider
{
.navbar-inverse
.nav
>
.divider
{
border-right-color
:
#2f2f2f
;
border-right-color
:
#2f2f2f
;
}
}
.navbar-fixed-top
,
.navbar-fixed-bottom
{
position
:
fixed
;
right
:
0
;
left
:
0
;
z-index
:
1030
;
}
.navbar-fixed-top
{
top
:
0
;
}
.navbar-fixed-bottom
{
bottom
:
0
;
}
.navbar
.btn-navbar
{
.navbar
.btn-navbar
{
display
:
none
;
display
:
none
;
}
}
...
...
less/navbar.less
View file @
c0ea077f
...
@@ -49,11 +49,17 @@
...
@@ -49,11 +49,17 @@
border-radius: 0;
border-radius: 0;
}
}
// Fix
ed navbars aren't fixed to start; that comes at >768px
// Fix
the top/bottom navbars when screen real estate supports it
.navbar-fixed-top,
.navbar-fixed-top,
.navbar-fixed-bottom {
.navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
z-index: @zindex-navbar-fixed;
border-radius: 0;
border-radius: 0;
}
}
.navbar-fixed-top { top: 0; }
.navbar-fixed-bottom { bottom: 0; }
...
@@ -270,17 +276,6 @@
...
@@ -270,17 +276,6 @@
border-right-color: lighten(@navbar-inverse-bg, 5%);
border-right-color: lighten(@navbar-inverse-bg, 5%);
}
}
// Fix the top/bottom navbars when screen real estate supports it
.navbar-fixed-top,
.navbar-fixed-bottom {
position: fixed;
right: 0;
left: 0;
z-index: @zindex-navbar-fixed;
}
.navbar-fixed-top { top: 0; }
.navbar-fixed-bottom { bottom: 0; }
// Required to make the collapsing navbar work on regular desktops
// Required to make the collapsing navbar work on regular desktops
.navbar .btn-navbar {
.navbar .btn-navbar {
display: none;
display: 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