vendor/frameworks/twitter/bootstrap/variables.scss in anjlab-bootstrap-rails-2.1.1.1 vs vendor/frameworks/twitter/bootstrap/variables.scss in anjlab-bootstrap-rails-2.2.0.0
- old
+ new
@@ -55,10 +55,28 @@
$headingsFontFamily: inherit !default; // empty to use BS default, $baseFontFamily
$headingsFontWeight: bold !default; // instead of browser default, bold
$headingsColor: inherit !default; // empty to use BS default, $textColor
+
+// Component sizing
+// -------------------------
+// Based on 14px font-size and 20px line-height
+
+$fontSizeLarge: $baseFontSize * 1.25 !default; // ~18px
+$fontSizeSmall: $baseFontSize * 0.85 !default; // ~12px
+$fontSizeMini: $baseFontSize * 0.75 !default; // ~11px
+
+$paddingLarge: 11px 19px !default; // 44px
+$paddingSmall: 2px 10px !default; // 26px
+$paddingMini: 1px 6px !default; // 24px
+
+$baseBorderRadius: 4px !default;
+$borderRadiusLarge: 6px !default;
+$borderRadiusSmall: 3px !default;
+
+
// Tables
// -------------------------
$tableBackground: transparent !default; // overall background-color
$tableBackgroundAccent: #f9f9f9 !default; // for striping
$tableBackgroundHover: #f5f5f5 !default; // for hover
@@ -90,15 +108,17 @@
// Forms
// -------------------------
$inputBackground: $white !default;
-$inputBorder: #ccc !default;
-$inputBorderRadius: 3px !default;
+$inputBorder: #ccc;
+$inputBorderRadius: $baseBorderRadius !default;
$inputDisabledBackground: $grayLighter !default;
-$formActionsBackground: #f5f5f5 !default;
+$formActionsBackground: #f5f5f5 !default;
+$inputHeight: $baseLineHeight + 10px !default; // base line-height + 8px vertical padding + 2px top/bottom border
+
// Dropdowns
// -------------------------
$dropdownBackground: $white !default;
$dropdownBorder: rgba(0,0,0,.2) !default;
$dropdownDividerTop: #e5e5e5 !default;
@@ -114,10 +134,11 @@
// COMPONENT VARIABLES
// --------------------------------------------------
+
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
// Try to avoid customizing these :)
$zindexDropdown: 1000 !default;
@@ -149,9 +170,10 @@
// Navbar
// -------------------------
$navbarCollapseWidth: 979px !default;
+$navbarCollapseDesktopWidth: $navbarCollapseWidth + 1 !default;
$navbarHeight: 40px !default;
$navbarBackgroundHighlight: #ffffff !default;
$navbarBackground: darken($navbarBackgroundHighlight, 5%) !default;
$navbarBorder: darken($navbarBackground, 12%) !default;