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
d2e56ad5
Commit
d2e56ad5
authored
Dec 10, 2011
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
unstyle image inputs
parent
d5878451
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
5 deletions
+16
-5
bootstrap.css
bootstrap.css
+7
-3
bootstrap.min.css
bootstrap.min.css
+2
-1
lib/forms.less
lib/forms.less
+7
-1
No files found.
bootstrap.css
View file @
d2e56ad5
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
* http://www.apache.org/licenses/LICENSE-2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Designed and built with all the love in the world @twitter by @mdo and @fat.
* Date: Sat Dec 10 22:2
0:18
PST 2011
* Date: Sat Dec 10 22:2
9:17
PST 2011
*/
*/
html
,
body
{
html
,
body
{
margin
:
0
;
margin
:
0
;
...
@@ -567,8 +567,7 @@ select,
...
@@ -567,8 +567,7 @@ select,
-moz-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;
border-radius
:
3px
;
}
}
/* Mini reset for unique input types */
input
[
type
=
image
],
input
[
type
=
checkbox
],
input
[
type
=
radio
]
{
input
[
type
=
checkbox
],
input
[
type
=
radio
]
{
width
:
auto
;
width
:
auto
;
height
:
auto
;
height
:
auto
;
padding
:
0
;
padding
:
0
;
...
@@ -605,6 +604,11 @@ select[multiple] {
...
@@ -605,6 +604,11 @@ select[multiple] {
height
:
inherit
;
height
:
inherit
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
input
[
type
=
image
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;
}
textarea
{
textarea
{
height
:
auto
;
height
:
auto
;
}
}
...
...
bootstrap.min.css
View file @
d2e56ad5
...
@@ -96,11 +96,12 @@ legend{display:block;width:100%;margin-bottom:27px;font-size:19.5px;line-height:
...
@@ -96,11 +96,12 @@ legend{display:block;width:100%;margin-bottom:27px;font-size:19.5px;line-height:
label
,
input
,
select
,
textarea
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
normal
;
font-weight
:
13px
;
line-height
:
18px
;}
label
,
input
,
select
,
textarea
{
font-family
:
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-size
:
normal
;
font-weight
:
13px
;
line-height
:
18px
;}
label
{
display
:
block
;
margin-bottom
:
5px
;
color
:
#404040
;}
label
{
display
:
block
;
margin-bottom
:
5px
;
color
:
#404040
;}
input
,
textarea
,
select
,
.uneditable-input
{
display
:
inline-block
;
width
:
210px
;
height
:
18px
;
padding
:
4px
;
font-size
:
13px
;
line-height
:
18px
;
color
:
#808080
;
border
:
1px
solid
#ccc
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;}
input
,
textarea
,
select
,
.uneditable-input
{
display
:
inline-block
;
width
:
210px
;
height
:
18px
;
padding
:
4px
;
font-size
:
13px
;
line-height
:
18px
;
color
:
#808080
;
border
:
1px
solid
#ccc
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;}
input
[
type
=
checkbox
],
input
[
type
=
radio
]
{
width
:
auto
;
height
:
auto
;
padding
:
0
;
margin
:
3px
0
;
*
margin-top
:
0
;
line-height
:
normal
;
border
:
none
;
cursor
:
pointer
;}
input
[
type
=
image
],
input
[
type
=
checkbox
],
input
[
type
=
radio
]
{
width
:
auto
;
height
:
auto
;
padding
:
0
;
margin
:
3px
0
;
*
margin-top
:
0
;
line-height
:
normal
;
border
:
none
;
cursor
:
pointer
;}
input
[
type
=
file
]
{
padding
:
initial
;
line-height
:
initial
;
border
:
initial
;
background-color
:
#ffffff
;
background-color
:
initial
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
input
[
type
=
file
]
{
padding
:
initial
;
line-height
:
initial
;
border
:
initial
;
background-color
:
#ffffff
;
background-color
:
initial
;
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
input
[
type
=
button
],
input
[
type
=
reset
],
input
[
type
=
submit
]
{
width
:
auto
;
height
:
auto
;}
input
[
type
=
button
],
input
[
type
=
reset
],
input
[
type
=
submit
]
{
width
:
auto
;
height
:
auto
;}
select
,
input
[
type
=
file
]
{
height
:
27px
;
*
margin-top
:
4px
;
line-height
:
27px
;}
select
,
input
[
type
=
file
]
{
height
:
27px
;
*
margin-top
:
4px
;
line-height
:
27px
;}
select
[
multiple
]
{
height
:
inherit
;
background-color
:
#ffffff
;}
select
[
multiple
]
{
height
:
inherit
;
background-color
:
#ffffff
;}
input
[
type
=
image
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
textarea
{
height
:
auto
;}
textarea
{
height
:
auto
;}
input
,
textarea
{
-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
);
-webkit-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-moz-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-ms-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-o-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;}
input
,
textarea
{
-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
);
-webkit-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-moz-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-ms-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
-o-transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;
transition
:
border
linear
0.2s
,
box-shadow
linear
0.2s
;}
input
:focus
,
textarea
:focus
{
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
);
outline
:
0
;}
input
:focus
,
textarea
:focus
{
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
);
outline
:
0
;}
...
...
lib/forms.less
View file @
d2e56ad5
...
@@ -53,7 +53,8 @@ select,
...
@@ -53,7 +53,8 @@ select,
.border-radius(3px);
.border-radius(3px);
}
}
/* Mini reset for unique input types */
// Mini reset for unique input types
input[type=image],
input[type=checkbox],
input[type=checkbox],
input[type=radio] {
input[type=radio] {
width: auto;
width: auto;
...
@@ -98,6 +99,11 @@ select[multiple] {
...
@@ -98,6 +99,11 @@ select[multiple] {
background-color: @white; // Fixes Chromium bug?
background-color: @white; // Fixes Chromium bug?
}
}
// Remove shadow from image inputs
input[type=image] {
.box-shadow(none);
}
textarea {
textarea {
height: auto;
height: auto;
}
}
...
...
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