From 51f37cbb8105ad632fae7367912130aafc0f6c86 Mon Sep 17 00:00:00 2001 From: ctalkington Date: Thu, 15 Mar 2012 13:34:50 -0500 Subject: make font family mixins customizable with variables. --- less/variables.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 94c3a0667..56f2a8d59 100644 --- a/less/variables.less +++ b/less/variables.less @@ -54,6 +54,10 @@ @headingsFontWeight: bold; // instead of browser default, bold @headingsColor: inherit; // empty to use BS default, @textColor +@serifFontFamily: Georgia, "Times New Roman", Times, serif; +@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif; +@monoFontFamily: Menlo, Monaco, "Courier New", monospace; + // Tables // ------------------------- -- cgit v1.2.3 From bf09c979ca8f8275806e8ca3eef57ad484b2951e Mon Sep 17 00:00:00 2001 From: ctalkington Date: Thu, 15 Mar 2012 14:21:27 -0500 Subject: make brand links follow navbarLinkColor but also be customizable in advanced cases. --- less/variables.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 94c3a0667..812587fcd 100644 --- a/less/variables.less +++ b/less/variables.less @@ -154,6 +154,7 @@ @navbarSearchBackgroundFocus: @white; @navbarSearchBorder: darken(@navbarSearchBackground, 30%); @navbarSearchPlaceholderColor: #ccc; +@navbarBrandColor: @navbarLinkColor; // Hero unit -- cgit v1.2.3 From e0c85fb69cfc4a9956856e0b14afb12def2fccf0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 22 Mar 2012 17:18:07 -0700 Subject: use new font-stack mixins in base and alt font family mixins --- less/variables.less | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 1fb22ac32..c8e2a3c0d 100644 --- a/less/variables.less +++ b/less/variables.less @@ -45,19 +45,19 @@ // Typography // ------------------------- +@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif; +@serifFontFamily: Georgia, "Times New Roman", Times, serif; +@monoFontFamily: Menlo, Monaco, "Courier New", monospace; + @baseFontSize: 13px; -@baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif; +@baseFontFamily: @sansFontFamily; @baseLineHeight: 18px; -@altFontFamily: Georgia, "Times New Roman", Times, serif; +@altFontFamily: @serifFontFamily; @headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily @headingsFontWeight: bold; // instead of browser default, bold @headingsColor: inherit; // empty to use BS default, @textColor -@serifFontFamily: Georgia, "Times New Roman", Times, serif; -@sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif; -@monoFontFamily: Menlo, Monaco, "Courier New", monospace; - // Tables // ------------------------- -- cgit v1.2.3 From 1852d077bfa15308808c470a031f6e6b5c3dc8d2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 22 Mar 2012 21:08:41 -0700 Subject: add shell of tests page, lighten form actions background and give it a variable --- less/variables.less | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index c8e2a3c0d..35fa11265 100644 --- a/less/variables.less +++ b/less/variables.less @@ -97,7 +97,7 @@ @inputBackground: @white; @inputBorder: #ccc; @inputDisabledBackground: @grayLighter; - +@formActionsBackground: #f5f5f5; // Dropdowns // ------------------------- @@ -188,7 +188,6 @@ - // GRID // -------------------------------------------------- -- cgit v1.2.3 From 10ff5f16a64bf9b5cc45ba42e30cbf191e866eec Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Apr 2012 14:25:58 -0700 Subject: fix #2968 manually: add consolas to monospace font stack --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 35fa11265..30dd73b8b 100644 --- a/less/variables.less +++ b/less/variables.less @@ -47,7 +47,7 @@ // ------------------------- @sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif; @serifFontFamily: Georgia, "Times New Roman", Times, serif; -@monoFontFamily: Menlo, Monaco, "Courier New", monospace; +@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace; @baseFontSize: 13px; @baseFontFamily: @sansFontFamily; -- cgit v1.2.3 From 0a71f171bc63dcfea42fe002bab00454d728fc42 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Apr 2012 16:17:15 -0700 Subject: readd bootstrap.zip, add @inputBorderRadius var to close #2946 --- less/variables.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 30dd73b8b..a9e3d4082 100644 --- a/less/variables.less +++ b/less/variables.less @@ -96,6 +96,7 @@ // ------------------------- @inputBackground: @white; @inputBorder: #ccc; +@inputBorderRadius: 3px; @inputDisabledBackground: @grayLighter; @formActionsBackground: #f5f5f5; -- cgit v1.2.3 From 5c5310dc877d4a42299f65c2b68f51154da8d523 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Apr 2012 16:57:11 -0700 Subject: remove @gridRowWidth var since we don't use it anywhere --- less/variables.less | 1 - 1 file changed, 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index a9e3d4082..9c7d71559 100644 --- a/less/variables.less +++ b/less/variables.less @@ -197,7 +197,6 @@ @gridColumns: 12; @gridColumnWidth: 60px; @gridGutterWidth: 20px; -@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); // Fluid grid -- cgit v1.2.3 From a184806538b102614626b0dd1683065db4ce07d3 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 15 Apr 2012 17:25:32 -0700 Subject: nuke line --- less/variables.less | 1 - 1 file changed, 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 9c7d71559..279c163f1 100644 --- a/less/variables.less +++ b/less/variables.less @@ -198,7 +198,6 @@ @gridColumnWidth: 60px; @gridGutterWidth: 20px; - // Fluid grid // ------------------------- @fluidGridColumnWidth: 6.382978723%; -- cgit v1.2.3 From 419e50e33974f7741c4e6b25772f2be65aa73240 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 23 Apr 2012 10:06:35 -0700 Subject: fix up buttons after recess property order --- less/variables.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index 279c163f1..ca8e3ae40 100644 --- a/less/variables.less +++ b/less/variables.less @@ -71,7 +71,7 @@ // ------------------------- @btnBackground: @white; @btnBackgroundHighlight: darken(@white, 10%); -@btnBorder: darken(@white, 20%); +@btnBorder: #ccc; @btnPrimaryBackground: @linkColor; @btnPrimaryBackgroundHighlight: spin(@btnPrimaryBackground, 15%); -- cgit v1.2.3 From d8aaf507981dbecb146bc77e288a3f10387923cd Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 24 Apr 2012 02:11:59 -0700 Subject: implement ie7 fluid tests and semantic.gs IE7 hack for rounding in ie7; not perfect, but mostly solid --- less/variables.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/variables.less') diff --git a/less/variables.less b/less/variables.less index ca8e3ae40..d8825fb07 100644 --- a/less/variables.less +++ b/less/variables.less @@ -197,6 +197,7 @@ @gridColumns: 12; @gridColumnWidth: 60px; @gridGutterWidth: 20px; +@gridRowWidth: (@gridColumns * @gridColumnWidth) + (@gridGutterWidth * (@gridColumns - 1)); // Fluid grid // ------------------------- -- cgit v1.2.3