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
5c2dfbf3
Commit
5c2dfbf3
authored
Dec 24, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:twbs/bootstrap
Conflicts: docs-assets/js/raw-files.js
parents
679c7862
25390716
Changes
27
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
36 additions
and
30 deletions
+36
-30
_includes/header.html
_includes/header.html
+1
-1
css.html
css.html
+5
-3
dist/js/bootstrap.js
dist/js/bootstrap.js
+4
-2
dist/js/bootstrap.min.js
dist/js/bootstrap.min.js
+1
-1
docs-assets/js/raw-files.js
docs-assets/js/raw-files.js
+2
-2
examples/blog/index.html
examples/blog/index.html
+1
-1
examples/carousel/index.html
examples/carousel/index.html
+1
-1
examples/cover/index.html
examples/cover/index.html
+1
-1
examples/dashboard/index.html
examples/dashboard/index.html
+1
-1
examples/grid/index.html
examples/grid/index.html
+1
-1
examples/jumbotron-narrow/index.html
examples/jumbotron-narrow/index.html
+1
-1
examples/jumbotron/index.html
examples/jumbotron/index.html
+1
-1
examples/justified-nav/index.html
examples/justified-nav/index.html
+1
-1
examples/navbar-fixed-top/index.html
examples/navbar-fixed-top/index.html
+1
-1
examples/navbar-static-top/index.html
examples/navbar-static-top/index.html
+1
-1
examples/navbar/index.html
examples/navbar/index.html
+1
-1
examples/non-responsive/index.html
examples/non-responsive/index.html
+1
-1
examples/offcanvas/index.html
examples/offcanvas/index.html
+1
-1
examples/signin/index.html
examples/signin/index.html
+1
-1
examples/starter-template/index.html
examples/starter-template/index.html
+1
-1
examples/sticky-footer-navbar/index.html
examples/sticky-footer-navbar/index.html
+1
-1
examples/sticky-footer/index.html
examples/sticky-footer/index.html
+1
-1
examples/theme/index.html
examples/theme/index.html
+1
-1
getting-started.html
getting-started.html
+1
-1
js/modal.js
js/modal.js
+1
-1
js/scrollspy.js
js/scrollspy.js
+1
-1
js/tooltip.js
js/tooltip.js
+2
-0
No files found.
_includes/header.html
View file @
5c2dfbf3
...
...
@@ -24,7 +24,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
<!-- Favicons -->
...
...
css.html
View file @
5c2dfbf3
...
...
@@ -3476,8 +3476,10 @@ $navbar-default-color: $light-orange;
<p>
You can also import components explicitly. To start with a full list of modules copy this file from the gem:
</p>
{% highlight bash %}
cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.scss \
app/assets/stylesheets/bootstrap-custom.scss
# copy and prepend "bootstrap/" to the @import paths:
sed 's/@import "/@import "bootstrap\//' \
$(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.scss > \
app/assets/stylesheets/bootstrap-custom.scss
{% endhighlight %}
<p>
In your
<code>
application.sass
</code>
, replace
<code>
@import 'bootstrap'
</code>
with:
</p>
...
...
@@ -3486,7 +3488,7 @@ cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.s
@import 'bootstrap-custom';
{% endhighlight %}
<p>
Comment out any
modules you don't need
from
<code>
bootstrap-custom
</code>
.
</p>
<p>
Comment out any
components you do not want
from
<code>
bootstrap-custom
</code>
.
</p>
<h3
id=
"sass-usage-js"
>
JavaScript
</h3>
...
...
dist/js/bootstrap.js
View file @
5c2dfbf3
...
...
@@ -785,7 +785,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
this
.
$backdrop
=
this
.
isShown
=
null
if
(
this
.
options
.
remote
)
this
.
$element
.
load
(
this
.
options
.
remote
)
if
(
this
.
options
.
remote
)
this
.
$element
.
find
(
'
.modal-content
'
).
load
(
this
.
options
.
remote
)
}
Modal
.
DEFAULTS
=
{
...
...
@@ -1179,6 +1179,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
var
calculatedOffset
=
this
.
getCalculatedOffset
(
placement
,
pos
,
actualWidth
,
actualHeight
)
this
.
applyPlacement
(
calculatedOffset
,
placement
)
this
.
hoverState
=
null
this
.
$element
.
trigger
(
'
shown.bs.
'
+
this
.
type
)
}
}
...
...
@@ -1267,6 +1268,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
.
emulateTransitionEnd
(
150
)
:
complete
()
this
.
hoverState
=
null
this
.
$element
.
trigger
(
'
hidden.bs.
'
+
this
.
type
)
return
this
...
...
@@ -1532,7 +1534,7 @@ if (typeof jQuery === "undefined") { throw new Error("Bootstrap requires jQuery"
.
map
(
function
()
{
var
$el
=
$
(
this
)
var
href
=
$el
.
data
(
'
target
'
)
||
$el
.
attr
(
'
href
'
)
var
$href
=
/^#
\w
/
.
test
(
href
)
&&
$
(
href
)
var
$href
=
/^#
.
/
.
test
(
href
)
&&
$
(
href
)
return
(
$href
&&
$href
.
length
...
...
dist/js/bootstrap.min.js
View file @
5c2dfbf3
This diff is collapsed.
Click to expand it.
docs-assets/js/raw-files.js
View file @
5c2dfbf3
This diff is collapsed.
Click to expand it.
examples/blog/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/carousel/index.html
View file @
5c2dfbf3
...
...
@@ -19,7 +19,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
<!-- Custom styles for this template -->
...
...
examples/cover/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/dashboard/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/grid/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/jumbotron-narrow/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/jumbotron/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/justified-nav/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/navbar-fixed-top/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/navbar-static-top/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/navbar/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/non-responsive/index.html
View file @
5c2dfbf3
...
...
@@ -24,7 +24,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/offcanvas/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/signin/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/starter-template/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/sticky-footer-navbar/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/sticky-footer/index.html
View file @
5c2dfbf3
...
...
@@ -22,7 +22,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
examples/theme/index.html
View file @
5c2dfbf3
...
...
@@ -24,7 +24,7 @@
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
...
...
getting-started.html
View file @
5c2dfbf3
...
...
@@ -133,7 +133,7 @@ bootstrap/
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
3.0
/respond.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.
4.2
/respond.min.js"></script>
<![endif]-->
</head>
<body>
...
...
js/modal.js
View file @
5c2dfbf3
...
...
@@ -18,7 +18,7 @@
this
.
$backdrop
=
this
.
isShown
=
null
if
(
this
.
options
.
remote
)
this
.
$element
.
load
(
this
.
options
.
remote
)
if
(
this
.
options
.
remote
)
this
.
$element
.
find
(
'
.modal-content
'
).
load
(
this
.
options
.
remote
)
}
Modal
.
DEFAULTS
=
{
...
...
js/scrollspy.js
View file @
5c2dfbf3
...
...
@@ -47,7 +47,7 @@
.
map
(
function
()
{
var
$el
=
$
(
this
)
var
href
=
$el
.
data
(
'
target
'
)
||
$el
.
attr
(
'
href
'
)
var
$href
=
/^#
\w
/
.
test
(
href
)
&&
$
(
href
)
var
$href
=
/^#
.
/
.
test
(
href
)
&&
$
(
href
)
return
(
$href
&&
$href
.
length
...
...
js/tooltip.js
View file @
5c2dfbf3
...
...
@@ -177,6 +177,7 @@
var
calculatedOffset
=
this
.
getCalculatedOffset
(
placement
,
pos
,
actualWidth
,
actualHeight
)
this
.
applyPlacement
(
calculatedOffset
,
placement
)
this
.
hoverState
=
null
this
.
$element
.
trigger
(
'
shown.bs.
'
+
this
.
type
)
}
}
...
...
@@ -265,6 +266,7 @@
.
emulateTransitionEnd
(
150
)
:
complete
()
this
.
hoverState
=
null
this
.
$element
.
trigger
(
'
hidden.bs.
'
+
this
.
type
)
return
this
...
...
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