aboutsummaryrefslogtreecommitdiff
path: root/less/variables.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/variables.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/variables.less')
-rw-r--r--less/variables.less14
1 files changed, 14 insertions, 0 deletions
diff --git a/less/variables.less b/less/variables.less
index 734664316..5fb685377 100644
--- a/less/variables.less
+++ b/less/variables.less
@@ -57,6 +57,7 @@
@headingsFontWeight: bold; // instead of browser default, bold
@headingsColor: inherit; // empty to use BS default, @textColor
+
// Tables
// -------------------------
@tableBackground: transparent; // overall background-color
@@ -97,6 +98,7 @@
@inputDisabledBackground: @grayLighter;
@formActionsBackground: #f5f5f5;
+
// Dropdowns
// -------------------------
@dropdownBackground: @white;
@@ -116,6 +118,7 @@
// COMPONENT VARIABLES
// --------------------------------------------------
+
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
@@ -128,6 +131,17 @@
@zindexModal: 1050;
+// Component size variations
+// -------------------------
+@fontSizeLarge: @baseFontSize * 1.25; // ~18px
+@fontSizeSmall: @baseFontSize * 0.85; // ~12px
+@fontSizeMini: @baseFontSize * 0.75; // ~11px
+
+@paddingLarge: 10px 19px;
+@paddingSmall: 6px 10px;
+@paddingMini: 5px 6px;
+
+
// Sprite icons path
// -------------------------
@iconSpritePath: "../img/glyphicons-halflings.png";