2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

tweaks to icons defaults and in buttons improve vertical align

This commit is contained in:
Mark Otto
2012-11-02 01:39:40 -07:00
parent 72198a59c0
commit 4b3fb30877
3 changed files with 13 additions and 14 deletions
+3 -3
View File
@@ -95,9 +95,9 @@
// Icons in buttons
// -------------------------
.btn-large [class^="glyphicon-"]::before { font-size: 14px; }
.btn-small [class^="glyphicon-"]::before { font-size: 10px; }
.btn-mini [class^="glyphicon-"]::before { font-size: 9px; }
.btn [class^="glyphicon-"]::before { vertical-align: -2px; }
.btn-small [class^="glyphicon-"]::before,
.btn-mini [class^="glyphicon-"]::before { vertical-align: -1px; }
// Block button
+3 -2
View File
@@ -32,8 +32,9 @@
// Catchall baseclass
[class^="glyphicon-"]:before {
display: inline-block;
font: normal 12px/1 'Glyphicons Halflings';
font-family: 'Glyphicons Halflings';
font-style: normal;
line-height: 1;
}
// Individual icons