diff options
| author | Andreas Cederström <[email protected]> | 2012-02-17 13:31:36 +0100 |
|---|---|---|
| committer | Andreas Cederström <[email protected]> | 2012-02-17 13:31:36 +0100 |
| commit | 1e6d386b8df2d7235b23a96ddd0489c1ab2650dc (patch) | |
| tree | 00a0032fdf582d39da1d1609bf40f9e4b90d464e /less/forms.less | |
| parent | 60826077e7384e548c44c26531e7ae94e12fbcf4 (diff) | |
| parent | 091622644a0c619e1afbb21041c141da30df76b7 (diff) | |
| download | bootstrap-1e6d386b8df2d7235b23a96ddd0489c1ab2650dc.tar.xz bootstrap-1e6d386b8df2d7235b23a96ddd0489c1ab2650dc.zip | |
Keep origin in track
Diffstat (limited to 'less/forms.less')
| -rw-r--r-- | less/forms.less | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/less/forms.less b/less/forms.less index 81e5bb42c..0a5fa2b86 100644 --- a/less/forms.less +++ b/less/forms.less @@ -42,7 +42,13 @@ input, button, select, textarea { - #font > .sans-serif(@baseFontSize,normal,@baseLineHeight); + #font > .shorthand(@baseFontSize,normal,@baseLineHeight); // Set size, weight, line-height here +} +input, +button, +select, +textarea { + #font > #family > .sans-serif(); // And only set font-family here for those that need it (note the missing label element) } // Identify controls by their labels @@ -90,9 +96,12 @@ input[type="radio"] { margin: 3px 0; *margin-top: 0; /* IE7 */ line-height: normal; - border: 0; cursor: pointer; .border-radius(0); + border: 0 \9; /* IE9 and down */ +} +input[type="image"] { + border: 0; } // Reset the file input to browser defaults |
