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
2d67c340
Commit
2d67c340
authored
Jan 26, 2012
by
Mark Otto
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'form_alignment' of
https://github.com/phopkins/bootstrap
into phopkins-form_alignment
Conflicts: bootstrap.css bootstrap.min.css
parents
f398926e
721b8a10
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
33 deletions
+35
-33
bootstrap.css
bootstrap.css
+16
-15
bootstrap.min.css
bootstrap.min.css
+8
-8
lib/buttons.less
lib/buttons.less
+4
-3
lib/forms.less
lib/forms.less
+6
-5
lib/reset.less
lib/reset.less
+1
-2
No files found.
bootstrap.css
View file @
2d67c340
...
@@ -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: Thu Jan 26 15:
04:19
PST 2012
* Date: Thu Jan 26 15:
25:02
PST 2012
*/
*/
article
,
article
,
aside
,
aside
,
...
@@ -63,8 +63,7 @@ select,
...
@@ -63,8 +63,7 @@ select,
textarea
{
textarea
{
margin
:
0
;
margin
:
0
;
font-size
:
100%
;
font-size
:
100%
;
vertical-align
:
baseline
;
vertical-align
:
middle
;
*
vertical-align
:
middle
;
}
}
button
,
input
{
button
,
input
{
*
overflow
:
visible
;
*
overflow
:
visible
;
...
@@ -528,6 +527,9 @@ input[type=image], input[type=checkbox], input[type=radio] {
...
@@ -528,6 +527,9 @@ input[type=image], input[type=checkbox], input[type=radio] {
line-height
:
normal
;
line-height
:
normal
;
border
:
none
;
border
:
none
;
cursor
:
pointer
;
cursor
:
pointer
;
-webkit-border-radius
:
0
;
-moz-border-radius
:
0
;
border-radius
:
0
;
}
}
input
[
type
=
file
]
{
input
[
type
=
file
]
{
padding
:
initial
;
padding
:
initial
;
...
@@ -554,7 +556,6 @@ select, input[type=file] {
...
@@ -554,7 +556,6 @@ select, input[type=file] {
}
}
select
{
select
{
width
:
220px
;
width
:
220px
;
vertical-align
:
baseline
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
select
[
multiple
],
select
[
size
]
{
select
[
multiple
],
select
[
size
]
{
...
@@ -579,7 +580,7 @@ input[type=hidden] {
...
@@ -579,7 +580,7 @@ input[type=hidden] {
margin-left
:
-18px
;
margin-left
:
-18px
;
}
}
.controls
>
.radio
:first-child
,
.controls
>
.checkbox
:first-child
{
.controls
>
.radio
:first-child
,
.controls
>
.checkbox
:first-child
{
padding-top
:
6
px
;
padding-top
:
5
px
;
}
}
.radio.inline
,
.checkbox.inline
{
.radio.inline
,
.checkbox.inline
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -810,13 +811,9 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
...
@@ -810,13 +811,9 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
color
:
#999999
;
color
:
#999999
;
}
}
.help-inline
{
.help-inline
{
*
position
:
relative
;
display
:
inline-block
;
/* IE6-7 */
margin-bottom
:
9px
;
vertical-align
:
middle
;
*
top
:
-5px
;
/* IE6-7 */
display
:
inline
;
padding-left
:
5px
;
padding-left
:
5px
;
}
}
.input-prepend
,
.input-append
{
.input-prepend
,
.input-append
{
...
@@ -905,6 +902,9 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
...
@@ -905,6 +902,9 @@ input:focus:required:invalid:focus, textarea:focus:required:invalid:focus, selec
.form-search
select
,
.form-search
select
,
.form-inline
select
,
.form-inline
select
,
.form-horizontal
select
,
.form-horizontal
select
,
.form-search
.help-inline
,
.form-inline
.help-inline
,
.form-horizontal
.help-inline
,
.form-search
.uneditable-input
,
.form-search
.uneditable-input
,
.form-inline
.uneditable-input
,
.form-inline
.uneditable-input
,
.form-horizontal
.uneditable-input
{
.form-horizontal
.uneditable-input
{
...
@@ -2441,9 +2441,9 @@ table .span12 {
...
@@ -2441,9 +2441,9 @@ table .span12 {
}
}
.btn
{
.btn
{
display
:
inline-block
;
display
:
inline-block
;
padding
:
5px
10px
6
px
;
padding
:
4px
10px
4
px
;
font-size
:
13px
;
font-size
:
13px
;
line-height
:
normal
;
line-height
:
18px
;
color
:
#333333
;
color
:
#333333
;
text-shadow
:
0
1px
1px
rgba
(
255
,
255
,
255
,
0.75
);
text-shadow
:
0
1px
1px
rgba
(
255
,
255
,
255
,
0.75
);
background-color
:
#fafafa
;
background-color
:
#fafafa
;
...
@@ -2518,8 +2518,9 @@ table .span12 {
...
@@ -2518,8 +2518,9 @@ table .span12 {
margin-top
:
1px
;
margin-top
:
1px
;
}
}
.btn.small
{
.btn.small
{
padding
:
7px
9px
7
px
;
padding
:
5px
9px
5
px
;
font-size
:
11px
;
font-size
:
11px
;
line-height
:
16px
;
}
}
.btn.small
.icon
{
.btn.small
.icon
{
margin-top
:
-2px
;
margin-top
:
-2px
;
...
...
bootstrap.min.css
View file @
2d67c340
...
@@ -8,7 +8,7 @@ sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
...
@@ -8,7 +8,7 @@ sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline;}
sup
{
top
:
-0.5em
;}
sup
{
top
:
-0.5em
;}
sub
{
bottom
:
-0.25em
;}
sub
{
bottom
:
-0.25em
;}
img
{
max-width
:
100%
;
height
:
auto
;
border
:
0
;
-ms-interpolation-mode
:
bicubic
;}
img
{
max-width
:
100%
;
height
:
auto
;
border
:
0
;
-ms-interpolation-mode
:
bicubic
;}
button
,
input
,
select
,
textarea
{
margin
:
0
;
font-size
:
100%
;
vertical-align
:
baseline
;
*
vertical-align
:
middle
;}
button
,
input
,
select
,
textarea
{
margin
:
0
;
font-size
:
100%
;
vertical-align
:
middle
;}
button
,
input
{
*
overflow
:
visible
;
line-height
:
normal
;}
button
,
input
{
*
overflow
:
visible
;
line-height
:
normal
;}
button
::-moz-focus-inner
,
input
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;}
button
::-moz-focus-inner
,
input
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;}
button
,
input
[
type
=
"button"
],
input
[
type
=
"reset"
],
input
[
type
=
"submit"
]
{
cursor
:
pointer
;
-webkit-appearance
:
button
;}
button
,
input
[
type
=
"button"
],
input
[
type
=
"reset"
],
input
[
type
=
"submit"
]
{
cursor
:
pointer
;
-webkit-appearance
:
button
;}
...
@@ -97,18 +97,18 @@ label{display:block;margin-bottom:5px;color:#333333;}
...
@@ -97,18 +97,18 @@ label{display:block;margin-bottom:5px;color:#333333;}
input
,
textarea
,
select
,
.uneditable-input
{
display
:
inline-block
;
width
:
210px
;
height
:
18px
;
padding
:
4px
;
margin-bottom
:
9px
;
font-size
:
13px
;
line-height
:
18px
;
color
:
#555555
;
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
;
margin-bottom
:
9px
;
font-size
:
13px
;
line-height
:
18px
;
color
:
#555555
;
border
:
1px
solid
#ccc
;
-webkit-border-radius
:
3px
;
-moz-border-radius
:
3px
;
border-radius
:
3px
;}
.uneditable-textarea
{
width
:
auto
;
height
:
auto
;}
.uneditable-textarea
{
width
:
auto
;
height
:
auto
;}
label
input
,
label
textarea
,
label
select
{
display
:
block
;}
label
input
,
label
textarea
,
label
select
{
display
:
block
;}
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
=
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
;
-webkit-border-radius
:
0
;
-moz-border-radius
:
0
;
border-radius
:
0
;
}
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
:
28px
;
*
margin-top
:
4px
;
line-height
:
28px
;}
select
,
input
[
type
=
file
]
{
height
:
28px
;
*
margin-top
:
4px
;
line-height
:
28px
;}
select
{
width
:
220px
;
vertical-align
:
baseline
;
background-color
:
#ffffff
;}
select
{
width
:
220px
;
background-color
:
#ffffff
;}
select
[
multiple
],
select
[
size
]
{
height
:
auto
;}
select
[
multiple
],
select
[
size
]
{
height
:
auto
;}
input
[
type
=
image
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
input
[
type
=
image
]
{
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
textarea
{
height
:
auto
;}
textarea
{
height
:
auto
;}
input
[
type
=
hidden
]
{
display
:
none
;}
input
[
type
=
hidden
]
{
display
:
none
;}
.radio
,
.checkbox
{
padding-left
:
18px
;}
.radio
,
.checkbox
{
padding-left
:
18px
;}
.radio
input
[
type
=
radio
],
.checkbox
input
[
type
=
checkbox
]
{
float
:
left
;
margin-left
:
-18px
;}
.radio
input
[
type
=
radio
],
.checkbox
input
[
type
=
checkbox
]
{
float
:
left
;
margin-left
:
-18px
;}
.controls
>
.radio
:first-child
,
.controls
>
.checkbox
:first-child
{
padding-top
:
6
px
;}
.controls
>
.radio
:first-child
,
.controls
>
.checkbox
:first-child
{
padding-top
:
5
px
;}
.radio.inline
,
.checkbox.inline
{
display
:
inline-block
;
margin-bottom
:
0
;}
.radio.inline
,
.checkbox.inline
{
display
:
inline-block
;
margin-bottom
:
0
;}
.radio.inline
+
.radio.inline
,
.checkbox.inline
+
.checkbox.inline
{
margin-left
:
10px
;}
.radio.inline
+
.radio.inline
,
.checkbox.inline
+
.checkbox.inline
{
margin-left
:
10px
;}
input
,
textarea
{
-webkit-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-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
1px
rgba
(
0
,
0
,
0
,
0.075
);
-moz-box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
box-shadow
:
inset
0
1px
1px
rgba
(
0
,
0
,
0
,
0.075
);
-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
;}
...
@@ -161,7 +161,7 @@ input:focus:required:invalid,textarea:focus:required:invalid,select:focus:requir
...
@@ -161,7 +161,7 @@ input:focus:required:invalid,textarea:focus:required:invalid,select:focus:requir
:-moz-placeholder
{
color
:
#999999
;}
:-moz-placeholder
{
color
:
#999999
;}
::-webkit-input-placeholder
{
color
:
#999999
;}
::-webkit-input-placeholder
{
color
:
#999999
;}
.help-block
{
margin-top
:
5px
;
margin-bottom
:
0
;
color
:
#999999
;}
.help-block
{
margin-top
:
5px
;
margin-bottom
:
0
;
color
:
#999999
;}
.help-inline
{
*
position
:
relative
;
*
top
:
-5px
;
display
:
inlin
e
;
padding-left
:
5px
;}
.help-inline
{
display
:
inline-block
;
margin-bottom
:
9px
;
vertical-align
:
middl
e
;
padding-left
:
5px
;}
.input-prepend
,
.input-append
{
margin-bottom
:
5px
;
*
zoom
:
1
;}
.input-prepend
:before
,
.input-append
:before
,
.input-prepend
:after
,
.input-append
:after
{
display
:
table
;
content
:
""
;}
.input-prepend
,
.input-append
{
margin-bottom
:
5px
;
*
zoom
:
1
;}
.input-prepend
:before
,
.input-append
:before
,
.input-prepend
:after
,
.input-append
:after
{
display
:
table
;
content
:
""
;}
.input-prepend
:after
,
.input-append
:after
{
clear
:
both
;}
.input-prepend
:after
,
.input-append
:after
{
clear
:
both
;}
.input-prepend
input
,
.input-append
input
,
.input-prepend
.uneditable-input
,
.input-append
.uneditable-input
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
.input-prepend
input
,
.input-append
input
,
.input-prepend
.uneditable-input
,
.input-append
.uneditable-input
{
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
...
@@ -173,7 +173,7 @@ input:focus:required:invalid,textarea:focus:required:invalid,select:focus:requir
...
@@ -173,7 +173,7 @@ input:focus:required:invalid,textarea:focus:required:invalid,select:focus:requir
.input-append
.uneditable-input
{
border-right-color
:
#ccc
;}
.input-append
.uneditable-input
{
border-right-color
:
#ccc
;}
.input-append
.add-on
{
margin-right
:
0
;
margin-left
:
-1px
;
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
.input-append
.add-on
{
margin-right
:
0
;
margin-left
:
-1px
;
-webkit-border-radius
:
0
3px
3px
0
;
-moz-border-radius
:
0
3px
3px
0
;
border-radius
:
0
3px
3px
0
;}
.search-query
{
padding-left
:
14px
;
padding-right
:
14px
;
margin-bottom
:
0
;
-webkit-border-radius
:
14px
;
-moz-border-radius
:
14px
;
border-radius
:
14px
;}
.search-query
{
padding-left
:
14px
;
padding-right
:
14px
;
margin-bottom
:
0
;
-webkit-border-radius
:
14px
;
-moz-border-radius
:
14px
;
border-radius
:
14px
;}
.form-search
input
,
.form-inline
input
,
.form-horizontal
input
,
.form-search
textarea
,
.form-inline
textarea
,
.form-horizontal
textarea
,
.form-search
select
,
.form-inline
select
,
.form-horizontal
select
,
.form-search
.uneditable-input
,
.form-inline
.uneditable-input
,
.form-horizontal
.uneditable-input
{
display
:
inline-block
;
margin-bottom
:
0
;}
.form-search
input
,
.form-inline
input
,
.form-horizontal
input
,
.form-search
textarea
,
.form-inline
textarea
,
.form-horizontal
textarea
,
.form-search
select
,
.form-inline
select
,
.form-horizontal
select
,
.form-search
.
help-inline
,
.form-inline
.help-inline
,
.form-horizontal
.help-inline
,
.form-search
.
uneditable-input
,
.form-inline
.uneditable-input
,
.form-horizontal
.uneditable-input
{
display
:
inline-block
;
margin-bottom
:
0
;}
.form-search
label
,
.form-inline
label
{
display
:
inline-block
;}
.form-search
label
,
.form-inline
label
{
display
:
inline-block
;}
.control-group
{
margin-bottom
:
9px
;}
.control-group
{
margin-bottom
:
9px
;}
.form-horizontal
legend
+
.control-group
{
padding-top
:
27px
;}
.form-horizontal
legend
+
.control-group
{
padding-top
:
27px
;}
...
@@ -464,14 +464,14 @@ table .span12{float:none;width:924px;margin-left:0;}
...
@@ -464,14 +464,14 @@ table .span12{float:none;width:924px;margin-left:0;}
.btn.info
{
background-color
:
#4bb1cf
;
background-image
:
-moz-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-ms-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#5bc0de
),
to
(
#339bb9
));
background-image
:
-webkit-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-o-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-repeat
:
repeat-x
;
border-color
:
#339bb9
#339bb9
#22697d
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);}
.btn.info
:hover
,
.btn.info
:active
,
.btn.info.active
,
.btn.info.disabled
{
background-color
:
#339bb9
;}
.btn.info
{
background-color
:
#4bb1cf
;
background-image
:
-moz-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-ms-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#5bc0de
),
to
(
#339bb9
));
background-image
:
-webkit-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
-o-linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-image
:
linear-gradient
(
top
,
#5bc0de
,
#339bb9
);
background-repeat
:
repeat-x
;
border-color
:
#339bb9
#339bb9
#22697d
;
border-color
:
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.1
)
rgba
(
0
,
0
,
0
,
0.25
);}
.btn.info
:hover
,
.btn.info
:active
,
.btn.info.active
,
.btn.info.disabled
{
background-color
:
#339bb9
;}
.btn.info
[
disabled
]
{
background-color
:
#339bb9
;}
.btn.info
[
disabled
]
{
background-color
:
#339bb9
;}
.btn.info
:active
,
.btn.info.active
{
background-color
:
#287a91
\
9
;}
.btn.info
:active
,
.btn.info.active
{
background-color
:
#287a91
\
9
;}
.btn
{
display
:
inline-block
;
padding
:
5px
10px
6px
;
font-size
:
13px
;
line-height
:
normal
;
color
:
#333333
;
text-shadow
:
0
1px
1px
rgba
(
255
,
255
,
255
,
0.75
);
background-color
:
#fafafa
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
color-stop
(
25%
,
#ffffff
),
to
(
#e6e6e6
));
background-image
:
-webkit-linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
-moz-linear-gradient
(
top
,
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
-ms-linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
-o-linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-repeat
:
no-repeat
;
border
:
1px
solid
#ccc
;
border-bottom-color
:
#bbb
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
cursor
:
pointer
;}
.btn
:hover
{
color
:
#333333
;
text-decoration
:
none
;
background-color
:
#e6e6e6
;
background-position
:
0
-15px
;
-webkit-transition
:
background-position
0.1s
linear
;
-moz-transition
:
background-position
0.1s
linear
;
-ms-transition
:
background-position
0.1s
linear
;
-o-transition
:
background-position
0.1s
linear
;
transition
:
background-position
0.1s
linear
;}
.btn
{
display
:
inline-block
;
padding
:
4px
10px
4px
;
font-size
:
13px
;
line-height
:
18px
;
color
:
#333333
;
text-shadow
:
0
1px
1px
rgba
(
255
,
255
,
255
,
0.75
);
background-color
:
#fafafa
;
background-image
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
from
(
#ffffff
),
color-stop
(
25%
,
#ffffff
),
to
(
#e6e6e6
));
background-image
:
-webkit-linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
-moz-linear-gradient
(
top
,
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
-ms-linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
-o-linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-image
:
linear-gradient
(
#ffffff
,
#ffffff
25%
,
#e6e6e6
);
background-repeat
:
no-repeat
;
border
:
1px
solid
#ccc
;
border-bottom-color
:
#bbb
;
-webkit-border-radius
:
4px
;
-moz-border-radius
:
4px
;
border-radius
:
4px
;
-webkit-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
cursor
:
pointer
;}
.btn
:hover
{
color
:
#333333
;
text-decoration
:
none
;
background-color
:
#e6e6e6
;
background-position
:
0
-15px
;
-webkit-transition
:
background-position
0.1s
linear
;
-moz-transition
:
background-position
0.1s
linear
;
-ms-transition
:
background-position
0.1s
linear
;
-o-transition
:
background-position
0.1s
linear
;
transition
:
background-position
0.1s
linear
;}
.btn
:focus
{
outline
:
1px
dotted
#666
;}
.btn
:focus
{
outline
:
1px
dotted
#666
;}
.btn.active
,
.btn
:active
{
background-image
:
none
;
-webkit-box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
background-color
:
#e6e6e6
;
background-color
:
#d9d9d9
\
9
;}
.btn.active
,
.btn
:active
{
background-image
:
none
;
-webkit-box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
-moz-box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
box-shadow
:
inset
0
2px
4px
rgba
(
0
,
0
,
0
,
0.15
),
0
1px
2px
rgba
(
0
,
0
,
0
,
0.05
);
background-color
:
#e6e6e6
;
background-color
:
#d9d9d9
\
9
;}
.btn.disabled
{
cursor
:
default
;
background-image
:
none
;
background-color
:
#e6e6e6
;
opacity
:
0.65
;
filter
:
alpha
(
opacity
=
65
);
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
.btn.disabled
{
cursor
:
default
;
background-image
:
none
;
background-color
:
#e6e6e6
;
opacity
:
0.65
;
filter
:
alpha
(
opacity
=
65
);
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
.btn
[
disabled
]
{
cursor
:
default
;
background-image
:
none
;
background-color
:
#e6e6e6
;
opacity
:
0.65
;
filter
:
alpha
(
opacity
=
65
);
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
.btn
[
disabled
]
{
cursor
:
default
;
background-image
:
none
;
background-color
:
#e6e6e6
;
opacity
:
0.65
;
filter
:
alpha
(
opacity
=
65
);
-webkit-box-shadow
:
none
;
-moz-box-shadow
:
none
;
box-shadow
:
none
;}
.btn.large
{
padding
:
9px
14px
9px
;
font-size
:
15px
;
line-height
:
normal
;
-webkit-border-radius
:
5px
;
-moz-border-radius
:
5px
;
border-radius
:
5px
;}
.btn.large
{
padding
:
9px
14px
9px
;
font-size
:
15px
;
line-height
:
normal
;
-webkit-border-radius
:
5px
;
-moz-border-radius
:
5px
;
border-radius
:
5px
;}
.btn.large
.icon
{
margin-top
:
1px
;}
.btn.large
.icon
{
margin-top
:
1px
;}
.btn.small
{
padding
:
7px
9px
7px
;
font-size
:
11
px
;}
.btn.small
{
padding
:
5px
9px
5px
;
font-size
:
11px
;
line-height
:
16
px
;}
.btn.small
.icon
{
margin-top
:
-2px
;}
.btn.small
.icon
{
margin-top
:
-2px
;}
button
.btn
::-moz-focus-inner
,
input
[
type
=
submit
]
.btn
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;}
button
.btn
::-moz-focus-inner
,
input
[
type
=
submit
]
.btn
::-moz-focus-inner
{
padding
:
0
;
border
:
0
;}
.btn-group
{
position
:
relative
;
*
zoom
:
1
;}
.btn-group
:before
,
.btn-group
:after
{
display
:
table
;
content
:
""
;}
.btn-group
{
position
:
relative
;
*
zoom
:
1
;}
.btn-group
:before
,
.btn-group
:after
{
display
:
table
;
content
:
""
;}
...
...
lib/buttons.less
View file @
2d67c340
...
@@ -66,9 +66,9 @@
...
@@ -66,9 +66,9 @@
.btn {
.btn {
// Button Base
// Button Base
display: inline-block;
display: inline-block;
padding:
5px 10px 6
px;
padding:
4px 10px 4
px;
font-size: @baseFontSize;
font-size: @baseFontSize;
line-height:
normal
;
line-height:
@baseLineHeight
;
color: @grayDark;
color: @grayDark;
text-shadow: 0 1px 1px rgba(255,255,255,.75);
text-shadow: 0 1px 1px rgba(255,255,255,.75);
#gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
#gradient > .vertical-three-colors(@white, @white, 25%, darken(@white, 10%)); // Don't use .gradientbar() here since it does a three-color gradient
...
@@ -132,8 +132,9 @@
...
@@ -132,8 +132,9 @@
margin-top: 1px;
margin-top: 1px;
}
}
&.small {
&.small {
padding:
7px 9px 7
px;
padding:
5px 9px 5
px;
font-size: @baseFontSize - 2px;
font-size: @baseFontSize - 2px;
line-height: @baseLineHeight - 2px;
}
}
&.small .icon {
&.small .icon {
margin-top: -2px;
margin-top: -2px;
...
...
lib/forms.less
View file @
2d67c340
...
@@ -87,6 +87,7 @@ input[type=radio] {
...
@@ -87,6 +87,7 @@ input[type=radio] {
line-height: normal;
line-height: normal;
border: none;
border: none;
cursor: pointer;
cursor: pointer;
.border-radius(0);
}
}
// Reset the file input to browser defaults
// Reset the file input to browser defaults
...
@@ -118,7 +119,6 @@ input[type=file] {
...
@@ -118,7 +119,6 @@ input[type=file] {
// Chrome on Linux and Mobile Safari need background-color
// Chrome on Linux and Mobile Safari need background-color
select {
select {
width: 220px; // default input width + 10px of padding that doesn't get applied
width: 220px; // default input width + 10px of padding that doesn't get applied
vertical-align: baseline;
background-color: @white;
background-color: @white;
}
}
...
@@ -162,7 +162,7 @@ input[type=hidden] {
...
@@ -162,7 +162,7 @@ input[type=hidden] {
// Move the options list down to align with labels
// Move the options list down to align with labels
.controls > .radio:first-child,
.controls > .radio:first-child,
.controls > .checkbox:first-child {
.controls > .checkbox:first-child {
padding-top:
6
px; // has to be padding because margin collaspes
padding-top:
5
px; // has to be padding because margin collaspes
}
}
// Radios and checkboxes on same line
// Radios and checkboxes on same line
...
@@ -376,9 +376,9 @@ select:focus:required:invalid {
...
@@ -376,9 +376,9 @@ select:focus:required:invalid {
}
}
.help-inline {
.help-inline {
*position: relative; /* IE6-7 */
display: inline-block;
*top: -5px; /* IE6-7 */
margin-bottom: 9px;
display: inlin
e;
vertical-align: middl
e;
padding-left: 5px;
padding-left: 5px;
}
}
...
@@ -468,6 +468,7 @@ select:focus:required:invalid {
...
@@ -468,6 +468,7 @@ select:focus:required:invalid {
input,
input,
textarea,
textarea,
select,
select,
.help-inline,
.uneditable-input {
.uneditable-input {
display: inline-block;
display: inline-block;
margin-bottom: 0;
margin-bottom: 0;
...
...
lib/reset.less
View file @
2d67c340
...
@@ -91,8 +91,7 @@ select,
...
@@ -91,8 +91,7 @@ select,
textarea {
textarea {
margin: 0;
margin: 0;
font-size: 100%;
font-size: 100%;
vertical-align: baseline;
vertical-align: middle;
*vertical-align: middle;
}
}
button,
button,
input {
input {
...
...
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