diff options
| author | ggam <[email protected]> | 2013-08-12 14:07:19 +0200 |
|---|---|---|
| committer | ggam <[email protected]> | 2013-08-12 14:07:19 +0200 |
| commit | 6993db1840561e89dd772302d5b3d567bc92f033 (patch) | |
| tree | a106eb685fe68e0b52989f58abe9a9c28b66ffb0 /less/buttons.less | |
| parent | 175a112548120500022882d6d2e9bede720f568b (diff) | |
| download | bootstrap-6993db1840561e89dd772302d5b3d567bc92f033.tar.xz bootstrap-6993db1840561e89dd772302d5b3d567bc92f033.zip | |
Added button-size mixin
Diffstat (limited to 'less/buttons.less')
| -rw-r--r-- | less/buttons.less | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/less/buttons.less b/less/buttons.less index 8dc05e824..e35515358 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -121,17 +121,13 @@ // -------------------------------------------------- .btn-lg { - padding: @padding-large-vertical @padding-large-horizontal; - font-size: @font-size-large; - line-height: @line-height-large; // ensure even-numbered height of button next to large input - border-radius: @border-radius-large; + // line-height: ensure even-numbered height of button next to large input + .button-size(@padding-large-vertical; @padding-large-horizontal; @font-size-large; @line-height-large; @border-radius-large); } .btn-sm, .btn-xs { - padding: @padding-small-vertical @padding-small-horizontal; - font-size: @font-size-small; - line-height: @line-height-small; // ensure proper height of button next to small input - border-radius: @border-radius-small; + // line-height: ensure proper height of button next to small input + .button-size(@padding-small-vertical; @padding-small-horizontal; @font-size-small; @line-height-small; @border-radius-small); } .btn-xs { padding: 3px 5px; |
