From 99ede580cf85611bf446abd46fa1ad4daf850a59 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 10 Sep 2011 15:29:38 -0700 Subject: adding code and .label sections to type section --- lib/patterns.less | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index 0fb7193c2..d0262b3b9 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -897,7 +897,7 @@ input[type=submit].btn { } -// Pattern Animations +// PATTERN ANIMATIONS // ------------------ .fade { @@ -906,4 +906,22 @@ input[type=submit].btn { &.in { opacity: 1; } +} + + +// LABELS +// ------ + +.label { + padding: 1px 3px 2px; + background-color: @grayLight; + font-size: @basefont * .75; + font-weight: bold; + color: @white; + text-transform: uppercase; + .border-radius(3px); + &.important { background-color: #c43c35; } + &.warning { background-color: @orange; } + &.success { background-color: @green; } + &.notice { background-color: lighten(@blue, 25%); } } \ No newline at end of file -- cgit v1.2.3