mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02:00
tweaks to icons defaults and in buttons improve vertical align
This commit is contained in:
16
docs/assets/css/bootstrap.css
vendored
16
docs/assets/css/bootstrap.css
vendored
@@ -2162,8 +2162,9 @@ table th[class*="span"],
|
|||||||
}
|
}
|
||||||
|
|
||||||
[class^="glyphicon-"]:before {
|
[class^="glyphicon-"]:before {
|
||||||
display: inline-block;
|
font-family: 'Glyphicons Halflings';
|
||||||
font: normal 12px/1 'Glyphicons Halflings';
|
font-style: normal;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.glyphicon-glass:before {
|
.glyphicon-glass:before {
|
||||||
@@ -3237,16 +3238,13 @@ button.close {
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-large [class^="glyphicon-"]::before {
|
.btn [class^="glyphicon-"]::before {
|
||||||
font-size: 14px;
|
vertical-align: -2px;
|
||||||
}
|
|
||||||
|
|
||||||
.btn-small [class^="glyphicon-"]::before {
|
|
||||||
font-size: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-small [class^="glyphicon-"]::before,
|
||||||
.btn-mini [class^="glyphicon-"]::before {
|
.btn-mini [class^="glyphicon-"]::before {
|
||||||
font-size: 9px;
|
vertical-align: -1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-block {
|
.btn-block {
|
||||||
|
@@ -95,9 +95,9 @@
|
|||||||
// Icons in buttons
|
// Icons in buttons
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
.btn-large [class^="glyphicon-"]::before { font-size: 14px; }
|
.btn [class^="glyphicon-"]::before { vertical-align: -2px; }
|
||||||
.btn-small [class^="glyphicon-"]::before { font-size: 10px; }
|
.btn-small [class^="glyphicon-"]::before,
|
||||||
.btn-mini [class^="glyphicon-"]::before { font-size: 9px; }
|
.btn-mini [class^="glyphicon-"]::before { vertical-align: -1px; }
|
||||||
|
|
||||||
|
|
||||||
// Block button
|
// Block button
|
||||||
|
@@ -32,8 +32,9 @@
|
|||||||
|
|
||||||
// Catchall baseclass
|
// Catchall baseclass
|
||||||
[class^="glyphicon-"]:before {
|
[class^="glyphicon-"]:before {
|
||||||
display: inline-block;
|
font-family: 'Glyphicons Halflings';
|
||||||
font: normal 12px/1 'Glyphicons Halflings';
|
font-style: normal;
|
||||||
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Individual icons
|
// Individual icons
|
||||||
|
Reference in New Issue
Block a user