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
702d3b6d
Commit
702d3b6d
authored
Jan 29, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken navbar collapse
parent
d637db1a
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
35 additions
and
22 deletions
+35
-22
docs/assets/bootstrap.zip
docs/assets/bootstrap.zip
+0
-0
docs/assets/css/bootstrap-responsive.css
docs/assets/css/bootstrap-responsive.css
+5
-3
docs/base-css.html
docs/base-css.html
+1
-1
docs/components.html
docs/components.html
+1
-1
docs/download.html
docs/download.html
+1
-1
docs/examples.html
docs/examples.html
+1
-1
docs/index.html
docs/index.html
+1
-1
docs/javascript.html
docs/javascript.html
+1
-1
docs/less.html
docs/less.html
+5
-5
docs/scaffolding.html
docs/scaffolding.html
+1
-1
docs/templates/layout.mustache
docs/templates/layout.mustache
+1
-1
docs/upgrading.html
docs/upgrading.html
+1
-1
less/responsive.less
less/responsive.less
+16
-5
No files found.
docs/assets/bootstrap.zip
View file @
702d3b6d
No preview for this file type
docs/assets/css/bootstrap-responsive.css
View file @
702d3b6d
...
@@ -305,12 +305,14 @@
...
@@ -305,12 +305,14 @@
.btn-navbar
{
.btn-navbar
{
display
:
block
;
display
:
block
;
}
}
.nav-collapse
.collapse
{
.nav-collapse
{
overflow
:
hidden
;
overflow
:
hidden
;
height
:
0
;
height
:
0
;
}
}
.nav-collapse.collapse.in
{
}
height
:
auto
;
@media
(
min-width
:
940px
)
{
.nav-collapse.collapse
{
height
:
auto
!important
;
}
}
}
}
@media
(
min-width
:
1200px
)
{
@media
(
min-width
:
1200px
)
{
...
...
docs/base-css.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/components.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/download.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/examples.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/index.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
"active"
>
<li
class=
"active"
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/javascript.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/less.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
@@ -345,13 +345,13 @@
...
@@ -345,13 +345,13 @@
<tbody>
<tbody>
<tr>
<tr>
<td
class=
"span3"
><code>
@warningText
</code></td>
<td
class=
"span3"
><code>
@warningText
</code></td>
<td>
#
c09853
</td>
<td>
#
f3edd2
</td>
<td
class=
"swatch-col"
><span
class=
"swatch"
style=
"background-color: #
c09853
;"
></span></td>
<td
class=
"swatch-col"
><span
class=
"swatch"
style=
"background-color: #
f3edd2
;"
></span></td>
</tr>
</tr>
<tr>
<tr>
<td><code>
@warningBackground
</code></td>
<td><code>
@warningBackground
</code></td>
<td>
#
f3edd2
</td>
<td>
#
c09853
</td>
<td><span
class=
"swatch"
style=
"background-color: #
f3edd2
;"
></span></td>
<td><span
class=
"swatch"
style=
"background-color: #
c09853
;"
></span></td>
</tr>
</tr>
<tr>
<tr>
<td><code>
@errorText
</code></td>
<td><code>
@errorText
</code></td>
...
...
docs/scaffolding.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
docs/templates/layout.mustache
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
"
{{
index
}}
"
>
<li
class=
"
{{
index
}}
"
>
<a
href=
"./index.html"
>
{{
_i
}}
Overview
{{/
i
}}
</a>
<a
href=
"./index.html"
>
{{
_i
}}
Overview
{{/
i
}}
</a>
...
...
docs/upgrading.html
View file @
702d3b6d
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<span
class=
"i-bar"
></span>
<span
class=
"i-bar"
></span>
</a>
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<a
class=
"brand"
href=
"./index.html"
>
Bootstrap
</a>
<div
class=
"nav-collapse
collapse
"
>
<div
class=
"nav-collapse"
>
<ul
class=
"nav"
>
<ul
class=
"nav"
>
<li
class=
""
>
<li
class=
""
>
<a
href=
"./index.html"
>
Overview
</a>
<a
href=
"./index.html"
>
Overview
</a>
...
...
less/responsive.less
View file @
702d3b6d
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
}
}
// UP TO LANDSCAPE PHONE
// UP TO LANDSCAPE PHONE
// ---------------------
// ---------------------
...
@@ -103,11 +104,11 @@
...
@@ -103,11 +104,11 @@
}
}
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
// LANDSCAPE PHONE TO SMALL DESKTOP & PORTRAIT TABLET
// --------------------------------------------------
// --------------------------------------------------
@media (max-width: 768px) {
@media (max-width: 768px) {
// GRID & CONTAINERS
// GRID & CONTAINERS
// -----------------
// -----------------
// Remove width from containers
// Remove width from containers
...
@@ -133,6 +134,7 @@
...
@@ -133,6 +134,7 @@
}
}
// PORTRAIT TABLET TO DEFAULT DESKTOP
// PORTRAIT TABLET TO DEFAULT DESKTOP
// ----------------------------------
// ----------------------------------
...
@@ -225,6 +227,7 @@
...
@@ -225,6 +227,7 @@
}
}
// TABLETS AND BELOW
// TABLETS AND BELOW
// -----------------
// -----------------
@media (max-width: 940px) {
@media (max-width: 940px) {
...
@@ -335,17 +338,25 @@
...
@@ -335,17 +338,25 @@
}
}
// Hide everything in the navbar save .brand and toggle button */
// Hide everything in the navbar save .brand and toggle button */
.nav-collapse
.collapse
{
.nav-collapse {
overflow: hidden;
overflow: hidden;
height: 0;
height: 0;
}
}
.nav-collapse.collapse.in {
}
height: auto;
}
// DEFAULT DESKTOP
// ---------------
@media (min-width: 940px) {
.nav-collapse.collapse {
height: auto !important;
}
}
}
// LARGE DESKTOP & UP
// LARGE DESKTOP & UP
// ------------------
// ------------------
...
...
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