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
7962b36d
Commit
7962b36d
authored
Jul 01, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
misc updates to docs and form bug fix
parent
be3a57a6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
5 deletions
+20
-5
bootstrap-1.0.0.css
bootstrap-1.0.0.css
+7
-1
bootstrap-1.0.0.min.css
bootstrap-1.0.0.min.css
+3
-1
docs/assets/js/application.js
docs/assets/js/application.js
+2
-2
lib/forms.less
lib/forms.less
+8
-1
No files found.
bootstrap-1.0.0.css
View file @
7962b36d
...
...
@@ -719,6 +719,12 @@ form .uneditable-input {
-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
,
...
...
@@ -875,7 +881,7 @@ div.input-prepend .add-on, div.input-append .add-on {
height
:
18px
;
text-align
:
center
;
text-shadow
:
0
1px
0
#fff
;
border
:
1px
solid
#
bbb
;
border
:
1px
solid
#
ccc
;
border-right-width
:
0
;
-webkit-border-radius
:
3px
0
0
3px
;
-moz-border-radius
:
3px
0
0
3px
;
...
...
bootstrap-1.0.0.min.css
View file @
7962b36d
...
...
@@ -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
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
:-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
]
: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
;}
...
...
@@ -110,7 +112,7 @@ div.inline-inputs input.mini{width:60px;}
div
.inline-inputs
input
.small
{
width
:
90px
;}
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
.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-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
;}
...
...
docs/assets/js/application.js
View file @
7962b36d
...
...
@@ -35,8 +35,8 @@ $(document).ready(function(){
}
});
// Disable certain links in docs
$
(
'
ul.tabs a, ul.pills a, .pagination a
'
).
click
(
function
(
e
)
{
// Disable certain links
and buttons
in docs
$
(
'
ul.tabs a, ul.pills a, .pagination a
, .well .btn, .actions .btn, .alert-message .btn, a.close
'
).
click
(
function
(
e
)
{
e
.
preventDefault
();
});
...
...
lib/forms.less
View file @
7962b36d
...
...
@@ -79,6 +79,13 @@ form {
border-color: #ccc;
.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
input[type=text],
input[type=password],
...
...
@@ -229,7 +236,7 @@ div.input-append {
height: 18px;
text-align: center;
text-shadow: 0 1px 0 #fff;
border: 1px solid #
bbb
;
border: 1px solid #
ccc
;
border-right-width: 0;
.border-radius(3px 0 0 3px);
}
...
...
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