Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3341 commits
Select commit Hold shift + click to select a range
498a28b
dat new kippt hotness
mdo Sep 26, 2012
24e277b
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
mdo Sep 26, 2012
474471b
bind data-api events to document instead of body to allow body replac…
protocarl Sep 27, 2012
e9a648c
Fixed bug in dropdown toggle where menu would only clear on the first…
erlendfh Sep 27, 2012
ecbb0ed
Making modal work with max width 767px - fixes #4860
andriijas Sep 27, 2012
0944e03
Fix for #4550
artiz Sep 27, 2012
e1f6458
don't wait for ready when binding events to document
protocarl Sep 27, 2012
8ecffcb
fixes #5334: html snippet comments
mdo Sep 28, 2012
f8374a7
clean up emphasis docs text
mdo Sep 28, 2012
57f8dbe
fixes #5360: typo in tables docs
mdo Oct 1, 2012
a2690c6
add link to examples on index page; add back narrow marketing page an…
mdo Oct 1, 2012
82715ae
Fix for #5362
Sinetheta Oct 1, 2012
a4a6244
add sticky footer example per martin bean's suggestion, using the imp…
mdo Oct 1, 2012
d49dd76
Add missing icon class definition for buttons.less
Oct 1, 2012
40a8a93
Merge branch 'amid2887-master' into 2.1.2-wip
mdo Oct 1, 2012
da43c7c
run make after merge
mdo Oct 1, 2012
46764a7
Add missing icon class definition for navs.less
Oct 1, 2012
c77d426
Merge pull request #5369 from amid2887/2.1.2-wip
mdo Oct 1, 2012
3218181
run make on previous merge
mdo Oct 1, 2012
085d6d1
fixes #5055: wrap legend and form elements in fieldset so IE8 styles …
mdo Oct 1, 2012
239ce24
fixes #5188: add .google-maps class to reset responsive images on cas…
mdo Oct 1, 2012
a90334e
fix docs sidenav width for ie8-9
mdo Oct 1, 2012
c6c1ada
clarify tables support of responsive utility classes, of which there …
mdo Oct 1, 2012
5035592
fixes #5193 manually: checkbox and radio padding in .controls-row
mdo Oct 1, 2012
bc4f5d5
fixes #5275: inline-block badges and labels, then fix padding accordi…
mdo Oct 1, 2012
f8ac403
fixes #5123: scope table grid classes to td and th elements only, plu…
mdo Oct 1, 2012
fd1e9b1
fix copy on modal popover button doodad
mdo Oct 1, 2012
86d5ed6
fixes #5377: change selectors for navbar collapse to be unique so onl…
mdo Oct 1, 2012
d36e372
fixes #5319: add backface-visibility for webkit skewing
mdo Oct 1, 2012
5cf7c80
Merge branch '2.1.2-wip-modal-responsivefix' of https://github.com/an…
mdo Oct 1, 2012
7763cab
Merge branch '2.1.2-wip' of https://github.com/advancedrei/bootstrap …
mdo Oct 1, 2012
1b81445
improve dropdown submenu docs; add docs for left submenu; remove all …
mdo Oct 1, 2012
7c9597f
remove double border effect: instead of inset shadow and border on fi…
mdo Oct 2, 2012
b892a37
Update js/bootstrap-tooltip.js
frntz Oct 2, 2012
1bd4723
fixes #5392: hover on submenu should maintain white icons for active …
mdo Oct 2, 2012
a236902
fixes #5352: update docs messaging for disable nav links
mdo Oct 2, 2012
630a88d
Merge pull request #5281 from GotenXiao/pagination-active-background
mdo Oct 2, 2012
e73cd15
copy and style changes to improve docs rendering on mobile devices
mdo Oct 3, 2012
dd8b745
use border-radius vars where possible
mdo Oct 3, 2012
11ee163
fixes #5257: add data-original-title attribute selector to abbr element
mdo Oct 3, 2012
3726ce2
finish off scoping of grid sizing to table elements
mdo Oct 3, 2012
7d649c9
fixes #5430: scope link styles in .dropdown-menu to .dropdown-menu li…
mdo Oct 5, 2012
d76c305
remove 'at twitter' part of readme
mdo Oct 6, 2012
6203535
Changing title of docs pages to simply say 'Bootstrap' like the docs …
mdo Oct 8, 2012
e4f5229
fixes #5416: use correct variable for inverse navbar responsive links
mdo Oct 8, 2012
7e534ce
fixes #5443: reset background gradient on disabled dropdown links
mdo Oct 8, 2012
ec8394c
adding another template for same-width nav links using 'display: tabl…
mdo Oct 9, 2012
4702e75
comments in template
mdo Oct 9, 2012
48a8dd2
Added test to fix for #5362
Sinetheta Oct 9, 2012
b18c009
fixes #5473: use baselineheight var for input bottom margin
mdo Oct 10, 2012
5af5c2e
fixes #: remove double background color on dropdown links
mdo Oct 10, 2012
31007c0
fixes #5478: remove double background color on dropdown links
mdo Oct 10, 2012
df9a1c2
Merge branch '2.1.2-wip' of https://github.com/twitter/bootstrap into…
mdo Oct 10, 2012
fa77879
compress images and add new carousel example for .net magazine article
mdo Oct 11, 2012
d19ca23
Update package.json
jblotus Oct 12, 2012
ed5c599
Fixing typo in docs.
bradly Oct 14, 2012
fda641f
Updating README link about Less compilation.
bradly Oct 14, 2012
6b017b9
fixed reference to this.tip() so it works in delegate events
Oct 15, 2012
0048446
improve spacing in carousel example
mdo Oct 15, 2012
432eaff
Fixed copy/paste caused typo
budnik Oct 15, 2012
cd55963
fixed test
budnik Oct 16, 2012
ae0ba06
set spesific assertions count for test
budnik Oct 16, 2012
e24b46b
fixes #5336: reorder focus() call to avoid scrolling
mfansler Oct 16, 2012
463eae2
clarify js docs individual or compiled section
mdo Oct 16, 2012
bf78333
add in latest carousel example, reorg examples on getting started
mdo Oct 16, 2012
78f7ad9
fixes #5542: move '.hero-unit p' font-styles to '.hero-unit' so they …
mdo Oct 17, 2012
0ac50d2
fixes #5519: hellip in modal code
mdo Oct 17, 2012
57eb2a8
more hellip on modals
mdo Oct 17, 2012
709870a
fixes #5496: use correct var for dropdown active link text
mdo Oct 17, 2012
b06724a
Merge pull request #5508 from bradly/fix-readme-link
mdo Oct 17, 2012
e0a007b
Merge pull request #5507 from bradly/2.1.2-wip
mdo Oct 17, 2012
3074737
Merge pull request #5549 from mfansler/2.1.2-wip
fat Oct 18, 2012
97bf02d
Merge pull request #5531 from dmitriybudnik/carousel-js-typo-fix
fat Oct 18, 2012
0a3e034
Merge pull request #5524 from martinstein/fix-tooltip-delegate-click
fat Oct 18, 2012
ac6625d
add updater function and rebuild
fat Oct 18, 2012
8e6697f
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
fat Oct 18, 2012
21f29a7
Merge pull request #5389 from frntz/2.1.2-wip
fat Oct 18, 2012
edc3eee
fix carousel event
fat Oct 18, 2012
a2fc014
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
fat Oct 18, 2012
24b5e6c
Merge pull request #5366 from Sinetheta/2.1.2-wip
fat Oct 18, 2012
7426ced
Merge pull request #5323 from artiz/master
fat Oct 18, 2012
280d4ae
rebuild
fat Oct 18, 2012
d6ac499
Merge pull request #5309 from erlendfh/dropdown-bugfix
fat Oct 18, 2012
7f3b94c
Merge branch 'delegate-api-to-document' of git://github.com/badcarl/b…
fat Oct 18, 2012
0b9d4e7
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
fat Oct 18, 2012
4504654
when static, refocus on click
fat Oct 18, 2012
ba2a99e
don't lookup typeahead when shift alt or ctrl are pushed
fat Oct 18, 2012
c33169a
fixes #5572: document .input-block-level
mdo Oct 18, 2012
f620d95
Merge 'twitter/v2.1.1'
aredridel Oct 22, 2012
233e050
Adding .inline for ul and ol
andriijas Oct 26, 2012
c0c66a3
Merge remote-tracking branch 'twitter/bootstrap/master'
aredridel Oct 26, 2012
f0cf44a
Fix include path
aredridel Oct 26, 2012
77928e4
Make grid system work
aredridel Oct 26, 2012
41ad16f
v2.2.0 instead of v2.1.2
mdo Oct 30, 2012
81c3c1c
add media.less to customizer page
mdo Oct 30, 2012
92e7f16
remove haunt, remove bootstrap dir, add bower support
fat Oct 30, 2012
31c1eba
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
fat Oct 30, 2012
f595e14
http link
fat Oct 30, 2012
9352fe1
add a ton of the new vars to the customizer
mdo Oct 30, 2012
a6968c4
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
mdo Oct 30, 2012
5bb6c42
fixes #4511: remove focus on opened modal window
mdo Oct 30, 2012
bf10a43
derp, add that in the right spot
mdo Oct 30, 2012
f113622
add note about js style
fat Oct 30, 2012
68cfedb
Merge branch '2.1.2-wip' of github.com:twitter/bootstrap into 2.1.2-wip
fat Oct 30, 2012
b5af762
Merge branch '2.1.2-wip'
mdo Oct 30, 2012
cbf1dac
Fixing typos in affix options area in the docs.
bradly Oct 30, 2012
404e4d9
fix carousel and rebuild js
fat Oct 31, 2012
3b3dd3a
2.2.1 - hotfix for carousel
fat Oct 31, 2012
d5697fc
fixes #5717: add retina favicon, recompile docs
mdo Oct 31, 2012
6432632
fixes #5725: hover state for a.muted; also reformatted CSS
mdo Oct 31, 2012
bf48c31
Merge branch 'bradly-affix-docs-fix' into 2.2.2-wip
mdo Oct 31, 2012
14b9417
fixes #5700: restore white text on active dropdown/typeahead text
mdo Oct 31, 2012
be03a53
Replaced hardcoded CSS rules with mixins
Ninir Oct 30, 2012
46347ff
fixes #5692: add version # to readme
mdo Oct 31, 2012
d350f57
fixes #3222: simpler positioning of modals
mdo Nov 1, 2012
d0c75bb
fixes #5742: add cursor: pointer; to labels and selects
mdo Nov 1, 2012
46d38b1
Prevent IE8 from misplacing imgs
Nov 2, 2012
fc42ac6
fixes #5756: duplicate media CSS in compiled builds
mdo Nov 2, 2012
46b5e0c
Fixing various spelling typos in the docs.
bradly Nov 2, 2012
381d967
Change example email addresses to use RFC 2606 reserved example domain.
bradly Nov 3, 2012
2f39f86
Merge pull request #5777 from bradly/change-example-emails-in-docs
mdo Nov 3, 2012
ead5dbe
Fixes #5775: Collapse labels/badges
mdo Nov 3, 2012
7ea343d
Merge branch '2.2.2-wip' of github.com:twitter/bootstrap into 2.2.2-wip
mdo Nov 3, 2012
72e2d4b
Merge pull request #5766 from bradly/spelling-fixes-in-docs
mdo Nov 3, 2012
c9dbd2d
Fixes #5458: Clarify fluid nesting
mdo Nov 3, 2012
a8b9342
Fixes #5739: Port in HTML5 BP print styles
mdo Nov 3, 2012
2c93190
Fixes #5776: Reside white-space for popovers
mdo Nov 3, 2012
5d6cf2e
Merge branch '2.2.2-wip' of github.com:twitter/bootstrap into 2.2.2-wip
mdo Nov 3, 2012
e4866c4
clarify unstyled lists docs
mdo Nov 4, 2012
68f26d9
Merge branch '2.1.2-list-inline' of https://github.com/andriijas/boot…
mdo Nov 4, 2012
28da312
Refine new inline list option
mdo Nov 4, 2012
22d1506
remove margin on .inline lists
mdo Nov 4, 2012
2320a09
fix modals display in docs on tablet view
mdo Nov 4, 2012
fb51efc
Fixes #5113: increase .typeahead z-index for proper use with modals
mdo Nov 4, 2012
953dc3a
higher res docs illustrations
mdo Nov 4, 2012
21957a3
set background size for docs jumbotron for retina
mdo Nov 4, 2012
075e320
remove unnecessary bg declarations in buttons per #5684
mdo Nov 4, 2012
51f293b
Fixes #5662: white-space: nowrap; on code element
mdo Nov 4, 2012
76f9c91
fixes #5494: style invalid fields as invalid regardless of required-ness
cvrebert Nov 5, 2012
7e6cc0b
Fixes #5785: allow for segmented button groups in input groups
mdo Nov 5, 2012
823b5ac
start documenting html5 invalid form fields
mdo Nov 5, 2012
f3b3814
Merge pull request #5786 from cvrebert/2.2.2-wip
mdo Nov 5, 2012
ebed09e
Merge branch '2.2.2-wip' of github.com:twitter/bootstrap into 2.2.2-wip
mdo Nov 5, 2012
91bcccd
simplify invalid input css
mdo Nov 5, 2012
62c78e4
more required input tweaks
mdo Nov 5, 2012
d38bda1
Fixes #5471: Remove color from .navbar and .navbar-inverse and reassi…
mdo Nov 5, 2012
79b7017
version bump
mdo Nov 5, 2012
0a1d296
insert missing i18n tag at customize and download string
alexanmtz Nov 5, 2012
02c0b78
Merge pull request #5795 from globocom/missing-i18n-customize-and-dow…
mdo Nov 6, 2012
cf7d7a7
remove ; from customizer
mdo Nov 7, 2012
ddf5cec
typo fix
mdo Nov 9, 2012
f2bbee2
remove * line-height
mdo Nov 9, 2012
54486de
run make again
mdo Nov 9, 2012
c8856ee
fixes #5873: @navbarInverseBrandColor not used
tacomanator Nov 11, 2012
41889f7
Update less/tables.less
Nov 13, 2012
6ec7c72
Fix issue with double move event firing in typeahead.
pmac Nov 9, 2012
3037673
Merge pull request #5874 from tacomanator/2.2.2-wip
mdo Nov 14, 2012
cd1f72f
Merge pull request #5894 from amid2887/patch-3
mdo Nov 14, 2012
0df0b5f
run make after latest merges
mdo Nov 14, 2012
1700e48
Fixes #5879: Manual update of Normalize credit
mdo Nov 14, 2012
05655ff
fixes #5922: clicking only button should download custom build
mdo Nov 15, 2012
4d59361
add composer.json
trsteel88 Nov 16, 2012
5702e1b
widths on github buttons
mdo Nov 16, 2012
88c2497
Fixes #5912: User correct selector for form field states.
mdo Nov 16, 2012
a367fd4
Fixes #5925: Adjust top margin of input group in navbar
mdo Nov 16, 2012
a10d68f
Fixes #5937: Border radius vars in button groups
mdo Nov 18, 2012
ace6dc0
Fix typo in reset.less
tony Nov 19, 2012
8b417c3
Merge pull request #5954 from tony/patch-2
mdo Nov 19, 2012
8df2811
Simpler footer for docs
mdo Nov 22, 2012
5d1b420
Fixes #5986: single toggle button html examples
mdo Nov 22, 2012
e0d0190
fix image sizes on homepage
mdo Nov 22, 2012
701f871
help-block margin-top should also apply after a span.input
desheikh Nov 26, 2012
e6e4d93
leave it to the developer to decide how to use the content of the pop…
Nov 27, 2012
dc10e6b
Fixes #5935: Updated vertical gradient mixin
mdo Nov 28, 2012
0209770
Fixes #6035: use font-size vars in button groups
mdo Nov 28, 2012
942f9c5
Fixes #6012: Updated docs sidenav media queries and reset width for e…
mdo Nov 28, 2012
74f5110
Fixes #6010: Navbar dropdown caret should match link hover color
mdo Nov 28, 2012
fda5bb1
Fixes #5963: Add large button example to icons, fix vertical alignmen…
mdo Nov 28, 2012
693fd0d
help-block margin-top should also apply after a span.uneditable-input
desheikh Nov 28, 2012
bfc97fd
Fixes #4852: IE8 popover carets fixed
mdo Nov 28, 2012
014d3ce
Fixes #5940: Prevent @headingsColor from changing alert colors
mdo Nov 28, 2012
783120d
Fixes #5927: Scope button group 5px button left margin to immediate c…
mdo Nov 28, 2012
bf3a5df
Fixes #5930: redeclare font-size for popoves in btn-groups
mdo Nov 28, 2012
296b838
Fixes #5616: scope carousel state classes to immediate children only
mdo Nov 28, 2012
8fb36cb
Fixes #5594: Vertical button groups show use max-width, not width, an…
mdo Nov 28, 2012
f1349a2
Fixes #5533: Remove filter gradient from disabled links on dropdowns
mdo Nov 28, 2012
fe8df50
Update Makefile
ph-One Nov 28, 2012
cb69aa9
Merge branch 'trsteel88-master' into 2.2.2-wip
mdo Nov 28, 2012
78390d1
Fix the carousel after we scoped selectors
mdo Nov 28, 2012
fa6a6db
Merge pull request #6057 from ph-One/patch-3
mdo Nov 29, 2012
ddd1544
added compiled css file
desheikh Nov 29, 2012
acc037d
add holder and replace placehold.it
mdo Nov 30, 2012
e9c32fd
Merge branch 'patch-1' of https://github.com/jblotus/bootstrap into j…
mdo Nov 30, 2012
12aa060
Merge branch 'jblotus-patch-1' into 2.2.2-wip
mdo Nov 30, 2012
38c546c
upgrade to holder 1.6
mdo Nov 30, 2012
52e669d
Merge branch '2.2.2-wip-holder' into 2.2.2-wip
mdo Nov 30, 2012
c5173cd
Merge branch 'idavemm-patch-1' into 2.2.2-wip
mdo Nov 30, 2012
721b568
update comment
mdo Nov 30, 2012
322a563
run make with nav img fix
mdo Nov 30, 2012
fe7b6de
Merge pull request #6039 from desheikh/2.2.2-wip
mdo Nov 30, 2012
f087b34
remove element from selector
mdo Nov 30, 2012
bca3ff4
Fixes #5853: Maintain 10px margin above help block when following inp…
mdo Nov 30, 2012
fbec803
Add relative positioning to .modal-body - Fixes #5991
blakeembrey Dec 1, 2012
dbb244c
Merge pull request #6097 from blakeembrey/modal-body-relative
mdo Dec 2, 2012
e8b3c36
run make on modal popover fix
mdo Dec 2, 2012
85c57c6
Merge branch 'Moveo-master' into 2.2.2-wip
mdo Dec 2, 2012
32d4259
run make on js changes to popover
mdo Dec 2, 2012
ea61cdb
remove overrides on inner html of popover-content
mdo Dec 2, 2012
139f1be
reset text align in popovers given inline insertion
mdo Dec 2, 2012
c8862d9
Readme reorg
mdo Dec 2, 2012
439ff09
herpderp
mdo Dec 3, 2012
30d6a71
Revert vertical gradient spec to 'to bottom' as 'top' doesn't work in…
mdo Dec 3, 2012
f514c87
Enable responsive features in IE10 when snapped
mdo Dec 3, 2012
eca23e9
add source attribution for IE10 fix
mdo Dec 3, 2012
68cbba3
Fixing header color for success, error and info alerts
andriijas Dec 3, 2012
d470fb7
nuke comments
mdo Dec 3, 2012
06582ed
Improve rendering of carousel example for IE10
mdo Dec 3, 2012
869b69c
Fixes #6115: scope breadcrumb styles to immediate children only
mdo Dec 3, 2012
15a4399
Align the touch icons attributes
mdo Dec 3, 2012
0f2a423
Once more, update all the favicons to retina
mdo Dec 3, 2012
8b959ca
Update js/bootstrap-scrollspy.js
Dec 4, 2012
e31c7fb
correct link on index page to grid system
mdo Dec 4, 2012
12916b0
Fix up display of dropdown submenu examples on responsive views
mdo Dec 5, 2012
ed74992
Fixes #4550: Temporary fix for dropdown taps on mobile
mdo Dec 5, 2012
306c1b4
Remove commented out old popover CSS
mdo Dec 5, 2012
8167998
Escape ×
Dec 5, 2012
f4466dd
Fix code block white-space breaks within pre tags.
tierra Dec 6, 2012
2877f84
Merge pull request #6143 from Quy/2.2.2-wip
mdo Dec 7, 2012
2c7ab23
Fixes #6136: Proper scoping of breadcrumbs divider
mdo Dec 7, 2012
cc6fda2
Merge branch '2.2.2-wip' of github.com:twitter/bootstrap into 2.2.2-wip
mdo Dec 7, 2012
1413f97
Merge pull request #6151 from tierra/pre-code-white-space-fix
mdo Dec 7, 2012
be45a82
Fixes #6148: Icons in mini buttons properly aligned
mdo Dec 7, 2012
1c5b8e9
Merge branch '2.2.2-wip' of github.com:twitter/bootstrap into 2.2.2-wip
mdo Dec 7, 2012
a7eb9c2
add noConflict functionality to all bootstrap plugins
fat Dec 7, 2012
2526c3f
Merge pull request #6118 from godric7/master
fat Dec 7, 2012
66b7001
rebuild and only select visible dropdown items
fat Dec 7, 2012
c362e72
Merge pull request #5862 from pmclanahan/issue-5806-typeahead-keyboar…
fat Dec 7, 2012
91fbada
remove slide from carousel constructor #5579
fat Dec 7, 2012
10e72e1
Merge branch '2.2.2-wip' of github.com:twitter/bootstrap into 2.2.2-wip
fat Dec 7, 2012
4376540
focus on escape in typeahead
fat Dec 7, 2012
1747caf
insert menu of typeahead after input which it suggests on #3529
fat Dec 7, 2012
820a3b2
get tests passing for typeahead :P
fat Dec 8, 2012
3bd9a26
Apply code tag to data attribute on javascript page
Dec 8, 2012
b9292ff
Merge pull request #6165 from Quy/2.2.2-wip
mdo Dec 8, 2012
cacc213
Nesting tables
mdo Dec 8, 2012
9376a7c
Fixes #5729: Nested striped tables
mdo Dec 8, 2012
7ede8c0
Update version number of built files
aredridel Jan 27, 2013
7e4f337
Finish the grid system
aredridel Jan 27, 2013
39fb649
Merge branch 'master' of github.com:aredridel/bootstrap.stylus
aredridel Jan 27, 2013
517cfbf
v2.2.2 ported
aredridel Jan 28, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# 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).



