From 4b3fb3087738ba2836538bacd34256503b6afc96 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 2 Nov 2012 01:39:40 -0700 Subject: tweaks to icons defaults and in buttons improve vertical align --- docs/assets/css/bootstrap.css | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'docs/assets/css/bootstrap.css') diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 52865cf0d..2600fc4d4 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2162,8 +2162,9 @@ table th[class*="span"], } [class^="glyphicon-"]:before { - display: inline-block; - font: normal 12px/1 'Glyphicons Halflings'; + font-family: 'Glyphicons Halflings'; + font-style: normal; + line-height: 1; } .glyphicon-glass:before { @@ -3237,16 +3238,13 @@ button.close { border-radius: 3px; } -.btn-large [class^="glyphicon-"]::before { - font-size: 14px; -} - -.btn-small [class^="glyphicon-"]::before { - font-size: 10px; +.btn [class^="glyphicon-"]::before { + vertical-align: -2px; } +.btn-small [class^="glyphicon-"]::before, .btn-mini [class^="glyphicon-"]::before { - font-size: 9px; + vertical-align: -1px; } .btn-block { -- cgit v1.2.3