From 5ea66ba3b00659779dcdc4dae05e38cfe7a0da77 Mon Sep 17 00:00:00 2001 From: Nick Schonning Date: Sat, 26 Apr 2014 02:30:50 -0400 Subject: Minor Spacing fixes Flagged upstream in bootstrap-sass by scss-lint --- less/type.less | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 91298f1c0..83455e828 100644 --- a/less/type.less +++ b/less/type.less @@ -76,10 +76,14 @@ p { // Ex: 14px base font * 85% = about 12px small, -.small { font-size: 85%; } +.small { + font-size: 85%; +} // Undo browser default styling -cite { font-style: normal; } +cite { + font-style: normal; +} mark, .mark { -- cgit v1.2.3 From 3564369fdf7ed23c04774d0e023d3efeb060fa71 Mon Sep 17 00:00:00 2001 From: Sam Roth Date: Sun, 27 Apr 2014 15:40:25 -0400 Subject: Update type.less For better readability on mobile devices --- less/type.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 83455e828..384cacc8e 100644 --- a/less/type.less +++ b/less/type.less @@ -62,7 +62,7 @@ p { .lead { margin-bottom: @line-height-computed; font-size: floor((@font-size-base * 1.15)); - font-weight: 200; + font-weight: 300; line-height: 1.4; @media (min-width: @screen-sm-min) { -- cgit v1.2.3 From 585f4787f7080e738e8172a56901c2f347a54a30 Mon Sep 17 00:00:00 2001 From: Konstantin Kulinicenko Date: Sat, 24 May 2014 15:33:15 +0200 Subject: text transformation added Transform text in components with text capitalization classes. --- less/type.less | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 384cacc8e..d76298e57 100644 --- a/less/type.less +++ b/less/type.less @@ -97,6 +97,11 @@ mark, .text-center { text-align: center; } .text-justify { text-align: justify; } +// Transformation +.text-lowercase { text-transform: lowercase; } +.text-uppercase { text-transform: uppercase; } +.text-capitalize { text-transform: capitalize; } + // Contextual colors .text-muted { color: @text-muted; -- cgit v1.2.3 From dcbe484a09531da4ecc80fd2991a9910fb6a64ed Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 10 Jun 2014 21:20:34 -0700 Subject: New text align class, .text-nowrap, for preventing text from breaking to new lines. Applies it to the grid docs table. --- less/type.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 384cacc8e..101c81e72 100644 --- a/less/type.less +++ b/less/type.less @@ -96,6 +96,7 @@ mark, .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } +.text-nowrap { white-space: nowrap; } // Contextual colors .text-muted { -- cgit v1.2.3 From c7cd63107b551ddb8fe201340f1fa9cbe97f8af0 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 18 Jun 2014 21:52:34 -0700 Subject: fixes #13346: add a variable for .dl-horizontal's offset --- less/type.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 93414474a..5eb69f3c2 100644 --- a/less/type.less +++ b/less/type.less @@ -219,13 +219,13 @@ dd { @media (min-width: @grid-float-breakpoint) { dt { float: left; - width: (@component-offset-horizontal - 20); + width: (@dl-horizontal-offset - 20); clear: left; text-align: right; .text-overflow(); } dd { - margin-left: @component-offset-horizontal; + margin-left: @dl-horizontal-offset; } } } -- cgit v1.2.3 From 09cf618acff6e6992aa14bc11c89206f104c6748 Mon Sep 17 00:00:00 2001 From: Thomas Welton Date: Fri, 20 Jun 2014 10:31:49 +0100 Subject: Use @font-size-small variable to calculate font-size fixes #13713 #13809 --- less/type.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 5eb69f3c2..9b1e48bae 100644 --- a/less/type.less +++ b/less/type.less @@ -74,10 +74,10 @@ p { // Emphasis & misc // ------------------------- -// Ex: 14px base font * 85% = about 12px +// Ex: (12px small font / 14px base font) * 100% = about 85% small, .small { - font-size: 85%; + font-size: floor((100% * @font-size-small / @font-size-base)); } // Undo browser default styling -- cgit v1.2.3 From 9677c95d83f361b7c3a43e56ef89590305c84905 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 5 Jul 2014 20:02:02 -0700 Subject: Fixes #13967: Don't reset the cite element's font-style --- less/type.less | 5 ----- 1 file changed, 5 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 9b1e48bae..6ab3c0804 100644 --- a/less/type.less +++ b/less/type.less @@ -80,11 +80,6 @@ small, font-size: floor((100% * @font-size-small / @font-size-base)); } -// Undo browser default styling -cite { - font-style: normal; -} - mark, .mark { background-color: @state-warning-bg; -- cgit v1.2.3