## Coding standards: JS

- No semicolons
- Comma first
- 2 spaces (no tabs)
- strict mode
- "Attractive"



## 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
48 changes: 45 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
DATE=$(shell DATE)
BOOTSTRAP = ../css/bootstrap-2.0.1.css
BOOTSTRAP_MIN = ../css/bootstrap-2.0.1.min.css
BOOTSTRAP = ../css/bootstrap-2.2.2.css
BOOTSTRAP_MIN = ../css/bootstrap-2.2.2.min.css
BOOTSTRAP_STYL = ./bootstrap.styl
STYLUS_PROCESSOR ?= `which stylus`

build:
bootstrap:
@@if test ! -z ${STYLUS_PROCESSOR}; then \
cd ./styl; \
stylus < ${BOOTSTRAP_STYL} > ${BOOTSTRAP}; \
Expand All @@ -14,3 +14,45 @@ build:
echo "You must have the STYLUS compiler installed in order to build Bootstrap."; \
echo "You can install it by running: npm install stylus -g"; \
fi

#
# RUN JSHINT & QUNIT TESTS IN PHANTOMJS
#

test:
jshint js/*.js --config js/.jshintrc
jshint js/tests/unit/*.js --config js/.jshintrc
node js/tests/server.js &
phantomjs js/tests/phantom.js "http://localhost:3000/js/tests"
kill -9 `cat js/tests/pid.txt`
rm js/tests/pid.txt

#
# CLEANS THE ROOT DIRECTORY OF PRIOR BUILDS
#

clean:
rm -r bootstrap

#
# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )
#

gh-pages: bootstrap docs
rm -f docs/assets/bootstrap.zip
zip -r docs/assets/bootstrap.zip bootstrap
rm -r bootstrap
rm -f ../bootstrap-gh-pages/assets/bootstrap.zip
node docs/build production
cp -r docs/* ../bootstrap-gh-pages

#
# WATCH LESS FILES
#

watch:
echo "Watching less files..."; \
watchr -e "watch('less/.*\.less') { system 'make' }"


.PHONY: docs watch gh-pages
57 changes: 53 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
# bootstrap.stylus (v2.2.2)

# bootstrap.stylus (v2.0.1)

Twitter's [Bootstrap](https://github.com/twitter/bootstrap) for [Stylus](https://github.com/learnboost/stylus).
Twitter's [Bootstrap](https://github.com/twitter/bootstrap) for [Stylus](https://github.com/learnboost/stylus).


## Installation

Bootstrap uses [nib](https://github.com/visionmedia/nib) for transparent CSS3 support and helpful mixins, but you simply need to `.use()` `bootstrap`, which in turn exposes `@import "bootstrap"`.
Bootstrap uses [nib](https://github.com/visionmedia/nib) for transparent CSS3 support and helpful mixins, but you simply need to `.use()` `bootstrap`, which in turn exposes `@import "bootstrap"`.

```js
var stylus = require('stylus')
Expand All @@ -27,6 +26,40 @@ var css = stylus(styl)

Then you can __@import__ all or portions of the library:

## Versioning

For transparency and insight into our release cycle, and for striving to maintain backward compatibility, Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the following format:

`<major>.<minor>.<patch>`

And constructed with the following guidelines:

* Breaking backward compatibility bumps the major (and resets the minor and patch)
* New additions without breaking backward compatibility bumps the minor (and resets the patch)
* Bug fixes and misc changes bumps the patch

For more information on SemVer, please visit http://semver.org/.

## Developers

We have included a makefile with convenience methods for working with the Bootstrap library.

+ **dependencies**
Our makefile depends on you having recess, connect, uglify.js, and jshint installed. To install, just run the following command in npm:

```
$ npm install recess connect uglify-js jshint -g
```

+ **build** - `make`
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/extend.html#compiling">Read more in our docs &raquo;</a>

+ **watch** - `make watch`
This is a convenience method for watching just Less files and automatically building them whenever you save. Requires the Watchr gem.


```css
// everything
@import 'bootstrap'
Expand All @@ -35,6 +68,22 @@ Then you can __@import__ all or portions of the library:
@import 'bootstrap/config'
@import 'bootstrap/forms'
```
## Contributing

Please submit all pull requests against `*-wip` branches. If your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the [Code Guide](http://github.com/mdo/code-guide), maintained by [Mark Otto](http://github.com/mdo).

Thanks!



## Authors

**Mark Otto**

+ http://twitter.com/mdo
+ http://github.com/mdo

**Jacob Thornton**

## Configuration

Expand Down
8 changes: 8 additions & 0 deletions component.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"name": "bootstrap",
"version": "2.2.2",
"main": ["./docs/assets/js/bootstrap.js", "./docs/assets/css/bootstrap.css"],
"dependencies": {
"jquery": "~1.8.0"
}
}
10 changes: 10 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "twitter/bootstrap"
, "description": "Sleek, intuitive, and powerful front-end framework for faster and easier web development."
, "keywords": ["bootstrap", "css"]
, "homepage": "http://twitter.github.com/bootstrap/"
, "author": "Twitter Inc."
, "license": "Apache-2.0"
, "target-dir": "twitter/bootstrap"

}
Loading