Skip to content

Commit 8c7f9c6

Browse files
committed
Merge branch '2.3.0-wip'
2 parents ee91afb + c4d47fb commit 8c7f9c6

File tree

109 files changed

+2380
-825
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+2380
-825
lines changed

CHANGELOG.md

Lines changed: 350 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 41 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ build:
1818
@jshint js/*.js --config js/.jshintrc
1919
@jshint js/tests/unit/*.js --config js/.jshintrc
2020
@echo "Running JSHint on javascript... ${CHECK} Done"
21-
@recess --compile ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
22-
@recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE}
21+
@./node_modules/.bin/recess --compile ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
22+
@./node_modules/.bin/recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > ${BOOTSTRAP_RESPONSIVE}
2323
@echo "Compiling LESS with Recess... ${CHECK} Done"
2424
@node docs/build
2525
@cp img/* docs/assets/img/
2626
@cp js/*.js docs/assets/js/
2727
@cp js/tests/vendor/jquery.js docs/assets/js/
2828
@echo "Compiling documentation... ${CHECK} Done"
2929
@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
30-
@uglifyjs docs/assets/js/bootstrap.js -nc > docs/assets/js/bootstrap.min.tmp.js
31-
@echo "/**\n* Bootstrap.js v2.2.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
30+
@./node_modules/.bin/uglifyjs -nc docs/assets/js/bootstrap.js > docs/assets/js/bootstrap.min.tmp.js
31+
@echo "/**\n* Bootstrap.js v2.3.0 by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > docs/assets/js/copyright.js
3232
@cat docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js > docs/assets/js/bootstrap.min.js
3333
@rm docs/assets/js/copyright.js docs/assets/js/bootstrap.min.tmp.js
3434
@echo "Compiling and minifying javascript... ${CHECK} Done"
@@ -43,8 +43,8 @@ build:
4343
#
4444

4545
test:
46-
jshint js/*.js --config js/.jshintrc
47-
jshint js/tests/unit/*.js --config js/.jshintrc
46+
./node_modules/.bin/jshint js/*.js --config js/.jshintrc
47+
./node_modules/.bin/jshint js/tests/unit/*.js --config js/.jshintrc
4848
node js/tests/server.js &
4949
phantomjs js/tests/phantom.js "http://localhost:3000/js/tests"
5050
kill -9 `cat js/tests/pid.txt`
@@ -62,21 +62,46 @@ clean:
6262
# recess & uglifyjs are required
6363
#
6464

65-
bootstrap:
66-
mkdir -p bootstrap/img
67-
mkdir -p bootstrap/css
65+
bootstrap: bootstrap-img bootstrap-css bootstrap-js
66+
67+
68+
#
69+
# JS COMPILE
70+
#
71+
bootstrap-js: bootstrap/js/*.js
72+
73+
bootstrap/js/*.js: js/*.js
6874
mkdir -p bootstrap/js
69-
cp img/* bootstrap/img/
70-
recess --compile ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.css
71-
recess --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css
72-
recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css
73-
recess --compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css
7475
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
75-
uglifyjs bootstrap/js/bootstrap.js -nc > bootstrap/js/bootstrap.min.tmp.js
76+
./node_modules/.bin/uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js
7677
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
7778
cat bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js > bootstrap/js/bootstrap.min.js
7879
rm bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js
7980

81+
#
82+
# CSS COMPLILE
83+
#
84+
85+
bootstrap-css: bootstrap/css/*.css
86+
87+
bootstrap/css/*.css: less/*.less
88+
mkdir -p bootstrap/css
89+
./node_modules/.bin/recess --compile ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.css
90+
./node_modules/.bin/recess --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css
91+
./node_modules/.bin/recess --compile ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.css
92+
./node_modules/.bin/recess --compress ${BOOTSTRAP_RESPONSIVE_LESS} > bootstrap/css/bootstrap-responsive.min.css
93+
94+
#
95+
# IMAGES
96+
#
97+
98+
bootstrap-img: bootstrap/img/*
99+
100+
bootstrap/img/*: img/*
101+
mkdir -p bootstrap/img
102+
cp img/* bootstrap/img/
103+
104+
80105
#
81106
# MAKE FOR GH-PAGES 4 FAT & MDO ONLY (O_O )
82107
#
@@ -98,4 +123,4 @@ watch:
98123
watchr -e "watch('less/.*\.less') { system 'make' }"
99124

100125

101-
.PHONY: docs watch gh-pages
126+
.PHONY: docs watch gh-pages bootstrap-img bootstrap-css bootstrap-js

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# [Twitter Bootstrap v2.2.2](http://twitter.github.com/bootstrap) [![Build Status](https://secure.travis-ci.org/twitter/bootstrap.png)](http://travis-ci.org/twitter/bootstrap)
1+
<a href="http://getbootstrap.com">
2+
<img src="http://twitter.github.com/bootstrap/assets/img/bootstrap-docs-readme.png" width="100px">
3+
</a>
4+
5+
# [Bootstrap v2.3.0](http://twitter.github.com/bootstrap) [![Build Status](https://secure.travis-ci.org/twitter/bootstrap.png)](http://travis-ci.org/twitter/bootstrap)
26

37
Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by [Mark Otto](http://twitter.com/mdo) and [Jacob Thornton](http://twitter.com/fat).
48

5-
To get started, checkout http://getbootstrap.com!
9+
To get started, checkout [http://getbootstrap.com](http://getbootstrap.com)!
610

711

812

@@ -30,7 +34,7 @@ And constructed with the following guidelines:
3034
* New additions without breaking backward compatibility bumps the minor (and resets the patch)
3135
* Bug fixes and misc changes bumps the patch
3236

33-
For more information on SemVer, please visit http://semver.org/.
37+
For more information on SemVer, please visit [http://semver.org/](http://semver.org/).
3438

3539

3640

@@ -85,13 +89,13 @@ Thanks!
8589

8690
**Mark Otto**
8791

88-
+ http://twitter.com/mdo
89-
+ http://github.com/mdo
92+
+ [http://twitter.com/mdo](http://twitter.com/mdo)
93+
+ [http://github.com/mdo](http://github.com/mdo)
9094

9195
**Jacob Thornton**
9296

93-
+ http://twitter.com/fat
94-
+ http://github.com/fat
97+
+ [http://twitter.com/fat](http://twitter.com/fat)
98+
+ [http://github.com/fat](http://github.com/fat)
9599

96100

97101

@@ -103,7 +107,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
103107
you may not use this work except in compliance with the License.
104108
You may obtain a copy of the License in the LICENSE file, or at:
105109

106-
http://www.apache.org/licenses/LICENSE-2.0
110+
[http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
107111

108112
Unless required by applicable law or agreed to in writing, software
109113
distributed under the License is distributed on an "AS IS" BASIS,

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap",
3-
"version": "2.2.2",
3+
"version": "2.3.0",
44
"main": ["./docs/assets/js/bootstrap.js", "./docs/assets/css/bootstrap.css"],
55
"dependencies": {
66
"jquery": "~1.8.0"

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@
55
, "homepage": "http://twitter.github.com/bootstrap/"
66
, "author": "Twitter Inc."
77
, "license": "Apache-2.0"
8-
, "target-dir": "twitter/bootstrap"
98

109
}

docs/assets/css/bootstrap-responsive.css

Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Bootstrap Responsive v2.2.2
2+
* Bootstrap Responsive v2.3.0
33
*
44
* Copyright 2012 Twitter, Inc
55
* Licensed under the Apache License v2.0
@@ -8,10 +8,6 @@
88
* Designed and built with all the love in the world @twitter by @mdo and @fat.
99
*/
1010

