aboutsummaryrefslogtreecommitdiff
path: root/less/buttons.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-09-18 20:56:20 -0700
committerMark Otto <[email protected]>2012-09-18 20:56:20 -0700
commit2769241aeb5e9eba4a34ddbd9d495f7f8271e360 (patch)
tree5c2cb4a217e7b3e6e7d8d457b69e9683ecefbf12 /less/buttons.less
parent37460e58d3139ef43425583b50d967341ec43930 (diff)
downloadbootstrap-2769241aeb5e9eba4a34ddbd9d495f7f8271e360.tar.xz
bootstrap-2769241aeb5e9eba4a34ddbd9d495f7f8271e360.zip
add new vars for common font-sizes and paddings with large, small, and mini components; resize pagination and buttons to better match each other
Diffstat (limited to 'less/buttons.less')
-rw-r--r--less/buttons.less22
1 files changed, 13 insertions, 9 deletions
diff --git a/less/buttons.less b/less/buttons.less
index c80986ea7..1fa33d1e5 100644
--- a/less/buttons.less
+++ b/less/buttons.less
@@ -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;
}