diff options
| author | Mark Otto <[email protected]> | 2012-11-05 18:44:10 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2012-11-05 18:44:10 -0800 |
| commit | 23a7ab4b51f0f366bad00b5a8db7c9ee76eec16b (patch) | |
| tree | d68b606d6636135457196bfee1ec77d95e6ad18b /less | |
| parent | 33beb93e1bb6a9a7e5a7480fa19b32b60a88729d (diff) | |
| download | bootstrap-23a7ab4b51f0f366bad00b5a8db7c9ee76eec16b.tar.xz bootstrap-23a7ab4b51f0f366bad00b5a8db7c9ee76eec16b.zip | |
icon vertical align in buttons
Diffstat (limited to 'less')
| -rw-r--r-- | less/buttons.less | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/less/buttons.less b/less/buttons.less index 4497d3acd..80a31fcf5 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -72,10 +72,6 @@ font-size: @fontSizeLarge; .border-radius(@borderRadiusLarge); } -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 2px; -} // Small .btn-small { @@ -83,10 +79,6 @@ font-size: @fontSizeSmall; .border-radius(@borderRadiusSmall); } -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} // Mini .btn-mini { @@ -96,6 +88,14 @@ } +// Icons in buttons +// ------------------------- + +.btn [class^="icon-"]:before { vertical-align: -2px; } +.btn-small [class^="icon-"]:before, +.btn-mini [class^="icon-"]:before { vertical-align: -1px; } + + // Block button // ------------------------- |
