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
a3750697
Commit
a3750697
authored
May 22, 2014
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:twbs/bootstrap
parents
ef360b61
68de4bf3
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
37 additions
and
6 deletions
+37
-6
docs/_includes/header.html
docs/_includes/header.html
+4
-0
docs/_layouts/default.html
docs/_layouts/default.html
+5
-1
docs/assets/css/_src/docs.css
docs/assets/css/_src/docs.css
+9
-3
docs/assets/css/docs.min.css
docs/assets/css/docs.min.css
+1
-1
docs/assets/js/_src/application.js
docs/assets/js/_src/application.js
+17
-0
docs/assets/js/docs.min.js
docs/assets/js/docs.min.js
+1
-1
No files found.
docs/_includes/header.html
View file @
a3750697
...
@@ -15,6 +15,10 @@
...
@@ -15,6 +15,10 @@
<!-- Bootstrap core CSS -->
<!-- Bootstrap core CSS -->
<link
href=
"../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
<link
href=
"../dist/css/bootstrap.min.css"
rel=
"stylesheet"
>
{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
<!-- Optional Bootstrap Theme -->
<link
href=
"data:text/css;charset=utf-8,"
data-href=
"../dist/css/bootstrap-theme.min.css"
rel=
"stylesheet"
id=
"bs-theme-stylesheet"
>
{% endif %}
<!-- Documentation extras -->
<!-- Documentation extras -->
<link
href=
"../assets/css/docs.min.css"
rel=
"stylesheet"
>
<link
href=
"../assets/css/docs.min.css"
rel=
"stylesheet"
>
...
...
docs/_layouts/default.html
View file @
a3750697
...
@@ -47,10 +47,14 @@
...
@@ -47,10 +47,14 @@
<a
class=
"back-to-top"
href=
"#top"
>
<a
class=
"back-to-top"
href=
"#top"
>
Back to top
Back to top
</a>
</a>
{% if page.slug == "css" or page.slug == "components" or page.slug == "js" %}
<a
href=
"#"
class=
"bs-docs-theme-toggle"
>
Preview theme
</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% include footer.html %}
{% include footer.html %}
...
...
docs/assets/css/_src/docs.css
View file @
a3750697
...
@@ -583,7 +583,8 @@ body {
...
@@ -583,7 +583,8 @@ body {
}
}
/* Back to top (hidden on mobile) */
/* Back to top (hidden on mobile) */
.back-to-top
{
.back-to-top
,
.bs-docs-theme-toggle
{
display
:
none
;
display
:
none
;
padding
:
4px
10px
;
padding
:
4px
10px
;
margin-top
:
10px
;
margin-top
:
10px
;
...
@@ -592,13 +593,18 @@ body {
...
@@ -592,13 +593,18 @@ body {
font-weight
:
500
;
font-weight
:
500
;
color
:
#999
;
color
:
#999
;
}
}
.back-to-top
:hover
{
.back-to-top
:hover
,
.bs-docs-theme-toggle
:hover
{
color
:
#563d7c
;
color
:
#563d7c
;
text-decoration
:
none
;
text-decoration
:
none
;
}
}
.bs-docs-theme-toggle
{
margin-top
:
0
;
}
@media
(
min-width
:
768px
)
{
@media
(
min-width
:
768px
)
{
.back-to-top
{
.back-to-top
,
.bs-docs-theme-toggle
{
display
:
block
;
display
:
block
;
}
}
}
}
...
...
docs/assets/css/docs.min.css
View file @
a3750697
This diff is collapsed.
Click to expand it.
docs/assets/js/_src/application.js
View file @
a3750697
...
@@ -53,6 +53,23 @@
...
@@ -53,6 +53,23 @@
$
(
'
.bs-top
'
).
affix
()
$
(
'
.bs-top
'
).
affix
()
},
100
)
},
100
)
// theme toggler
;(
function
()
{
var
stylesheetLink
=
$
(
'
#bs-theme-stylesheet
'
)
var
themeBtn
=
$
(
'
.bs-docs-theme-toggle
'
)
themeBtn
.
click
(
function
()
{
var
href
=
stylesheetLink
.
attr
(
'
href
'
);
if
(
!
href
||
href
.
indexOf
(
'
data
'
)
===
0
)
{
stylesheetLink
.
attr
(
'
href
'
,
stylesheetLink
.
attr
(
'
data-href
'
))
themeBtn
.
text
(
'
Disable theme preview
'
)
}
else
{
stylesheetLink
.
attr
(
'
href
'
,
''
)
themeBtn
.
text
(
'
Preview theme
'
)
}
})
})();
// tooltip demo
// tooltip demo
$
(
'
.tooltip-demo
'
).
tooltip
({
$
(
'
.tooltip-demo
'
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
selector
:
'
[data-toggle="tooltip"]
'
,
...
...
docs/assets/js/docs.min.js
View file @
a3750697
...
@@ -13,4 +13,4 @@ var Holder=Holder||{};!function(a,b){function c(a,b,c){b=parseInt(b,10),a=parseI
...
@@ -13,4 +13,4 @@ var Holder=Holder||{};!function(a,b){function c(a,b,c){b=parseInt(b,10),a=parseI
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
* details, see http://creativecommons.org/licenses/by/3.0/.
* details, see http://creativecommons.org/licenses/by/3.0/.
*/
*/
!
function
(
a
){
a
(
function
(){
var
b
=
a
(
window
),
c
=
a
(
document
.
body
);
c
.
scrollspy
({
target
:
"
.bs-docs-sidebar
"
}),
b
.
on
(
"
load
"
,
function
(){
c
.
scrollspy
(
"
refresh
"
)}),
a
(
"
.bs-docs-container [href=#]
"
).
click
(
function
(
a
){
a
.
preventDefault
()}),
setTimeout
(
function
(){
var
b
=
a
(
"
.bs-docs-sidebar
"
);
b
.
affix
({
offset
:{
top
:
function
(){
var
c
=
b
.
offset
().
top
,
d
=
parseInt
(
b
.
children
(
0
).
css
(
"
margin-top
"
),
10
),
e
=
a
(
"
.bs-docs-nav
"
).
height
();
return
this
.
top
=
c
-
e
-
d
},
bottom
:
function
(){
return
this
.
bottom
=
a
(
"
.bs-docs-footer
"
).
outerHeight
(
!
0
)}}})},
100
),
setTimeout
(
function
(){
a
(
"
.bs-top
"
).
affix
()},
100
),
a
(
"
.tooltip-demo
"
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
container
:
"
body
"
}),
a
(
"
.tooltip-test
"
).
tooltip
(),
a
(
"
.popover-test
"
).
popover
(),
a
(
"
.bs-docs-navbar
"
).
tooltip
({
selector
:
'
a[data-toggle="tooltip"]
'
,
container
:
"
.bs-docs-navbar .nav
"
}),
a
(
"
.bs-docs-popover
"
).
popover
(),
a
(
"
.bs-docs-popover-dismiss
"
).
popover
({
trigger
:
"
focus
"
}),
a
(
"
#loading-example-btn
"
).
click
(
function
(){
var
b
=
a
(
this
);
b
.
button
(
"
loading
"
),
setTimeout
(
function
(){
b
.
button
(
"
reset
"
)},
3
e3
)})})}(
jQuery
);
!
function
(
a
){
a
(
function
(){
var
b
=
a
(
window
),
c
=
a
(
document
.
body
);
c
.
scrollspy
({
target
:
"
.bs-docs-sidebar
"
}),
b
.
on
(
"
load
"
,
function
(){
c
.
scrollspy
(
"
refresh
"
)}),
a
(
"
.bs-docs-container [href=#]
"
).
click
(
function
(
a
){
a
.
preventDefault
()}),
setTimeout
(
function
(){
var
b
=
a
(
"
.bs-docs-sidebar
"
);
b
.
affix
({
offset
:{
top
:
function
(){
var
c
=
b
.
offset
().
top
,
d
=
parseInt
(
b
.
children
(
0
).
css
(
"
margin-top
"
),
10
),
e
=
a
(
"
.bs-docs-nav
"
).
height
();
return
this
.
top
=
c
-
e
-
d
},
bottom
:
function
(){
return
this
.
bottom
=
a
(
"
.bs-docs-footer
"
).
outerHeight
(
!
0
)}}})},
100
),
setTimeout
(
function
(){
a
(
"
.bs-top
"
).
affix
()},
100
),
function
(){
var
b
=
a
(
"
#bs-theme-stylesheet
"
),
c
=
a
(
"
.bs-docs-theme-toggle
"
);
c
.
click
(
function
(){
var
a
=
b
.
attr
(
"
href
"
);
a
&&
0
!==
a
.
indexOf
(
"
data
"
)?(
b
.
attr
(
"
href
"
,
""
),
c
.
text
(
"
Preview theme
"
)):(
b
.
attr
(
"
href
"
,
b
.
attr
(
"
data-href
"
)),
c
.
text
(
"
Disable theme preview
"
))})}(),
a
(
"
.tooltip-demo
"
).
tooltip
({
selector
:
'
[data-toggle="tooltip"]
'
,
container
:
"
body
"
}),
a
(
"
.tooltip-test
"
).
tooltip
(),
a
(
"
.popover-test
"
).
popover
(),
a
(
"
.bs-docs-navbar
"
).
tooltip
({
selector
:
'
a[data-toggle="tooltip"]
'
,
container
:
"
.bs-docs-navbar .nav
"
}),
a
(
"
.bs-docs-popover
"
).
popover
(),
a
(
"
.bs-docs-popover-dismiss
"
).
popover
({
trigger
:
"
focus
"
}),
a
(
"
#loading-example-btn
"
).
click
(
function
(){
var
b
=
a
(
this
);
b
.
button
(
"
loading
"
),
setTimeout
(
function
(){
b
.
button
(
"
reset
"
)},
3
e3
)})})}(
jQuery
);
\ No newline at end of file
\ No newline at end of file
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