aboutsummaryrefslogtreecommitdiff
path: root/lib/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-01-23 11:25:16 -0800
committerMark Otto <[email protected]>2012-01-23 11:25:16 -0800
commit22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6 (patch)
treedbeda3a602dd2cb89a30ba820730c5738c420455 /lib/forms.less
parent1209a3756c88043008950f74dd287b837e00f7d8 (diff)
parent782c994060a984c10d73fdd3cc8e3fe33a2e4477 (diff)
downloadbootstrap-22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6.tar.xz
bootstrap-22fa3712598f6c7d7bcff44ed5ce01f96cbc6ca6.zip
Merge branch 'normalize' of https://github.com/necolas/bootstrap into necolas-normalize
Conflicts: bootstrap.css bootstrap.min.css lib/type.less
Diffstat (limited to 'lib/forms.less')
-rw-r--r--lib/forms.less11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/forms.less b/lib/forms.less
index bdc6e3e07..85bf26163 100644
--- a/lib/forms.less
+++ b/lib/forms.less
@@ -8,17 +8,25 @@
// Make all forms have space below them
form {
- margin-bottom: @baseLineHeight;
+ margin: 0 0 @baseLineHeight;
+}
+
+fieldset {
+ padding: 0;
+ margin: 0;
+ border: 0;
}
// Groups of fields with labels on top (legends)
legend {
display: block;
width: 100%;
+ padding: 0;
margin-bottom: @baseLineHeight * 1.5;
font-size: @baseFontSize * 1.5;
line-height: @baseLineHeight * 2;
color: @grayDark;
+ border: 0;
border-bottom: 1px solid #eee;
-webkit-margin-collapse: separate;
}
@@ -26,6 +34,7 @@ legend {
// Set font for forms
label,
input,
+button,
select,
textarea {
#font > .sans-serif(@baseFontSize,normal,@baseLineHeight);