Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f920cd4546 | ||
|
|
da43c7c27c | ||
|
|
40a8a93b22 | ||
|
|
d49dd766c8 | ||
|
|
a4a6244eb7 | ||
|
|
a2690c6d86 | ||
|
|
57f8dbe25c | ||
|
|
f8374a754d | ||
|
|
8ecffcb32f | ||
|
|
24e277b85a | ||
|
|
498a28b4cd | ||
|
|
0540b63ab0 | ||
|
|
aec8b08930 | ||
|
|
88b1e44dd6 | ||
|
|
4a2443901f | ||
|
|
bda3d57a00 | ||
|
|
003fcccceb | ||
|
|
f4d3d7da2e | ||
|
|
a4bf6ef0a0 | ||
|
|
af871d57c9 | ||
|
|
c3ea955661 | ||
|
|
a419e70a42 | ||
|
|
ebf94c53a5 | ||
|
|
1716b0fdb5 | ||
|
|
fe38d12f12 | ||
|
|
667179f406 | ||
|
|
c92a75999f | ||
|
|
532ee08213 | ||
|
|
443c43f6c4 | ||
|
|
67585bd34e | ||
|
|
6c3cd6fd9d | ||
|
|
a6206c98d5 | ||
|
|
2d90c816ac | ||
|
|
2769241aeb | ||
|
|
37460e58d3 | ||
|
|
cc3de8bd6e | ||
|
|
13be8b2031 | ||
|
|
c15877445c | ||
|
|
78992bbf42 | ||
|
|
2a20761f07 | ||
|
|
3b3def4898 | ||
|
|
239e6a7d21 | ||
|
|
cedb3c7c56 | ||
|
|
783f4885ab | ||
|
|
26ca131a95 | ||
|
|
143fef9f95 | ||
|
|
917b46a343 | ||
|
|
caa79ed594 | ||
|
|
6881c193ca | ||
|
|
03a406d920 | ||
|
|
f69e244a60 | ||
|
|
cd876fb659 | ||
|
|
6f3bef195a | ||
|
|
1ea09b751e | ||
|
|
6e25aacc91 | ||
|
|
6c4b276cd4 | ||
|
|
7857089065 | ||
|
|
0bcbcf69ec | ||
|
|
e4e2e37c5c | ||
|
|
5aa1018496 | ||
|
|
faa760f563 | ||
|
|
2ead9a5bc3 | ||
|
|
5331fe39df | ||
|
|
595e1a189c | ||
|
|
a40ab1cd66 | ||
|
|
15bb78ce80 | ||
|
|
e1deba30aa | ||
|
|
537c5cc33d | ||
|
|
65d322958c | ||
|
|
38303dd997 | ||
|
|
bbadd429a8 | ||
|
|
2c8eff0eec | ||
|
|
0489c708c7 | ||
|
|
39791a8ea8 | ||
|
|
cd2b12f788 | ||
|
|
10faf28aef | ||
|
|
76e42edb29 | ||
|
|
f29f98501c | ||
|
|
1f8e2d2617 | ||
|
|
61332d727e | ||
|
|
f2bd7d9f27 | ||
|
|
6c5c3c81ec | ||
|
|
7a0f5c6c00 | ||
|
|
cc4f8b9f6c | ||
|
|
501a2d69e1 | ||
|
|
7762a77c21 | ||
|
|
138b5a8c05 | ||
|
|
d4a16d35eb | ||
|
|
3fa4ca2d87 | ||
|
|
dfb3175d4b | ||
|
|
08b8571cb8 | ||
|
|
5ff5d351bf | ||
|
|
c52368d3c5 | ||
|
|
df8e3c6ee3 | ||
|
|
bc4ecd9984 | ||
|
|
9341bb756b | ||
|
|
9d890a8412 | ||
|
|
7e4629fbbe | ||
|
|
73ef263d5f | ||
|
|
bf590d8c81 | ||
|
|
a1d2ee6542 | ||
|
|
de36456f5d | ||
|
|
1f0043a7f5 | ||
|
|
acf2a64016 | ||
|
|
8cda830eaf | ||
|
|
f25129361b | ||
|
|
f46813a8c8 | ||
|
|
9d5f9eca85 | ||
|
|
69d4c3f9a1 | ||
|
|
3737904859 | ||
|
|
209852c805 | ||
|
|
02f6bd65f5 | ||
|
|
e8c5b3c9a5 | ||
|
|
b1bdca0fdb | ||
|
|
00d6f26270 | ||
|
|
0f85e8b7f8 | ||
|
|
beb0b64096 | ||
|
|
afd931262c | ||
|
|
2da2169a56 | ||
|
|
2137cd65fb | ||
|
|
010a5dd84d | ||
|
|
8878facc67 | ||
|
|
a976a1583c | ||
|
|
e27b1355b5 | ||
|
|
b5373d8561 | ||
|
|
66ad3d62c6 | ||
|
|
545edf5459 | ||
|
|
609142eee2 | ||
|
|
3568146b28 | ||
|
|
215d92bacd | ||
|
|
4751a0a274 | ||
|
|
7d412b1e14 | ||
|
|
55982664d0 | ||
|
|
1eaf1cf418 | ||
|
|
601e252074 | ||
|
|
d797a5fbd7 | ||
|
|
17d8c78e52 | ||
|
|
438f745ea2 | ||
|
|
b5a8c0a45e | ||
|
|
2719ac3e9b | ||
|
|
67eae2a503 | ||
|
|
96a1797af1 | ||
|
|
1b7a3ca416 | ||
|
|
303a33f15c | ||
|
|
3b67ece2d1 | ||
|
|
4674945fa8 | ||
|
|
b444582ccd | ||
|
|
8610fd9b2b | ||
|
|
85dcbd0b34 | ||
|
|
cf9334bd7d | ||
|
|
22c4f3d058 | ||
|
|
15317419f4 | ||
|
|
8a5dde556b | ||
|
|
1c9d5c43b0 | ||
|
|
a2b9a5e1fe | ||
|
|
fcd08fce8f | ||
|
|
54e3a26dda | ||
|
|
96542f14ab | ||
|
|
12d5c88c20 | ||
|
|
bdc3ff99f3 | ||
|
|
72f176d1f5 | ||
|
|
1b8f4f5bc5 | ||
|
|
f15eb7b499 | ||
|
|
cfa039d2e0 | ||
|
|
eb8aad85b8 | ||
|
|
f744ad57fc | ||
|
|
ec6b320003 | ||
|
|
bb9d1af1ca | ||
|
|
aa07523e69 | ||
|
|
d9593e217d | ||
|
|
0682780cd8 | ||
|
|
d9fe9af966 | ||
|
|
5cbb826961 | ||
|
|
019d9bf0f3 | ||
|
|
be64955e25 | ||
|
|
3424df22ee | ||
|
|
ac4420237c | ||
|
|
4775bc910c | ||
|
|
5da217b96e | ||
|
|
582b178723 | ||
|
|
535dfc2153 | ||
|
|
6160667b19 | ||
|
|
5f97e04aa3 | ||
|
|
115c7b82c4 | ||
|
|
a9764c34a7 | ||
|
|
361889def9 | ||
|
|
5d41742f17 | ||
|
|
8d00fe4c03 | ||
|
|
1973c64342 | ||
|
|
46c10c8b58 | ||
|
|
190d3c9c3e | ||
|
|
e2ecd2df6c | ||
|
|
45978b6674 | ||
|
|
b1c93c2700 | ||
|
|
6e7ba4e24a | ||
|
|
311c00a29b | ||
|
|
13199c0020 | ||
|
|
6dc13573bf | ||
|
|
1c134d9a7f | ||
|
|
b52d29095a | ||
|
|
4f918ce52c | ||
|
|
94f9f9de73 | ||
|
|
e5060b8d92 | ||
|
|
8a2b9f4a5f | ||
|
|
099cec1ca7 | ||
|
|
06c718b1d3 | ||
|
|
55facf1f2e | ||
|
|
6477ad1acf | ||
|
|
5fc5d26917 | ||
|
|
fe3ed433e4 | ||
|
|
320b75de63 | ||
|
|
471d913ab6 | ||
|
|
cbc7873bb4 | ||
|
|
3aa89ded21 | ||
|
|
4fbb400754 | ||
|
|
f5fd5e7523 |
@@ -0,0 +1,65 @@
|
|||||||
|
# Contributing to Bootstrap
|
||||||
|
|
||||||
|
Looking to contribute something to Bootstrap? **Here's how you can help.**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Reporting issues
|
||||||
|
|
||||||
|
We only accept issues that are bug reports or feature requests. Bugs must be isolated and reproducible problems that we can fix within the Bootstrap core. Please read the following guidelines before opening any issue.
|
||||||
|
|
||||||
|
1. **Search for existing issues.** We get a lot of duplicate issues, and you'd help us out a lot by first checking if someone else has reported the same issue. Moreover, the issue may have already been resolved with a fix available.
|
||||||
|
2. **Create an isolated and reproducible test case.** Be sure the problem exists in Bootstrap's code with a [reduced test cases](http://css-tricks.com/reduced-test-cases/) that should be included in each bug report.
|
||||||
|
3. **Include a live example.** Make use of jsFiddle or jsBin to share your isolated test cases.
|
||||||
|
4. **Share as much information as possible.** Include operating system and version, browser and version, version of Bootstrap, customized or vanilla build, etc. where appropriate. Also include steps to reproduce the bug.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Key branches
|
||||||
|
|
||||||
|
- `master` is the latest, deployed version.
|
||||||
|
- `gh-pages` is the hosted docs (not to be used for pull requests).
|
||||||
|
- `*-wip` is the official work in progress branch for the next release.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Notes on the repo
|
||||||
|
|
||||||
|
As of v2.0.0, Bootstrap's documentation is powered by Mustache templates and built via `make` before each commit and release. This was done to enable internationalization (translation) in a future release by uploading our strings to the [Twitter Translation Center](http://translate.twttr.com/). Any edits to the docs should be first done in the Mustache files and then recompiled into the HTML.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Pull requests
|
||||||
|
|
||||||
|
- Try to submit pull requests against the latest `*-wip` branch for easier merging
|
||||||
|
- Any changes to the docs must be made to the Mustache templates, not just the compiled HTML pages
|
||||||
|
- CSS changes must be done in .less files first, never just the compiled files
|
||||||
|
- If modifying the .less files, always recompile and commit the compiled files bootstrap.css and bootstrap.min.css
|
||||||
|
- Try not to pollute your pull request with unintended changes--keep them simple and small
|
||||||
|
- Try to share which browsers your code has been tested in before submitting a pull request
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Coding standards: HTML
|
||||||
|
|
||||||
|
- Two spaces for indentation, never tabs
|
||||||
|
- Double quotes only, never single quotes
|
||||||
|
- Always use proper indentation
|
||||||
|
- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## Coding standards: CSS
|
||||||
|
|
||||||
|
- Adhere to the [Recess CSS property order](http://markdotto.com/2011/11/29/css-property-order/)
|
||||||
|
- Multiple-line approach (one property and value per line)
|
||||||
|
- Always a space after a property's colon (.e.g, `display: block;` and not `display:block;`)
|
||||||
|
- End all lines with a semi-colon
|
||||||
|
- For multiple, comma-separated selectors, place each selector on it's own line
|
||||||
|
- Attribute selectors, like `input[type="text"]` should always wrap the attribute's value in double quotes, for consistency and safety (see this [blog post on unquoted attribute values](http://mathiasbynens.be/notes/unquoted-attribute-values) that can lead to XSS attacks).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
By contributing your code, you agree to license your contribution under the terms of the APLv2: https://github.com/twitter/bootstrap/blob/master/LICENSE
|
||||||
@@ -28,7 +28,7 @@ build:
|
|||||||
@echo "Compiling documentation... ${CHECK} Done"
|
@echo "Compiling documentation... ${CHECK} Done"
|
||||||
@cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js js/bootstrap-affix.js > docs/assets/js/bootstrap.js
|
@cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js js/bootstrap-affix.js > docs/assets/js/bootstrap.js
|
||||||
@uglifyjs -nc docs/assets/js/bootstrap.js > docs/assets/js/bootstrap.min.tmp.js
|
@uglifyjs -nc docs/assets/js/bootstrap.js > docs/assets/js/bootstrap.min.tmp.js
|
||||||
@echo "/**\n* Bootstrap.js by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > docs/assets/js/copyright.js
|
@echo "/**\n* Bootstrap.js v2.1.2 by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > docs/assets/js/copyright.js
|
||||||
@cat docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js > docs/assets/js/bootstrap.min.js
|
@cat docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js > docs/assets/js/bootstrap.min.js
|
||||||
@rm docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js
|
@rm docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js
|
||||||
@echo "Compiling and minifying javascript... ${CHECK} Done"
|
@echo "Compiling and minifying javascript... ${CHECK} Done"
|
||||||
@@ -50,6 +50,13 @@ test:
|
|||||||
kill -9 `cat js/tests/pid.txt`
|
kill -9 `cat js/tests/pid.txt`
|
||||||
rm js/tests/pid.txt
|
rm js/tests/pid.txt
|
||||||
|
|
||||||
|
#
|
||||||
|
# CLEANS THE ROOT DIRECTORY OF PRIOR BUILDS
|
||||||
|
#
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -r bootstrap
|
||||||
|
|
||||||
#
|
#
|
||||||
# BUILD SIMPLE BOOTSTRAP DIRECTORY
|
# BUILD SIMPLE BOOTSTRAP DIRECTORY
|
||||||
# recess & uglifyjs are required
|
# recess & uglifyjs are required
|
||||||
@@ -64,7 +71,7 @@ bootstrap:
|
|||||||
recess --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css
|
recess --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css
|
||||||
recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css
|
recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css
|
||||||
recess --compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css
|
recess --compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css
|
||||||
cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js > bootstrap/js/bootstrap.js
|
cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js js/bootstrap-affix.js > bootstrap/js/bootstrap.js
|
||||||
uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js
|
uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js
|
||||||
echo "/*!\n* Bootstrap.js by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > bootstrap/js/copyright.js
|
echo "/*!\n* Bootstrap.js by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > bootstrap/js/copyright.js
|
||||||
cat bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js > bootstrap/js/bootstrap.min.js
|
cat bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js > bootstrap/js/bootstrap.min.js
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ $ npm install recess connect uglify-js jshint -g
|
|||||||
Runs the recess compiler to rebuild the `/less` files and compiles the docs pages. Requires recess and uglify-js. <a href="http://twitter.github.com/bootstrap/less.html#compiling">Read more in our docs »</a>
|
Runs the recess compiler to rebuild the `/less` files and compiles the docs pages. Requires recess and uglify-js. <a href="http://twitter.github.com/bootstrap/less.html#compiling">Read more in our docs »</a>
|
||||||
|
|
||||||
+ **test** - `make test`
|
+ **test** - `make test`
|
||||||
Runs jshint and qunit tests headlessly in [phatomjs] (http://code.google.com/p/phantomjs/) (used for ci). Depends on having phantomjs installed.
|
Runs jshint and qunit tests headlessly in [phantomjs](http://code.google.com/p/phantomjs/) (used for ci). Depends on having phantomjs installed.
|
||||||
|
|
||||||
+ **watch** - `make watch`
|
+ **watch** - `make watch`
|
||||||
This is a convenience method for watching just Less files and automatically building them whenever you save. Requires the Watchr gem.
|
This is a convenience method for watching just Less files and automatically building them whenever you save. Requires the Watchr gem.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Bootstrap Responsive v2.1.0
|
* Bootstrap Responsive v2.1.2
|
||||||
*
|
*
|
||||||
* Copyright 2012 Twitter, Inc
|
* Copyright 2012 Twitter, Inc
|
||||||
* Licensed under the Apache License v2.0
|
* Licensed under the Apache License v2.0
|
||||||
@@ -107,6 +107,7 @@
|
|||||||
}
|
}
|
||||||
[class*="span"] {
|
[class*="span"] {
|
||||||
float: left;
|
float: left;
|
||||||
|
min-height: 1px;
|
||||||
margin-left: 30px;
|
margin-left: 30px;
|
||||||
}
|
}
|
||||||
.container,
|
.container,
|
||||||
@@ -214,6 +215,9 @@
|
|||||||
.row-fluid [class*="span"]:first-child {
|
.row-fluid [class*="span"]:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
.row-fluid .controls-row [class*="span"] + [class*="span"] {
|
||||||
|
margin-left: 2.564102564102564%;
|
||||||
|
}
|
||||||
.row-fluid .span12 {
|
.row-fluid .span12 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
*width: 99.94680851063829%;
|
*width: 99.94680851063829%;
|
||||||
@@ -453,6 +457,7 @@
|
|||||||
}
|
}
|
||||||
[class*="span"] {
|
[class*="span"] {
|
||||||
float: left;
|
float: left;
|
||||||
|
min-height: 1px;
|
||||||
margin-left: 20px;
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
.container,
|
.container,
|
||||||
@@ -560,6 +565,9 @@
|
|||||||
.row-fluid [class*="span"]:first-child {
|
.row-fluid [class*="span"]:first-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
.row-fluid .controls-row [class*="span"] + [class*="span"] {
|
||||||
|
margin-left: 2.7624309392265194%;
|
||||||
|
}
|
||||||
.row-fluid .span12 {
|
.row-fluid .span12 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
*width: 99.94680851063829%;
|
*width: 99.94680851063829%;
|
||||||
@@ -780,7 +788,8 @@
|
|||||||
padding-left: 20px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
.navbar-fixed-top,
|
.navbar-fixed-top,
|
||||||
.navbar-fixed-bottom {
|
.navbar-fixed-bottom,
|
||||||
|
.navbar-static-top {
|
||||||
margin-right: -20px;
|
margin-right: -20px;
|
||||||
margin-left: -20px;
|
margin-left: -20px;
|
||||||
}
|
}
|
||||||
@@ -811,11 +820,15 @@
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
[class*="span"],
|
[class*="span"],
|
||||||
|
.uneditable-input[class*="span"],
|
||||||
.row-fluid [class*="span"] {
|
.row-fluid [class*="span"] {
|
||||||
display: block;
|
display: block;
|
||||||
float: none;
|
float: none;
|
||||||
width: auto;
|
width: 100%;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
.span12,
|
.span12,
|
||||||
.row-fluid .span12 {
|
.row-fluid .span12 {
|
||||||
@@ -824,6 +837,9 @@
|
|||||||
-moz-box-sizing: border-box;
|
-moz-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
.row-fluid [class*="offset"]:first-child {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
.input-large,
|
.input-large,
|
||||||
.input-xlarge,
|
.input-xlarge,
|
||||||
.input-xxlarge,
|
.input-xxlarge,
|
||||||
@@ -845,6 +861,9 @@
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
.controls-row [class*="span"] + [class*="span"] {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
.modal {
|
.modal {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 20px;
|
top: 20px;
|
||||||
@@ -870,7 +889,7 @@
|
|||||||
input[type="radio"] {
|
input[type="radio"] {
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
.form-horizontal .control-group > label {
|
.form-horizontal .control-label {
|
||||||
float: none;
|
float: none;
|
||||||
width: auto;
|
width: auto;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
@@ -886,6 +905,16 @@
|
|||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
}
|
}
|
||||||
|
.media .pull-left,
|
||||||
|
.media .pull-right {
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.media-object {
|
||||||
|
margin-right: 0;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
.modal {
|
.modal {
|
||||||
top: 10px;
|
top: 10px;
|
||||||
right: 10px;
|
right: 10px;
|
||||||
@@ -944,14 +973,14 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.nav-collapse .nav .nav-header {
|
.nav-collapse .nav .nav-header {
|
||||||
color: #555555;
|
color: #777777;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
}
|
}
|
||||||
.nav-collapse .nav > li > a,
|
.nav-collapse .nav > li > a,
|
||||||
.nav-collapse .dropdown-menu a {
|
.nav-collapse .dropdown-menu a {
|
||||||
padding: 9px 15px;
|
padding: 9px 15px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #555555;
|
color: #777777;
|
||||||
-webkit-border-radius: 3px;
|
-webkit-border-radius: 3px;
|
||||||
-moz-border-radius: 3px;
|
-moz-border-radius: 3px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@@ -1003,6 +1032,10 @@
|
|||||||
.nav-collapse .dropdown-menu .divider {
|
.nav-collapse .dropdown-menu .divider {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
.nav-collapse .nav > li > .dropdown-menu:before,
|
||||||
|
.nav-collapse .nav > li > .dropdown-menu:after {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.nav-collapse .navbar-form,
|
.nav-collapse .navbar-form,
|
||||||
.nav-collapse .navbar-search {
|
.nav-collapse .navbar-search {
|
||||||
float: none;
|
float: none;
|
||||||
@@ -1014,6 +1047,11 @@
|
|||||||
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
|
.navbar-inverse .nav-collapse .navbar-form,
|
||||||
|
.navbar-inverse .nav-collapse .navbar-search {
|
||||||
|
border-top-color: #111111;
|
||||||
|
border-bottom-color: #111111;
|
||||||
|
}
|
||||||
.navbar .nav-collapse .nav.pull-right {
|
.navbar .nav-collapse .nav.pull-right {
|
||||||
float: none;
|
float: none;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|||||||
@@ -0,0 +1,57 @@
|
|||||||
|
/*
|
||||||
|
Bootstrap's customizer
|
||||||
|
*/
|
||||||
|
|
||||||
|
body {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body > .navbar,
|
||||||
|
.footer {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsc-sidebar {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
width: 239px;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
border-right: 1px solid #ccc;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsc-preview {
|
||||||
|
margin-left: 240px;
|
||||||
|
padding: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsc-heading {
|
||||||
|
margin: 20px;
|
||||||
|
color: #ccc;
|
||||||
|
text-shadow: 0 1px 0 rgba(255,255,255,.75);
|
||||||
|
}
|
||||||
|
|
||||||
|
.bsc-toolbar {
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
}
|
||||||
|
.bsc-toolbar .btn-group {
|
||||||
|
width: 239px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.bsc-toolbar .btn-group .btn {
|
||||||
|
border-radius: 0;
|
||||||
|
width: 121px;
|
||||||
|
margin: 0;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
.bsc-toolbar .btn-group .btn:first-child {
|
||||||
|
margin-left: -1px;
|
||||||
|
}
|
||||||
|
.bsc-toolbar .btn-group .btn:last-child {
|
||||||
|
margin-right: -1px;
|
||||||
|
border-left-width: 0;
|
||||||
|
}
|
||||||
@@ -132,18 +132,8 @@ hr.soften {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Download button */
|
/* Download button */
|
||||||
@-webkit-keyframes downloadButton {
|
|
||||||
from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
|
|
||||||
50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
|
|
||||||
to { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
|
|
||||||
}
|
|
||||||
@-moz-keyframes downloadButton {
|
|
||||||
from { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
|
|
||||||
50% { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 25px rgba(0,68,204,.9); }
|
|
||||||
to { box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.5); }
|
|
||||||
}
|
|
||||||
.masthead .btn {
|
.masthead .btn {
|
||||||
padding: 14px 24px;
|
padding: 19px 24px;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
color: #fff; /* redeclare to override the `.jumbotron a` */
|
color: #fff; /* redeclare to override the `.jumbotron a` */
|
||||||
@@ -151,19 +141,17 @@ hr.soften {
|
|||||||
-webkit-border-radius: 6px;
|
-webkit-border-radius: 6px;
|
||||||
-moz-border-radius: 6px;
|
-moz-border-radius: 6px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01);
|
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
||||||
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01);
|
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
||||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25), 0 2px 10px rgba(0,68,204,.01);
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
||||||
-webkit-animation-name: downloadButton;
|
|
||||||
-moz-animation-name: downloadButton;
|
|
||||||
-webkit-animation-duration: 1.5s;
|
|
||||||
-moz-animation-duration: 1.5s;
|
|
||||||
-webkit-animation-iteration-count: infinite;
|
|
||||||
-moz-animation-iteration-count: infinite;
|
|
||||||
-webkit-transition: none;
|
-webkit-transition: none;
|
||||||
-moz-transition: none;
|
-moz-transition: none;
|
||||||
transition: none;
|
transition: none;
|
||||||
|
}
|
||||||
|
.masthead .btn:hover {
|
||||||
|
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
||||||
|
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
||||||
|
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
|
||||||
}
|
}
|
||||||
.masthead .btn:active {
|
.masthead .btn:active {
|
||||||
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
|
-webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.1);
|
||||||
@@ -541,7 +529,7 @@ h2 + .row {
|
|||||||
background-color: rgba(255,0,0,.25);
|
background-color: rgba(255,0,0,.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Eaxmples page
|
/* Example page
|
||||||
------------------------- */
|
------------------------- */
|
||||||
.bootstrap-examples p {
|
.bootstrap-examples p {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
@@ -647,10 +635,6 @@ h2 + .row {
|
|||||||
form.bs-docs-example {
|
form.bs-docs-example {
|
||||||
padding-bottom: 19px;
|
padding-bottom: 19px;
|
||||||
}
|
}
|
||||||
.bs-docs-example .lead {
|
|
||||||
font-size: 18px;
|
|
||||||
line-height: 24px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Images */
|
/* Images */
|
||||||
.bs-docs-example-images img {
|
.bs-docs-example-images img {
|
||||||
@@ -756,11 +740,6 @@ form.bs-docs-example {
|
|||||||
/* Sidenav for Docs
|
/* Sidenav for Docs
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
/* prevent column from collapsing when affixing */
|
|
||||||
.span3 {
|
|
||||||
min-height: 1px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bs-docs-sidenav {
|
.bs-docs-sidenav {
|
||||||
width: 228px;
|
width: 228px;
|
||||||
margin: 30px 0 0;
|
margin: 30px 0 0;
|
||||||
@@ -892,7 +871,7 @@ form.bs-docs-example {
|
|||||||
|
|
||||||
/* Tablet
|
/* Tablet
|
||||||
------------------------- */
|
------------------------- */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 767px) {
|
||||||
/* Remove any padding from the body */
|
/* Remove any padding from the body */
|
||||||
body {
|
body {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
|
|||||||
|
After Width: | Height: | Size: 61 KiB |
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 12 KiB |
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-affix.js v2.1.0
|
* bootstrap-affix.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#affix
|
* http://twitter.github.com/bootstrap/javascript.html#affix
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -28,7 +28,9 @@
|
|||||||
|
|
||||||
var Affix = function (element, options) {
|
var Affix = function (element, options) {
|
||||||
this.options = $.extend({}, $.fn.affix.defaults, options)
|
this.options = $.extend({}, $.fn.affix.defaults, options)
|
||||||
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
this.$window = $(window)
|
||||||
|
.on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
||||||
|
.on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
this.checkPosition()
|
this.checkPosition()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-alert.js v2.1.0
|
* bootstrap-alert.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
* bootstrap-button.js v2.1.0
|
* bootstrap-button.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
||||||
* ============================================================
|
* ============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Button.prototype.toggle = function () {
|
Button.prototype.toggle = function () {
|
||||||
var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
|
var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
|
||||||
|
|
||||||
$parent && $parent
|
$parent && $parent
|
||||||
.find('.active')
|
.find('.active')
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-carousel.js v2.1.0
|
* bootstrap-carousel.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =============================================================
|
/* =============================================================
|
||||||
* bootstrap-collapse.js v2.1.0
|
* bootstrap-collapse.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
* bootstrap-dropdown.js v2.1.0
|
* bootstrap-dropdown.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
||||||
* ============================================================
|
* ============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
if (!selector) {
|
if (!selector) {
|
||||||
selector = $this.attr('href')
|
selector = $this.attr('href')
|
||||||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
||||||
}
|
}
|
||||||
|
|
||||||
$parent = $(selector)
|
$parent = $(selector)
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
$('html')
|
$('html')
|
||||||
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
||||||
$('body')
|
$('body')
|
||||||
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown', function (e) { e.stopPropagation() })
|
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||||
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||||
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =========================================================
|
/* =========================================================
|
||||||
* bootstrap-modal.js v2.1.0
|
* bootstrap-modal.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#modals
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
||||||
* =========================================================
|
* =========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -49,8 +49,6 @@
|
|||||||
|
|
||||||
if (this.isShown || e.isDefaultPrevented()) return
|
if (this.isShown || e.isDefaultPrevented()) return
|
||||||
|
|
||||||
$('body').addClass('modal-open')
|
|
||||||
|
|
||||||
this.isShown = true
|
this.isShown = true
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
@@ -96,8 +94,6 @@
|
|||||||
|
|
||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
|
||||||
$('body').removeClass('modal-open')
|
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
|
|
||||||
$(document).off('focusin.modal')
|
$(document).off('focusin.modal')
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===========================================================
|
/* ===========================================================
|
||||||
* bootstrap-popover.js v2.1.0
|
* bootstrap-popover.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
||||||
* ===========================================================
|
* ===========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =============================================================
|
/* =============================================================
|
||||||
* bootstrap-scrollspy.js v2.1.0
|
* bootstrap-scrollspy.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ========================================================
|
/* ========================================================
|
||||||
* bootstrap-tab.js v2.1.0
|
* bootstrap-tab.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
||||||
* ========================================================
|
* ========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===========================================================
|
/* ===========================================================
|
||||||
* bootstrap-tooltip.js v2.1.0
|
* bootstrap-tooltip.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
||||||
* Inspired by the original jQuery.tipsy by Jason Frame
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
||||||
* ===========================================================
|
* ===========================================================
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
$tip
|
$tip
|
||||||
.remove()
|
.remove()
|
||||||
.css({ top: 0, left: 0, display: 'block' })
|
.css({ top: 0, left: 0, display: 'block' })
|
||||||
.appendTo(inside ? this.$element : document.body)
|
.insertAfter(this.$element)
|
||||||
|
|
||||||
pos = this.getPosition(inside)
|
pos = this.getPosition(inside)
|
||||||
|
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tip
|
$tip
|
||||||
.css(tp)
|
.offset(tp)
|
||||||
.addClass(placement)
|
.addClass(placement)
|
||||||
.addClass('in')
|
.addClass('in')
|
||||||
}
|
}
|
||||||
@@ -269,7 +269,7 @@
|
|||||||
, trigger: 'hover'
|
, trigger: 'hover'
|
||||||
, title: ''
|
, title: ''
|
||||||
, delay: 0
|
, delay: 0
|
||||||
, html: true
|
, html: false
|
||||||
}
|
}
|
||||||
|
|
||||||
}(window.jQuery);
|
}(window.jQuery);
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===================================================
|
/* ===================================================
|
||||||
* bootstrap-transition.js v2.1.0
|
* bootstrap-transition.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
||||||
* ===================================================
|
* ===================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -20,14 +20,14 @@
|
|||||||
|
|
||||||
!function ($) {
|
!function ($) {
|
||||||
|
|
||||||
|
"use strict"; // jshint ;_;
|
||||||
|
|
||||||
|
|
||||||
|
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
||||||
|
* ======================================================= */
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
"use strict"; // jshint ;_;
|
|
||||||
|
|
||||||
|
|
||||||
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
|
||||||
* ======================================================= */
|
|
||||||
|
|
||||||
$.support.transition = (function () {
|
$.support.transition = (function () {
|
||||||
|
|
||||||
var transitionEnd = (function () {
|
var transitionEnd = (function () {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =============================================================
|
/* =============================================================
|
||||||
* bootstrap-typeahead.js v2.1.0
|
* bootstrap-typeahead.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
.on('keypress', $.proxy(this.keypress, this))
|
.on('keypress', $.proxy(this.keypress, this))
|
||||||
.on('keyup', $.proxy(this.keyup, this))
|
.on('keyup', $.proxy(this.keyup, this))
|
||||||
|
|
||||||
if ($.browser.webkit || $.browser.msie) {
|
if (this.eventSupported('keydown')) {
|
||||||
this.$element.on('keydown', $.proxy(this.keydown, this))
|
this.$element.on('keydown', $.proxy(this.keydown, this))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -183,6 +183,15 @@
|
|||||||
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
, eventSupported: function(eventName) {
|
||||||
|
var isSupported = eventName in this.$element
|
||||||
|
if (!isSupported) {
|
||||||
|
this.$element.setAttribute(eventName, 'return;')
|
||||||
|
isSupported = typeof this.$element[eventName] === 'function'
|
||||||
|
}
|
||||||
|
return isSupported
|
||||||
|
}
|
||||||
|
|
||||||
, move: function (e) {
|
, move: function (e) {
|
||||||
if (!this.shown) return
|
if (!this.shown) return
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===================================================
|
/* ===================================================
|
||||||
* bootstrap-transition.js v2.1.0
|
* bootstrap-transition.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
||||||
* ===================================================
|
* ===================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -20,14 +20,14 @@
|
|||||||
|
|
||||||
!function ($) {
|
!function ($) {
|
||||||
|
|
||||||
|
"use strict"; // jshint ;_;
|
||||||
|
|
||||||
|
|
||||||
|
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
||||||
|
* ======================================================= */
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
"use strict"; // jshint ;_;
|
|
||||||
|
|
||||||
|
|
||||||
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
|
||||||
* ======================================================= */
|
|
||||||
|
|
||||||
$.support.transition = (function () {
|
$.support.transition = (function () {
|
||||||
|
|
||||||
var transitionEnd = (function () {
|
var transitionEnd = (function () {
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* ==========================================================
|
}(window.jQuery);/* ==========================================================
|
||||||
* bootstrap-alert.js v2.1.0
|
* bootstrap-alert.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* ============================================================
|
}(window.jQuery);/* ============================================================
|
||||||
* bootstrap-button.js v2.1.0
|
* bootstrap-button.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
||||||
* ============================================================
|
* ============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Button.prototype.toggle = function () {
|
Button.prototype.toggle = function () {
|
||||||
var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
|
var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
|
||||||
|
|
||||||
$parent && $parent
|
$parent && $parent
|
||||||
.find('.active')
|
.find('.active')
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* ==========================================================
|
}(window.jQuery);/* ==========================================================
|
||||||
* bootstrap-carousel.js v2.1.0
|
* bootstrap-carousel.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -417,7 +417,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* =============================================================
|
}(window.jQuery);/* =============================================================
|
||||||
* bootstrap-collapse.js v2.1.0
|
* bootstrap-collapse.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -574,7 +574,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* ============================================================
|
}(window.jQuery);/* ============================================================
|
||||||
* bootstrap-dropdown.js v2.1.0
|
* bootstrap-dropdown.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
||||||
* ============================================================
|
* ============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -685,7 +685,7 @@
|
|||||||
|
|
||||||
if (!selector) {
|
if (!selector) {
|
||||||
selector = $this.attr('href')
|
selector = $this.attr('href')
|
||||||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
||||||
}
|
}
|
||||||
|
|
||||||
$parent = $(selector)
|
$parent = $(selector)
|
||||||
@@ -717,13 +717,13 @@
|
|||||||
$('html')
|
$('html')
|
||||||
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
||||||
$('body')
|
$('body')
|
||||||
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown', function (e) { e.stopPropagation() })
|
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||||
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||||
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* =========================================================
|
}(window.jQuery);/* =========================================================
|
||||||
* bootstrap-modal.js v2.1.0
|
* bootstrap-modal.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#modals
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
||||||
* =========================================================
|
* =========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -773,8 +773,6 @@
|
|||||||
|
|
||||||
if (this.isShown || e.isDefaultPrevented()) return
|
if (this.isShown || e.isDefaultPrevented()) return
|
||||||
|
|
||||||
$('body').addClass('modal-open')
|
|
||||||
|
|
||||||
this.isShown = true
|
this.isShown = true
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
@@ -820,8 +818,6 @@
|
|||||||
|
|
||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
|
||||||
$('body').removeClass('modal-open')
|
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
|
|
||||||
$(document).off('focusin.modal')
|
$(document).off('focusin.modal')
|
||||||
@@ -961,7 +957,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* ===========================================================
|
}(window.jQuery);/* ===========================================================
|
||||||
* bootstrap-tooltip.js v2.1.0
|
* bootstrap-tooltip.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
||||||
* Inspired by the original jQuery.tipsy by Jason Frame
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
||||||
* ===========================================================
|
* ===========================================================
|
||||||
@@ -1083,7 +1079,7 @@
|
|||||||
$tip
|
$tip
|
||||||
.remove()
|
.remove()
|
||||||
.css({ top: 0, left: 0, display: 'block' })
|
.css({ top: 0, left: 0, display: 'block' })
|
||||||
.appendTo(inside ? this.$element : document.body)
|
.insertAfter(this.$element)
|
||||||
|
|
||||||
pos = this.getPosition(inside)
|
pos = this.getPosition(inside)
|
||||||
|
|
||||||
@@ -1106,7 +1102,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tip
|
$tip
|
||||||
.css(tp)
|
.offset(tp)
|
||||||
.addClass(placement)
|
.addClass(placement)
|
||||||
.addClass('in')
|
.addClass('in')
|
||||||
}
|
}
|
||||||
@@ -1231,12 +1227,11 @@
|
|||||||
, trigger: 'hover'
|
, trigger: 'hover'
|
||||||
, title: ''
|
, title: ''
|
||||||
, delay: 0
|
, delay: 0
|
||||||
, html: true
|
, html: false
|
||||||
}
|
}
|
||||||
|
|
||||||
}(window.jQuery);
|
}(window.jQuery);/* ===========================================================
|
||||||
/* ===========================================================
|
* bootstrap-popover.js v2.1.2
|
||||||
* bootstrap-popover.js v2.1.0
|
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
||||||
* ===========================================================
|
* ===========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -1338,7 +1333,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* =============================================================
|
}(window.jQuery);/* =============================================================
|
||||||
* bootstrap-scrollspy.js v2.1.0
|
* bootstrap-scrollspy.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -1488,7 +1483,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* ========================================================
|
}(window.jQuery);/* ========================================================
|
||||||
* bootstrap-tab.js v2.1.0
|
* bootstrap-tab.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
||||||
* ========================================================
|
* ========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -1622,7 +1617,7 @@
|
|||||||
})
|
})
|
||||||
|
|
||||||
}(window.jQuery);/* =============================================================
|
}(window.jQuery);/* =============================================================
|
||||||
* bootstrap-typeahead.js v2.1.0
|
* bootstrap-typeahead.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -1797,7 +1792,7 @@
|
|||||||
.on('keypress', $.proxy(this.keypress, this))
|
.on('keypress', $.proxy(this.keypress, this))
|
||||||
.on('keyup', $.proxy(this.keyup, this))
|
.on('keyup', $.proxy(this.keyup, this))
|
||||||
|
|
||||||
if ($.browser.webkit || $.browser.msie) {
|
if (this.eventSupported('keydown')) {
|
||||||
this.$element.on('keydown', $.proxy(this.keydown, this))
|
this.$element.on('keydown', $.proxy(this.keydown, this))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1806,6 +1801,15 @@
|
|||||||
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
, eventSupported: function(eventName) {
|
||||||
|
var isSupported = eventName in this.$element
|
||||||
|
if (!isSupported) {
|
||||||
|
this.$element.setAttribute(eventName, 'return;')
|
||||||
|
isSupported = typeof this.$element[eventName] === 'function'
|
||||||
|
}
|
||||||
|
return isSupported
|
||||||
|
}
|
||||||
|
|
||||||
, move: function (e) {
|
, move: function (e) {
|
||||||
if (!this.shown) return
|
if (!this.shown) return
|
||||||
|
|
||||||
@@ -1922,7 +1926,7 @@
|
|||||||
|
|
||||||
}(window.jQuery);
|
}(window.jQuery);
|
||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-affix.js v2.1.0
|
* bootstrap-affix.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#affix
|
* http://twitter.github.com/bootstrap/javascript.html#affix
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -1951,7 +1955,9 @@
|
|||||||
|
|
||||||
var Affix = function (element, options) {
|
var Affix = function (element, options) {
|
||||||
this.options = $.extend({}, $.fn.affix.defaults, options)
|
this.options = $.extend({}, $.fn.affix.defaults, options)
|
||||||
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
this.$window = $(window)
|
||||||
|
.on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
||||||
|
.on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
this.checkPosition()
|
this.checkPosition()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -118,7 +118,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 id="body-copy">Body copy</h2>
|
<h2 id="body-copy">Body copy</h2>
|
||||||
<p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (9px by default).</p>
|
<p>Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (10px by default).</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
|
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
|
||||||
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
|
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
@@ -154,15 +154,15 @@
|
|||||||
</p>
|
</p>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3><code><strong></code></h3>
|
<h3>Bold</h3>
|
||||||
<p>For emphasizing a snippet of text with <strong>important</strong></p>
|
<p>For emphasizing a snippet of text with a heavier font-weight.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
|
<p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint"><strong>rendered as bold text</strong></pre>
|
<pre class="prettyprint"><strong>rendered as bold text</strong></pre>
|
||||||
|
|
||||||
<h3><code><em></code></h3>
|
<h3>Italics</h3>
|
||||||
<p>For emphasizing a snippet of text with <em>stress</em></p>
|
<p>For emphasizing a snippet of text with italics.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>The following snippet of text is <em>rendered as italicized text</em>.</p>
|
<p>The following snippet of text is <em>rendered as italicized text</em>.</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -170,6 +170,23 @@
|
|||||||
|
|
||||||
<p><span class="label label-info">Heads up!</span> Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
<p><span class="label label-info">Heads up!</span> Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.</p>
|
||||||
|
|
||||||
|
<h3>Emphasis classes</h3>
|
||||||
|
<p>Convey meaning through color with a handful of emphasis utility classes.</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
||||||
|
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
||||||
|
<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
|
<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
|
||||||
|
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
||||||
|
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
||||||
|
<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
|
<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
|
||||||
|
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
|
|
||||||
@@ -189,7 +206,7 @@
|
|||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
|
<p><abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.</p>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint"><abbr title="attribute" class="initialism">attr</abbr></pre>
|
<pre class="prettyprint"><abbr title="HyperText Markup Language" class="initialism">HTML</abbr></pre>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
@@ -233,7 +250,7 @@
|
|||||||
<h2 id="blockquotes">Blockquotes</h2>
|
<h2 id="blockquotes">Blockquotes</h2>
|
||||||
<p>For quoting blocks of content from another source within your document.</p>
|
<p>For quoting blocks of content from another source within your document.</p>
|
||||||
|
|
||||||
<h3>Default blockqoute</h3>
|
<h3>Default blockquote</h3>
|
||||||
<p>Wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.</p>
|
<p>Wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
@@ -492,7 +509,7 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
|
|
||||||
|
|
||||||
<h2>Optional classes</h2>
|
<h2>Optional classes</h2>
|
||||||
<p>Add any of the follow classes to the <code>.table</code> base class.</p>
|
<p>Add any of the following classes to the <code>.table</code> base class.</p>
|
||||||
|
|
||||||
<h3><code>.table-striped</code></h3>
|
<h3><code>.table-striped</code></h3>
|
||||||
<p>Adds zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).</p>
|
<p>Adds zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).</p>
|
||||||
@@ -686,6 +703,12 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
</td>
|
</td>
|
||||||
<td>Indicates a dangerous or potentially negative action.</td>
|
<td>Indicates a dangerous or potentially negative action.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<code>.warning</code>
|
||||||
|
</td>
|
||||||
|
<td>Indicates a warning that might need attention.</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<code>.info</code>
|
<code>.info</code>
|
||||||
@@ -717,12 +740,18 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
<td>02/04/2012</td>
|
<td>02/04/2012</td>
|
||||||
<td>Declined</td>
|
<td>Declined</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="info">
|
<tr class="warning">
|
||||||
<td>3</td>
|
<td>3</td>
|
||||||
<td>TB - Monthly</td>
|
<td>TB - Monthly</td>
|
||||||
<td>03/04/2012</td>
|
<td>03/04/2012</td>
|
||||||
<td>Pending</td>
|
<td>Pending</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class="info">
|
||||||
|
<td>4</td>
|
||||||
|
<td>TB - Monthly</td>
|
||||||
|
<td>04/04/2012</td>
|
||||||
|
<td>Call in to confirm</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@@ -983,7 +1012,7 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>Textarea</h3>
|
<h3>Textarea</h3>
|
||||||
<p>Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.</p>
|
<p>Form control which supports multiple lines of text. Change <code>rows</code> attribute as necessary.</p>
|
||||||
<form class="bs-docs-example form-inline">
|
<form class="bs-docs-example form-inline">
|
||||||
<textarea rows="3"></textarea>
|
<textarea rows="3"></textarea>
|
||||||
</form>
|
</form>
|
||||||
@@ -1102,20 +1131,22 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
<form class="bs-docs-example">
|
<form class="bs-docs-example">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on">@</span>
|
<span class="add-on">@</span>
|
||||||
<input class="span2" id="prependedInput" size="16" type="text" placeholder="Username">
|
<input class="span2" id="prependedInput" type="text" placeholder="Username">
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInput" size="16" type="text">
|
<input class="span2" id="appendedInput" type="text">
|
||||||
<span class="add-on">.00</span>
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" placeholder="Username">
|
<span class="add-on">@</span>
|
||||||
|
<input class="span2" id="prependedInput" type="text" placeholder="Username">
|
||||||
</div>
|
</div>
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInput" size="16" type="text"><span class="add-on">.00</span>
|
<input class="span2" id="appendedInput" type="text">
|
||||||
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1124,13 +1155,15 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
<form class="bs-docs-example form-inline">
|
<form class="bs-docs-example form-inline">
|
||||||
<div class="input-prepend input-append">
|
<div class="input-prepend input-append">
|
||||||
<span class="add-on">$</span>
|
<span class="add-on">$</span>
|
||||||
<input class="span2" id="appendedPrependedInput" size="16" type="text">
|
<input class="span2" id="appendedPrependedInput" type="text">
|
||||||
<span class="add-on">.00</span>
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-prepend input-append">
|
<div class="input-prepend input-append">
|
||||||
<span class="add-on">$</span><input class="span2" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
|
<span class="add-on">$</span>
|
||||||
|
<input class="span2" id="appendedPrependedInput" type="text">
|
||||||
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1138,23 +1171,139 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
<p>Instead of a <code><span></code> with text, use a <code>.btn</code> to attach a button (or two) to an input.</p>
|
<p>Instead of a <code><span></code> with text, use a <code>.btn</code> to attach a button (or two) to an input.</p>
|
||||||
<form class="bs-docs-example">
|
<form class="bs-docs-example">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButton" size="16" type="text">
|
<input class="span2" id="appendedInputButton" type="text">
|
||||||
<button class="btn" type="button">Go!</button>
|
<button class="btn" type="button">Go!</button>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="input-append">
|
||||||
|
<input class="span2" id="appendedInputButton" type="text">
|
||||||
|
<button class="btn" type="button">Go!</button>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
<form class="bs-docs-example">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButtons" size="16" type="text">
|
<input class="span2" id="appendedInputButtons" type="text">
|
||||||
<button class="btn" type="button">Search</button>
|
<button class="btn" type="button">Search</button>
|
||||||
<button class="btn" type="button">Options</button>
|
<button class="btn" type="button">Options</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButton" size="16" type="text"><button class="btn" type="button">Go!</button>
|
<input class="span2" id="appendedInputButtons" type="text">
|
||||||
|
<button class="btn" type="button">Search</button>
|
||||||
|
<button class="btn" type="button">Options</button>
|
||||||
</div>
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<h4>Button dropdowns</h4>
|
||||||
|
<p></p>
|
||||||
|
<form class="bs-docs-example">
|
||||||
|
<div class="input-append">
|
||||||
|
<input class="span2" id="appendedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
</div><!-- /input-append -->
|
||||||
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButtons" size="16" type="text"><button class="btn" type="button">Search</button><button class="btn" type="button">Options</button>
|
<input class="span2" id="appendedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Action
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<form class="bs-docs-example">
|
||||||
|
<div class="input-prepend">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
<input class="span2" id="prependedDropdownButton" type="text">
|
||||||
|
</div><!-- /input-prepend -->
|
||||||
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="input-prepend">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Action
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<input class="span2" id="prependedDropdownButton" type="text">
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<form class="bs-docs-example">
|
||||||
|
<div class="input-prepend input-append">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
<input class="span2" id="appendedPrependedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">Action <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">Action</a></li>
|
||||||
|
<li><a href="#">Another action</a></li>
|
||||||
|
<li><a href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">Separated link</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
</div><!-- /input-prepend input-append -->
|
||||||
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="input-prepend input-append">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Action
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<input class="span2" id="appendedPrependedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
Action
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1355,7 +1504,7 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>Validation states</h3>
|
<h3>Validation states</h3>
|
||||||
<p>Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
|
<p>Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.</p>
|
||||||
|
|
||||||
<form class="bs-docs-example form-horizontal">
|
<form class="bs-docs-example form-horizontal">
|
||||||
<div class="control-group warning">
|
<div class="control-group warning">
|
||||||
@@ -1372,6 +1521,13 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
<span class="help-inline">Please correct the error</span>
|
<span class="help-inline">Please correct the error</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="control-group info">
|
||||||
|
<label class="control-label" for="inputInfo">Input with info</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" id="inputInfo">
|
||||||
|
<span class="help-inline">Username is taken</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="control-group success">
|
<div class="control-group success">
|
||||||
<label class="control-label" for="inputSuccess">Input with success</label>
|
<label class="control-label" for="inputSuccess">Input with success</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
@@ -1539,7 +1695,7 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
<span class="label label-info">Heads up!</span>
|
<span class="label label-info">Heads up!</span>
|
||||||
We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.
|
We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required. Also, this class is only for aesthetic; you must use custom JavaScript to disable links here.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Button element</h3>
|
<h3>Button element</h3>
|
||||||
@@ -1756,7 +1912,7 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>Glyphicons attribution</h3>
|
<h3>Glyphicons attribution</h3>
|
||||||
<p><a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at not cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.</p>
|
<p><a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at no cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.</p>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
@@ -1881,7 +2037,9 @@ For example, <code><section></code> should be wrapped as inlin
|
|||||||
<label class="control-label" for="inputIcon">Email address</label>
|
<label class="control-label" for="inputIcon">Email address</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on"><i class="icon-envelope"><i><span><input class="span2" id="inputIcon" type="text">
|
<span class="add-on"><i class="icon-envelope"></i></span>
|
||||||
|
<input class="span2" id="inputIcon" type="text">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -98,6 +98,7 @@
|
|||||||
<li><a href="#thumbnails"><i class="icon-chevron-right"></i> Thumbnails</a></li>
|
<li><a href="#thumbnails"><i class="icon-chevron-right"></i> Thumbnails</a></li>
|
||||||
<li><a href="#alerts"><i class="icon-chevron-right"></i> Alerts</a></li>
|
<li><a href="#alerts"><i class="icon-chevron-right"></i> Alerts</a></li>
|
||||||
<li><a href="#progress"><i class="icon-chevron-right"></i> Progress bars</a></li>
|
<li><a href="#progress"><i class="icon-chevron-right"></i> Progress bars</a></li>
|
||||||
|
<li><a href="#media"><i class="icon-chevron-right"></i> Media object</a></li>
|
||||||
<li><a href="#misc"><i class="icon-chevron-right"></i> Misc</a></li>
|
<li><a href="#misc"><i class="icon-chevron-right"></i> Misc</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -113,7 +114,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Example</h2>
|
<h2>Example</h2>
|
||||||
<p>Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.</p>
|
<p>Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown JavaScript plugin</a>.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="dropdown clearfix">
|
<div class="dropdown clearfix">
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
|
||||||
@@ -182,6 +183,24 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div class="dropup" style="float: left; margin-left: 20px;">
|
||||||
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
|
||||||
|
<li><a tabindex="-1" href="#">Action</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">Another action</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">Something else here</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li class="dropdown-submenu">
|
||||||
|
<a tabindex="-1" href="#">More options</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a tabindex="-1" href="#">Second level link</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">Second level link</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">Second level link</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">Second level link</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">Second level link</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
@@ -277,7 +296,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h4>Checkbox and radio flavors</h4>
|
<h4>Checkbox and radio flavors</h4>
|
||||||
<p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.</p>
|
<p>Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the JavaScript docs</a> for that.</p>
|
||||||
|
|
||||||
<h4>Dropdowns in button groups</h4>
|
<h4>Dropdowns in button groups</h4>
|
||||||
<p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p>
|
<p><span class="label label-info">Heads up!</span> Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.</p>
|
||||||
@@ -418,9 +437,9 @@
|
|||||||
</div><!-- /btn-toolbar -->
|
</div><!-- /btn-toolbar -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>Requires javascript</h3>
|
<h3>Requires JavaScript</h3>
|
||||||
<p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p>
|
<p>Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.</p>
|
||||||
<p>In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.</p>
|
<p>In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom JavaScript.</p>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
@@ -669,7 +688,7 @@
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>Disabled state</h3>
|
<h3>Disabled state</h3>
|
||||||
<p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.</p>
|
<p>For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom JavaScript is implemented to prevent those clicks.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
<li><a href="#">Clickable link</a></li>
|
<li><a href="#">Clickable link</a></li>
|
||||||
@@ -728,7 +747,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h2>Dropdowns</h2>
|
<h2>Dropdowns</h2>
|
||||||
<p>Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
|
<p>Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p>
|
||||||
|
|
||||||
<h3>Tabs with dropdowns</h3>
|
<h3>Tabs with dropdowns</h3>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
@@ -893,7 +912,7 @@
|
|||||||
<p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p>
|
<p>To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.</p>
|
||||||
|
|
||||||
<h4>Requires jQuery plugin</h4>
|
<h4>Requires jQuery plugin</h4>
|
||||||
<p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.</p>
|
<p>All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the JavaScript docs page</a>.</p>
|
||||||
|
|
||||||
<h3>Tabbable in any direction</h3>
|
<h3>Tabbable in any direction</h3>
|
||||||
|
|
||||||
@@ -1139,7 +1158,7 @@
|
|||||||
<p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
|
<p>Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.</p>
|
||||||
|
|
||||||
<h3>Using dropdowns</h3>
|
<h3>Using dropdowns</h3>
|
||||||
<p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.</p>
|
<p>Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
@@ -1153,7 +1172,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
<p>Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.</p>
|
<p>Visit the <a href="./javascript.html#dropdowns">JavaScript dropdowns documentation</a> for more markup and information on calling dropdowns.</p>
|
||||||
|
|
||||||
<h3>Text</h3>
|
<h3>Text</h3>
|
||||||
<p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.</p>
|
<p>Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.</p>
|
||||||
@@ -1247,7 +1266,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="brand" href="#">Title</a>
|
||||||
<div class="nav-collapse">
|
<div class="nav-collapse collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -1303,7 +1322,7 @@
|
|||||||
<a class="brand" href="#">Project name</a>
|
<a class="brand" href="#">Project name</a>
|
||||||
|
|
||||||
<!-- Everything you want hidden at 940px or less, place within here -->
|
<!-- Everything you want hidden at 940px or less, place within here -->
|
||||||
<div class="nav-collapse">
|
<div class="nav-collapse collapse">
|
||||||
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1331,7 +1350,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">Title</a>
|
<a class="brand" href="#">Title</a>
|
||||||
<div class="nav-collapse subnav-collapse">
|
<div class="nav-collapse collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">Home</a></li>
|
<li class="active"><a href="#">Home</a></li>
|
||||||
<li><a href="#">Link</a></li>
|
<li><a href="#">Link</a></li>
|
||||||
@@ -1473,13 +1492,94 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="pagination ">
|
<div class="pagination">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="disabled"><a href="#">Prev</a></li>
|
<li class="disabled"><a href="#">Prev</a></li>
|
||||||
<li class="active"><a href="#">1</a></li>
|
<li class="active"><a href="#">1</a></li>
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</pre>
|
||||||
|
<p>You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.</p>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li class="disabled"><span>Prev</span></li>
|
||||||
|
<li class="active"><span>1</span></li>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<h3>Sizes</h3>
|
||||||
|
<p>Fancy larger or smaller pagination? Add <code>.pagination-large</code>, <code>.pagination-small</code>, or <code>.pagination-mini</code> for additional sizes.</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<div class="pagination pagination-large">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-small">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-mini">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="pagination pagination-large">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-small">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-mini">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>Alignment</h3>
|
<h3>Alignment</h3>
|
||||||
@@ -1769,7 +1869,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>Example page header</h1>
|
<h1>Example page header <small>Subtext for header</small></h1>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1917,6 +2017,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Alerts
|
<!-- Alerts
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="alerts">
|
<section id="alerts">
|
||||||
@@ -1941,11 +2042,11 @@
|
|||||||
|
|
||||||
<h3>Dismiss buttons</h3>
|
<h3>Dismiss buttons</h3>
|
||||||
<p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code><a></code> tag.</p>
|
<p>Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code><a></code> tag.</p>
|
||||||
<pre class="prettyprint linenums"><a href="#" class="close" data-dismiss="alert">×</button></pre>
|
<pre class="prettyprint linenums"><a href="#" class="close" data-dismiss="alert">×</a></pre>
|
||||||
<p>Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or your forms may not submit.</p>
|
<p>Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or your forms may not submit.</p>
|
||||||
<pre class="prettyprint linenums"><button type="button" class="close" data-dismiss="alert">×</button></pre>
|
<pre class="prettyprint linenums"><button type="button" class="close" data-dismiss="alert">×</button></pre>
|
||||||
|
|
||||||
<h3>Dismiss alerts via javascript</h3>
|
<h3>Dismiss alerts via JavaScript</h3>
|
||||||
<p>Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.</p>
|
<p>Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.</p>
|
||||||
|
|
||||||
|
|
||||||
@@ -2019,6 +2120,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Progress bars
|
<!-- Progress bars
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="progress">
|
<section id="progress">
|
||||||
@@ -2165,6 +2267,144 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Media object
|
||||||
|
================================================== -->
|
||||||
|
<section id="media">
|
||||||
|
<div class="page-header">
|
||||||
|
<h1>Media object</h1>
|
||||||
|
</div>
|
||||||
|
<p class="lead">Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.</p>
|
||||||
|
|
||||||
|
<h2>Default example</h2>
|
||||||
|
<p>The default media allow to float a media object (images, video, audio) to the left or right of a content block.</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
...
|
||||||
|
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
<hr class="bs-docs-separator">
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Media list</h2>
|
||||||
|
<p>With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<ul class="media-list">
|
||||||
|
<li class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
<p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p>
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Nested media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Nested media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Nested media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="media">
|
||||||
|
<a class="pull-right" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<ul class="media-list">
|
||||||
|
<li class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">Media heading</h4>
|
||||||
|
...
|
||||||
|
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Miscellaneous
|
<!-- Miscellaneous
|
||||||
================================================== -->
|
================================================== -->
|
||||||
|
|||||||
@@ -1,66 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap breadcrumb</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<ul class="breadcrumb">
|
|
||||||
<li><a href="#">Home</a> <span class="divider">/</span></li>
|
|
||||||
<li><a href="#">Page</a> <span class="divider">/</span></li>
|
|
||||||
<li><a href="#">Second page</a> <span class="divider">/</span></li>
|
|
||||||
<li class="active">Current page</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap button</h1>
|
|
||||||
|
|
||||||
<p><button type="button" class="btn">Button text</button></p>
|
|
||||||
|
|
||||||
<p><a class="btn" href="#">Link button text</a></p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap dropdown</h1>
|
|
||||||
|
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static;">
|
|
||||||
<li><a tabindex="-1" href="#">Action</a></li>
|
|
||||||
<li><a tabindex="-1" href="#">Another action</a></li>
|
|
||||||
<li><a tabindex="-1" href="#">Something else here</a></li>
|
|
||||||
<li class="divider"></li>
|
|
||||||
<li><a tabindex="-1" href="#">Separated link</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap form</h1>
|
|
||||||
|
|
||||||
<form class="horizontal-form">
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label" for="">Email</label>
|
|
||||||
<div class="controls">
|
|
||||||
<input type="text" placeholder="Email">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label" for="">Password</label>
|
|
||||||
<div class="controls">
|
|
||||||
<input type="password" placeholder="Password">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label" for="">Checkbox</label>
|
|
||||||
<div class="controls">
|
|
||||||
<label class="checkbox">
|
|
||||||
<input type="checkbox" value="">
|
|
||||||
Option one is this and that—be sure to include why it's great
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<label class="control-label" for="">Radios</label>
|
|
||||||
<div class="controls">
|
|
||||||
<label class="radio">
|
|
||||||
<input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
|
|
||||||
Option one is this and that—be sure to include why it's great
|
|
||||||
</label>
|
|
||||||
<label class="radio">
|
|
||||||
<input type="radio" name="optionsRadios" id="optionsRadios2" value="option2">
|
|
||||||
Option two can be something else and selecting it will deselect option one
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="control-group">
|
|
||||||
<div class="controls">
|
|
||||||
<button type="submit" class="btn">Form action</button>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap form</h1>
|
|
||||||
|
|
||||||
<p><i class="icon-ok"></i> Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,72 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap modal</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<div class="modal" style="position: relative; top: auto; left: auto; margin: 0 auto 20px; z-index: 1; max-width: 100%;">
|
|
||||||
<div class="modal-header">
|
|
||||||
<button type="button" class="close" data-dismiss="modal">×</button>
|
|
||||||
<h3>Modal header</h3>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body">
|
|
||||||
<p>One fine body...</p>
|
|
||||||
</div>
|
|
||||||
<div class="modal-footer">
|
|
||||||
<a href="#" class="btn">Close</a>
|
|
||||||
<a href="#" class="btn btn-primary">Save changes</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,77 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap nav</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<ul class="nav nav-tabs">
|
|
||||||
<li class="active"><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<ul class="nav nav-pills">
|
|
||||||
<li class="active"><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
<li><a href="#">Nav link</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap breadcrumb</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<div class="pagination">
|
|
||||||
<ul>
|
|
||||||
<li class="disabled"><a href="#">«</a></li>
|
|
||||||
<li class="active"><a href="#">1</a></li>
|
|
||||||
<li><a href="#">2</a></li>
|
|
||||||
<li><a href="#">3</a></li>
|
|
||||||
<li><a href="#">4</a></li>
|
|
||||||
<li><a href="#">5</a></li>
|
|
||||||
<li><a href="#">»</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap popover</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">Hover for popover</a>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap progress bar</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<div class="progress">
|
|
||||||
<div class="bar" style="width: 60%;"></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,89 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap form</h1>
|
|
||||||
|
|
||||||
<table class="table">
|
|
||||||
<thead>
|
|
||||||
<tr>
|
|
||||||
<th>#</th>
|
|
||||||
<th>First Name</th>
|
|
||||||
<th>Last Name</th>
|
|
||||||
<th>Username</th>
|
|
||||||
</tr>
|
|
||||||
</thead>
|
|
||||||
<tbody>
|
|
||||||
<tr>
|
|
||||||
<td>1</td>
|
|
||||||
<td>Mark</td>
|
|
||||||
<td>Otto</td>
|
|
||||||
<td>@mdo</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>2</td>
|
|
||||||
<td>Jacob</td>
|
|
||||||
<td>Thornton</td>
|
|
||||||
<td>@fat</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>3</td>
|
|
||||||
<td>Larry</td>
|
|
||||||
<td>the Bird</td>
|
|
||||||
<td>@twitter</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
<!DOCTYPE html>
|
|
||||||
<html lang="en">
|
|
||||||
<head>
|
|
||||||
<meta charset="utf-8">
|
|
||||||
<title>Bootstrap, from Twitter</title>
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
<meta name="description" content="">
|
|
||||||
<meta name="author" content="">
|
|
||||||
|
|
||||||
<!-- Le styles -->
|
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
|
||||||
<!--[if lt IE 9]>
|
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
<![endif]-->
|
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
||||||
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<h1>Bootstrap tooltip</h1>
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
<p>Tight pants next level keffiyeh <a href="#" rel="tooltip" title="Default tooltip">you probably</a> haven't heard of them. Photo booth beard raw denim letterpress vegan messenger bag stumptown.</p>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
|
||||||
================================================== -->
|
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
|
||||||
<script src="../assets/js/jquery.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-transition.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-alert.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-modal.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tab.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-popover.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-button.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-collapse.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-carousel.js"></script>
|
|
||||||
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -69,35 +69,31 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Masthead
|
<!-- Customizer CSS -->
|
||||||
================================================== -->
|
<link href="assets/css/docs-customizer.css" rel="stylesheet">
|
||||||
<header class="jumbotron subhead" id="overview">
|
|
||||||
<div class="container">
|
|
||||||
<h1>Customize and download</h1>
|
|
||||||
<p class="lead"><a href="https://github.com/twitter/bootstrap/zipball/master">Download Bootstrap</a> or customize variables, components, javascript plugins, and more.</p>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
|
<form>
|
||||||
|
|
||||||
<div class="container">
|
<div class="bsc-sidebar">
|
||||||
|
<h3 class="bsc-heading">Bootjack</h3>
|
||||||
<!-- Docs nav
|
<ul class="bsc-accordion">
|
||||||
================================================== -->
|
<li>
|
||||||
<div class="row">
|
<input type="checkbox" checked> Scaffolding
|
||||||
<div class="span3 bs-docs-sidebar">
|
</li>
|
||||||
<ul class="nav nav-list bs-docs-sidenav">
|
</ul>
|
||||||
<li><a href="#components"><i class="icon-chevron-right"></i> 1. Choose components</a></li>
|
<div class="bsc-toolbar">
|
||||||
<li><a href="#plugins"><i class="icon-chevron-right"></i> 2. Select jQuery plugins</a></li>
|
<div class="btn-group">
|
||||||
<li><a href="#variables"><i class="icon-chevron-right"></i> 3. Customize variables</a></li>
|
<button class="btn" type="button">Download</button>
|
||||||
<li><a href="#download"><i class="icon-chevron-right"></i> 4. Download</a></li>
|
<button class="btn" type="button">Reset</button>
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bsc-preview">
|
||||||
|
preview
|
||||||
|
|
||||||
|
|
||||||
<!-- Customize form
|
<!-- Customize form
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<form>
|
|
||||||
<section class="download" id="components">
|
<section class="download" id="components">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<a class="btn btn-small pull-right toggle-all" href="#">Toggle all</a>
|
<a class="btn btn-small pull-right toggle-all" href="#">Toggle all</a>
|
||||||
@@ -143,6 +139,7 @@
|
|||||||
</div><!-- /span -->
|
</div><!-- /span -->
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h3>Miscellaneous</h3>
|
<h3>Miscellaneous</h3>
|
||||||
|
<label class="checkbox"><input checked="checked" type="checkbox" value="media.less"> Media object</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> Wells</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> Wells</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> Close icon</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> Close icon</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> Utilities</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> Utilities</label>
|
||||||
@@ -424,15 +421,12 @@
|
|||||||
<p>Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.</p>
|
<p>Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.</p>
|
||||||
</div>
|
</div>
|
||||||
</section><!-- /download -->
|
</section><!-- /download -->
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Footer
|
<!-- Footer
|
||||||
|
|||||||
@@ -20,12 +20,12 @@
|
|||||||
</style>
|
</style>
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
<!-- Fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
|
|||||||
@@ -17,12 +17,12 @@
|
|||||||
</style>
|
</style>
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
<!-- Fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
|
|||||||
@@ -0,0 +1,137 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<title>Template · Bootstrap</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="description" content="">
|
||||||
|
<meta name="author" content="">
|
||||||
|
|
||||||
|
<!-- Le styles -->
|
||||||
|
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
body {
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Custom container */
|
||||||
|
.container-narrow {
|
||||||
|
margin: 0 auto;
|
||||||
|
max-width: 700px;
|
||||||
|
}
|
||||||
|
.container-narrow > hr {
|
||||||
|
margin: 30px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Main marketing message and sign up button */
|
||||||
|
.jumbotron {
|
||||||
|
margin: 60px 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.jumbotron h1 {
|
||||||
|
font-size: 72px;
|
||||||
|
line-height: 1;
|
||||||
|
}
|
||||||
|
.jumbotron .btn {
|
||||||
|
font-size: 21px;
|
||||||
|
padding: 14px 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Supporting marketing content */
|
||||||
|
.marketing {
|
||||||
|
margin: 60px 0;
|
||||||
|
}
|
||||||
|
.marketing p + h4 {
|
||||||
|
margin-top: 28px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
|
<!--[if lt IE 9]>
|
||||||
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
|
<![endif]-->
|
||||||
|
|
||||||
|
<!-- Fav and touch icons -->
|
||||||
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
||||||
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||||
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
||||||
|
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div class="container-narrow">
|
||||||
|
|
||||||
|
<div class="masthead">
|
||||||
|
<ul class="nav nav-pills pull-right">
|
||||||
|
<li class="active"><a href="#">Home</a></li>
|
||||||
|
<li><a href="#">About</a></li>
|
||||||
|
<li><a href="#">Contact</a></li>
|
||||||
|
</ul>
|
||||||
|
<h3 class="muted">Project name</h3>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<div class="jumbotron">
|
||||||
|
<h1>Super awesome marketing speak!</h1>
|
||||||
|
<p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
|
||||||
|
<a class="btn btn-large btn-success" href="#">Sign up today</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<div class="row-fluid marketing">
|
||||||
|
<div class="span6">
|
||||||
|
<h4>Subheading</h4>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
|
||||||
|
|
||||||
|
<h4>Subheading</h4>
|
||||||
|
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
|
||||||
|
|
||||||
|
<h4>Subheading</h4>
|
||||||
|
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="span6">
|
||||||
|
<h4>Subheading</h4>
|
||||||
|
<p>Donec id elit non mi porta gravida at eget metus. Maecenas faucibus mollis interdum.</p>
|
||||||
|
|
||||||
|
<h4>Subheading</h4>
|
||||||
|
<p>Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras mattis consectetur purus sit amet fermentum.</p>
|
||||||
|
|
||||||
|
<h4>Subheading</h4>
|
||||||
|
<p>Maecenas sed diam eget risus varius blandit sit amet non magna.</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
|
<div class="footer">
|
||||||
|
<p>© Company 2012</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div> <!-- /container -->
|
||||||
|
|
||||||
|
<!-- Le javascript
|
||||||
|
================================================== -->
|
||||||
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
|
<script src="../assets/js/jquery.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-transition.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-alert.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-modal.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-dropdown.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-scrollspy.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-tab.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-tooltip.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-popover.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-button.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-collapse.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-carousel.js"></script>
|
||||||
|
<script src="../assets/js/bootstrap-typeahead.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -2,21 +2,54 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Bootstrap, from Twitter</title>
|
<title>Sign in · Twitter Bootstrap</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<!-- Le styles -->
|
<!-- Le styles -->
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
body {
|
||||||
|
padding-top: 40px;
|
||||||
|
padding-bottom: 40px;
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-signin {
|
||||||
|
max-width: 300px;
|
||||||
|
padding: 19px 29px 29px;
|
||||||
|
margin: 0 auto 20px;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #e5e5e5;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
|
||||||
|
-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
|
||||||
|
box-shadow: 0 1px 2px rgba(0,0,0,.05);
|
||||||
|
}
|
||||||
|
.form-signin .form-signin-heading,
|
||||||
|
.form-signin .checkbox {
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
.form-signin input[type="text"],
|
||||||
|
.form-signin input[type="password"] {
|
||||||
|
font-size: 16px;
|
||||||
|
height: auto;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
padding: 7px 9px;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
<!-- Fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
@@ -28,17 +61,15 @@
|
|||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
|
<form class="form-signin">
|
||||||
|
<h2 class="form-signin-heading">Please sign in</h2>
|
||||||
<h1>Bootstrap alert</h1>
|
<input type="text" class="input-block-level" placeholder="Email address">
|
||||||
|
<input type="password" class="input-block-level" placeholder="Password">
|
||||||
<br>
|
<label class="checkbox">
|
||||||
|
<input type="checkbox" value="remember-me"> Remember me
|
||||||
<div class="alert">
|
</label>
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button class="btn btn-large btn-primary" type="submit">Sign in</button>
|
||||||
<strong>Warning!</strong> Best check yo self, you're not looking too good.
|
</form>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
</div> <!-- /container -->
|
||||||
|
|
||||||
@@ -16,12 +16,12 @@
|
|||||||
</style>
|
</style>
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
<!-- Fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
|
|||||||
@@ -2,21 +2,75 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>Bootstrap, from Twitter</title>
|
<title>Sticky footer · Twitter Bootstrap</title>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="description" content="">
|
<meta name="description" content="">
|
||||||
<meta name="author" content="">
|
<meta name="author" content="">
|
||||||
|
|
||||||
<!-- Le styles -->
|
<!-- CSS -->
|
||||||
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
|
||||||
|
/* Sticky footer styles
|
||||||
|
-------------------------------------------------- */
|
||||||
|
|
||||||
|
html,
|
||||||
|
body {
|
||||||
|
height: 100%;
|
||||||
|
/* The html and body elements cannot have any padding or margin. */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Wrapper for page content to push down footer */
|
||||||
|
#wrap {
|
||||||
|
min-height: 100%;
|
||||||
|
height: auto !important;
|
||||||
|
height: 100%;
|
||||||
|
/* Negative indent footer by it's height */
|
||||||
|
margin: 0 auto -60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Set the fixed height of the footer here */
|
||||||
|
#push,
|
||||||
|
#footer {
|
||||||
|
height: 60px;
|
||||||
|
}
|
||||||
|
#footer {
|
||||||
|
background-color: #f5f5f5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Lastly, apply responsive CSS fixes as necessary */
|
||||||
|
@media (max-width: 767px) {
|
||||||
|
#footer {
|
||||||
|
margin-left: -20px;
|
||||||
|
margin-right: -20px;
|
||||||
|
padding-left: 20px;
|
||||||
|
padding-right: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/* Custom page CSS
|
||||||
|
-------------------------------------------------- */
|
||||||
|
/* Not required for template or sticky footer method. */
|
||||||
|
|
||||||
|
.container {
|
||||||
|
width: auto;
|
||||||
|
max-width: 680px;
|
||||||
|
}
|
||||||
|
.container .credit {
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
|
||||||
|
|
||||||
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
|
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
|
||||||
<!-- Le fav and touch icons -->
|
<!-- Fav and touch icons -->
|
||||||
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
<link rel="shortcut icon" href="../assets/ico/favicon.ico">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
||||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
||||||
@@ -26,30 +80,29 @@
|
|||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
|
<!-- Part 1: Wrap all page content here -->
|
||||||
|
<div id="wrap">
|
||||||
|
|
||||||
|
<!-- Begin page content -->
|
||||||
<h1>Bootstrap button group</h1>
|
<div class="container">
|
||||||
|
<div class="page-header">
|
||||||
<div class="btn-group">
|
<h1>Sticky footer</h1>
|
||||||
<button type="button" class="btn">Button text</button>
|
</div>
|
||||||
<button type="button" class="btn">Button text</button>
|
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
|
||||||
<button type="button" class="btn">Button text</button>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<div id="push"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="btn-group">
|
<div id="footer">
|
||||||
<a class="btn" href="#">Link button text</a>
|
<div class="container">
|
||||||
<a class="btn" href="#">Link button text</a>
|
<p class="muted credit">Example courtesy <a href="http://martinbean.co.uk">Martin Bean</a> and <a href="http://ryanfait.com/sticky-footer/">Ryan Fait</a>.</p>
|
||||||
<a class="btn" href="#">Link button text</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div> <!-- /container -->
|
|
||||||
|
|
||||||
<!-- Le javascript
|
<!-- Le javascript
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<!-- Placed at the end of the document so the pages load faster -->
|
<!-- Placed at the end of the document so the pages load faster -->
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -147,7 +147,7 @@
|
|||||||
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
|
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
|
||||||
<p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
|
<p>Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!</p>
|
||||||
|
|
||||||
<h3>Javascript</h3>
|
<h3>JavaScript</h3>
|
||||||
<p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.</p>
|
<p><a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.</p>
|
||||||
<pre class="prettyprint">
|
<pre class="prettyprint">
|
||||||
<link rel="stylesheet/less" href="/path/to/bootstrap.less">
|
<link rel="stylesheet/less" href="/path/to/bootstrap.less">
|
||||||
@@ -180,18 +180,18 @@
|
|||||||
|
|
||||||
<h3>Setup file structure</h3>
|
<h3>Setup file structure</h3>
|
||||||
<p>Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:</p>
|
<p>Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:</p>
|
||||||
<pre class="prettyprint">
|
<pre>
|
||||||
app/
|
<span class="icon-folder-open"></span> app/
|
||||||
├── layouts/
|
<span class="icon-folder-open"></span> layouts/
|
||||||
└── templates/
|
<span class="icon-folder-open"></span> templates/
|
||||||
public/
|
<span class="icon-folder-open"></span> public/
|
||||||
├── css/
|
<span class="icon-folder-open"></span> css/
|
||||||
│ ├── bootstrap.min.css
|
<span class="icon-file"></span> bootstrap.min.css
|
||||||
├── js/
|
<span class="icon-folder-open"></span> js/
|
||||||
│ ├── bootstrap.min.js
|
<span class="icon-file"></span> bootstrap.min.js
|
||||||
└── img/
|
<span class="icon-folder-open"></span> img/
|
||||||
├── glyphicons-halflings.png
|
<span class="icon-file"></span> glyphicons-halflings.png
|
||||||
└── glyphicons-halflings-white.png
|
<span class="icon-file"></span> glyphicons-halflings-white.png
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>Utilize starter template</h3>
|
<h3>Utilize starter template</h3>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
<header class="jumbotron subhead" id="overview">
|
<header class="jumbotron subhead" id="overview">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Getting started</h1>
|
<h1>Getting started</h1>
|
||||||
<p class="lead">Overview of the project, it's contents, and how to get started with a simple template.</p>
|
<p class="lead">Overview of the project, its contents, and how to get started with a simple template.</p>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>1. Download</h1>
|
<h1>1. Download</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">Before downloading, be sure to have a code editor (we recommend <a href="http://sublimetext.com/2">Sublime Text 2</a>) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with our the compiled Bootstrap files.</p>
|
<p class="lead">Before downloading, be sure to have a code editor (we recommend <a href="http://sublimetext.com/2">Sublime Text 2</a>) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files.</p>
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
@@ -114,7 +114,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
<h2>Download source</h2>
|
<h2>Download source</h2>
|
||||||
<p>Get the original files for all CSS and Javasript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p>
|
<p>Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p>
|
||||||
<p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" >Download Bootstrap source</a></p>
|
<p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" >Download Bootstrap source</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -138,12 +138,12 @@
|
|||||||
├── js/
|
├── js/
|
||||||
│ ├── bootstrap.js
|
│ ├── bootstrap.js
|
||||||
│ ├── bootstrap.min.js
|
│ ├── bootstrap.min.js
|
||||||
├── img/
|
└── img/
|
||||||
│ ├── glyphicons-halflings.png
|
├── glyphicons-halflings.png
|
||||||
│ ├── glyphicons-halflings-white.png
|
└── glyphicons-halflings-white.png
|
||||||
└── README.md
|
|
||||||
</pre>
|
</pre>
|
||||||
<p>This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). The image files are compressed using <a href="http://imageoptim.com/">ImageOptim</a>, a Mac app for compressing PNGs.</p>
|
<p>This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). The image files are compressed using <a href="http://imageoptim.com/">ImageOptim</a>, a Mac app for compressing PNGs.</p>
|
||||||
|
<p>Please note that all JavaScript plugins require jQuery to be included.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
@@ -163,11 +163,11 @@
|
|||||||
<p>Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes <a href="http://glyphicons.com">Glyphicons</a>, a great little icon set.</p>
|
<p>Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes <a href="http://glyphicons.com">Glyphicons</a>, a great little icon set.</p>
|
||||||
<h4><a href="http://twitter.github.com/bootstrap/components.html">Components</a></h4>
|
<h4><a href="http://twitter.github.com/bootstrap/components.html">Components</a></h4>
|
||||||
<p>Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.</p>
|
<p>Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.</p>
|
||||||
<h4><a href="http://twitter.github.com/bootstrap/javascript.html">Javascript plugins</a></h4>
|
<h4><a href="http://twitter.github.com/bootstrap/javascript.html">JavaScript plugins</a></h4>
|
||||||
<p>Similar to Components, these Javascript plugins are interactive components for things like tooltips, popovers, modals, and more.</p>
|
<p>Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.</p>
|
||||||
|
|
||||||
<h2>List of components</h2>
|
<h2>List of components</h2>
|
||||||
<p>Together, the <strong>Components</strong> and <strong>Javascript plugins</strong> sections provide the following interface elements:</p>
|
<p>Together, the <strong>Components</strong> and <strong>JavaScript plugins</strong> sections provide the following interface elements:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Button groups</li>
|
<li>Button groups</li>
|
||||||
<li>Button dropdowns</li>
|
<li>Button dropdowns</li>
|
||||||
@@ -198,28 +198,32 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>4. Basic HTML template</h1>
|
<h1>4. Basic HTML template</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">With a brief intro into the contents out of the way, we can focus putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the <a href="#file-structure">File structure</a>.</p>
|
<p class="lead">With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the <a href="#file-structure">File structure</a>.</p>
|
||||||
<p>Now, here's a look at a <strong>typical HTML file</strong>:</p>
|
<p>Now, here's a look at a <strong>typical HTML file</strong>:</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
|
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</pre>
|
</pre>
|
||||||
<p>To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:</p>
|
<p>To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
|
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||||
<script src="js/bootstrap.min.js"></script>
|
<script src="js/bootstrap.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -256,8 +260,40 @@
|
|||||||
<img src="assets/img/examples/bootstrap-example-starter.jpg" alt="">
|
<img src="assets/img/examples/bootstrap-example-starter.jpg" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>Starter template</h4>
|
<h4>Starter template</h4>
|
||||||
<p>A barebones HTML document with all the Bootstrap CSS and javascript included.</p>
|
<p>A barebones HTML document with all the Bootstrap CSS and JavaScript included.</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/marketing-narrow.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-marketing-narrow.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Narrow marketing</h4>
|
||||||
|
<p>Slim, lightweight marketing template for small projects or teams.</p>
|
||||||
|
</li>
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/signin.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-signin.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Sign in</h4>
|
||||||
|
<p>Barebones sign in form with custom, larger form controls and a flexible layout.</p>
|
||||||
|
</li>
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/sticky-footer.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-sticky-footer.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Sticky footer</h4>
|
||||||
|
<p>Pin a fixed-height footer to the bottom of the user's viewport.</p>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/carousel.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-carousel.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>Carousel jumbotron</h4>
|
||||||
|
<p>A more interactive riff on the basic marketing site featuring a prominent carousel.</p>
|
||||||
|
</li>
|
||||||
|
-->
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -73,11 +73,22 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Bootstrap</h1>
|
<h1>Bootstrap</h1>
|
||||||
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
|
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
|
||||||
<p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" >Download Bootstrap</a></p>
|
<p>
|
||||||
|
<a href="assets/bootstrap.zip" class="btn btn-primary btn-large" >Download Bootstrap</a>
|
||||||
|
</p>
|
||||||
<ul class="masthead-links">
|
<ul class="masthead-links">
|
||||||
<li><a href="http://github.com/twitter/bootstrap" >GitHub project</a></li>
|
<li>
|
||||||
<li><a href="./extend.html" >Extend</a></li>
|
<a href="http://github.com/twitter/bootstrap" >GitHub project</a>
|
||||||
<li>Version 2.1.0</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./getting-started.html#examples" >Examples</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./extend.html" >Extend</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
Version 2.1.2
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -122,7 +133,7 @@
|
|||||||
<div class="span4">
|
<div class="span4">
|
||||||
<img src="assets/img/bs-docs-bootstrap-features.png">
|
<img src="assets/img/bs-docs-bootstrap-features.png">
|
||||||
<h2>Packed with features.</h2>
|
<h2>Packed with features.</h2>
|
||||||
<p>A 12-column responsive <a href="./scaffolding.html#grid">grid</a>, dozens of components, <a href="./javascript.html">javascript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.</p>
|
<p>A 12-column responsive <a href="./scaffolding.html#grid">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -143,8 +154,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="span3">
|
<li class="span3">
|
||||||
<a class="thumbnail" href="http://www.fleetio.com/" target="_blank">
|
<a class="thumbnail" href="http://www.gathercontent.com/" target="_blank">
|
||||||
<img src="assets/img/example-sites/fleetio.png" alt="Fleetio">
|
<img src="assets/img/example-sites/gathercontent.png" alt="Gather Content">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="span3">
|
<li class="span3">
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -120,7 +120,7 @@
|
|||||||
<p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
|
<p>That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:
|
||||||
<pre class="prettyprint linenums">$('body').off('.data-api')</pre>
|
<pre class="prettyprint linenums">$('body').off('.data-api')</pre>
|
||||||
|
|
||||||
<p>Alternatively, to target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this:</p>
|
<p>Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:</p>
|
||||||
<pre class="prettyprint linenums">$('body').off('.alert.data-api')</pre>
|
<pre class="prettyprint linenums">$('body').off('.alert.data-api')</pre>
|
||||||
|
|
||||||
<h3>Programmatic API</h3>
|
<h3>Programmatic API</h3>
|
||||||
@@ -132,10 +132,10 @@ $("#myModal").modal() // initialized with defaults
|
|||||||
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
|
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
|
||||||
$("#myModal").modal('show') // initializes and invokes show immediately</p>
|
$("#myModal").modal('show') // initializes and invokes show immediately</p>
|
||||||
</pre>
|
</pre>
|
||||||
<p>Each plugin also exposes it's raw constructor on a `Constructor` property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel=popover]').data('popover')</code>.</p>
|
<p>Each plugin also exposes its raw constructor on a `Constructor` property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel=popover]').data('popover')</code>.</p>
|
||||||
|
|
||||||
<h3>Events</h3>
|
<h3>Events</h3>
|
||||||
<p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and it's past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p>
|
<p>Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.</p>
|
||||||
<p>All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.</p>
|
<p>All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
$('#myModal').on('show', function (e) {
|
$('#myModal').on('show', function (e) {
|
||||||
@@ -249,11 +249,11 @@ $('#myModal').on('show', function (e) {
|
|||||||
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
|
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">Launch demo modal</a>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<-- Button to trigger modal -->
|
<!-- Button to trigger modal -->
|
||||||
<a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
|
<a href="#myModal" role="button" class="btn" data-toggle="modal">Launch demo modal</a>
|
||||||
|
|
||||||
<-- Modal -->
|
<!-- Modal -->
|
||||||
<div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<h3 id="myModalLabel">Modal header</h3>
|
<h3 id="myModalLabel">Modal header</h3>
|
||||||
@@ -376,7 +376,7 @@ $('#myModal').on('hidden', function () {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Dropdown
|
<!-- Dropdowns
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="dropdowns">
|
<section id="dropdowns">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
@@ -479,7 +479,7 @@ $('#myModal').on('hidden', function () {
|
|||||||
<p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p>
|
<p>Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<a class="dropdown-toggle" href="#">Dropdown trigger</a>
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown trigger</a>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
@@ -506,8 +506,8 @@ $('#myModal').on('hidden', function () {
|
|||||||
<p><em>None</em></p>
|
<p><em>None</em></p>
|
||||||
|
|
||||||
<h3>Methods</h3>
|
<h3>Methods</h3>
|
||||||
<h4>$().dropdown()</h4>
|
<h4>$().dropdown('toggle')</h4>
|
||||||
<p>A programatic api for activating menus for a given navbar or tabbed navigation.</p>
|
<p>A programatic api for toggling menus for a given navbar or tabbed navigation.</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
@@ -804,7 +804,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>html</td>
|
<td>html</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>false</td>
|
||||||
<td>Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
|
<td>Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -925,6 +925,16 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">Click to toggle popover</a>
|
<a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">Click to toggle popover</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h4>Four directions</h4>
|
||||||
|
<div class="bs-docs-example tooltip-demo">
|
||||||
|
<ul class="bs-docs-tooltip-examples">
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on top">Popover on top</a></li>
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on right">Popover on right</a></li>
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on bottom">Popover on bottom</a></li>
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on left">Popover on left</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
|
|
||||||
@@ -954,7 +964,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>html</td>
|
<td>html</td>
|
||||||
<td>boolean</td>
|
<td>boolean</td>
|
||||||
<td>true</td>
|
<td>false</td>
|
||||||
<td>Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
|
<td>Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -1035,7 +1045,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
|
|
||||||
|
|
||||||
<h2>Example alerts</h2>
|
<h2>Example alerts</h2>
|
||||||
<p>Add dismiss functionality to all alerge messages with this plugin.</p>
|
<p>Add dismiss functionality to all alert messages with this plugin.</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="alert fade in">
|
<div class="alert fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
@@ -1261,6 +1271,36 @@ $('#my-alert').bind('closed', function () {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="accordion" id="accordion2">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
|
||||||
|
Collapsible Group Item #1
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="collapseOne" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
Anim pariatur cliche...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
|
||||||
|
Collapsible Group Item #2
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="collapseTwo" class="accordion-body collapse">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
Anim pariatur cliche...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
...
|
||||||
|
</pre>
|
||||||
|
<p>You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.</p>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo">
|
<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo">
|
||||||
simple collapsible
|
simple collapsible
|
||||||
</button>
|
</button>
|
||||||
@@ -1606,11 +1646,11 @@ $('.carousel').carousel({
|
|||||||
<h3>Via data attributes</h3>
|
<h3>Via data attributes</h3>
|
||||||
<p>To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.</p>
|
<p>To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.</p>
|
||||||
|
|
||||||
<pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</body></pre>
|
<pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</div></pre>
|
||||||
|
|
||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
<strong>Heads up!</strong>
|
<strong>Heads up!</strong>
|
||||||
It's up to you to manage the position of a pinned element. This is done by styling <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>.
|
You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>Via JavaScript</h3>
|
<h3>Via JavaScript</h3>
|
||||||
|
|||||||
@@ -58,7 +58,7 @@
|
|||||||
<a href="./components.html">Components</a>
|
<a href="./components.html">Components</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./javascript.html">Javascript</a>
|
<a href="./javascript.html">JavaScript</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="">
|
<li class="">
|
||||||
<a href="./customize.html">Customize</a>
|
<a href="./customize.html">Customize</a>
|
||||||
@@ -117,7 +117,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>Remove <code>margin</code> on the body</li>
|
<li>Remove <code>margin</code> on the body</li>
|
||||||
<li>Set <code>background-color: white;</code> on the <code>body</code></li>
|
<li>Set <code>background-color: white;</code> on the <code>body</code></li>
|
||||||
<li>Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographyic base</li>
|
<li>Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographic base</li>
|
||||||
<li>Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code></li>
|
<li>Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>These styles can be found within <strong>scaffolding.less</strong>.</p>
|
<p>These styles can be found within <strong>scaffolding.less</strong>.</p>
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>Live grid example</h2>
|
<h2>Live grid example</h2>
|
||||||
<p>The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.</p>
|
<p>The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="./scaffolding.html#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.</p>
|
||||||
<div class="bs-docs-grid">
|
<div class="bs-docs-grid">
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span1">1</div>
|
<div class="span1">1</div>
|
||||||
@@ -176,7 +176,7 @@
|
|||||||
<p>Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.</p>
|
<p>Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.</p>
|
||||||
|
|
||||||
<h2>Offsetting columns</h2>
|
<h2>Offsetting columns</h2>
|
||||||
<p>Move columns to the left using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.</p>
|
<p>Move columns to the right using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.</p>
|
||||||
<div class="bs-docs-grid">
|
<div class="bs-docs-grid">
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span4">4</div>
|
<div class="span4">4</div>
|
||||||
@@ -199,11 +199,9 @@
|
|||||||
|
|
||||||
<h2>Nesting columns</h2>
|
<h2>Nesting columns</h2>
|
||||||
<p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.</p>
|
<p>To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.</p>
|
||||||
<h3>Example</h3>
|
|
||||||
<p>Here two nested <code>.span4</code> columns are placed within a <code>.span8</code>.</p>
|
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span9">
|
<div class="span9">
|
||||||
Level 1 of column
|
Level 1 column
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
Level 2
|
Level 2
|
||||||
@@ -320,10 +318,10 @@
|
|||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
Level 1 of column
|
Fluid 12
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span6">Level 2</div>
|
<div class="span6">Fluid 6</div>
|
||||||
<div class="span6">Level 2</div>
|
<div class="span6">Fluid 6</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -415,20 +413,10 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Phones</td>
|
<td>Large display</td>
|
||||||
<td>480px and below</td>
|
<td>1200px and up</td>
|
||||||
<td class="muted" colspan="2">Fluid columns, no fixed widths</td>
|
<td>70px</td>
|
||||||
</tr>
|
<td>30px</td>
|
||||||
<tr>
|
|
||||||
<td>Phones to tablets</td>
|
|
||||||
<td>767px and below</td>
|
|
||||||
<td class="muted" colspan="2">Fluid columns, no fixed widths</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>Portrait tablets</td>
|
|
||||||
<td>768px and above</td>
|
|
||||||
<td>42px</td>
|
|
||||||
<td>20px</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Default</td>
|
<td>Default</td>
|
||||||
@@ -437,25 +425,35 @@
|
|||||||
<td>20px</td>
|
<td>20px</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Large display</td>
|
<td>Portrait tablets</td>
|
||||||
<td>1200px and up</td>
|
<td>768px and above</td>
|
||||||
<td>70px</td>
|
<td>42px</td>
|
||||||
<td>30px</td>
|
<td>20px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Phones to tablets</td>
|
||||||
|
<td>767px and below</td>
|
||||||
|
<td class="muted" colspan="2">Fluid columns, no fixed widths</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Phones</td>
|
||||||
|
<td>480px and below</td>
|
||||||
|
<td class="muted" colspan="2">Fluid columns, no fixed widths</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
/* Landscape phones and down */
|
/* Large desktop */
|
||||||
@media (max-width: 480px) { ... }
|
@media (min-width: 1200px) { ... }
|
||||||
|
|
||||||
/* Landscape phone to portrait tablet */
|
|
||||||
@media (max-width: 767px) { ... }
|
|
||||||
|
|
||||||
/* Portrait tablet to landscape and desktop */
|
/* Portrait tablet to landscape and desktop */
|
||||||
@media (min-width: 768px) and (max-width: 979px) { ... }
|
@media (min-width: 768px) and (max-width: 979px) { ... }
|
||||||
|
|
||||||
/* Large desktop */
|
/* Landscape phone to portrait tablet */
|
||||||
@media (min-width: 1200px) { ... }
|
@media (max-width: 767px) { ... }
|
||||||
|
|
||||||
|
/* Landscape phones and down */
|
||||||
|
@media (max-width: 480px) { ... }
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
<a href="./components.html">{{_i}}Components{{/i}}</a>
|
<a href="./components.html">{{_i}}Components{{/i}}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{{javascript}}">
|
<li class="{{javascript}}">
|
||||||
<a href="./javascript.html">{{_i}}Javascript{{/i}}</a>
|
<a href="./javascript.html">{{_i}}JavaScript{{/i}}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{{customize}}">
|
<li class="{{customize}}">
|
||||||
<a href="./customize.html">{{_i}}Customize{{/i}}</a>
|
<a href="./customize.html">{{_i}}Customize{{/i}}</a>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
|
|
||||||
{{! Body copy }}
|
{{! Body copy }}
|
||||||
<h2 id="body-copy">{{_i}}Body copy{{/i}}</h2>
|
<h2 id="body-copy">{{_i}}Body copy{{/i}}</h2>
|
||||||
<p>{{_i}}Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (9px by default).{{/i}}</p>
|
<p>{{_i}}Bootstrap's global default <code>font-size</code> is <strong>14px</strong>, with a <code>line-height</code> of <strong>20px</strong>. This is applied to the <code><body></code> and all paragraphs. In addition, <code><p></code> (paragraphs) receive a bottom margin of half their line-height (10px by default).{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
|
<p>Nullam quis risus eget urna mollis ornare vel eu leo. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam id dolor id nibh ultricies vehicula.</p>
|
||||||
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
|
<p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec ullamcorper nulla non metus auctor fringilla. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
@@ -88,15 +88,15 @@
|
|||||||
</p>
|
</p>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3><code><strong></code></h3>
|
<h3>{{_i}}Bold{{/i}}</h3>
|
||||||
<p>{{_i}}For emphasizing a snippet of text with <strong>important</strong>{{/i}}</p>
|
<p>{{_i}}For emphasizing a snippet of text with a heavier font-weight.{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
|
<p>The following snippet of text is <strong>rendered as bold text</strong>.</p>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint"><strong>rendered as bold text</strong></pre>
|
<pre class="prettyprint"><strong>rendered as bold text</strong></pre>
|
||||||
|
|
||||||
<h3><code><em></code></h3>
|
<h3>{{_i}}Italics{{/i}}</h3>
|
||||||
<p>{{_i}}For emphasizing a snippet of text with <em>stress</em>{{/i}}</p>
|
<p>{{_i}}For emphasizing a snippet of text with italics.{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>The following snippet of text is <em>rendered as italicized text</em>.</p>
|
<p>The following snippet of text is <em>rendered as italicized text</em>.</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -104,6 +104,23 @@
|
|||||||
|
|
||||||
<p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.{{/i}}</p>
|
<p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Feel free to use <code><b></code> and <code><i></code> in HTML5. <code><b></code> is meant to highlight words or phrases without conveying additional importance while <code><i></code> is mostly for voice, technical terms, etc.{{/i}}</p>
|
||||||
|
|
||||||
|
<h3>{{_i}}Emphasis classes{{/i}}</h3>
|
||||||
|
<p>{{_i}}Convey meaning through color with a handful of emphasis utility classes.{{/i}}</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
||||||
|
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
||||||
|
<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
|
<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
|
||||||
|
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<p class="muted">Fusce dapibus, tellus ac cursus commodo, tortor mauris nibh.</p>
|
||||||
|
<p class="text-warning">Etiam porta sem malesuada magna mollis euismod.</p>
|
||||||
|
<p class="text-error">Donec ullamcorper nulla non metus auctor fringilla.</p>
|
||||||
|
<p class="text-info">Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis.</p>
|
||||||
|
<p class="text-success">Duis mollis, est non commodo luctus, nisi erat porttitor ligula.</p>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
|
|
||||||
@@ -124,7 +141,7 @@
|
|||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<p>{{_i}}<abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.{{/i}}</p>
|
<p>{{_i}}<abbr title="HyperText Markup Language" class="initialism">HTML</abbr> is the best thing since sliced bread.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint"><abbr title="attribute" class="initialism">attr</abbr></pre>
|
<pre class="prettyprint"><abbr title="HyperText Markup Language" class="initialism">HTML</abbr></pre>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
@@ -170,7 +187,7 @@
|
|||||||
<h2 id="blockquotes">{{_i}}Blockquotes{{/i}}</h2>
|
<h2 id="blockquotes">{{_i}}Blockquotes{{/i}}</h2>
|
||||||
<p>{{_i}}For quoting blocks of content from another source within your document.{{/i}}</p>
|
<p>{{_i}}For quoting blocks of content from another source within your document.{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Default blockqoute{{/i}}</h3>
|
<h3>{{_i}}Default blockquote{{/i}}</h3>
|
||||||
<p>{{_i}}Wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.{{/i}}</p>
|
<p>{{_i}}Wrap <code><blockquote></code> around any <abbr title="HyperText Markup Language">HTML</abbr> as the quote. For straight quotes we recommend a <code><p></code>.{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<blockquote>
|
<blockquote>
|
||||||
@@ -429,7 +446,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h2>{{_i}}Optional classes{{/i}}</h2>
|
<h2>{{_i}}Optional classes{{/i}}</h2>
|
||||||
<p>{{_i}}Add any of the follow classes to the <code>.table</code> base class.{{/i}}</p>
|
<p>{{_i}}Add any of the following classes to the <code>.table</code> base class.{{/i}}</p>
|
||||||
|
|
||||||
<h3><code>{{_i}}.table-striped{{/i}}</code></h3>
|
<h3><code>{{_i}}.table-striped{{/i}}</code></h3>
|
||||||
<p>{{_i}}Adds zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).{{/i}}</p>
|
<p>{{_i}}Adds zebra-striping to any table row within the <code><tbody></code> via the <code>:nth-child</code> CSS selector (not available in IE7-IE8).{{/i}}</p>
|
||||||
@@ -623,6 +640,12 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>{{_i}}Indicates a dangerous or potentially negative action.{{/i}}</td>
|
<td>{{_i}}Indicates a dangerous or potentially negative action.{{/i}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<code>.warning</code>
|
||||||
|
</td>
|
||||||
|
<td>{{_i}}Indicates a warning that might need attention.{{/i}}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<code>.info</code>
|
<code>.info</code>
|
||||||
@@ -654,12 +677,18 @@
|
|||||||
<td>02/04/2012</td>
|
<td>02/04/2012</td>
|
||||||
<td>Declined</td>
|
<td>Declined</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="info">
|
<tr class="warning">
|
||||||
<td>3</td>
|
<td>3</td>
|
||||||
<td>TB - Monthly</td>
|
<td>TB - Monthly</td>
|
||||||
<td>03/04/2012</td>
|
<td>03/04/2012</td>
|
||||||
<td>Pending</td>
|
<td>Pending</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr class="info">
|
||||||
|
<td>4</td>
|
||||||
|
<td>TB - Monthly</td>
|
||||||
|
<td>04/04/2012</td>
|
||||||
|
<td>Call in to confirm</td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>{{! /example }}
|
</div>{{! /example }}
|
||||||
@@ -920,7 +949,7 @@
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Textarea{{/i}}</h3>
|
<h3>{{_i}}Textarea{{/i}}</h3>
|
||||||
<p>{{_i}}Form control which supports multiple lines of text. Change <code>row</code> attribute as necessary.{{/i}}</p>
|
<p>{{_i}}Form control which supports multiple lines of text. Change <code>rows</code> attribute as necessary.{{/i}}</p>
|
||||||
<form class="bs-docs-example form-inline">
|
<form class="bs-docs-example form-inline">
|
||||||
<textarea rows="3"></textarea>
|
<textarea rows="3"></textarea>
|
||||||
</form>
|
</form>
|
||||||
@@ -1039,20 +1068,22 @@
|
|||||||
<form class="bs-docs-example">
|
<form class="bs-docs-example">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on">@</span>
|
<span class="add-on">@</span>
|
||||||
<input class="span2" id="prependedInput" size="16" type="text" placeholder="{{_i}}Username{{/i}}">
|
<input class="span2" id="prependedInput" type="text" placeholder="{{_i}}Username{{/i}}">
|
||||||
</div>
|
</div>
|
||||||
<br>
|
<br>
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInput" size="16" type="text">
|
<input class="span2" id="appendedInput" type="text">
|
||||||
<span class="add-on">.00</span>
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on">@</span><input class="span2" id="prependedInput" size="16" type="text" placeholder="{{_i}}Username{{/i}}">
|
<span class="add-on">@</span>
|
||||||
|
<input class="span2" id="prependedInput" type="text" placeholder="{{_i}}Username{{/i}}">
|
||||||
</div>
|
</div>
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInput" size="16" type="text"><span class="add-on">.00</span>
|
<input class="span2" id="appendedInput" type="text">
|
||||||
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1061,13 +1092,15 @@
|
|||||||
<form class="bs-docs-example form-inline">
|
<form class="bs-docs-example form-inline">
|
||||||
<div class="input-prepend input-append">
|
<div class="input-prepend input-append">
|
||||||
<span class="add-on">$</span>
|
<span class="add-on">$</span>
|
||||||
<input class="span2" id="appendedPrependedInput" size="16" type="text">
|
<input class="span2" id="appendedPrependedInput" type="text">
|
||||||
<span class="add-on">.00</span>
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-prepend input-append">
|
<div class="input-prepend input-append">
|
||||||
<span class="add-on">$</span><input class="span2" id="appendedPrependedInput" size="16" type="text"><span class="add-on">.00</span>
|
<span class="add-on">$</span>
|
||||||
|
<input class="span2" id="appendedPrependedInput" type="text">
|
||||||
|
<span class="add-on">.00</span>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1075,23 +1108,139 @@
|
|||||||
<p>{{_i}}Instead of a <code><span></code> with text, use a <code>.btn</code> to attach a button (or two) to an input.{{/i}}</p>
|
<p>{{_i}}Instead of a <code><span></code> with text, use a <code>.btn</code> to attach a button (or two) to an input.{{/i}}</p>
|
||||||
<form class="bs-docs-example">
|
<form class="bs-docs-example">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButton" size="16" type="text">
|
<input class="span2" id="appendedInputButton" type="text">
|
||||||
<button class="btn" type="button">Go!</button>
|
<button class="btn" type="button">Go!</button>
|
||||||
</div>
|
</div>
|
||||||
<br>
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="input-append">
|
||||||
|
<input class="span2" id="appendedInputButton" type="text">
|
||||||
|
<button class="btn" type="button">Go!</button>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
<form class="bs-docs-example">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButtons" size="16" type="text">
|
<input class="span2" id="appendedInputButtons" type="text">
|
||||||
<button class="btn" type="button">Search</button>
|
<button class="btn" type="button">Search</button>
|
||||||
<button class="btn" type="button">Options</button>
|
<button class="btn" type="button">Options</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButton" size="16" type="text"><button class="btn" type="button">Go!</button>
|
<input class="span2" id="appendedInputButtons" type="text">
|
||||||
|
<button class="btn" type="button">Search</button>
|
||||||
|
<button class="btn" type="button">Options</button>
|
||||||
</div>
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<h4>{{_i}}Button dropdowns{{/i}}</h4>
|
||||||
|
<p>{{_i}}{{/i}}</p>
|
||||||
|
<form class="bs-docs-example">
|
||||||
|
<div class="input-append">
|
||||||
|
<input class="span2" id="appendedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">{{_i}}Action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Another action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Something else here{{/i}}</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">{{_i}}Separated link{{/i}}</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
</div><!-- /input-append -->
|
||||||
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
<div class="input-append">
|
<div class="input-append">
|
||||||
<input class="span2" id="appendedInputButtons" size="16" type="text"><button class="btn" type="button">Search</button><button class="btn" type="button">Options</button>
|
<input class="span2" id="appendedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
{{_i}}Action{{/i}}
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<form class="bs-docs-example">
|
||||||
|
<div class="input-prepend">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">{{_i}}Action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Another action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Something else here{{/i}}</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">{{_i}}Separated link{{/i}}</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
<input class="span2" id="prependedDropdownButton" type="text">
|
||||||
|
</div><!-- /input-prepend -->
|
||||||
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="input-prepend">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
{{_i}}Action{{/i}}
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<input class="span2" id="prependedDropdownButton" type="text">
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<form class="bs-docs-example">
|
||||||
|
<div class="input-prepend input-append">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">{{_i}}Action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Another action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Something else here{{/i}}</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">{{_i}}Separated link{{/i}}</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
<input class="span2" id="appendedPrependedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">{{_i}}Action{{/i}} <span class="caret"></span></button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a href="#">{{_i}}Action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Another action{{/i}}</a></li>
|
||||||
|
<li><a href="#">{{_i}}Something else here{{/i}}</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li><a href="#">{{_i}}Separated link{{/i}}</a></li>
|
||||||
|
</ul>
|
||||||
|
</div><!-- /btn-group -->
|
||||||
|
</div><!-- /input-prepend input-append -->
|
||||||
|
</form>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="input-prepend input-append">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
{{_i}}Action{{/i}}
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<input class="span2" id="appendedPrependedDropdownButton" type="text">
|
||||||
|
<div class="btn-group">
|
||||||
|
<button class="btn dropdown-toggle" data-toggle="dropdown">
|
||||||
|
{{_i}}Action{{/i}}
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1292,7 +1441,7 @@
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Validation states{{/i}}</h3>
|
<h3>{{_i}}Validation states{{/i}}</h3>
|
||||||
<p>{{_i}}Bootstrap includes validation styles for error, warning, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.{{/i}}</p>
|
<p>{{_i}}Bootstrap includes validation styles for error, warning, info, and success messages. To use, add the appropriate class to the surrounding <code>.control-group</code>.{{/i}}</p>
|
||||||
|
|
||||||
<form class="bs-docs-example form-horizontal">
|
<form class="bs-docs-example form-horizontal">
|
||||||
<div class="control-group warning">
|
<div class="control-group warning">
|
||||||
@@ -1309,6 +1458,13 @@
|
|||||||
<span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
|
<span class="help-inline">{{_i}}Please correct the error{{/i}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="control-group info">
|
||||||
|
<label class="control-label" for="inputInfo">{{_i}}Input with info{{/i}}</label>
|
||||||
|
<div class="controls">
|
||||||
|
<input type="text" id="inputInfo">
|
||||||
|
<span class="help-inline">{{_i}}Username is taken{{/i}}</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="control-group success">
|
<div class="control-group success">
|
||||||
<label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
|
<label class="control-label" for="inputSuccess">{{_i}}Input with success{{/i}}</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
@@ -1476,7 +1632,7 @@
|
|||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
<span class="label label-info">{{_i}}Heads up!{{/i}}</span>
|
<span class="label label-info">{{_i}}Heads up!{{/i}}</span>
|
||||||
{{_i}}We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required.{{/i}}
|
{{_i}}We use <code>.disabled</code> as a utility class here, similar to the common <code>.active</code> class, so no prefix is required. Also, this class is only for aesthetic; you must use custom JavaScript to disable links here.{{/i}}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h3>Button element</h3>
|
<h3>Button element</h3>
|
||||||
@@ -1693,7 +1849,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>Glyphicons attribution</h3>
|
<h3>Glyphicons attribution</h3>
|
||||||
<p>{{_i}}<a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at not cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.{{/i}}</p>
|
<p>{{_i}}<a href="http://glyphicons.com/">Glyphicons</a> Halflings are normally not available for free, but an arrangement between Bootstrap and the Glyphicons creators have made this possible at no cost to you as developers. As a thank you, we ask you to include an optional link back to <a href="http://glyphicons.com/">Glyphicons</a> whenever practical.{{/i}}</p>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
@@ -1818,7 +1974,9 @@
|
|||||||
<label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
|
<label class="control-label" for="inputIcon">{{_i}}Email address{{/i}}</label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<div class="input-prepend">
|
<div class="input-prepend">
|
||||||
<span class="add-on"><i class="icon-envelope"><i><span><input class="span2" id="inputIcon" type="text">
|
<span class="add-on"><i class="icon-envelope"></i></span>
|
||||||
|
<input class="span2" id="inputIcon" type="text">
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|||||||
@@ -27,6 +27,7 @@
|
|||||||
<li><a href="#thumbnails"><i class="icon-chevron-right"></i> {{_i}}Thumbnails{{/i}}</a></li>
|
<li><a href="#thumbnails"><i class="icon-chevron-right"></i> {{_i}}Thumbnails{{/i}}</a></li>
|
||||||
<li><a href="#alerts"><i class="icon-chevron-right"></i> {{_i}}Alerts{{/i}}</a></li>
|
<li><a href="#alerts"><i class="icon-chevron-right"></i> {{_i}}Alerts{{/i}}</a></li>
|
||||||
<li><a href="#progress"><i class="icon-chevron-right"></i> {{_i}}Progress bars{{/i}}</a></li>
|
<li><a href="#progress"><i class="icon-chevron-right"></i> {{_i}}Progress bars{{/i}}</a></li>
|
||||||
|
<li><a href="#media"><i class="icon-chevron-right"></i> {{_i}}Media object{{/i}}</a></li>
|
||||||
<li><a href="#misc"><i class="icon-chevron-right"></i> {{_i}}Misc{{/i}}</a></li>
|
<li><a href="#misc"><i class="icon-chevron-right"></i> {{_i}}Misc{{/i}}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -42,7 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>{{_i}}Example{{/i}}</h2>
|
<h2>{{_i}}Example{{/i}}</h2>
|
||||||
<p>{{_i}}Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown javascript plugin</a>.{{/i}}</p>
|
<p>{{_i}}Toggleable, contextual menu for displaying lists of links. Made interactive with the <a href="./javascript.html#dropdowns">dropdown JavaScript plugin</a>.{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="dropdown clearfix">
|
<div class="dropdown clearfix">
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
|
||||||
@@ -111,6 +112,24 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<div class="dropup" style="float: left; margin-left: 20px;">
|
||||||
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu" style="display: block; position: static; margin-bottom: 5px; *width: 180px;">
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Action{{/i}}</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Another action{{/i}}</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Something else here{{/i}}</a></li>
|
||||||
|
<li class="divider"></li>
|
||||||
|
<li class="dropdown-submenu">
|
||||||
|
<a tabindex="-1" href="#">{{_i}}More options{{/i}}</a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Second level link{{/i}}</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Second level link{{/i}}</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Second level link{{/i}}</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Second level link{{/i}}</a></li>
|
||||||
|
<li><a tabindex="-1" href="#">{{_i}}Second level link{{/i}}</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>{{! /example }}
|
</div>{{! /example }}
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
@@ -206,7 +225,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h4>{{_i}}Checkbox and radio flavors{{/i}}</h4>
|
<h4>{{_i}}Checkbox and radio flavors{{/i}}</h4>
|
||||||
<p>{{_i}}Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the Javascript docs</a> for that.{{/i}}</p>
|
<p>{{_i}}Button groups can also function as radios, where only one button may be active, or checkboxes, where any number of buttons may be active. View <a href="./javascript.html#buttons">the JavaScript docs</a> for that.{{/i}}</p>
|
||||||
|
|
||||||
<h4>{{_i}}Dropdowns in button groups{{/i}}</h4>
|
<h4>{{_i}}Dropdowns in button groups{{/i}}</h4>
|
||||||
<p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.{{/i}}</p>
|
<p><span class="label label-info">{{_i}}Heads up!{{/i}}</span> {{_i}}Buttons with dropdowns must be individually wrapped in their own <code>.btn-group</code> within a <code>.btn-toolbar</code> for proper rendering.{{/i}}</p>
|
||||||
@@ -347,9 +366,9 @@
|
|||||||
</div><!-- /btn-toolbar -->
|
</div><!-- /btn-toolbar -->
|
||||||
</div>{{! /example }}
|
</div>{{! /example }}
|
||||||
|
|
||||||
<h3>{{_i}}Requires javascript{{/i}}</h3>
|
<h3>{{_i}}Requires JavaScript{{/i}}</h3>
|
||||||
<p>{{_i}}Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.{{/i}}</p>
|
<p>{{_i}}Button dropdowns require the <a href="./javascript.html#dropdowns">Bootstrap dropdown plugin</a> to function.{{/i}}</p>
|
||||||
<p>{{_i}}In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom javascript.{{/i}}</p>
|
<p>{{_i}}In some cases—like mobile—dropdown menus will extend outside the viewport. You need to resolve the alignment manually or with custom JavaScript.{{/i}}</p>
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
@@ -598,7 +617,7 @@
|
|||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Disabled state{{/i}}</h3>
|
<h3>{{_i}}Disabled state{{/i}}</h3>
|
||||||
<p>{{_i}}For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom javascript is implemented to prevent those clicks.{{/i}}</p>
|
<p>{{_i}}For any nav component (tabs, pills, or list), add <code>.disabled</code> for <strong>gray links and no hover effects</strong>. Links will remain clickable, however, unless custom JavaScript is implemented to prevent those clicks.{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
<li><a href="#">{{_i}}Clickable link{{/i}}</a></li>
|
<li><a href="#">{{_i}}Clickable link{{/i}}</a></li>
|
||||||
@@ -657,7 +676,7 @@
|
|||||||
|
|
||||||
|
|
||||||
<h2>{{_i}}Dropdowns{{/i}}</h2>
|
<h2>{{_i}}Dropdowns{{/i}}</h2>
|
||||||
<p>{{_i}}Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.{{/i}}</p>
|
<p>{{_i}}Add dropdown menus with a little extra HTML and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Tabs with dropdowns{{/i}}</h3>
|
<h3>{{_i}}Tabs with dropdowns{{/i}}</h3>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
@@ -822,7 +841,7 @@
|
|||||||
<p>{{_i}}To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.{{/i}}</p>
|
<p>{{_i}}To make tabs fade in, add <code>.fade</code> to each <code>.tab-pane</code>.{{/i}}</p>
|
||||||
|
|
||||||
<h4>{{_i}}Requires jQuery plugin{{/i}}</h4>
|
<h4>{{_i}}Requires jQuery plugin{{/i}}</h4>
|
||||||
<p>{{_i}}All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the javascript docs page</a>.{{/i}}</p>
|
<p>{{_i}}All tabbable tabs are powered by our lightweight jQuery plugin. Read more about how to bring tabbable tabs to life <a href="./javascript.html#tabs">on the JavaScript docs page</a>.{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Tabbable in any direction{{/i}}</h3>
|
<h3>{{_i}}Tabbable in any direction{{/i}}</h3>
|
||||||
|
|
||||||
@@ -1068,7 +1087,7 @@
|
|||||||
<p>{{_i}}Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
|
<p>{{_i}}Align nav links, search form, or text, use the <code>.pull-left</code> or <code>.pull-right</code> utility classes. Both classes will add a CSS float in the specified direction.{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Using dropdowns{{/i}}</h3>
|
<h3>{{_i}}Using dropdowns{{/i}}</h3>
|
||||||
<p>{{_i}}Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns javascript plugin</a>.{{/i}}</p>
|
<p>{{_i}}Add dropdowns and dropups to the nav with a bit of markup and the <a href="./javascript.html#dropdowns">dropdowns JavaScript plugin</a>.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="dropdown">
|
<li class="dropdown">
|
||||||
@@ -1082,7 +1101,7 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</pre>
|
</pre>
|
||||||
<p>{{_i}}Visit the <a href="./javascript.html#dropdowns">javascript dropdowns documentation</a> for more markup and information on calling dropdowns.{{/i}}</p>
|
<p>{{_i}}Visit the <a href="./javascript.html#dropdowns">JavaScript dropdowns documentation</a> for more markup and information on calling dropdowns.{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Text{{/i}}</h3>
|
<h3>{{_i}}Text{{/i}}</h3>
|
||||||
<p>{{_i}}Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.{{/i}}</p>
|
<p>{{_i}}Wrap strings of text in an element with <code>.navbar-text</code>, usually on a <code><p></code> tag for proper leading and color.{{/i}}</p>
|
||||||
@@ -1176,7 +1195,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">{{_i}}Title{{/i}}</a>
|
<a class="brand" href="#">{{_i}}Title{{/i}}</a>
|
||||||
<div class="nav-collapse">
|
<div class="nav-collapse collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
|
<li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
|
||||||
<li><a href="#">{{_i}}Link{{/i}}</a></li>
|
<li><a href="#">{{_i}}Link{{/i}}</a></li>
|
||||||
@@ -1232,7 +1251,7 @@
|
|||||||
<a class="brand" href="#">{{_i}}Project name{{/i}}</a>
|
<a class="brand" href="#">{{_i}}Project name{{/i}}</a>
|
||||||
|
|
||||||
<!-- {{_i}}Everything you want hidden at 940px or less, place within here{{/i}} -->
|
<!-- {{_i}}Everything you want hidden at 940px or less, place within here{{/i}} -->
|
||||||
<div class="nav-collapse">
|
<div class="nav-collapse collapse">
|
||||||
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
<!-- .nav, .navbar-search, .navbar-form, etc -->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -1260,7 +1279,7 @@
|
|||||||
<span class="icon-bar"></span>
|
<span class="icon-bar"></span>
|
||||||
</a>
|
</a>
|
||||||
<a class="brand" href="#">{{_i}}Title{{/i}}</a>
|
<a class="brand" href="#">{{_i}}Title{{/i}}</a>
|
||||||
<div class="nav-collapse subnav-collapse">
|
<div class="nav-collapse collapse">
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
<li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
|
<li class="active"><a href="#">{{_i}}Home{{/i}}</a></li>
|
||||||
<li><a href="#">{{_i}}Link{{/i}}</a></li>
|
<li><a href="#">{{_i}}Link{{/i}}</a></li>
|
||||||
@@ -1402,13 +1421,94 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="pagination ">
|
<div class="pagination">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="disabled"><a href="#">Prev</a></li>
|
<li class="disabled"><a href="#">Prev</a></li>
|
||||||
<li class="active"><a href="#">1</a></li>
|
<li class="active"><a href="#">1</a></li>
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</pre>
|
||||||
|
<p>{{_i}}You can optionally swap out active or disabled anchors for spans to remove click functionality while retaining intended styles.{{/i}}</p>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li class="disabled"><span>Prev</span></li>
|
||||||
|
<li class="active"><span>1</span></li>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
<h3>{{_i}}Sizes{{/i}}</h3>
|
||||||
|
<p>{{_i}}Fancy larger or smaller pagination? Add <code>.pagination-large</code>, <code>.pagination-small</code>, or <code>.pagination-mini</code> for additional sizes.{{/i}}</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<div class="pagination pagination-large">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-small">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-mini">
|
||||||
|
<ul>
|
||||||
|
<li><a href="#">«</a></li>
|
||||||
|
<li><a href="#">1</a></li>
|
||||||
|
<li><a href="#">2</a></li>
|
||||||
|
<li><a href="#">3</a></li>
|
||||||
|
<li><a href="#">4</a></li>
|
||||||
|
<li><a href="#">5</a></li>
|
||||||
|
<li><a href="#">»</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="pagination pagination-large">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-small">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="pagination pagination-mini">
|
||||||
|
<ul>
|
||||||
|
...
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Alignment{{/i}}</h3>
|
<h3>{{_i}}Alignment{{/i}}</h3>
|
||||||
@@ -1698,7 +1798,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{_i}}Example page header{{/i}}</h1>
|
<h1>{{_i}}Example page header{{/i}} <small>{{_i}}Subtext for header{{/i}}</small></h1>
|
||||||
</div>
|
</div>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
@@ -1846,6 +1946,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Alerts
|
<!-- Alerts
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="alerts">
|
<section id="alerts">
|
||||||
@@ -1870,11 +1971,11 @@
|
|||||||
|
|
||||||
<h3>{{_i}}Dismiss buttons{{/i}}</h3>
|
<h3>{{_i}}Dismiss buttons{{/i}}</h3>
|
||||||
<p>{{_i}}Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code><a></code> tag.{{/i}}</p>
|
<p>{{_i}}Mobile Safari and Mobile Opera browsers, in addition to the <code>data-dismiss="alert"</code> attribute, require an <code>href="#"</code> for the dismissal of alerts when using an <code><a></code> tag.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums"><a href="#" class="close" data-dismiss="alert">×</button></pre>
|
<pre class="prettyprint linenums"><a href="#" class="close" data-dismiss="alert">×</a></pre>
|
||||||
<p>{{_i}}Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or your forms may not submit.{{/i}}</p>
|
<p>{{_i}}Alternatively, you may use a <code><button></code> element with the data attribute, which we have opted to do for our docs. When using <code><button></code>, you must include <code>type="button"</code> or your forms may not submit.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums"><button type="button" class="close" data-dismiss="alert">×</button></pre>
|
<pre class="prettyprint linenums"><button type="button" class="close" data-dismiss="alert">×</button></pre>
|
||||||
|
|
||||||
<h3>{{_i}}Dismiss alerts via javascript{{/i}}</h3>
|
<h3>{{_i}}Dismiss alerts via JavaScript{{/i}}</h3>
|
||||||
<p>{{_i}}Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.{{/i}}</p>
|
<p>{{_i}}Use the <a href="./javascript.html#alerts">alerts jQuery plugin</a> for quick and easy dismissal of alerts.{{/i}}</p>
|
||||||
|
|
||||||
|
|
||||||
@@ -1948,6 +2049,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Progress bars
|
<!-- Progress bars
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="progress">
|
<section id="progress">
|
||||||
@@ -2094,6 +2196,144 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Media object
|
||||||
|
================================================== -->
|
||||||
|
<section id="media">
|
||||||
|
<div class="page-header">
|
||||||
|
<h1>{{_i}}Media object{{/i}}</h1>
|
||||||
|
</div>
|
||||||
|
<p class="lead">{{_i}}Abstract object styles for building various types of components (like blog comments, Tweets, etc) that feature a left- or right-aligned image alongside textual content.{{/i}}</p>
|
||||||
|
|
||||||
|
<h2>{{_i}}Default example{{/i}}</h2>
|
||||||
|
<p>{{_i}}The default media allow to float a media object (images, video, audio) to the left or right of a content block.{{/i}}</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>{{! /.bs-docs-example }}
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
...
|
||||||
|
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
<hr class="bs-docs-separator">
|
||||||
|
|
||||||
|
|
||||||
|
<h2>{{_i}}Media list{{/i}}</h2>
|
||||||
|
<p>{{_i}}With a bit of extra markup, you can use media inside list (useful for comment threads or articles lists).{{/i}}</p>
|
||||||
|
<div class="bs-docs-example">
|
||||||
|
<ul class="media-list">
|
||||||
|
<li class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
<p>Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.</p>
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Nested media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Nested media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Nested media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
<li class="media">
|
||||||
|
<a class="pull-right" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis.
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
|
<ul class="media-list">
|
||||||
|
<li class="media">
|
||||||
|
<a class="pull-left" href="#">
|
||||||
|
<img class="media-object" src="http://placehold.it/64x64">
|
||||||
|
</a>
|
||||||
|
<div class="media-body">
|
||||||
|
<h4 class="media-heading">{{_i}}Media heading{{/i}}</h4>
|
||||||
|
...
|
||||||
|
|
||||||
|
<!-- Nested media object -->
|
||||||
|
<div class="media">
|
||||||
|
...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Miscellaneous
|
<!-- Miscellaneous
|
||||||
================================================== -->
|
================================================== -->
|
||||||
|
|||||||
@@ -1,32 +1,28 @@
|
|||||||
<!-- Masthead
|
<!-- Customizer CSS -->
|
||||||
================================================== -->
|
<link href="assets/css/docs-customizer.css" rel="stylesheet">
|
||||||
<header class="jumbotron subhead" id="overview">
|
|
||||||
<div class="container">
|
|
||||||
<h1>{{_i}}Customize and download{{/i}}</h1>
|
|
||||||
<p class="lead">{{_i}}<a href="https://github.com/twitter/bootstrap/zipball/master">Download Bootstrap</a> or customize variables, components, javascript plugins, and more.{{/i}}</p>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
|
<form>
|
||||||
|
|
||||||
<div class="container">
|
<div class="bsc-sidebar">
|
||||||
|
<h3 class="bsc-heading">Bootjack</h3>
|
||||||
<!-- Docs nav
|
<ul class="bsc-accordion">
|
||||||
================================================== -->
|
<li>
|
||||||
<div class="row">
|
<input type="checkbox" checked> Scaffolding
|
||||||
<div class="span3 bs-docs-sidebar">
|
</li>
|
||||||
<ul class="nav nav-list bs-docs-sidenav">
|
</ul>
|
||||||
<li><a href="#components"><i class="icon-chevron-right"></i> {{_i}}1. Choose components{{/i}}</a></li>
|
<div class="bsc-toolbar">
|
||||||
<li><a href="#plugins"><i class="icon-chevron-right"></i> {{_i}}2. Select jQuery plugins{{/i}}</a></li>
|
<div class="btn-group">
|
||||||
<li><a href="#variables"><i class="icon-chevron-right"></i> {{_i}}3. Customize variables{{/i}}</a></li>
|
<button class="btn" type="button">Download</button>
|
||||||
<li><a href="#download"><i class="icon-chevron-right"></i> {{_i}}4. Download{{/i}}</a></li>
|
<button class="btn" type="button">Reset</button>
|
||||||
</ul>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="span9">
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="bsc-preview">
|
||||||
|
preview
|
||||||
|
|
||||||
|
|
||||||
<!-- Customize form
|
<!-- Customize form
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<form>
|
|
||||||
<section class="download" id="components">
|
<section class="download" id="components">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<a class="btn btn-small pull-right toggle-all" href="#">{{_i}}Toggle all{{/i}}</a>
|
<a class="btn btn-small pull-right toggle-all" href="#">{{_i}}Toggle all{{/i}}</a>
|
||||||
@@ -72,6 +68,7 @@
|
|||||||
</div><!-- /span -->
|
</div><!-- /span -->
|
||||||
<div class="span3">
|
<div class="span3">
|
||||||
<h3>{{_i}}Miscellaneous{{/i}}</h3>
|
<h3>{{_i}}Miscellaneous{{/i}}</h3>
|
||||||
|
<label class="checkbox"><input checked="checked" type="checkbox" value="media.less"> {{_i}}Media object{{/i}}</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> {{_i}}Wells{{/i}}</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="wells.less"> {{_i}}Wells{{/i}}</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> {{_i}}Close icon{{/i}}</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="close.less"> {{_i}}Close icon{{/i}}</label>
|
||||||
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> {{_i}}Utilities{{/i}}</label>
|
<label class="checkbox"><input checked="checked" type="checkbox" value="utilities.less"> {{_i}}Utilities{{/i}}</label>
|
||||||
@@ -353,11 +350,8 @@
|
|||||||
<p>{{_i}}Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.{{/i}}</p>
|
<p>{{_i}}Downloads include compiled CSS, compiled and minified CSS, and compiled jQuery plugins, all nicely packed up into a zipball for your convenience.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
</section><!-- /download -->
|
</section><!-- /download -->
|
||||||
</form>
|
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>{{! /span9 }}
|
</form>
|
||||||
</div>{{! row}}
|
|
||||||
|
|
||||||
</div>{{! /.container }}
|
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
|
<pre>$ lessc ./less/bootstrap.less > bootstrap.css</pre>
|
||||||
<p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
|
<p>{{_i}}Be sure to include <code>--compress</code> in that command if you're trying to save some bytes!{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Javascript{{/i}}</h3>
|
<h3>{{_i}}JavaScript{{/i}}</h3>
|
||||||
<p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.{{/i}}</p>
|
<p>{{_i}}<a href="http://lesscss.org/">Download the latest Less.js</a> and include the path to it (and Bootstrap) in the <code><head></code>.{{/i}}</p>
|
||||||
<pre class="prettyprint">
|
<pre class="prettyprint">
|
||||||
<link rel="stylesheet/less" href="/path/to/bootstrap.less">
|
<link rel="stylesheet/less" href="/path/to/bootstrap.less">
|
||||||
@@ -109,18 +109,18 @@
|
|||||||
|
|
||||||
<h3>{{_i}}Setup file structure{{/i}}</h3>
|
<h3>{{_i}}Setup file structure{{/i}}</h3>
|
||||||
<p>{{_i}}Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:{{/i}}</p>
|
<p>{{_i}}Download the latest compiled Bootstrap and place into your project. For example, you might have something like this:{{/i}}</p>
|
||||||
<pre class="prettyprint">
|
<pre>
|
||||||
app/
|
<span class="icon-folder-open"></span> app/
|
||||||
├── layouts/
|
<span class="icon-folder-open"></span> layouts/
|
||||||
└── templates/
|
<span class="icon-folder-open"></span> templates/
|
||||||
public/
|
<span class="icon-folder-open"></span> public/
|
||||||
├── css/
|
<span class="icon-folder-open"></span> css/
|
||||||
│ ├── bootstrap.min.css
|
<span class="icon-file"></span> bootstrap.min.css
|
||||||
├── js/
|
<span class="icon-folder-open"></span> js/
|
||||||
│ ├── bootstrap.min.js
|
<span class="icon-file"></span> bootstrap.min.js
|
||||||
└── img/
|
<span class="icon-folder-open"></span> img/
|
||||||
├── glyphicons-halflings.png
|
<span class="icon-file"></span> glyphicons-halflings.png
|
||||||
└── glyphicons-halflings-white.png
|
<span class="icon-file"></span> glyphicons-halflings-white.png
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Utilize starter template{{/i}}</h3>
|
<h3>{{_i}}Utilize starter template{{/i}}</h3>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<header class="jumbotron subhead" id="overview">
|
<header class="jumbotron subhead" id="overview">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>{{_i}}Getting started{{/i}}</h1>
|
<h1>{{_i}}Getting started{{/i}}</h1>
|
||||||
<p class="lead">{{_i}}Overview of the project, it's contents, and how to get started with a simple template.{{/i}}</p>
|
<p class="lead">{{_i}}Overview of the project, its contents, and how to get started with a simple template.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@@ -33,18 +33,18 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{_i}}1. Download{{/i}}</h1>
|
<h1>{{_i}}1. Download{{/i}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">{{_i}}Before downloading, be sure to have a code editor (we recommend <a href="http://sublimetext.com/2">Sublime Text 2</a>) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with our the compiled Bootstrap files.{{/i}}</p>
|
<p class="lead">{{_i}}Before downloading, be sure to have a code editor (we recommend <a href="http://sublimetext.com/2">Sublime Text 2</a>) and some working knowledge of HTML and CSS. We won't walk through the source files here, but they are available for download. We'll focus on getting started with the compiled Bootstrap files.{{/i}}</p>
|
||||||
|
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
<h2>Download compiled</h2>
|
<h2>{{_i}}Download compiled{{/i}}</h2>
|
||||||
<p><strong>Fastest way to get started:</strong> get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.</p>
|
<p>{{_i}}<strong>Fastest way to get started:</strong> get the compiled and minified versions of our CSS, JS, and images. No docs or original source files.{{/i}}</p>
|
||||||
<p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);"{{/production}}>Download Bootstrap</a></p>
|
<p><a class="btn btn-large btn-primary" href="assets/bootstrap.zip" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download compiled']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
<h2>Download source</h2>
|
<h2>Download source</h2>
|
||||||
<p>Get the original files for all CSS and Javasript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p>
|
<p>Get the original files for all CSS and JavaScript, along with a local copy of the docs by downloading the latest version directly from GitHub.</p>
|
||||||
<p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);"{{/production}}>Download Bootstrap source</a></p>
|
<p><a class="btn btn-large" href="https://github.com/twitter/bootstrap/zipball/master" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Download', 'Download source']);"{{/production}}>{{_i}}Download Bootstrap source{{/i}}</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
@@ -67,12 +67,12 @@
|
|||||||
├── js/
|
├── js/
|
||||||
│ ├── bootstrap.js
|
│ ├── bootstrap.js
|
||||||
│ ├── bootstrap.min.js
|
│ ├── bootstrap.min.js
|
||||||
├── img/
|
└── img/
|
||||||
│ ├── glyphicons-halflings.png
|
├── glyphicons-halflings.png
|
||||||
│ ├── glyphicons-halflings-white.png
|
└── glyphicons-halflings-white.png
|
||||||
└── README.md
|
|
||||||
</pre>
|
</pre>
|
||||||
<p>{{_i}}This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). The image files are compressed using <a href="http://imageoptim.com/">ImageOptim</a>, a Mac app for compressing PNGs.{{/i}}</p>
|
<p>{{_i}}This is the most basic form of Bootstrap: compiled files for quick drop-in usage in nearly any web project. We provide compiled CSS and JS (<code>bootstrap.*</code>), as well as compiled and minified CSS and JS (<code>bootstrap.min.*</code>). The image files are compressed using <a href="http://imageoptim.com/">ImageOptim</a>, a Mac app for compressing PNGs.{{/i}}</p>
|
||||||
|
<p>{{_i}}Please note that all JavaScript plugins require jQuery to be included.{{/i}}</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
@@ -92,11 +92,11 @@
|
|||||||
<p>{{_i}}Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes <a href="http://glyphicons.com">Glyphicons</a>, a great little icon set.{{/i}}</p>
|
<p>{{_i}}Styles for common HTML elements like typography, code, tables, forms, and buttons. Also includes <a href="http://glyphicons.com">Glyphicons</a>, a great little icon set.{{/i}}</p>
|
||||||
<h4><a href="http://twitter.github.com/bootstrap/components.html">{{_i}}Components{{/i}}</a></h4>
|
<h4><a href="http://twitter.github.com/bootstrap/components.html">{{_i}}Components{{/i}}</a></h4>
|
||||||
<p>{{_i}}Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.{{/i}}</p>
|
<p>{{_i}}Basic styles for common interface components like tabs and pills, navbar, alerts, page headers, and more.{{/i}}</p>
|
||||||
<h4><a href="http://twitter.github.com/bootstrap/javascript.html">{{_i}}Javascript plugins{{/i}}</a></h4>
|
<h4><a href="http://twitter.github.com/bootstrap/javascript.html">{{_i}}JavaScript plugins{{/i}}</a></h4>
|
||||||
<p>{{_i}}Similar to Components, these Javascript plugins are interactive components for things like tooltips, popovers, modals, and more.{{/i}}</p>
|
<p>{{_i}}Similar to Components, these JavaScript plugins are interactive components for things like tooltips, popovers, modals, and more.{{/i}}</p>
|
||||||
|
|
||||||
<h2>{{_i}}List of components{{/i}}</h2>
|
<h2>{{_i}}List of components{{/i}}</h2>
|
||||||
<p>{{_i}}Together, the <strong>Components</strong> and <strong>Javascript plugins</strong> sections provide the following interface elements:{{/i}}</p>
|
<p>{{_i}}Together, the <strong>Components</strong> and <strong>JavaScript plugins</strong> sections provide the following interface elements:{{/i}}</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>{{_i}}Button groups{{/i}}</li>
|
<li>{{_i}}Button groups{{/i}}</li>
|
||||||
<li>{{_i}}Button dropdowns{{/i}}</li>
|
<li>{{_i}}Button dropdowns{{/i}}</li>
|
||||||
@@ -127,28 +127,32 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{_i}}4. Basic HTML template{{/i}}</h1>
|
<h1>{{_i}}4. Basic HTML template{{/i}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">{{_i}}With a brief intro into the contents out of the way, we can focus putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the <a href="#file-structure">File structure</a>.{{/i}}</p>
|
<p class="lead">{{_i}}With a brief intro into the contents out of the way, we can focus on putting Bootstrap to use. To do that, we'll utilize a basic HTML template that includes everything we mentioned in the <a href="#file-structure">File structure</a>.{{/i}}</p>
|
||||||
<p>{{_i}}Now, here's a look at a <strong>typical HTML file</strong>:{{/i}}</p>
|
<p>{{_i}}Now, here's a look at a <strong>typical HTML file</strong>:{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
|
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</pre>
|
</pre>
|
||||||
<p>{{_i}}To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:{{/i}}</p>
|
<p>{{_i}}To make this <strong>a Bootstrapped template</strong>, just include the appropriate CSS and JS files:{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Bootstrap 101 Template</title>
|
<title>Bootstrap 101 Template</title>
|
||||||
<!-- Bootstrap -->
|
<!-- Bootstrap -->
|
||||||
<link href="css/bootstrap.min.css" rel="stylesheet">
|
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Hello, world!</h1>
|
<h1>Hello, world!</h1>
|
||||||
|
<script src="http://code.jquery.com/jquery-latest.js"></script>
|
||||||
<script src="js/bootstrap.min.js"></script>
|
<script src="js/bootstrap.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -185,8 +189,40 @@
|
|||||||
<img src="assets/img/examples/bootstrap-example-starter.jpg" alt="">
|
<img src="assets/img/examples/bootstrap-example-starter.jpg" alt="">
|
||||||
</a>
|
</a>
|
||||||
<h4>{{_i}}Starter template{{/i}}</h4>
|
<h4>{{_i}}Starter template{{/i}}</h4>
|
||||||
<p>{{_i}}A barebones HTML document with all the Bootstrap CSS and javascript included.{{/i}}</p>
|
<p>{{_i}}A barebones HTML document with all the Bootstrap CSS and JavaScript included.{{/i}}</p>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/marketing-narrow.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-marketing-narrow.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>{{_i}}Narrow marketing{{/i}}</h4>
|
||||||
|
<p>{{_i}}Slim, lightweight marketing template for small projects or teams.{{/i}}</p>
|
||||||
|
</li>
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/signin.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-signin.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>{{_i}}Sign in{{/i}}</h4>
|
||||||
|
<p>{{_i}}Barebones sign in form with custom, larger form controls and a flexible layout.{{/i}}</p>
|
||||||
|
</li>
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/sticky-footer.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-sticky-footer.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>{{_i}}Sticky footer{{/i}}</h4>
|
||||||
|
<p>{{_i}}Pin a fixed-height footer to the bottom of the user's viewport.{{/i}}</p>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<li class="span3">
|
||||||
|
<a class="thumbnail" href="examples/carousel.html">
|
||||||
|
<img src="assets/img/examples/bootstrap-example-carousel.png" alt="">
|
||||||
|
</a>
|
||||||
|
<h4>{{_i}}Carousel jumbotron{{/i}}</h4>
|
||||||
|
<p>{{_i}}A more interactive riff on the basic marketing site featuring a prominent carousel.{{/i}}</p>
|
||||||
|
</li>
|
||||||
|
-->
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@@ -199,9 +235,9 @@
|
|||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
<h1>{{_i}}What next?{{/i}}</h1>
|
<h1>{{_i}}What next?{{/i}}</h1>
|
||||||
</div>
|
</div>
|
||||||
<p class="lead">Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.</p>
|
<p class="lead">{{_i}}Head to the docs for information, examples, and code snippets, or take the next leap and customize Bootstrap for any upcoming project.{{/i}}</p>
|
||||||
<a class="btn btn-large btn-primary" href="./scaffolding.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Visit docs']);"{{/production}}>Visit the Bootstrap docs</a>
|
<a class="btn btn-large btn-primary" href="./scaffolding.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Visit docs']);"{{/production}}>{{_i}}Visit the Bootstrap docs{{/i}}</a>
|
||||||
<a class="btn btn-large" href="./customize.html" style="margin-left: 5px;" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Customize']);"{{/production}}>Customize Bootstrap</a>
|
<a class="btn btn-large" href="./customize.html" style="margin-left: 5px;" {{#production}}onclick="_gaq.push(['_trackEvent', 'Getting started', 'Next steps', 'Customize']);"{{/production}}>{{_i}}Customize Bootstrap{{/i}}</a>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,23 @@
|
|||||||
<div class="jumbotron masthead">
|
<div class="jumbotron masthead">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Bootstrap</h1>
|
<h1>{{_i}}Bootstrap{{/i}}</h1>
|
||||||
<p>Sleek, intuitive, and powerful front-end framework for faster and easier web development.</p>
|
<p>{{_i}}Sleek, intuitive, and powerful front-end framework for faster and easier web development.{{/i}}</p>
|
||||||
<p><a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.1.0']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a></p>
|
<p>
|
||||||
|
<a href="assets/bootstrap.zip" class="btn btn-primary btn-large" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Download', 'Download 2.1.2']);"{{/production}}>{{_i}}Download Bootstrap{{/i}}</a>
|
||||||
|
</p>
|
||||||
<ul class="masthead-links">
|
<ul class="masthead-links">
|
||||||
<li><a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>GitHub project</a></li>
|
<li>
|
||||||
<li><a href="./extend.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Extend']);"{{/production}}>Extend</a></li>
|
<a href="http://github.com/twitter/bootstrap" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'GitHub project']);"{{/production}}>{{_i}}GitHub project{{/i}}</a>
|
||||||
<li>Version 2.1.0</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./getting-started.html#examples" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Examples']);"{{/production}}>{{_i}}Examples{{/i}}</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./extend.html" {{#production}}onclick="_gaq.push(['_trackEvent', 'Jumbotron actions', 'Jumbotron links', 'Extend']);"{{/production}}>{{_i}}Extend{{/i}}</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
{{_i}}Version 2.1.2{{/i}}
|
||||||
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -51,7 +62,7 @@
|
|||||||
<div class="span4">
|
<div class="span4">
|
||||||
<img src="assets/img/bs-docs-bootstrap-features.png">
|
<img src="assets/img/bs-docs-bootstrap-features.png">
|
||||||
<h2>{{_i}}Packed with features.{{/i}}</h2>
|
<h2>{{_i}}Packed with features.{{/i}}</h2>
|
||||||
<p>{{_i}}A 12-column responsive <a href="./scaffolding.html#grid">grid</a>, dozens of components, <a href="./javascript.html">javascript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.{{/i}}</p>
|
<p>{{_i}}A 12-column responsive <a href="./scaffolding.html#grid">grid</a>, dozens of components, <a href="./javascript.html">JavaScript plugins</a>, typography, form controls, and even a <a href="./customize.html">web-based Customizer</a> to make Bootstrap your own.{{/i}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -72,8 +83,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="span3">
|
<li class="span3">
|
||||||
<a class="thumbnail" href="http://www.fleetio.com/" target="_blank">
|
<a class="thumbnail" href="http://www.gathercontent.com/" target="_blank">
|
||||||
<img src="assets/img/example-sites/fleetio.png" alt="Fleetio">
|
<img src="assets/img/example-sites/gathercontent.png" alt="Gather Content">
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="span3">
|
<li class="span3">
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<p>{{_i}}That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:{{/i}}
|
<p>{{_i}}That said, in some situations it may be desirable to turn this functionality off. Therefore, we also provide the ability to disable the data attribute API by unbinding all events on the body namespaced with `'data-api'`. This looks like this:{{/i}}
|
||||||
<pre class="prettyprint linenums">$('body').off('.data-api')</pre>
|
<pre class="prettyprint linenums">$('body').off('.data-api')</pre>
|
||||||
|
|
||||||
<p>{{_i}}Alternatively, to target a specific plugin, just include the plugins name as a namespace along with the data-api namespace like this:{{/i}}</p>
|
<p>{{_i}}Alternatively, to target a specific plugin, just include the plugin's name as a namespace along with the data-api namespace like this:{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">$('body').off('.alert.data-api')</pre>
|
<pre class="prettyprint linenums">$('body').off('.alert.data-api')</pre>
|
||||||
|
|
||||||
<h3>{{_i}}Programmatic API{{/i}}</h3>
|
<h3>{{_i}}Programmatic API{{/i}}</h3>
|
||||||
@@ -61,10 +61,10 @@ $("#myModal").modal() // initialized with defaults
|
|||||||
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
|
$("#myModal").modal({ keyboard: false }) // initialized with no keyboard
|
||||||
$("#myModal").modal('show') // initializes and invokes show immediately</p>
|
$("#myModal").modal('show') // initializes and invokes show immediately</p>
|
||||||
</pre>
|
</pre>
|
||||||
<p>{{_i}}Each plugin also exposes it's raw constructor on a `Constructor` property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel=popover]').data('popover')</code>.{{/i}}</p>
|
<p>{{_i}}Each plugin also exposes its raw constructor on a `Constructor` property: <code>$.fn.popover.Constructor</code>. If you'd like to get a particular plugin instance, retrieve it directly from an element: <code>$('[rel=popover]').data('popover')</code>.{{/i}}</p>
|
||||||
|
|
||||||
<h3>{{_i}}Events{{/i}}</h3>
|
<h3>{{_i}}Events{{/i}}</h3>
|
||||||
<p>{{_i}}Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and it's past participle form (ex. <code>shown</code>) is trigger on the completion of an action.{{/i}}</p>
|
<p>{{_i}}Bootstrap provides custom events for most plugin's unique actions. Generally, these come in an infinitive and past participle form - where the infinitive (ex. <code>show</code>) is triggered at the start of an event, and its past participle form (ex. <code>shown</code>) is trigger on the completion of an action.{{/i}}</p>
|
||||||
<p>{{_i}}All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.{{/i}}</p>
|
<p>{{_i}}All infinitive events provide preventDefault functionality. This provides the abililty to stop the execution of an action before it starts.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
$('#myModal').on('show', function (e) {
|
$('#myModal').on('show', function (e) {
|
||||||
@@ -179,11 +179,11 @@ $('#myModal').on('show', function (e) {
|
|||||||
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">{{_i}}Launch demo modal{{/i}}</a>
|
<a data-toggle="modal" href="#myModal" class="btn btn-primary btn-large">{{_i}}Launch demo modal{{/i}}</a>
|
||||||
</div>{{! /example }}
|
</div>{{! /example }}
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<-- Button to trigger modal -->
|
<!-- Button to trigger modal -->
|
||||||
<a href="#myModal" role="button" class="btn" data-toggle="modal">{{_i}}Launch demo modal{{/i}}</a>
|
<a href="#myModal" role="button" class="btn" data-toggle="modal">{{_i}}Launch demo modal{{/i}}</a>
|
||||||
|
|
||||||
<-- Modal -->
|
<!-- Modal -->
|
||||||
<div class="modal" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
<div id="myModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
||||||
<div class="modal-header">
|
<div class="modal-header">
|
||||||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
||||||
<h3 id="myModalLabel">Modal header</h3>
|
<h3 id="myModalLabel">Modal header</h3>
|
||||||
@@ -306,7 +306,7 @@ $('#myModal').on('hidden', function () {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Dropdown
|
<!-- Dropdowns
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<section id="dropdowns">
|
<section id="dropdowns">
|
||||||
<div class="page-header">
|
<div class="page-header">
|
||||||
@@ -409,7 +409,7 @@ $('#myModal').on('hidden', function () {
|
|||||||
<p>{{_i}}Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.{{/i}}</p>
|
<p>{{_i}}Add <code>data-toggle="dropdown"</code> to a link or button to toggle a dropdown.{{/i}}</p>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<a class="dropdown-toggle" href="#">Dropdown trigger</a>
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Dropdown trigger</a>
|
||||||
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dLabel">
|
||||||
...
|
...
|
||||||
</ul>
|
</ul>
|
||||||
@@ -436,8 +436,8 @@ $('#myModal').on('hidden', function () {
|
|||||||
<p><em>{{_i}}None{{/i}}</em></p>
|
<p><em>{{_i}}None{{/i}}</em></p>
|
||||||
|
|
||||||
<h3>{{_i}}Methods{{/i}}</h3>
|
<h3>{{_i}}Methods{{/i}}</h3>
|
||||||
<h4>$().dropdown()</h4>
|
<h4>$().dropdown('toggle')</h4>
|
||||||
<p>{{_i}}A programatic api for activating menus for a given navbar or tabbed navigation.{{/i}}</p>
|
<p>{{_i}}A programatic api for toggling menus for a given navbar or tabbed navigation.{{/i}}</p>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
||||||
@@ -734,7 +734,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{_i}}html{{/i}}</td>
|
<td>{{_i}}html{{/i}}</td>
|
||||||
<td>{{_i}}boolean{{/i}}</td>
|
<td>{{_i}}boolean{{/i}}</td>
|
||||||
<td>true</td>
|
<td>false</td>
|
||||||
<td>{{_i}}Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
|
<td>{{_i}}Insert html into the tooltip. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -855,6 +855,16 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">{{_i}}Click to toggle popover{{/i}}</a>
|
<a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" data-content="And here's some amazing content. It's very engaging. right?">{{_i}}Click to toggle popover{{/i}}</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<h4>{{_i}}Four directions{{/i}}</h4>
|
||||||
|
<div class="bs-docs-example tooltip-demo">
|
||||||
|
<ul class="bs-docs-tooltip-examples">
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="top" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on top">Popover on top</a></li>
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="right" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on right">Popover on right</a></li>
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="bottom" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on bottom">Popover on bottom</a></li>
|
||||||
|
<li><a href="#" class="btn" rel="popover" data-placement="left" data-content="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." title="Popover on left">Popover on left</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>{{! /example }}
|
||||||
|
|
||||||
|
|
||||||
<hr class="bs-docs-separator">
|
<hr class="bs-docs-separator">
|
||||||
|
|
||||||
@@ -884,7 +894,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{_i}}html{{/i}}</td>
|
<td>{{_i}}html{{/i}}</td>
|
||||||
<td>{{_i}}boolean{{/i}}</td>
|
<td>{{_i}}boolean{{/i}}</td>
|
||||||
<td>true</td>
|
<td>false</td>
|
||||||
<td>{{_i}}Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
|
<td>{{_i}}Insert html into the popover. If false, jquery's <code>text</code> method will be used to insert content into the dom. Use text if you're worried about XSS attacks.{{/i}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -965,7 +975,7 @@ $('a[data-toggle="tab"]').on('shown', function (e) {
|
|||||||
|
|
||||||
|
|
||||||
<h2>{{_i}}Example alerts{{/i}}</h2>
|
<h2>{{_i}}Example alerts{{/i}}</h2>
|
||||||
<p>{{_i}}Add dismiss functionality to all alerge messages with this plugin.{{/i}}</p>
|
<p>{{_i}}Add dismiss functionality to all alert messages with this plugin.{{/i}}</p>
|
||||||
<div class="bs-docs-example">
|
<div class="bs-docs-example">
|
||||||
<div class="alert fade in">
|
<div class="alert fade in">
|
||||||
<button type="button" class="close" data-dismiss="alert">×</button>
|
<button type="button" class="close" data-dismiss="alert">×</button>
|
||||||
@@ -1191,6 +1201,36 @@ $('#my-alert').bind('closed', function () {
|
|||||||
</div>
|
</div>
|
||||||
</div>{{! /example }}
|
</div>{{! /example }}
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
|
<div class="accordion" id="accordion2">
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
|
||||||
|
{{_i}}Collapsible Group Item #1{{/i}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="collapseOne" class="accordion-body collapse in">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
Anim pariatur cliche...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="accordion-group">
|
||||||
|
<div class="accordion-heading">
|
||||||
|
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
|
||||||
|
{{_i}}Collapsible Group Item #2{{/i}}
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div id="collapseTwo" class="accordion-body collapse">
|
||||||
|
<div class="accordion-inner">
|
||||||
|
Anim pariatur cliche...
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
...
|
||||||
|
</pre>
|
||||||
|
<p>{{_i}}You can also use the plugin without the accordion markup. Make a button toggle the expanding and collapsing of another element.{{/i}}</p>
|
||||||
|
<pre class="prettyprint linenums">
|
||||||
<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo">
|
<button type="button" class="btn btn-danger" data-toggle="collapse" data-target="#demo">
|
||||||
{{_i}}simple collapsible{{/i}}
|
{{_i}}simple collapsible{{/i}}
|
||||||
</button>
|
</button>
|
||||||
@@ -1536,11 +1576,11 @@ $('.carousel').carousel({
|
|||||||
<h3>{{_i}}Via data attributes{{/i}}</h3>
|
<h3>{{_i}}Via data attributes{{/i}}</h3>
|
||||||
<p>{{_i}}To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.{{/i}}</p>
|
<p>{{_i}}To easily add affix behavior to any element, just add <code>data-spy="affix"</code> to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.{{/i}}</p>
|
||||||
|
|
||||||
<pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</body></pre>
|
<pre class="prettyprint linenums"><div data-spy="affix" data-offset-top="200">...</div></pre>
|
||||||
|
|
||||||
<div class="alert alert-info">
|
<div class="alert alert-info">
|
||||||
<strong>{{_i}}Heads up!{{/i}}</strong>
|
<strong>{{_i}}Heads up!{{/i}}</strong>
|
||||||
{{_i}}It's up to you to manage the position of a pinned element. This is done by styling <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>.{{/i}}
|
{{_i}}You must manage the position of a pinned element and the behavior of its immediate parent. Position is controlled by <code>affix</code>, <code>affix-top</code>, and <code>affix-bottom</code>. Remember to check for a potentially collapsed parent when the affix kicks in as it's removing content from the normal flow of the page.{{/i}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h3>{{_i}}Via JavaScript{{/i}}</h3>
|
<h3>{{_i}}Via JavaScript{{/i}}</h3>
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>{{_i}}Remove <code>margin</code> on the body{{/i}}</li>
|
<li>{{_i}}Remove <code>margin</code> on the body{{/i}}</li>
|
||||||
<li>{{_i}}Set <code>background-color: white;</code> on the <code>body</code>{{/i}}</li>
|
<li>{{_i}}Set <code>background-color: white;</code> on the <code>body</code>{{/i}}</li>
|
||||||
<li>{{_i}}Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographyic base{{/i}}</li>
|
<li>{{_i}}Use the <code>@baseFontFamily</code>, <code>@baseFontSize</code>, and <code>@baseLineHeight</code> attributes as our typographic base{{/i}}</li>
|
||||||
<li>{{_i}}Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code>{{/i}}</li>
|
<li>{{_i}}Set the global link color via <code>@linkColor</code> and apply link underlines only on <code>:hover</code>{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>{{_i}}These styles can be found within <strong>scaffolding.less</strong>.{{/i}}</p>
|
<p>{{_i}}These styles can be found within <strong>scaffolding.less</strong>.{{/i}}</p>
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2>{{_i}}Live grid example{{/i}}</h2>
|
<h2>{{_i}}Live grid example{{/i}}</h2>
|
||||||
<p>{{_i}}The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.{{/i}}</p>
|
<p>{{_i}}The default Bootstrap grid system utilizes <strong>12 columns</strong>, making for a 940px wide container without <a href="./scaffolding.html#responsive">responsive features</a> enabled. With the responsive CSS file added, the grid adapts to be 724px and 1170px wide depending on your viewport. Below 767px viewports, the columns become fluid and stack vertically.{{/i}}</p>
|
||||||
<div class="bs-docs-grid">
|
<div class="bs-docs-grid">
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span1">1</div>
|
<div class="span1">1</div>
|
||||||
@@ -105,7 +105,7 @@
|
|||||||
<p>{{_i}}Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.{{/i}}</p>
|
<p>{{_i}}Given this example, we have <code>.span4</code> and <code>.span8</code>, making for 12 total columns and a complete row.{{/i}}</p>
|
||||||
|
|
||||||
<h2>{{_i}}Offsetting columns{{/i}}</h2>
|
<h2>{{_i}}Offsetting columns{{/i}}</h2>
|
||||||
<p>{{_i}}Move columns to the left using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.{{/i}}</p>
|
<p>{{_i}}Move columns to the right using <code>.offset*</code> classes. Each class increases the left margin of a column by a whole column. For example, <code>.offset4</code> moves <code>.span4</code> over four columns.{{/i}}</p>
|
||||||
<div class="bs-docs-grid">
|
<div class="bs-docs-grid">
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span4">4</div>
|
<div class="span4">4</div>
|
||||||
@@ -128,11 +128,9 @@
|
|||||||
|
|
||||||
<h2>{{_i}}Nesting columns{{/i}}</h2>
|
<h2>{{_i}}Nesting columns{{/i}}</h2>
|
||||||
<p>{{_i}}To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.{{/i}}</p>
|
<p>{{_i}}To nest your content with the default grid, add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column. Nested rows should include a set of columns that add up to the number of columns of its parent.{{/i}}</p>
|
||||||
<h3>{{_i}}Example{{/i}}</h3>
|
|
||||||
<p>{{_i}}Here two nested <code>.span4</code> columns are placed within a <code>.span8</code>.{{/i}}</p>
|
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span9">
|
<div class="span9">
|
||||||
{{_i}}Level 1 of column{{/i}}
|
{{_i}}Level 1 column{{/i}}
|
||||||
<div class="row show-grid">
|
<div class="row show-grid">
|
||||||
<div class="span6">
|
<div class="span6">
|
||||||
{{_i}}Level 2{{/i}}
|
{{_i}}Level 2{{/i}}
|
||||||
@@ -249,10 +247,10 @@
|
|||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span12">
|
<div class="span12">
|
||||||
{{_i}}Level 1 of column{{/i}}
|
{{_i}}Fluid 12{{/i}}
|
||||||
<div class="row-fluid">
|
<div class="row-fluid">
|
||||||
<div class="span6">{{_i}}Level 2{{/i}}</div>
|
<div class="span6">{{_i}}Fluid 6{{/i}}</div>
|
||||||
<div class="span6">{{_i}}Level 2{{/i}}</div>
|
<div class="span6">{{_i}}Fluid 6{{/i}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -347,20 +345,10 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{_i}}Phones{{/i}}</td>
|
<td>{{_i}}Large display{{/i}}</td>
|
||||||
<td>480px and below</td>
|
<td>1200px and up</td>
|
||||||
<td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
|
<td>70px</td>
|
||||||
</tr>
|
<td>30px</td>
|
||||||
<tr>
|
|
||||||
<td>{{_i}}Phones to tablets{{/i}}</td>
|
|
||||||
<td>767px and below</td>
|
|
||||||
<td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{{_i}}Portrait tablets{{/i}}</td>
|
|
||||||
<td>768px and above</td>
|
|
||||||
<td>42px</td>
|
|
||||||
<td>20px</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{_i}}Default{{/i}}</td>
|
<td>{{_i}}Default{{/i}}</td>
|
||||||
@@ -369,25 +357,35 @@
|
|||||||
<td>20px</td>
|
<td>20px</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{_i}}Large display{{/i}}</td>
|
<td>{{_i}}Portrait tablets{{/i}}</td>
|
||||||
<td>1200px and up</td>
|
<td>768px and above</td>
|
||||||
<td>70px</td>
|
<td>42px</td>
|
||||||
<td>30px</td>
|
<td>20px</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{{_i}}Phones to tablets{{/i}}</td>
|
||||||
|
<td>767px and below</td>
|
||||||
|
<td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{{_i}}Phones{{/i}}</td>
|
||||||
|
<td>480px and below</td>
|
||||||
|
<td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<pre class="prettyprint linenums">
|
<pre class="prettyprint linenums">
|
||||||
/* {{_i}}Landscape phones and down{{/i}} */
|
/* {{_i}}Large desktop{{/i}} */
|
||||||
@media (max-width: 480px) { ... }
|
@media (min-width: 1200px) { ... }
|
||||||
|
|
||||||
/* {{_i}}Landscape phone to portrait tablet{{/i}} */
|
|
||||||
@media (max-width: 767px) { ... }
|
|
||||||
|
|
||||||
/* {{_i}}Portrait tablet to landscape and desktop{{/i}} */
|
/* {{_i}}Portrait tablet to landscape and desktop{{/i}} */
|
||||||
@media (min-width: 768px) and (max-width: 979px) { ... }
|
@media (min-width: 768px) and (max-width: 979px) { ... }
|
||||||
|
|
||||||
/* {{_i}}Large desktop{{/i}} */
|
/* {{_i}}Landscape phone to portrait tablet{{/i}} */
|
||||||
@media (min-width: 1200px) { ... }
|
@media (max-width: 767px) { ... }
|
||||||
|
|
||||||
|
/* {{_i}}Landscape phones and down{{/i}} */
|
||||||
|
@media (max-width: 480px) { ... }
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-affix.js v2.1.0
|
* bootstrap-affix.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#affix
|
* http://twitter.github.com/bootstrap/javascript.html#affix
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -28,7 +28,9 @@
|
|||||||
|
|
||||||
var Affix = function (element, options) {
|
var Affix = function (element, options) {
|
||||||
this.options = $.extend({}, $.fn.affix.defaults, options)
|
this.options = $.extend({}, $.fn.affix.defaults, options)
|
||||||
this.$window = $(window).on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
this.$window = $(window)
|
||||||
|
.on('scroll.affix.data-api', $.proxy(this.checkPosition, this))
|
||||||
|
.on('click.affix.data-api', $.proxy(function () { setTimeout($.proxy(this.checkPosition, this), 1) }, this))
|
||||||
this.$element = $(element)
|
this.$element = $(element)
|
||||||
this.checkPosition()
|
this.checkPosition()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-alert.js v2.1.0
|
* bootstrap-alert.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
* http://twitter.github.com/bootstrap/javascript.html#alerts
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
* bootstrap-button.js v2.1.0
|
* bootstrap-button.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
* http://twitter.github.com/bootstrap/javascript.html#buttons
|
||||||
* ============================================================
|
* ============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
Button.prototype.toggle = function () {
|
Button.prototype.toggle = function () {
|
||||||
var $parent = this.$element.parent('[data-toggle="buttons-radio"]')
|
var $parent = this.$element.closest('[data-toggle="buttons-radio"]')
|
||||||
|
|
||||||
$parent && $parent
|
$parent && $parent
|
||||||
.find('.active')
|
.find('.active')
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ==========================================================
|
/* ==========================================================
|
||||||
* bootstrap-carousel.js v2.1.0
|
* bootstrap-carousel.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
* http://twitter.github.com/bootstrap/javascript.html#carousel
|
||||||
* ==========================================================
|
* ==========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =============================================================
|
/* =============================================================
|
||||||
* bootstrap-collapse.js v2.1.0
|
* bootstrap-collapse.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
* http://twitter.github.com/bootstrap/javascript.html#collapse
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ============================================================
|
/* ============================================================
|
||||||
* bootstrap-dropdown.js v2.1.0
|
* bootstrap-dropdown.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
* http://twitter.github.com/bootstrap/javascript.html#dropdowns
|
||||||
* ============================================================
|
* ============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
if (!selector) {
|
if (!selector) {
|
||||||
selector = $this.attr('href')
|
selector = $this.attr('href')
|
||||||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
selector = selector && /#/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') //strip for ie7
|
||||||
}
|
}
|
||||||
|
|
||||||
$parent = $(selector)
|
$parent = $(selector)
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
$('html')
|
$('html')
|
||||||
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
.on('click.dropdown.data-api touchstart.dropdown.data-api', clearMenus)
|
||||||
$('body')
|
$('body')
|
||||||
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown', function (e) { e.stopPropagation() })
|
.on('click.dropdown touchstart.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })
|
||||||
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
.on('click.dropdown.data-api touchstart.dropdown.data-api' , toggle, Dropdown.prototype.toggle)
|
||||||
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
.on('keydown.dropdown.data-api touchstart.dropdown.data-api', toggle + ', [role=menu]' , Dropdown.prototype.keydown)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =========================================================
|
/* =========================================================
|
||||||
* bootstrap-modal.js v2.1.0
|
* bootstrap-modal.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#modals
|
* http://twitter.github.com/bootstrap/javascript.html#modals
|
||||||
* =========================================================
|
* =========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -49,8 +49,6 @@
|
|||||||
|
|
||||||
if (this.isShown || e.isDefaultPrevented()) return
|
if (this.isShown || e.isDefaultPrevented()) return
|
||||||
|
|
||||||
$('body').addClass('modal-open')
|
|
||||||
|
|
||||||
this.isShown = true
|
this.isShown = true
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
@@ -96,8 +94,6 @@
|
|||||||
|
|
||||||
this.isShown = false
|
this.isShown = false
|
||||||
|
|
||||||
$('body').removeClass('modal-open')
|
|
||||||
|
|
||||||
this.escape()
|
this.escape()
|
||||||
|
|
||||||
$(document).off('focusin.modal')
|
$(document).off('focusin.modal')
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===========================================================
|
/* ===========================================================
|
||||||
* bootstrap-popover.js v2.1.0
|
* bootstrap-popover.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
* http://twitter.github.com/bootstrap/javascript.html#popovers
|
||||||
* ===========================================================
|
* ===========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =============================================================
|
/* =============================================================
|
||||||
* bootstrap-scrollspy.js v2.1.0
|
* bootstrap-scrollspy.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
* http://twitter.github.com/bootstrap/javascript.html#scrollspy
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ========================================================
|
/* ========================================================
|
||||||
* bootstrap-tab.js v2.1.0
|
* bootstrap-tab.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
* http://twitter.github.com/bootstrap/javascript.html#tabs
|
||||||
* ========================================================
|
* ========================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===========================================================
|
/* ===========================================================
|
||||||
* bootstrap-tooltip.js v2.1.0
|
* bootstrap-tooltip.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
* http://twitter.github.com/bootstrap/javascript.html#tooltips
|
||||||
* Inspired by the original jQuery.tipsy by Jason Frame
|
* Inspired by the original jQuery.tipsy by Jason Frame
|
||||||
* ===========================================================
|
* ===========================================================
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
$tip
|
$tip
|
||||||
.remove()
|
.remove()
|
||||||
.css({ top: 0, left: 0, display: 'block' })
|
.css({ top: 0, left: 0, display: 'block' })
|
||||||
.appendTo(inside ? this.$element : document.body)
|
.insertAfter(this.$element)
|
||||||
|
|
||||||
pos = this.getPosition(inside)
|
pos = this.getPosition(inside)
|
||||||
|
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tip
|
$tip
|
||||||
.css(tp)
|
.offset(tp)
|
||||||
.addClass(placement)
|
.addClass(placement)
|
||||||
.addClass('in')
|
.addClass('in')
|
||||||
}
|
}
|
||||||
@@ -269,7 +269,7 @@
|
|||||||
, trigger: 'hover'
|
, trigger: 'hover'
|
||||||
, title: ''
|
, title: ''
|
||||||
, delay: 0
|
, delay: 0
|
||||||
, html: true
|
, html: false
|
||||||
}
|
}
|
||||||
|
|
||||||
}(window.jQuery);
|
}(window.jQuery);
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
/* ===================================================
|
/* ===================================================
|
||||||
* bootstrap-transition.js v2.1.0
|
* bootstrap-transition.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
* http://twitter.github.com/bootstrap/javascript.html#transitions
|
||||||
* ===================================================
|
* ===================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -20,14 +20,14 @@
|
|||||||
|
|
||||||
!function ($) {
|
!function ($) {
|
||||||
|
|
||||||
|
"use strict"; // jshint ;_;
|
||||||
|
|
||||||
|
|
||||||
|
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
||||||
|
* ======================================================= */
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
||||||
"use strict"; // jshint ;_;
|
|
||||||
|
|
||||||
|
|
||||||
/* CSS TRANSITION SUPPORT (http://www.modernizr.com/)
|
|
||||||
* ======================================================= */
|
|
||||||
|
|
||||||
$.support.transition = (function () {
|
$.support.transition = (function () {
|
||||||
|
|
||||||
var transitionEnd = (function () {
|
var transitionEnd = (function () {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/* =============================================================
|
/* =============================================================
|
||||||
* bootstrap-typeahead.js v2.1.0
|
* bootstrap-typeahead.js v2.1.2
|
||||||
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
* http://twitter.github.com/bootstrap/javascript.html#typeahead
|
||||||
* =============================================================
|
* =============================================================
|
||||||
* Copyright 2012 Twitter, Inc.
|
* Copyright 2012 Twitter, Inc.
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
.on('keypress', $.proxy(this.keypress, this))
|
.on('keypress', $.proxy(this.keypress, this))
|
||||||
.on('keyup', $.proxy(this.keyup, this))
|
.on('keyup', $.proxy(this.keyup, this))
|
||||||
|
|
||||||
if ($.browser.webkit || $.browser.msie) {
|
if (this.eventSupported('keydown')) {
|
||||||
this.$element.on('keydown', $.proxy(this.keydown, this))
|
this.$element.on('keydown', $.proxy(this.keydown, this))
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -183,6 +183,15 @@
|
|||||||
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
.on('mouseenter', 'li', $.proxy(this.mouseenter, this))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
, eventSupported: function(eventName) {
|
||||||
|
var isSupported = eventName in this.$element
|
||||||
|
if (!isSupported) {
|
||||||
|
this.$element.setAttribute(eventName, 'return;')
|
||||||
|
isSupported = typeof this.$element[eventName] === 'function'
|
||||||
|
}
|
||||||
|
return isSupported
|
||||||
|
}
|
||||||
|
|
||||||
, move: function (e) {
|
, move: function (e) {
|
||||||
if (!this.shown) return
|
if (!this.shown) return
|
||||||
|
|
||||||
|
|||||||
@@ -62,7 +62,7 @@ $(function () {
|
|||||||
ok(btn.hasClass('active'), 'btn has class active')
|
ok(btn.hasClass('active'), 'btn has class active')
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should toggle active when btn children are clicked within btn-group", function () {
|
test("should toggle active when btn children are clicked within btn-group", function () {
|
||||||
var btngroup = $('<div class="btn-group" data-toggle="buttons-checkbox"></div>')
|
var btngroup = $('<div class="btn-group" data-toggle="buttons-checkbox"></div>')
|
||||||
, btn = $('<button class="btn">fat</button>')
|
, btn = $('<button class="btn">fat</button>')
|
||||||
, inner = $('<i></i>')
|
, inner = $('<i></i>')
|
||||||
@@ -74,4 +74,23 @@ $(function () {
|
|||||||
ok(btn.hasClass('active'), 'btn has class active')
|
ok(btn.hasClass('active'), 'btn has class active')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
test("should check for closest matching toggle", function () {
|
||||||
|
var group = $("<div data-toggle='buttons-radio'></div>")
|
||||||
|
, btn1 = $("<button class='btn active'></button>")
|
||||||
|
, btn2 = $("<button class='btn'></button>")
|
||||||
|
, wrap = $("<div></div>")
|
||||||
|
|
||||||
|
wrap.append(btn1, btn2)
|
||||||
|
|
||||||
|
group
|
||||||
|
.append(wrap)
|
||||||
|
.appendTo($('#qunit-fixture'))
|
||||||
|
|
||||||
|
ok(btn1.hasClass('active'), 'btn1 has active class')
|
||||||
|
ok(!btn2.hasClass('active'), 'btn2 does not have active class')
|
||||||
|
btn2.click()
|
||||||
|
ok(!btn1.hasClass('active'), 'btn1 does not have active class')
|
||||||
|
ok(btn2.hasClass('active'), 'btn2 has active class')
|
||||||
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -26,7 +26,7 @@ $(function () {
|
|||||||
})
|
})
|
||||||
|
|
||||||
test("should fire slide event with relatedTarget", function () {
|
test("should fire slide event with relatedTarget", function () {
|
||||||
var template = '<div id="myCarousel" class="carousel slide"><div class="carousel-inner"><div class="item active"><img src="assets/img/bootstrap-mdo-sfmoma-01.jpg" alt=""><div class="carousel-caption"><h4>{{_i}}First Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class="item"><img src="assets/img/bootstrap-mdo-sfmoma-02.jpg" alt=""><div class="carousel-caption"><h4>{{_i}}Second Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class="item"><img src="assets/img/bootstrap-mdo-sfmoma-03.jpg" alt=""><div class="carousel-caption"><h4>{{_i}}Third Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div></div><a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a><a class="right carousel-control" href="#myCarousel" data-slide="next">›</a></div>'
|
var template = '<div id="myCarousel" class="carousel slide"><div class="carousel-inner"><div class="item active"><img alt=""><div class="carousel-caption"><h4>{{_i}}First Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class="item"><img alt=""><div class="carousel-caption"><h4>{{_i}}Second Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div><div class="item"><img alt=""><div class="carousel-caption"><h4>{{_i}}Third Thumbnail label{{/i}}</h4><p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p></div></div></div><a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a><a class="right carousel-control" href="#myCarousel" data-slide="next">›</a></div>'
|
||||||
$.support.transition = false
|
$.support.transition = false
|
||||||
stop()
|
stop()
|
||||||
$(template)
|
$(template)
|
||||||
|
|||||||
@@ -61,6 +61,24 @@ $(function () {
|
|||||||
ok(dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')
|
ok(dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
test("should test if element has a # before assuming it's a selector", function () {
|
||||||
|
var dropdownHTML = '<ul class="tabs">'
|
||||||
|
+ '<li class="dropdown">'
|
||||||
|
+ '<a href="/foo/" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>'
|
||||||
|
+ '<ul class="dropdown-menu">'
|
||||||
|
+ '<li><a href="#">Secondary link</a></li>'
|
||||||
|
+ '<li><a href="#">Something else here</a></li>'
|
||||||
|
+ '<li class="divider"></li>'
|
||||||
|
+ '<li><a href="#">Another link</a></li>'
|
||||||
|
+ '</ul>'
|
||||||
|
+ '</li>'
|
||||||
|
+ '</ul>'
|
||||||
|
, dropdown = $(dropdownHTML).find('[data-toggle="dropdown"]').dropdown().click()
|
||||||
|
|
||||||
|
ok(dropdown.parent('.dropdown').hasClass('open'), 'open class added on click')
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
test("should remove open class if body clicked", function () {
|
test("should remove open class if body clicked", function () {
|
||||||
var dropdownHTML = '<ul class="tabs">'
|
var dropdownHTML = '<ul class="tabs">'
|
||||||
+ '<li class="dropdown">'
|
+ '<li class="dropdown">'
|
||||||
|
|||||||
@@ -94,14 +94,14 @@ $(function () {
|
|||||||
test("should destroy popover", function () {
|
test("should destroy popover", function () {
|
||||||
var popover = $('<div/>').popover({trigger: 'hover'}).on('click.foo', function(){})
|
var popover = $('<div/>').popover({trigger: 'hover'}).on('click.foo', function(){})
|
||||||
ok(popover.data('popover'), 'popover has data')
|
ok(popover.data('popover'), 'popover has data')
|
||||||
ok(popover.data('events').mouseover && popover.data('events').mouseout, 'popover has hover event')
|
ok($._data(popover[0], 'events').mouseover && $._data(popover[0], 'events').mouseout, 'popover has hover event')
|
||||||
ok(popover.data('events').click[0].namespace == 'foo', 'popover has extra click.foo event')
|
ok($._data(popover[0], 'events').click[0].namespace == 'foo', 'popover has extra click.foo event')
|
||||||
popover.popover('show')
|
popover.popover('show')
|
||||||
popover.popover('destroy')
|
popover.popover('destroy')
|
||||||
ok(!popover.hasClass('in'), 'popover is hidden')
|
ok(!popover.hasClass('in'), 'popover is hidden')
|
||||||
ok(!popover.data('popover'), 'popover does not have data')
|
ok(!popover.data('popover'), 'popover does not have data')
|
||||||
ok(popover.data('events').click[0].namespace == 'foo', 'popover still has click.foo')
|
ok($._data(popover[0],'events').click[0].namespace == 'foo', 'popover still has click.foo')
|
||||||
ok(!popover.data('events').mouseover && !popover.data('events').mouseout, 'popover does not have any events')
|
ok(!$._data(popover[0], 'events').mouseover && !$._data(popover[0], 'events').mouseout, 'popover does not have any events')
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -37,10 +37,11 @@ $(function () {
|
|||||||
tooltip.tooltip('hide')
|
tooltip.tooltip('hide')
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should always allow html entities", function () {
|
test("should allow html entities", function () {
|
||||||
$.support.transition = false
|
$.support.transition = false
|
||||||
var tooltip = $('<a href="#" rel="tooltip" title="<b>@fat</b>"></a>')
|
var tooltip = $('<a href="#" rel="tooltip" title="<b>@fat</b>"></a>')
|
||||||
.appendTo('#qunit-fixture')
|
.appendTo('#qunit-fixture')
|
||||||
|
.tooltip({html: true})
|
||||||
.tooltip('show')
|
.tooltip('show')
|
||||||
|
|
||||||
ok($('.tooltip b').length, 'b tag was inserted')
|
ok($('.tooltip b').length, 'b tag was inserted')
|
||||||
@@ -131,14 +132,14 @@ $(function () {
|
|||||||
test("should destroy tooltip", function () {
|
test("should destroy tooltip", function () {
|
||||||
var tooltip = $('<div/>').tooltip().on('click.foo', function(){})
|
var tooltip = $('<div/>').tooltip().on('click.foo', function(){})
|
||||||
ok(tooltip.data('tooltip'), 'tooltip has data')
|
ok(tooltip.data('tooltip'), 'tooltip has data')
|
||||||
ok(tooltip.data('events').mouseover && tooltip.data('events').mouseout, 'tooltip has hover event')
|
ok($._data(tooltip[0], 'events').mouseover && $._data(tooltip[0], 'events').mouseout, 'tooltip has hover event')
|
||||||
ok(tooltip.data('events').click[0].namespace == 'foo', 'tooltip has extra click.foo event')
|
ok($._data(tooltip[0], 'events').click[0].namespace == 'foo', 'tooltip has extra click.foo event')
|
||||||
tooltip.tooltip('show')
|
tooltip.tooltip('show')
|
||||||
tooltip.tooltip('destroy')
|
tooltip.tooltip('destroy')
|
||||||
ok(!tooltip.hasClass('in'), 'tooltip is hidden')
|
ok(!tooltip.hasClass('in'), 'tooltip is hidden')
|
||||||
ok(!tooltip.data('tooltip'), 'tooltip does not have data')
|
ok(!$._data(tooltip[0], 'tooltip'), 'tooltip does not have data')
|
||||||
ok(tooltip.data('events').click[0].namespace == 'foo', 'tooltip still has click.foo')
|
ok($._data(tooltip[0], 'events').click[0].namespace == 'foo', 'tooltip still has click.foo')
|
||||||
ok(!tooltip.data('events').mouseover && !tooltip.data('events').mouseout, 'tooltip does not have any events')
|
ok(!$._data(tooltip[0], 'events').mouseover && !$._data(tooltip[0], 'events').mouseout, 'tooltip does not have any events')
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
@@ -13,14 +13,9 @@ $(function () {
|
|||||||
test("should listen to an input", function () {
|
test("should listen to an input", function () {
|
||||||
var $input = $('<input />')
|
var $input = $('<input />')
|
||||||
$input.typeahead()
|
$input.typeahead()
|
||||||
ok($input.data('events').blur, 'has a blur event')
|
ok($._data($input[0], 'events').blur, 'has a blur event')
|
||||||
ok($input.data('events').keypress, 'has a keypress event')
|
ok($._data($input[0], 'events').keypress, 'has a keypress event')
|
||||||
ok($input.data('events').keyup, 'has a keyup event')
|
ok($._data($input[0], 'events').keyup, 'has a keyup event')
|
||||||
if ($.browser.webkit || $.browser.msie) {
|
|
||||||
ok($input.data('events').keydown, 'has a keydown event')
|
|
||||||
} else {
|
|
||||||
ok($input.data('events').keydown, 'does not have a keydown event')
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should create a menu", function () {
|
test("should create a menu", function () {
|
||||||
@@ -32,8 +27,8 @@ $(function () {
|
|||||||
var $input = $('<input />')
|
var $input = $('<input />')
|
||||||
, $menu = $input.typeahead().data('typeahead').$menu
|
, $menu = $input.typeahead().data('typeahead').$menu
|
||||||
|
|
||||||
ok($menu.data('events').mouseover, 'has a mouseover(pseudo: mouseenter)')
|
ok($._data($menu[0], 'events').mouseover, 'has a mouseover(pseudo: mouseenter)')
|
||||||
ok($menu.data('events').click, 'has a click')
|
ok($._data($menu[0], 'events').click, 'has a click')
|
||||||
})
|
})
|
||||||
|
|
||||||
test("should show menu when query entered", function () {
|
test("should show menu when query entered", function () {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*!
|
/*!
|
||||||
* Bootstrap v2.1.0
|
* Bootstrap v2.1.2
|
||||||
*
|
*
|
||||||
* Copyright 2012 Twitter, Inc
|
* Copyright 2012 Twitter, Inc
|
||||||
* Licensed under the Apache License v2.0
|
* Licensed under the Apache License v2.0
|
||||||
@@ -52,6 +52,7 @@
|
|||||||
|
|
||||||
// Components: Misc
|
// Components: Misc
|
||||||
@import "thumbnails.less";
|
@import "thumbnails.less";
|
||||||
|
@import "media.less";
|
||||||
@import "labels-badges.less";
|
@import "labels-badges.less";
|
||||||
@import "progress-bars.less";
|
@import "progress-bars.less";
|
||||||
@import "accordion.less";
|
@import "accordion.less";
|
||||||
|
|||||||
@@ -6,7 +6,10 @@
|
|||||||
// Make the div behave like a button
|
// Make the div behave like a button
|
||||||
.btn-group {
|
.btn-group {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
.ie7-inline-block();
|
||||||
font-size: 0; // remove as part 1 of font-size inline-block hack
|
font-size: 0; // remove as part 1 of font-size inline-block hack
|
||||||
|
vertical-align: middle; // match .btn alignment given font-size hack above
|
||||||
white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
|
white-space: nowrap; // prevent buttons from wrapping when in tight spaces (e.g., the table on the tests page)
|
||||||
.ie7-restore-left-whitespace();
|
.ie7-restore-left-whitespace();
|
||||||
}
|
}
|
||||||
@@ -21,10 +24,6 @@
|
|||||||
font-size: 0; // Hack to remove whitespace that results from using inline-block
|
font-size: 0; // Hack to remove whitespace that results from using inline-block
|
||||||
margin-top: @baseLineHeight / 2;
|
margin-top: @baseLineHeight / 2;
|
||||||
margin-bottom: @baseLineHeight / 2;
|
margin-bottom: @baseLineHeight / 2;
|
||||||
.btn-group {
|
|
||||||
display: inline-block;
|
|
||||||
.ie7-inline-block();
|
|
||||||
}
|
|
||||||
.btn + .btn,
|
.btn + .btn,
|
||||||
.btn-group + .btn,
|
.btn-group + .btn,
|
||||||
.btn + .btn-group {
|
.btn + .btn-group {
|
||||||
@@ -192,8 +191,7 @@
|
|||||||
}
|
}
|
||||||
// Upside down carets for .dropup
|
// Upside down carets for .dropup
|
||||||
.dropup .btn-large .caret {
|
.dropup .btn-large .caret {
|
||||||
border-bottom: 5px solid @black;
|
border-bottom-width: 5px;
|
||||||
border-top: 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
.btn {
|
.btn {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
.ie7-inline-block();
|
.ie7-inline-block();
|
||||||
padding: 4px 14px;
|
padding: 4px 12px;
|
||||||
margin-bottom: 0; // For input.btn
|
margin-bottom: 0; // For input.btn
|
||||||
font-size: @baseFontSize;
|
font-size: @baseFontSize;
|
||||||
line-height: @baseLineHeight;
|
line-height: @baseLineHeight;
|
||||||
@@ -73,33 +73,37 @@
|
|||||||
|
|
||||||
// Large
|
// Large
|
||||||
.btn-large {
|
.btn-large {
|
||||||
padding: 9px 14px;
|
padding: @paddingLarge;
|
||||||
font-size: @baseFontSize + 2px;
|
font-size: @fontSizeLarge;
|
||||||
line-height: normal;
|
.border-radius(@borderRadiusLarge);
|
||||||
.border-radius(5px);
|
|
||||||
}
|
}
|
||||||
.btn-large [class^="icon-"] {
|
.btn-large [class^="icon-"],
|
||||||
|
.btn-large [class*=" icon-"] {
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Small
|
// Small
|
||||||
.btn-small {
|
.btn-small {
|
||||||
padding: 3px 9px;
|
padding: @paddingSmall;
|
||||||
font-size: @baseFontSize - 2px;
|
font-size: @fontSizeSmall;
|
||||||
line-height: @baseLineHeight - 2px;
|
.border-radius(@borderRadiusSmall);
|
||||||
}
|
}
|
||||||
.btn-small [class^="icon-"] {
|
.btn-small [class^="icon-"],
|
||||||
|
.btn-small [class*=" icon-"] {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Mini
|
// Mini
|
||||||
.btn-mini {
|
.btn-mini {
|
||||||
padding: 2px 6px;
|
padding: @paddingMini;
|
||||||
font-size: @baseFontSize - 3px;
|
font-size: @fontSizeMini;
|
||||||
line-height: @baseLineHeight - 4px;
|
.border-radius(@borderRadiusSmall);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Block button
|
// Block button
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
.btn-block {
|
.btn-block {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@@ -107,10 +111,22 @@
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
.box-sizing(border-box);
|
.box-sizing(border-box);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Vertically space out multiple block buttons
|
||||||
.btn-block + .btn-block {
|
.btn-block + .btn-block {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Specificity overrides
|
||||||
|
input[type="submit"],
|
||||||
|
input[type="reset"],
|
||||||
|
input[type="button"] {
|
||||||
|
&.btn-block {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Alternate buttons
|
// Alternate buttons
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
@@ -193,7 +209,8 @@ input[type="submit"].btn {
|
|||||||
|
|
||||||
// Make a button look and behave like a link
|
// Make a button look and behave like a link
|
||||||
.btn-link,
|
.btn-link,
|
||||||
.btn-link:active {
|
.btn-link:active,
|
||||||
|
.btn-link[disabled] {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
@@ -209,3 +226,7 @@ input[type="submit"].btn {
|
|||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
}
|
}
|
||||||
|
.btn-link[disabled]:hover {
|
||||||
|
color: @grayDark;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
overflow: visible \9;
|
|
||||||
.transition(height .35s ease);
|
.transition(height .35s ease);
|
||||||
&.in {
|
&.in {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|||||||
@@ -148,7 +148,7 @@
|
|||||||
.caret {
|
.caret {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
border-bottom: 4px solid @black;
|
border-bottom: 4px solid @black;
|
||||||
content: "\2191";
|
content: "";
|
||||||
}
|
}
|
||||||
// Different positioning for bottom up menu
|
// Different positioning for bottom up menu
|
||||||
.dropdown-menu {
|
.dropdown-menu {
|
||||||
@@ -163,6 +163,8 @@
|
|||||||
.dropdown-submenu {
|
.dropdown-submenu {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Default dropdowns
|
||||||
.dropdown-submenu > .dropdown-menu {
|
.dropdown-submenu > .dropdown-menu {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 100%;
|
left: 100%;
|
||||||
@@ -172,10 +174,22 @@
|
|||||||
-moz-border-radius: 0 6px 6px 6px;
|
-moz-border-radius: 0 6px 6px 6px;
|
||||||
border-radius: 0 6px 6px 6px;
|
border-radius: 0 6px 6px 6px;
|
||||||
}
|
}
|
||||||
.dropdown-submenu:hover .dropdown-menu {
|
.dropdown-submenu:hover > .dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Dropups
|
||||||
|
.dropup .dropdown-submenu > .dropdown-menu {
|
||||||
|
top: auto;
|
||||||
|
bottom: 0;
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: -2px;
|
||||||
|
-webkit-border-radius: 5px 5px 5px 0;
|
||||||
|
-moz-border-radius: 5px 5px 5px 0;
|
||||||
|
border-radius: 5px 5px 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Caret to indicate there is a submenu
|
||||||
.dropdown-submenu > a:after {
|
.dropdown-submenu > a:after {
|
||||||
display: block;
|
display: block;
|
||||||
content: " ";
|
content: " ";
|
||||||
|
|||||||
@@ -86,13 +86,15 @@ input[type="color"],
|
|||||||
line-height: @baseLineHeight;
|
line-height: @baseLineHeight;
|
||||||
color: @gray;
|
color: @gray;
|
||||||
.border-radius(@inputBorderRadius);
|
.border-radius(@inputBorderRadius);
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reset appearance properties for textual inputs and textarea
|
// Reset appearance properties for textual inputs and textarea
|
||||||
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
// Declare width for legacy (can't be on input[type=*] selectors or it's too specific)
|
||||||
input,
|
input,
|
||||||
textarea {
|
textarea,
|
||||||
width: 210px;
|
.uneditable-input {
|
||||||
|
width: 206px; // plus 12px padding and 2px border
|
||||||
}
|
}
|
||||||
// Reset height since textareas have rows
|
// Reset height since textareas have rows
|
||||||
textarea {
|
textarea {
|
||||||
@@ -153,15 +155,15 @@ input[type="checkbox"] {
|
|||||||
// Set the height of select and file controls to match text inputs
|
// Set the height of select and file controls to match text inputs
|
||||||
select,
|
select,
|
||||||
input[type="file"] {
|
input[type="file"] {
|
||||||
height: 30px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
|
height: @inputHeight; /* In IE7, the height of the select element cannot be changed by height, only font-size */
|
||||||
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
|
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
|
||||||
line-height: 30px;
|
line-height: @inputHeight;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make select elements obey height by applying a border
|
// Make select elements obey height by applying a border
|
||||||
select {
|
select {
|
||||||
width: 220px; // default input width + 10px of padding that doesn't get applied
|
width: 220px; // default input width + 10px of padding that doesn't get applied
|
||||||
border: 1px solid #bbb;
|
border: 1px solid @inputBorder;
|
||||||
background-color: @inputBackground; // Chrome on Linux and Mobile Safari need background-color
|
background-color: @inputBackground; // Chrome on Linux and Mobile Safari need background-color
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -209,7 +211,7 @@ input[type="checkbox"]:focus {
|
|||||||
// Placeholder
|
// Placeholder
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
// Placeholder text gets special styles; can't be bundled together though for some reason
|
// Placeholder text gets special styles because when browsers invalidate entire lines if it doesn't understand a selector
|
||||||
input,
|
input,
|
||||||
textarea {
|
textarea {
|
||||||
.placeholder();
|
.placeholder();
|
||||||
@@ -222,13 +224,13 @@ textarea {
|
|||||||
// Indent the labels to position radios/checkboxes as hanging
|
// Indent the labels to position radios/checkboxes as hanging
|
||||||
.radio,
|
.radio,
|
||||||
.checkbox {
|
.checkbox {
|
||||||
min-height: 18px; // clear the floating input if there is no label text
|
min-height: @baseLineHeight; // clear the floating input if there is no label text
|
||||||
padding-left: 18px;
|
padding-left: 20px;
|
||||||
}
|
}
|
||||||
.radio input[type="radio"],
|
.radio input[type="radio"],
|
||||||
.checkbox input[type="checkbox"] {
|
.checkbox input[type="checkbox"] {
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: -18px;
|
margin-left: -20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Move the options list down to align with labels
|
// Move the options list down to align with labels
|
||||||
@@ -303,8 +305,12 @@ textarea[class*="span"],
|
|||||||
.controls-row {
|
.controls-row {
|
||||||
.clearfix(); // Clear the float from controls
|
.clearfix(); // Clear the float from controls
|
||||||
}
|
}
|
||||||
.controls-row [class*="span"] {
|
|
||||||
float: left; // Float to collapse white-space for proper grid alignment
|
// Float to collapse white-space for proper grid alignment
|
||||||
|
.controls-row [class*="span"],
|
||||||
|
// Redeclare the fluid grid collapse since we undo the float for inputs
|
||||||
|
.row-fluid .controls-row [class*="span"] {
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -349,6 +355,10 @@ input[type="checkbox"][readonly] {
|
|||||||
.control-group.success {
|
.control-group.success {
|
||||||
.formFieldState(@successText, @successText, @successBackground);
|
.formFieldState(@successText, @successText, @successBackground);
|
||||||
}
|
}
|
||||||
|
// Success
|
||||||
|
.control-group.info {
|
||||||
|
.formFieldState(@infoText, @infoText, @infoBackground);
|
||||||
|
}
|
||||||
|
|
||||||
// HTML5 invalid states
|
// HTML5 invalid states
|
||||||
// Shares styles with the .control-group.error above
|
// Shares styles with the .control-group.error above
|
||||||
@@ -359,7 +369,8 @@ select:focus:required:invalid {
|
|||||||
border-color: #ee5f5b;
|
border-color: #ee5f5b;
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: darken(#ee5f5b, 10%);
|
border-color: darken(#ee5f5b, 10%);
|
||||||
.box-shadow(0 0 6px lighten(#ee5f5b, 20%));
|
@shadow: 0 0 6px lighten(#ee5f5b, 20%);
|
||||||
|
.box-shadow(@shadow);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -408,16 +419,23 @@ select:focus:required:invalid {
|
|||||||
.input-append,
|
.input-append,
|
||||||
.input-prepend {
|
.input-prepend {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-size: 0;
|
font-size: 0; // white space collapse hack
|
||||||
white-space: nowrap; // Prevent span and input from separating
|
white-space: nowrap; // Prevent span and input from separating
|
||||||
|
|
||||||
|
// Reset the white space collapse hack
|
||||||
|
input,
|
||||||
|
select,
|
||||||
|
.uneditable-input,
|
||||||
|
.dropdown-menu {
|
||||||
|
font-size: @baseFontSize;
|
||||||
|
}
|
||||||
|
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
.uneditable-input {
|
.uneditable-input {
|
||||||
position: relative; // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness
|
position: relative; // placed here by default so that on :focus we can place the input above the .add-on for full border and box-shadow goodness
|
||||||
margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms
|
margin-bottom: 0; // prevent bottom margin from screwing up alignment in stacked forms
|
||||||
*margin-left: 0;
|
*margin-left: 0;
|
||||||
font-size: @baseFontSize;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
||||||
// Make input on top when focused so blue border and shadow always show
|
// Make input on top when focused so blue border and shadow always show
|
||||||
@@ -441,7 +459,6 @@ select:focus:required:invalid {
|
|||||||
}
|
}
|
||||||
.add-on,
|
.add-on,
|
||||||
.btn {
|
.btn {
|
||||||
margin-left: -1px;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
.border-radius(0);
|
.border-radius(0);
|
||||||
}
|
}
|
||||||
@@ -450,6 +467,7 @@ select:focus:required:invalid {
|
|||||||
border-color: @green;
|
border-color: @green;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-prepend {
|
.input-prepend {
|
||||||
.add-on,
|
.add-on,
|
||||||
.btn {
|
.btn {
|
||||||
@@ -457,26 +475,40 @@ select:focus:required:invalid {
|
|||||||
}
|
}
|
||||||
.add-on:first-child,
|
.add-on:first-child,
|
||||||
.btn:first-child {
|
.btn:first-child {
|
||||||
|
// FYI, `.btn:first-child` accounts for a button group that's prepended
|
||||||
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
|
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-append {
|
.input-append {
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
.uneditable-input {
|
.uneditable-input {
|
||||||
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
|
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
|
||||||
|
+ .btn-group .btn {
|
||||||
|
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.add-on,
|
||||||
|
.btn,
|
||||||
|
.btn-group {
|
||||||
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
.add-on:last-child,
|
.add-on:last-child,
|
||||||
.btn:last-child {
|
.btn:last-child {
|
||||||
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Remove all border-radius for inputs with both prepend and append
|
// Remove all border-radius for inputs with both prepend and append
|
||||||
.input-prepend.input-append {
|
.input-prepend.input-append {
|
||||||
input,
|
input,
|
||||||
select,
|
select,
|
||||||
.uneditable-input {
|
.uneditable-input {
|
||||||
.border-radius(0);
|
.border-radius(0);
|
||||||
|
+ .btn-group .btn {
|
||||||
|
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.add-on:first-child,
|
.add-on:first-child,
|
||||||
.btn:first-child {
|
.btn:first-child {
|
||||||
@@ -488,10 +520,14 @@ select:focus:required:invalid {
|
|||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
.border-radius(0 @inputBorderRadius @inputBorderRadius 0);
|
||||||
}
|
}
|
||||||
|
.btn-group:first-child {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// SEARCH FORM
|
// SEARCH FORM
|
||||||
// -----------
|
// -----------
|
||||||
|
|
||||||
@@ -510,16 +546,16 @@ input.search-query {
|
|||||||
.border-radius(0); // Override due to specificity
|
.border-radius(0); // Override due to specificity
|
||||||
}
|
}
|
||||||
.form-search .input-append .search-query {
|
.form-search .input-append .search-query {
|
||||||
.border-radius(14px 0 0 14px)
|
.border-radius(14px 0 0 14px);
|
||||||
}
|
}
|
||||||
.form-search .input-append .btn {
|
.form-search .input-append .btn {
|
||||||
.border-radius(0 14px 14px 0)
|
.border-radius(0 14px 14px 0);
|
||||||
}
|
}
|
||||||
.form-search .input-prepend .search-query {
|
.form-search .input-prepend .search-query {
|
||||||
.border-radius(0 14px 14px 0)
|
.border-radius(0 14px 14px 0);
|
||||||
}
|
}
|
||||||
.form-search .input-prepend .btn {
|
.form-search .input-prepend .btn {
|
||||||
.border-radius(14px 0 0 14px)
|
.border-radius(14px 0 0 14px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -607,7 +643,7 @@ legend + .control-group {
|
|||||||
// Float the labels left
|
// Float the labels left
|
||||||
.control-label {
|
.control-label {
|
||||||
float: left;
|
float: left;
|
||||||
width: 140px;
|
width: @horizontalComponentOffset - 20;
|
||||||
padding-top: 5px;
|
padding-top: 5px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
@@ -617,19 +653,26 @@ legend + .control-group {
|
|||||||
// don't inherit the margin of the parent, in this case .controls
|
// don't inherit the margin of the parent, in this case .controls
|
||||||
*display: inline-block;
|
*display: inline-block;
|
||||||
*padding-left: 20px;
|
*padding-left: 20px;
|
||||||
margin-left: 160px;
|
margin-left: @horizontalComponentOffset;
|
||||||
*margin-left: 0;
|
*margin-left: 0;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
*padding-left: 160px;
|
*padding-left: @horizontalComponentOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Remove bottom margin on block level help text since that's accounted for on .control-group
|
// Remove bottom margin on block level help text since that's accounted for on .control-group
|
||||||
.help-block {
|
.help-block {
|
||||||
margin-top: @baseLineHeight / 2;
|
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
// And apply it only to .help-block instances that follow a form control
|
||||||
|
input,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
+ .help-block {
|
||||||
|
margin-top: @baseLineHeight / 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
// Move over buttons in .form-actions to align with .controls
|
// Move over buttons in .form-actions to align with .controls
|
||||||
.form-actions {
|
.form-actions {
|
||||||
padding-left: 160px;
|
padding-left: @horizontalComponentOffset;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,55 @@
|
|||||||
|
// Media objects
|
||||||
|
// Source: http://stubbornella.org/content/?p=497
|
||||||
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
// Common styles
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Clear the floats
|
||||||
|
.media,
|
||||||
|
.media-body {
|
||||||
|
overflow: hidden;
|
||||||
|
*overflow: visible;
|
||||||
|
zoom: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Proper spacing between instances of .media
|
||||||
|
.media,
|
||||||
|
.media .media {
|
||||||
|
margin-top: 15px;
|
||||||
|
}
|
||||||
|
.media:first-child {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// For images and videos, set to block
|
||||||
|
.media-object {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Reset margins on headings for tighter default spacing
|
||||||
|
.media-heading {
|
||||||
|
margin: 0 0 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Media image alignment
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
.media .pull-left {
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
.media .pull-right {
|
||||||
|
margin-left: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Media list variation
|
||||||
|
// -------------------------
|
||||||
|
|
||||||
|
// Undo default ul/ol styles
|
||||||
|
.media-list {
|
||||||
|
margin-left: 0;
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
.input-block-level {
|
.input-block-level {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 30px; // Make inputs at least the height of their button counterpart
|
min-height: @inputHeight; // Make inputs at least the height of their button counterpart (base line-height + padding + border)
|
||||||
.box-sizing(border-box); // Makes inputs behave like true block-level elements
|
.box-sizing(border-box); // Makes inputs behave like true block-level elements
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -175,14 +175,16 @@
|
|||||||
select,
|
select,
|
||||||
textarea {
|
textarea {
|
||||||
color: @textColor;
|
color: @textColor;
|
||||||
|
}
|
||||||
|
input,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
border-color: @borderColor;
|
border-color: @borderColor;
|
||||||
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
.box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work
|
||||||
&:focus {
|
&:focus {
|
||||||
border-color: darken(@borderColor, 10%);
|
border-color: darken(@borderColor, 10%);
|
||||||
// Write out in full since the lighten() function isn't easily escaped
|
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
||||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
.box-shadow(@shadow);
|
||||||
-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
|
||||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@borderColor, 20%);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Give a small background color for input-prepend/-append
|
// Give a small background color for input-prepend/-append
|
||||||
@@ -260,6 +262,12 @@
|
|||||||
-o-transition: @transition;
|
-o-transition: @transition;
|
||||||
transition: @transition;
|
transition: @transition;
|
||||||
}
|
}
|
||||||
|
.transition-delay(@transition-delay) {
|
||||||
|
-webkit-transition-delay: @transition-delay;
|
||||||
|
-moz-transition-delay: @transition-delay;
|
||||||
|
-o-transition-delay: @transition-delay;
|
||||||
|
transition-delay: @transition-delay;
|
||||||
|
}
|
||||||
|
|
||||||
// Transformations
|
// Transformations
|
||||||
.rotate(@degrees) {
|
.rotate(@degrees) {
|
||||||
@@ -286,7 +294,7 @@
|
|||||||
.skew(@x, @y) {
|
.skew(@x, @y) {
|
||||||
-webkit-transform: skew(@x, @y);
|
-webkit-transform: skew(@x, @y);
|
||||||
-moz-transform: skew(@x, @y);
|
-moz-transform: skew(@x, @y);
|
||||||
-ms-transform: skew(@x, @y);
|
-ms-transform: skewX(@x) skewY(@y); // See https://github.com/twitter/bootstrap/issues/4885
|
||||||
-o-transform: skew(@x, @y);
|
-o-transform: skew(@x, @y);
|
||||||
transform: skew(@x, @y);
|
transform: skew(@x, @y);
|
||||||
}
|
}
|
||||||
@@ -316,7 +324,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Background sizing
|
// Background sizing
|
||||||
.background-size(@size){
|
.background-size(@size) {
|
||||||
-webkit-background-size: @size;
|
-webkit-background-size: @size;
|
||||||
-moz-background-size: @size;
|
-moz-background-size: @size;
|
||||||
-o-background-size: @size;
|
-o-background-size: @size;
|
||||||
@@ -432,13 +440,13 @@
|
|||||||
background-color: mix(@midColor, @endColor, 80%);
|
background-color: mix(@midColor, @endColor, 80%);
|
||||||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(@startColor), color-stop(@colorStop, @midColor), to(@endColor));
|
||||||
background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
background-image: -webkit-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
||||||
background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop*100%, @endColor);
|
background-image: -moz-linear-gradient(top, @startColor, @midColor @colorStop, @endColor);
|
||||||
background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
background-image: -o-linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
||||||
background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
background-image: linear-gradient(@startColor, @midColor @colorStop, @endColor);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
|
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down, gets no color-stop at all for proper fallback
|
||||||
}
|
}
|
||||||
.radial(@innerColor: #555, @outerColor: #333) {
|
.radial(@innerColor: #555, @outerColor: #333) {
|
||||||
background-color: @outerColor;
|
background-color: @outerColor;
|
||||||
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
|
background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(@innerColor), to(@outerColor));
|
||||||
background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
|
background-image: -webkit-radial-gradient(circle, @innerColor, @outerColor);
|
||||||
@@ -446,7 +454,7 @@
|
|||||||
background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
|
background-image: -o-radial-gradient(circle, @innerColor, @outerColor);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.striped(@color, @angle: 45deg) {
|
.striped(@color: #555, @angle: 45deg) {
|
||||||
background-color: @color;
|
background-color: @color;
|
||||||
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
|
background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(255,255,255,.15)), color-stop(.25, transparent), color-stop(.5, transparent), color-stop(.5, rgba(255,255,255,.15)), color-stop(.75, rgba(255,255,255,.15)), color-stop(.75, transparent), to(transparent));
|
||||||
background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
background-image: -webkit-linear-gradient(@angle, rgba(255,255,255,.15) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.15) 75%, transparent 75%, transparent);
|
||||||
@@ -575,6 +583,7 @@
|
|||||||
|
|
||||||
[class*="span"] {
|
[class*="span"] {
|
||||||
float: left;
|
float: left;
|
||||||
|
min-height: 1px; // prevent collapsing columns
|
||||||
margin-left: @gridGutterWidth;
|
margin-left: @gridGutterWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -633,6 +642,11 @@
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Space grid-sized controls properly if multiple per line
|
||||||
|
.controls-row [class*="span"] + [class*="span"] {
|
||||||
|
margin-left: @fluidGridGutterWidth;
|
||||||
|
}
|
||||||
|
|
||||||
// generate .spanX and .offsetX
|
// generate .spanX and .offsetX
|
||||||
.spanX (@gridColumns);
|
.spanX (@gridColumns);
|
||||||
.offsetX (@gridColumns);
|
.offsetX (@gridColumns);
|
||||||
|
|||||||
@@ -2,15 +2,6 @@
|
|||||||
// Modals
|
// Modals
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
// Recalculate z-index where appropriate
|
|
||||||
.modal-open {
|
|
||||||
.dropdown-menu { z-index: @zindexDropdown + @zindexModal; }
|
|
||||||
.dropdown.open { *z-index: @zindexDropdown + @zindexModal; }
|
|
||||||
.popover { z-index: @zindexPopover + @zindexModal; }
|
|
||||||
.tooltip { z-index: @zindexTooltip + @zindexModal; }
|
|
||||||
}
|
|
||||||
|
|
||||||
// Background
|
// Background
|
||||||
.modal-backdrop {
|
.modal-backdrop {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@@ -35,7 +26,6 @@
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
z-index: @zindexModal;
|
z-index: @zindexModal;
|
||||||
overflow: auto;
|
|
||||||
width: 560px;
|
width: 560px;
|
||||||
margin: -250px 0 0 -280px;
|
margin: -250px 0 0 -280px;
|
||||||
background-color: @white;
|
background-color: @white;
|
||||||
@@ -94,4 +84,8 @@
|
|||||||
.btn-group .btn + .btn {
|
.btn-group .btn + .btn {
|
||||||
margin-left: -1px;
|
margin-left: -1px;
|
||||||
}
|
}
|
||||||
|
// and override it for block buttons as well
|
||||||
|
.btn-block + .btn-block {
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,6 +27,9 @@
|
|||||||
border: 1px solid @navbarBorder;
|
border: 1px solid @navbarBorder;
|
||||||
.border-radius(4px);
|
.border-radius(4px);
|
||||||
.box-shadow(0 1px 4px rgba(0,0,0,.065));
|
.box-shadow(0 1px 4px rgba(0,0,0,.065));
|
||||||
|
|
||||||
|
// Prevent floats from breaking the navbar
|
||||||
|
.clearfix();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set width to auto for default container
|
// Set width to auto for default container
|
||||||
@@ -38,6 +41,7 @@
|
|||||||
// Override the default collapsed state
|
// Override the default collapsed state
|
||||||
.nav-collapse.collapse {
|
.nav-collapse.collapse {
|
||||||
height: auto;
|
height: auto;
|
||||||
|
overflow: visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -87,13 +91,16 @@
|
|||||||
// -------------------------
|
// -------------------------
|
||||||
.navbar .btn,
|
.navbar .btn,
|
||||||
.navbar .btn-group {
|
.navbar .btn-group {
|
||||||
.navbarVerticalAlign(28px); // Vertically center in navbar
|
.navbarVerticalAlign(30px); // Vertically center in navbar
|
||||||
}
|
}
|
||||||
.navbar .btn-group .btn {
|
.navbar .btn-group .btn,
|
||||||
margin: 0; // then undo the margin here so we don't accidentally double it
|
.navbar .input-prepend .btn,
|
||||||
|
.navbar .input-append .btn {
|
||||||
|
margin-top: 0; // then undo the margin here so we don't accidentally double it
|
||||||
}
|
}
|
||||||
|
|
||||||
// Navbar forms
|
// Navbar forms
|
||||||
|
// -------------------------
|
||||||
.navbar-form {
|
.navbar-form {
|
||||||
margin-bottom: 0; // remove default bottom margin
|
margin-bottom: 0; // remove default bottom margin
|
||||||
.clearfix();
|
.clearfix();
|
||||||
@@ -125,6 +132,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Navbar search
|
// Navbar search
|
||||||
|
// -------------------------
|
||||||
.navbar-search {
|
.navbar-search {
|
||||||
position: relative;
|
position: relative;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -145,7 +153,6 @@
|
|||||||
|
|
||||||
.navbar-static-top {
|
.navbar-static-top {
|
||||||
position: static;
|
position: static;
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 0; // remove 18px margin for default navbar
|
margin-bottom: 0; // remove 18px margin for default navbar
|
||||||
.navbar-inner {
|
.navbar-inner {
|
||||||
.border-radius(0);
|
.border-radius(0);
|
||||||
@@ -166,12 +173,12 @@
|
|||||||
z-index: @zindexFixedNavbar;
|
z-index: @zindexFixedNavbar;
|
||||||
margin-bottom: 0; // remove 18px margin for default navbar
|
margin-bottom: 0; // remove 18px margin for default navbar
|
||||||
}
|
}
|
||||||
.navbar-fixed-top,
|
.navbar-fixed-top .navbar-inner,
|
||||||
.navbar-fixed-bottom,
|
.navbar-static-top .navbar-inner {
|
||||||
.navbar-static-top {
|
border-width: 0 0 1px;
|
||||||
.navbar-inner {
|
}
|
||||||
border: 0;
|
.navbar-fixed-bottom .navbar-inner {
|
||||||
}
|
border-width: 1px 0 0;
|
||||||
}
|
}
|
||||||
.navbar-fixed-top .navbar-inner,
|
.navbar-fixed-top .navbar-inner,
|
||||||
.navbar-fixed-bottom .navbar-inner {
|
.navbar-fixed-bottom .navbar-inner {
|
||||||
@@ -221,6 +228,7 @@
|
|||||||
}
|
}
|
||||||
.navbar .nav.pull-right {
|
.navbar .nav.pull-right {
|
||||||
float: right; // redeclare due to specificity
|
float: right; // redeclare due to specificity
|
||||||
|
margin-right: 0; // remove margin on float right nav
|
||||||
}
|
}
|
||||||
.navbar .nav > li {
|
.navbar .nav > li {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -254,9 +262,7 @@
|
|||||||
color: @navbarLinkColorActive;
|
color: @navbarLinkColorActive;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: @navbarLinkBackgroundActive;
|
background-color: @navbarLinkBackgroundActive;
|
||||||
-webkit-box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
|
.box-shadow(inset 0 3px 8px rgba(0,0,0,.125));
|
||||||
-moz-box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
|
|
||||||
box-shadow: inset 0 3px 8px rgba(0,0,0,.125);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Navbar button for toggling navbar items in responsive layouts
|
// Navbar button for toggling navbar items in responsive layouts
|
||||||
|
|||||||
@@ -123,7 +123,7 @@
|
|||||||
.nav-tabs > .active > a,
|
.nav-tabs > .active > a,
|
||||||
.nav-tabs > .active > a:hover {
|
.nav-tabs > .active > a:hover {
|
||||||
color: @gray;
|
color: @gray;
|
||||||
background-color: @white;
|
background-color: @bodyBackground;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
border-bottom-color: transparent;
|
border-bottom-color: transparent;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|||||||
@@ -12,25 +12,29 @@
|
|||||||
.pager li {
|
.pager li {
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
.pager a {
|
.pager li > a,
|
||||||
|
.pager li > span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 5px 14px;
|
padding: 5px 14px;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
.border-radius(15px);
|
.border-radius(15px);
|
||||||
}
|
}
|
||||||
.pager a:hover {
|
.pager li > a:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
}
|
}
|
||||||
.pager .next a {
|
.pager .next > a,
|
||||||
|
.pager .next > span {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
.pager .previous a {
|
.pager .previous > a,
|
||||||
|
.pager .previous > span {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
.pager .disabled a,
|
.pager .disabled > a,
|
||||||
.pager .disabled a:hover {
|
.pager .disabled > a:hover,
|
||||||
|
.pager .disabled > span {
|
||||||
color: @grayLight;
|
color: @grayLight;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|||||||