11-
@-ms-viewport {
12-
width: device-width;
13-
}
14-
1511
.clearfix {
1612
*zoom: 1;
1713
}
@@ -44,6 +40,10 @@
4440
box-sizing: border-box;
4541
}
4642

43+
@-ms-viewport {
44+
width: device-width;
45+
}
46+
4747
.hidden {
4848
display: none;
4949
visibility: hidden;
@@ -95,6 +95,19 @@
9595
}
9696
}
9797

98+
.visible-print {
99+
display: none !important;
100+
}
101+
102+
@media print {
103+
.visible-print {
104+
display: inherit !important;
105+
}
106+
.hidden-print {
107+
display: none !important;
108+
}
109+
}
110+
98111
@media (min-width: 1200px) {
99112
.row {
100113
margin-left: -30px;
@@ -1003,15 +1016,19 @@
10031016
margin-bottom: 2px;
10041017
}
10051018
.nav-collapse .nav > li > a:hover,
1006-
.nav-collapse .dropdown-menu a:hover {
1019+
.nav-collapse .nav > li > a:focus,
1020+
.nav-collapse .dropdown-menu a:hover,
1021+
.nav-collapse .dropdown-menu a:focus {
10071022
background-color: #f2f2f2;
10081023
}
10091024
.navbar-inverse .nav-collapse .nav > li > a,
10101025
.navbar-inverse .nav-collapse .dropdown-menu a {
10111026
color: #999999;
10121027
}
10131028
.navbar-inverse .nav-collapse .nav > li > a:hover,
1014-
.navbar-inverse .nav-collapse .dropdown-menu a:hover {
1029+
.navbar-inverse .nav-collapse .nav > li > a:focus,
1030+
.navbar-inverse .nav-collapse .dropdown-menu a:hover,
1031+
.navbar-inverse .nav-collapse .dropdown-menu a:focus {
10151032
background-color: #111111;
10161033
}
10171034
.nav-collapse.in .btn-group {

0 commit comments

Comments
 (0)