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:
+13
-9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user