Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
4ea7c472
Commit
4ea7c472
authored
12 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
slightly fix side bar
parent
e25bcb93
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
docs/assets/css/bootstrap.css
+1
-0
docs/assets/css/bootstrap.css
docs/assets/css/docs.css
+16
-7
docs/assets/css/docs.css
docs/assets/js/bootstrap-affix.js
+0
-2
docs/assets/js/bootstrap-affix.js
docs/javascript.html
+1
-1
docs/javascript.html
docs/templates/pages/javascript.mustache
+1
-1
docs/templates/pages/javascript.mustache
with
19 additions
and
11 deletions
+19
-11
docs/assets/css/bootstrap.css
+
1
-
0
View file @
4ea7c472
...
...
@@ -67,6 +67,7 @@ sub {
}
img
{
height
:
auto
;
max-width
:
100%
;
vertical-align
:
middle
;
border
:
0
;
...
...
This diff is collapsed.
Click to expand it.
docs/assets/css/docs.css
+
16
-
7
View file @
4ea7c472
...
...
@@ -886,6 +886,7 @@ form.bs-docs-example {
min-height
:
1px
;
}
.bs-docs-sidenav
{
width
:
218px
;
margin-top
:
40px
;
padding
:
0
;
margin-right
:
10px
;
...
...
@@ -930,28 +931,36 @@ form.bs-docs-example {
background-image
:
url(../img/glyphicons-halflings-white.png)
;
opacity
:
.75
;
}
.bs-docs-sidenav.affix
{
top
:
40px
;
}
@media
(
max-width
:
979px
)
{
.bs-docs-sidenav.affix
{
top
:
0px
;
@media
(
min-width
:
1200px
)
{
.bs-docs-sidenav
{
width
:
258px
;
}
}
@media
(
max-width
:
979px
)
{
.bs-docs-sidenav
{
top
:
0px
;
margin-top
:
30px
;
margin-right
:
0
;
}
}
@media
(
min-width
:
768px
)
and
(
max-width
:
979px
)
{
.bs-docs-sidenav
{
width
:
166px
;
}
}
@media
(
max-width
:
767px
)
{
.bs-docs-sidenav
{
width
:
auto
;
}
.bs-docs-sidenav.affix
{
position
:
relative
;
width
:
auto
;
}
}
This diff is collapsed.
Click to expand it.
docs/assets/js/bootstrap-affix.js
+
0
-
2
View file @
4ea7c472
...
...
@@ -50,7 +50,6 @@
if
(
typeof
offset
!=
'
object
'
)
offset
=
{
x
:
offset
,
y
:
offset
}
affix
=
(
offset
.
x
==
null
||
(
position
.
left
-
scrollLeft
<=
offset
.
x
))
&&
(
offset
.
y
==
null
||
(
position
.
top
-
scrollTop
<=
offset
.
y
))
...
...
@@ -82,7 +81,6 @@
}
/* AFFIX DATA-API
* ============== */
...
...
This diff is collapsed.
Click to expand it.
docs/javascript.html
+
1
-
1
View file @
4ea7c472
...
...
@@ -85,7 +85,7 @@
================================================== -->
<div
class=
"row"
>
<div
class=
"span3 bs-docs-sidebar"
>
<ul
class=
"
span3
nav nav-list bs-docs-sidenav"
data-spy=
"affix"
data-offset-y=
"80"
>
<ul
class=
"nav nav-list bs-docs-sidenav"
data-spy=
"affix"
data-offset-y=
"80"
>
<li><a
href=
"#overview"
>
Overview
<i
class=
"icon-chevron-right"
></i></a></li>
<li><a
href=
"#transitions"
>
Transitions
<i
class=
"icon-chevron-right"
></i></a></li>
<li><a
href=
"#modals"
>
Modal
<i
class=
"icon-chevron-right"
></i></a></li>
...
...
This diff is collapsed.
Click to expand it.
docs/templates/pages/javascript.mustache
+
1
-
1
View file @
4ea7c472
...
...
@@ -14,7 +14,7 @@
================================================== -->
<div
class=
"row"
>
<div
class=
"span3 bs-docs-sidebar"
>
<ul
class=
"
span3
nav nav-list bs-docs-sidenav"
data-spy=
"affix"
data-offset-
max-979=
"40"
data-offset
=
"80"
>
<ul
class=
"nav nav-list bs-docs-sidenav"
data-spy=
"affix"
data-offset-
y
=
"80"
>
<li><a
href=
"#overview"
>
{{
_i
}}
Overview
{{/
i
}}
<i
class=
"icon-chevron-right"
></i></a></li>
<li><a
href=
"#transitions"
>
{{
_i
}}
Transitions
{{/
i
}}
<i
class=
"icon-chevron-right"
></i></a></li>
<li><a
href=
"#modals"
>
{{
_i
}}
Modal
{{/
i
}}
<i
class=
"icon-chevron-right"
></i></a></li>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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