summaryrefslogtreecommitdiff
path: root/journal/variables.less
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.me>2012-11-07 11:19:50 -0500
committerThomas Park <thomas@thomaspark.me>2012-11-07 11:19:50 -0500
commit22ba90495b9fd3bd1d9d22a97b09bd3dd237b1ed (patch)
treea5b51c79966e9b90eff7b9fa5d2778357989db97 /journal/variables.less
parent6b5f9a066df01432cc6c345cab719e70adee29e4 (diff)
updated to 2.2.1
Diffstat (limited to 'journal/variables.less')
-rwxr-xr-xjournal/variables.less28
1 files changed, 25 insertions, 3 deletions
diff --git a/journal/variables.less b/journal/variables.less
index 275222f2..bf777567 100755
--- a/journal/variables.less
+++ b/journal/variables.less
@@ -1,8 +1,8 @@
+// Journal 2.2.1
// Variables
-// Swatch: Journal
-// Version: 2.1.1
// --------------------------------------------------
+
// Global values
// --------------------------------------------------
@@ -57,6 +57,24 @@
@headingsFontWeight: bold; // instead of browser default, bold
@headingsColor: @black; // empty to use BS default, @textColor
+
+// Component sizing
+// -------------------------
+// Based on 14px font-size and 20px line-height
+
+@fontSizeLarge: @baseFontSize * 1.25; // ~18px
+@fontSizeSmall: @baseFontSize * 0.85; // ~12px
+@fontSizeMini: @baseFontSize * 0.75; // ~11px
+
+@paddingLarge: 11px 19px; // 44px
+@paddingSmall: 2px 10px; // 26px
+@paddingMini: 1px 6px; // 24px
+
+@baseBorderRadius: 4px;
+@borderRadiusLarge: 6px;
+@borderRadiusSmall: 3px;
+
+
// Tables
// -------------------------
@tableBackground: transparent; // overall background-color
@@ -93,9 +111,11 @@
// -------------------------
@inputBackground: @white;
@inputBorder: #ccc;
-@inputBorderRadius: 3px;
+@inputBorderRadius: @baseBorderRadius;
@inputDisabledBackground: @grayLighter;
@formActionsBackground: @grayLighter;
+@inputHeight: @baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
+
// Dropdowns
// -------------------------
@@ -116,6 +136,7 @@
// COMPONENT VARIABLES
// --------------------------------------------------
+
// Z-index master list
// -------------------------
// Used for a bird's eye view of components dependent on the z-axis
@@ -157,6 +178,7 @@
// Navbar
// -------------------------
@navbarCollapseWidth: 979px;
+@navbarCollapseDesktopWidth: @navbarCollapseWidth + 1;
@navbarHeight: 60px;
@navbarBackgroundHighlight: @bodyBackground;