Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
3b3dbd72
Commit
3b3dbd72
authored
Jan 27, 2012
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '2.0-wip' of
https://github.com/twitter/bootstrap
into 2.0-wip
Conflicts: docs/assets/css/bootstrap.css
parents
aa594501
97546adc
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
58 additions
and
9 deletions
+58
-9
docs/assets/css/bootstrap.css
docs/assets/css/bootstrap.css
+16
-1
docs/download.html
docs/download.html
+3
-3
docs/scaffolding.html
docs/scaffolding.html
+8
-0
docs/templates/pages/download.mustache
docs/templates/pages/download.mustache
+3
-3
docs/templates/pages/scaffolding.mustache
docs/templates/pages/scaffolding.mustache
+8
-0
js/bootstrap-typeahead.js
js/bootstrap-typeahead.js
+2
-2
less/buttons.less
less/buttons.less
+7
-0
less/forms.less
less/forms.less
+10
-0
less/tables.less
less/tables.less
+1
-0
No files found.
docs/assets/css/bootstrap.css
View file @
3b3dbd72
...
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date:
Thu Jan 26 23:15:40
PST 2012
* Date:
Fri Jan 27 11:07:13
PST 2012
*/
article
,
aside
,
...
...
@@ -604,6 +604,9 @@ input:focus, textarea:focus {
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);
outline
:
0
;
outline
:
1px
dotted
#666
\
9
;
/* IE6-8 */
}
input
[
type
=
file
]
:focus
,
input
[
type
=
checkbox
]
:focus
,
select
:focus
{
-webkit-box-shadow
:
none
;
...
...
@@ -884,6 +887,12 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;
}
.input-append
input
:first-child
{
*
margin-left
:
-160px
;
}
.input-append
input
:first-child
+
.add-on
{
*
margin-left
:
-21px
;
}
.search-query
{
padding-left
:
14px
;
padding-right
:
14px
;
...
...
@@ -969,6 +978,7 @@ table {
.table-bordered
{
border
:
1px
solid
#ddd
;
border-collapse
:
separate
;
*
border-collapse
:
collapsed
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
...
...
@@ -2445,6 +2455,8 @@ table .span12 {
.btn
{
display
:
inline-block
;
padding
:
4px
10px
4px
;
*
padding
:
2px
10px
;
*
margin-left
:
4px
;
font-size
:
13px
;
line-height
:
18px
;
color
:
#333333
;
...
...
@@ -2467,6 +2479,9 @@ table .span12 {
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
cursor
:
pointer
;
}
.btn
:first-child
{
*
margin-left
:
0
;
}
.btn
:hover
{
color
:
#333333
;
text-decoration
:
none
;
...
...
docs/download.html
View file @
3b3dbd72
...
...
@@ -84,7 +84,7 @@
<section
class=
"download"
id=
"components"
>
<div
class=
"page-header"
>
<a
class=
"pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<a
class=
"
btn small
pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<h1>
1. Select components
<small>
Get just the CSS you need
</small>
...
...
@@ -144,7 +144,7 @@
<section
class=
"download"
id=
"variables"
>
<div
class=
"page-header"
>
<a
class=
"pull-right toggle-all"
href=
"#"
>
Reset to defaults
</a>
<a
class=
"
btn small
pull-right toggle-all"
href=
"#"
>
Reset to defaults
</a>
<h1>
2. Modify variables
<small>
Customize Bootstrap without using a LESS compiler
</small>
...
...
@@ -222,7 +222,7 @@
<section
class=
"download"
id=
"plugins"
>
<div
class=
"page-header"
>
<a
class=
"pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<a
class=
"
btn small
pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<h1>
3. Select jQuery plugins
<small>
Quickly add only the necessary javascript
</small>
...
...
docs/scaffolding.html
View file @
3b3dbd72
...
...
@@ -136,6 +136,8 @@
</div>
</div>
<!-- /row -->
<br>
<h2>
Offsetting columns
</h2>
<div
class=
"row show-grid"
>
<div
class=
"span4"
>
4
</div>
...
...
@@ -148,6 +150,12 @@
<div
class=
"row show-grid"
>
<div
class=
"span8 offset4"
>
8 offset 4
</div>
</div>
<!-- /row -->
<pre
class=
"prettyprint linenums"
>
<
div class="row"
>
<
div class="span4"
>
...
<
/div
>
<
div class="span4 offset4"
>
...
<
/div
>
<
/div
>
</pre>
<br>
...
...
docs/templates/pages/download.mustache
View file @
3b3dbd72
...
...
@@ -19,7 +19,7 @@
<section
class=
"download"
id=
"components"
>
<div
class=
"page-header"
>
<a
class=
"pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<a
class=
"
btn small
pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<h1>
1. Select components
<small>
Get just the CSS you need
</small>
...
...
@@ -79,7 +79,7 @@
<section
class=
"download"
id=
"variables"
>
<div
class=
"page-header"
>
<a
class=
"pull-right toggle-all"
href=
"#"
>
Reset to defaults
</a>
<a
class=
"
btn small
pull-right toggle-all"
href=
"#"
>
Reset to defaults
</a>
<h1>
2. Modify variables
<small>
Customize Bootstrap without using a LESS compiler
</small>
...
...
@@ -157,7 +157,7 @@
<section
class=
"download"
id=
"plugins"
>
<div
class=
"page-header"
>
<a
class=
"pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<a
class=
"
btn small
pull-right toggle-all"
href=
"#"
>
Toggle all
</a>
<h1>
3. Select jQuery plugins
<small>
Quickly add only the necessary javascript
</small>
...
...
docs/templates/pages/scaffolding.mustache
View file @
3b3dbd72
...
...
@@ -71,6 +71,8 @@
</div>
</div>
<!-- /row -->
<br>
<h2>
Offsetting columns
</h2>
<div
class=
"row show-grid"
>
<div
class=
"span4"
>
4
</div>
...
...
@@ -83,6 +85,12 @@
<div
class=
"row show-grid"
>
<div
class=
"span8 offset4"
>
8 offset 4
</div>
</div>
<!-- /row -->
<pre
class=
"prettyprint linenums"
>
<
div class="row"
>
<
div class="span4"
>
...
<
/div
>
<
div class="span4 offset4"
>
...
<
/div
>
<
/div
>
</pre>
<br>
...
...
js/bootstrap-typeahead.js
View file @
3b3dbd72
...
...
@@ -157,6 +157,7 @@
case
9
:
// tab
case
13
:
// enter
if
(
!
this
.
shown
)
return
this
.
select
()
break
...
...
@@ -172,6 +173,7 @@
,
keypress
:
function
(
e
)
{
e
.
stopPropagation
()
if
(
!
this
.
shown
)
return
switch
(
e
.
keyCode
)
{
case
9
:
// tab
...
...
@@ -181,13 +183,11 @@
break
case
38
:
// up arrow
if
(
!
this
.
shown
)
return
e
.
preventDefault
()
this
.
prev
()
break
case
40
:
// down arrow
if
(
!
this
.
shown
)
return
e
.
preventDefault
()
this
.
next
()
break
...
...
less/buttons.less
View file @
3b3dbd72
...
...
@@ -67,6 +67,13 @@
// Button Base
display: inline-block;
padding: 4px 10px 4px;
*padding: 2px 10px;
// IE7 likes to collapse the whitespace before the button, so bring it back...
*margin-left: 4px;
&:first-child {
// ...but not before the first button
*margin-left: 0;
}
font-size: @baseFontSize;
line-height: @baseLineHeight;
color: @grayDark;
...
...
less/forms.less
View file @
3b3dbd72
...
...
@@ -192,6 +192,7 @@ textarea:focus {
@shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
.box-shadow(@shadow);
outline: 0;
outline: 1px dotted #666 \9; /* IE6-8 */
}
input[type=file]:focus,
input[type=checkbox]:focus,
...
...
@@ -439,6 +440,15 @@ select:focus:required:invalid {
margin-left: -1px;
.border-radius(0 3px 3px 0);
}
input:first-child {
// In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input
// inherit the sum of its ancestors' margins.
*margin-left: -160px;
&+.add-on {
*margin-left: -21px;
}
}
}
...
...
less/tables.less
View file @
3b3dbd72
...
...
@@ -64,6 +64,7 @@ table {
.table-bordered {
border: 1px solid #ddd;
border-collapse: separate; // Done so we can round those corners!
*border-collapse: collapsed; // IE7 can't round corners anyway
.border-radius(4px);
th + th,
td + td,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment