From 210ee6369313b311b879cf1a773ecfd0276f3543 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 26 Jul 2013 00:18:18 -0700 Subject: Fixes #8586: add addional color text classes to apply all of branch colors easily --- less/type.less | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'less') diff --git a/less/type.less b/less/type.less index 653c78ef4..bf7ec7ec9 100644 --- a/less/type.less +++ b/less/type.less @@ -23,25 +23,18 @@ p { // Ex: 14px base font * 85% = about 12px small { font-size: 85%; } +// Undo browser default styling cite { font-style: normal; } -// Utility classes +// Contextual emphasis .text-muted { color: @gray-light; } -a.text-muted:hover, -a.text-muted:focus { color: darken(@gray-light, 10%); } - +.text-primary { color: @brand-primary; } .text-warning { color: @state-warning-text; } -a.text-warning:hover, -a.text-warning:focus { color: darken(@state-warning-text, 10%); } - .text-danger { color: @state-danger-text; } -a.text-danger:hover, -a.text-danger:focus { color: darken(@state-danger-text, 10%); } - .text-success { color: @state-success-text; } -a.text-success:hover, -a.text-success:focus { color: darken(@state-success-text, 10%); } +.text-info { color: @state-info-text; } +// Alignment .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } -- cgit v1.2.3