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
e112d34b
Commit
e112d34b
authored
Jul 02, 2011
by
Jacob Thornton
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.local.twitter.com/bootstrap
parents
088bfcc1
5992b4e0
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
16 deletions
+31
-16
bootstrap-1.0.0.css
bootstrap-1.0.0.css
+9
-3
bootstrap-1.0.0.min.css
bootstrap-1.0.0.min.css
+5
-3
docs/assets/js/application.js
docs/assets/js/application.js
+1
-1
docs/index.html
docs/index.html
+3
-3
lib/forms.less
lib/forms.less
+8
-1
lib/patterns.less
lib/patterns.less
+5
-5
No files found.
bootstrap-1.0.0.css
View file @
e112d34b
...
@@ -719,6 +719,12 @@ form .uneditable-input {
...
@@ -719,6 +719,12 @@ form .uneditable-input {
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
}
}
form
:-moz-placeholder
{
color
:
#bfbfbf
;
}
form
::-webkit-input-placeholder
{
color
:
#bfbfbf
;
}
form
input
[
type
=
text
],
form
input
[
type
=
text
],
form
input
[
type
=
password
],
form
input
[
type
=
password
],
form
select
,
form
select
,
...
@@ -875,7 +881,7 @@ div.input-prepend .add-on, div.input-append .add-on {
...
@@ -875,7 +881,7 @@ div.input-prepend .add-on, div.input-append .add-on {
height
:
18px
;
height
:
18px
;
text-align
:
center
;
text-align
:
center
;
text-shadow
:
0
1px
0
#fff
;
text-shadow
:
0
1px
0
#fff
;
border
:
1px
solid
#
bbb
;
border
:
1px
solid
#
ccc
;
border-right-width
:
0
;
border-right-width
:
0
;
-webkit-border-radius
:
3px
0
0
3px
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
...
@@ -1610,7 +1616,7 @@ div.twipsy {
...
@@ -1610,7 +1616,7 @@ div.twipsy {
position
:
absolute
;
position
:
absolute
;
visibility
:
visible
;
visibility
:
visible
;
padding
:
5px
;
padding
:
5px
;
font-size
:
1
0
px
;
font-size
:
1
1
px
;
z-index
:
100000
;
z-index
:
100000
;
filter
:
alpha
(
opacity
=
80
);
filter
:
alpha
(
opacity
=
80
);
-khtml-opacity
:
0.8
;
-khtml-opacity
:
0.8
;
...
@@ -1650,7 +1656,7 @@ div.twipsy.right .twipsy-arrow {
...
@@ -1650,7 +1656,7 @@ div.twipsy.right .twipsy-arrow {
border-right
:
5px
solid
#000
;
border-right
:
5px
solid
#000
;
}
}
div
.twipsy
.twipsy-inner
{
div
.twipsy
.twipsy-inner
{
padding
:
5px
8px
4
px
;
padding
:
3px
8
px
;
background-color
:
#000
;
background-color
:
#000
;
color
:
white
;
color
:
white
;
text-align
:
center
;
text-align
:
center
;
...
...
bootstrap-1.0.0.min.css
View file @
e112d34b
...
@@ -88,6 +88,8 @@ form input[type=text],form input[type=password],form textarea,form select,form .
...
@@ -88,6 +88,8 @@ form input[type=text],form input[type=password],form textarea,form select,form .
form
select
,
form
input
[
type
=
file
]
{
height
:
27px
;
line-height
:
27px
;}
form
select
,
form
input
[
type
=
file
]
{
height
:
27px
;
line-height
:
27px
;}
form
textarea
{
height
:
auto
;}
form
textarea
{
height
:
auto
;}
form
.uneditable-input
{
background-color
:
#eee
;
display
:
block
;
border-color
:
#ccc
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);}
form
.uneditable-input
{
background-color
:
#eee
;
display
:
block
;
border-color
:
#ccc
;
-webkit-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
2px
rgba
(
0
,
0
,
0
,
0.075
);}
form
:-moz-placeholder
{
color
:
#bfbfbf
;}
form
::-webkit-input-placeholder
{
color
:
#bfbfbf
;}
form
input
[
type
=
text
],
form
input
[
type
=
password
],
form
select
,
form
textarea
{
-webkit-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-moz-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);}
form
input
[
type
=
text
],
form
input
[
type
=
password
],
form
select
,
form
textarea
{
-webkit-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-moz-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
);}
form
input
[
type
=
text
]
:focus
,
form
input
[
type
=
password
]
:focus
,
form
textarea
:focus
{
outline
:
none
;
border-color
:
rgba
(
82
,
168
,
236
,
0.8
);
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);}
form
input
[
type
=
text
]
:focus
,
form
input
[
type
=
password
]
:focus
,
form
textarea
:focus
{
outline
:
none
;
border-color
:
rgba
(
82
,
168
,
236
,
0.8
);
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);
-moz-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
0.1
),
0
0
8px
rgba
(
82
,
168
,
236
,
0.6
);}
form
div
.error
{
background
:
#fae5e3
;
padding
:
10px
0
;
margin
:
-10px
0
10px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
form
div
.error
>
label
,
form
div
.error
span
.help-inline
,
form
div
.error
span
.help-block
{
color
:
#9d261d
;}
form
div
.error
{
background
:
#fae5e3
;
padding
:
10px
0
;
margin
:
-10px
0
10px
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
form
div
.error
>
label
,
form
div
.error
span
.help-inline
,
form
div
.error
span
.help-block
{
color
:
#9d261d
;}
...
@@ -110,7 +112,7 @@ div.inline-inputs input.mini{width:60px;}
...
@@ -110,7 +112,7 @@ div.inline-inputs input.mini{width:60px;}
div
.inline-inputs
input
.small
{
width
:
90px
;}
div
.inline-inputs
input
.small
{
width
:
90px
;}
div
.inline-inputs
span
{
padding
:
0
2px
0
1px
;}
div
.inline-inputs
span
{
padding
:
0
2px
0
1px
;}
div
.input-prepend
input
[
type
=
text
],
div
.input-append
input
[
type
=
text
]
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
div
.input-prepend
input
[
type
=
text
],
div
.input-append
input
[
type
=
text
]
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
div
.input-prepend
.add-on
,
div
.input-append
.add-on
{
background
:
#f5f5f5
;
float
:
left
;
display
:
block
;
width
:
auto
;
min-width
:
16px
;
padding
:
4px
4px
4px
5px
;
color
:
#bfbfbf
;
font-weight
:
normal
;
line-height
:
18px
;
height
:
18px
;
text-align
:
center
;
text-shadow
:
0
1px
0
#fff
;
border
:
1px
solid
#
bbb
;
border-right-width
:
0
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-prepend
.add-on
,
div
.input-append
.add-on
{
background
:
#f5f5f5
;
float
:
left
;
display
:
block
;
width
:
auto
;
min-width
:
16px
;
padding
:
4px
4px
4px
5px
;
color
:
#bfbfbf
;
font-weight
:
normal
;
line-height
:
18px
;
height
:
18px
;
text-align
:
center
;
text-shadow
:
0
1px
0
#fff
;
border
:
1px
solid
#
ccc
;
border-right-width
:
0
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-prepend
.active
,
div
.input-append
.active
{
background
:
#a9dba9
;
border-color
:
#46a546
;}
div
.input-prepend
.active
,
div
.input-append
.active
{
background
:
#a9dba9
;
border-color
:
#46a546
;}
div
.input-append
input
[
type
=
text
]
{
float
:
left
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-append
input
[
type
=
text
]
{
float
:
left
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
border-radius
:
3px
0
0
3px
;}
div
.input-append
.add-on
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;
border-right-width
:
1px
;
border-left-width
:
0
;}
div
.input-append
.add-on
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;
border-right-width
:
1px
;
border-left-width
:
0
;}
...
@@ -197,9 +199,9 @@ div.modal{position:fixed;top:50%;left:50%;z-index:2000;width:560px;margin:-280px
...
@@ -197,9 +199,9 @@ div.modal{position:fixed;top:50%;left:50%;z-index:2000;width:560px;margin:-280px
div
.modal
.modal-body
{
padding
:
20px
;}
div
.modal
.modal-body
{
padding
:
20px
;}
div
.modal
.modal-footer
{
background-color
:
#eee
;
padding
:
14px
20px
15px
;
border-top
:
1px
solid
#ddd
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
inset
0
1px
0
#ffffff
;
-moz-box-shadow
:
inset
0
1px
0
#ffffff
;
box-shadow
:
inset
0
1px
0
#ffffff
;
zoom
:
1
;}
div
.modal
.modal-footer
:after
{
display
:
block
;
visibility
:
hidden
;
height
:
0
;
clear
:
both
;
content
:
"."
;}
div
.modal
.modal-footer
{
background-color
:
#eee
;
padding
:
14px
20px
15px
;
border-top
:
1px
solid
#ddd
;
-webkit-border-radius
:
0
0
6px
6px
;
-moz-border-radius
:
0
0
6px
6px
;
border-radius
:
0
0
6px
6px
;
-webkit-box-shadow
:
inset
0
1px
0
#ffffff
;
-moz-box-shadow
:
inset
0
1px
0
#ffffff
;
box-shadow
:
inset
0
1px
0
#ffffff
;
zoom
:
1
;}
div
.modal
.modal-footer
:after
{
display
:
block
;
visibility
:
hidden
;
height
:
0
;
clear
:
both
;
content
:
"."
;}
div
.modal
.modal-footer
.btn
{
float
:
right
;
margin-left
:
10px
;}
div
.modal
.modal-footer
.btn
{
float
:
right
;
margin-left
:
10px
;}
div
.twipsy
{
display
:
block
;
position
:
absolute
;
visibility
:
visible
;
padding
:
5px
;
font-size
:
1
0
px
;
z-index
:
100000
;
filter
:
alpha
(
opacity
=
80
);
-khtml-opacity
:
0.8
;
-moz-opacity
:
0.8
;
opacity
:
0.8
;}
div
.twipsy.above
.twipsy-arrow
{
bottom
:
0
;
left
:
50%
;
margin-left
:
-5px
;
border-left
:
5px
solid
transparent
;
border-right
:
5px
solid
transparent
;
border-top
:
5px
solid
#000
;}
div
.twipsy
{
display
:
block
;
position
:
absolute
;
visibility
:
visible
;
padding
:
5px
;
font-size
:
1
1
px
;
z-index
:
100000
;
filter
:
alpha
(
opacity
=
80
);
-khtml-opacity
:
0.8
;
-moz-opacity
:
0.8
;
opacity
:
0.8
;}
div
.twipsy.above
.twipsy-arrow
{
bottom
:
0
;
left
:
50%
;
margin-left
:
-5px
;
border-left
:
5px
solid
transparent
;
border-right
:
5px
solid
transparent
;
border-top
:
5px
solid
#000
;}
div
.twipsy.left
.twipsy-arrow
{
top
:
50%
;
right
:
0
;
margin-top
:
-5px
;
border-top
:
5px
solid
transparent
;
border-bottom
:
5px
solid
transparent
;
border-left
:
5px
solid
#000
;}
div
.twipsy.left
.twipsy-arrow
{
top
:
50%
;
right
:
0
;
margin-top
:
-5px
;
border-top
:
5px
solid
transparent
;
border-bottom
:
5px
solid
transparent
;
border-left
:
5px
solid
#000
;}
div
.twipsy.below
.twipsy-arrow
{
top
:
0
;
left
:
50%
;
margin-left
:
-5px
;
border-left
:
5px
solid
transparent
;
border-right
:
5px
solid
transparent
;
border-bottom
:
5px
solid
#000
;}
div
.twipsy.below
.twipsy-arrow
{
top
:
0
;
left
:
50%
;
margin-left
:
-5px
;
border-left
:
5px
solid
transparent
;
border-right
:
5px
solid
transparent
;
border-bottom
:
5px
solid
#000
;}
div
.twipsy.right
.twipsy-arrow
{
top
:
50%
;
left
:
0
;
margin-top
:
-5px
;
border-top
:
5px
solid
transparent
;
border-bottom
:
5px
solid
transparent
;
border-right
:
5px
solid
#000
;}
div
.twipsy.right
.twipsy-arrow
{
top
:
50%
;
left
:
0
;
margin-top
:
-5px
;
border-top
:
5px
solid
transparent
;
border-bottom
:
5px
solid
transparent
;
border-right
:
5px
solid
#000
;}
div
.twipsy
.twipsy-inner
{
padding
:
5px
8px
4
px
;
background-color
:
#000
;
color
:
white
;
text-align
:
center
;
max-width
:
200px
;
text-decoration
:
none
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
div
.twipsy
.twipsy-inner
{
padding
:
3px
8
px
;
background-color
:
#000
;
color
:
white
;
text-align
:
center
;
max-width
:
200px
;
text-decoration
:
none
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;}
div
.twipsy
.twipsy-arrow
{
position
:
absolute
;
width
:
0
;
height
:
0
;}
div
.twipsy
.twipsy-arrow
{
position
:
absolute
;
width
:
0
;
height
:
0
;}
docs/assets/js/application.js
View file @
e112d34b
...
@@ -86,7 +86,7 @@ $(document).ready(function(){
...
@@ -86,7 +86,7 @@ $(document).ready(function(){
// Disable certain links in docs
// Disable certain links in docs
// =============================
// =============================
$
(
'
ul.tabs a, ul.pills a, .pagination a
'
).
click
(
function
(
e
)
{
$
(
'
ul.tabs a, ul.pills a, .pagination a
, .well .btn, .actions .btn, .alert-message .btn, a.close
'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
e
.
preventDefault
();
});
});
...
...
docs/index.html
View file @
e112d34b
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<li><a
href=
"#forms"
>
Forms
</a></li>
<li><a
href=
"#forms"
>
Forms
</a></li>
<li><a
href=
"#navigation"
>
Navigation
</a></li>
<li><a
href=
"#navigation"
>
Navigation
</a></li>
<li><a
href=
"#alerts"
>
Alerts
</a></li>
<li><a
href=
"#alerts"
>
Alerts
</a></li>
<li><a
href=
"#
modals"
>
Modal
s
</a></li>
<li><a
href=
"#
popovers"
>
Popover
s
</a></li>
<li><a
href=
"#less"
>
LESS
</a></li>
<li><a
href=
"#less"
>
LESS
</a></li>
</ul>
</ul>
</div>
</div>
...
@@ -1056,9 +1056,9 @@
...
@@ -1056,9 +1056,9 @@
</section>
</section>
<section
id=
"
modal
s"
>
<section
id=
"
popover
s"
>
<div
class=
"page-header"
>
<div
class=
"page-header"
>
<h1>
Modals
<small>
Rules and conditions for displaying content in dialog boxe
s
</small></h1>
<h1>
Popovers
<small>
Components for displaying content in modals, tooltips, and popover
s
</small></h1>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"span4 columns"
>
<div
class=
"span4 columns"
>
...
...
lib/forms.less
View file @
e112d34b
...
@@ -79,6 +79,13 @@ form {
...
@@ -79,6 +79,13 @@ form {
border-color: #ccc;
border-color: #ccc;
.box-shadow(inset 0 1px 2px rgba(0,0,0,.075));
.box-shadow(inset 0 1px 2px rgba(0,0,0,.075));
}
}
// Placeholder text gets special styles; can't be bundled together though for some reason
:-moz-placeholder {
color: @grayLight;
}
::-webkit-input-placeholder {
color: @grayLight;
}
// Focus states
// Focus states
input[type=text],
input[type=text],
input[type=password],
input[type=password],
...
@@ -229,7 +236,7 @@ div.input-append {
...
@@ -229,7 +236,7 @@ div.input-append {
height: 18px;
height: 18px;
text-align: center;
text-align: center;
text-shadow: 0 1px 0 #fff;
text-shadow: 0 1px 0 #fff;
border: 1px solid #
bbb
;
border: 1px solid #
ccc
;
border-right-width: 0;
border-right-width: 0;
.border-radius(3px 0 0 3px);
.border-radius(3px 0 0 3px);
}
}
...
...
lib/patterns.less
View file @
e112d34b
...
@@ -515,7 +515,7 @@ div.twipsy {
...
@@ -515,7 +515,7 @@ div.twipsy {
position: absolute;
position: absolute;
visibility: visible;
visibility: visible;
padding: 5px;
padding: 5px;
font-size: 1
0
px;
font-size: 1
1
px;
z-index: 100000;
z-index: 100000;
.opacity(80);
.opacity(80);
&.above {
&.above {
...
@@ -540,8 +540,8 @@ div.twipsy {
...
@@ -540,8 +540,8 @@ div.twipsy {
}
}
&.below {
&.below {
.twipsy-arrow {
.twipsy-arrow {
top:0;
top:
0;
left:50%;
left:
50%;
margin-left: -5px;
margin-left: -5px;
border-left: 5px solid transparent;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-right: 5px solid transparent;
...
@@ -559,12 +559,12 @@ div.twipsy {
...
@@ -559,12 +559,12 @@ div.twipsy {
}
}
}
}
.twipsy-inner {
.twipsy-inner {
padding:
5px 8px 4
px;
padding:
3px 8
px;
background-color: #000;
background-color: #000;
color: white;
color: white;
text-align: center;
text-align: center;
max-width: 200px;
max-width: 200px;
text-decoration:none;
text-decoration:
none;
.border-radius(4px);
.border-radius(4px);
}
}
.twipsy-arrow {
.twipsy-arrow {
...
...
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