2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

add new vars for common font-sizes and paddings with large, small, and mini components; resize pagination and buttons to better match each other

This commit is contained in:
Mark Otto
2012-09-18 20:56:20 -07:00
parent 37460e58d3
commit 2769241aeb
6 changed files with 143 additions and 235 deletions
+13 -9
View File
@@ -71,11 +71,17 @@
// Button Sizes
// --------------------------------------------------
// Reset line-heights
.btn-large,
.btn-small,
.btn-mini {
line-height: 1;
}
// Large
.btn-large {
padding: 9px 14px;
font-size: @baseFontSize + 2px;
line-height: normal;
padding: @paddingLarge;
font-size: @fontSizeLarge;
.border-radius(5px);
}
.btn-large [class^="icon-"] {
@@ -84,9 +90,8 @@
// Small
.btn-small {
padding: 3px 9px;
font-size: @baseFontSize - 2px;
line-height: @baseLineHeight - 2px;
padding: @paddingSmall;
font-size: @fontSizeSmall;
}
.btn-small [class^="icon-"] {
margin-top: 0;
@@ -94,9 +99,8 @@
// Mini
.btn-mini {
padding: 2px 6px;
font-size: @baseFontSize - 3px;
line-height: @baseLineHeight - 3px;
padding: @paddingMini;
font-size: @fontSizeMini;
}