From 8fd177bfa78d3e742486a66450465f3716cd11b2 Mon Sep 17 00:00:00 2001 From: Julian Thilo Date: Tue, 7 Jan 2014 22:24:45 +0100 Subject: Fix #12073: Consistent order of variations This changes the order of component variations throughout the repo (code and docs) to be more consistent. The order now used everywhere is the one most frequently found in the repo before: Default, Primary, Success, Info, Warning, Danger --- less/type.less | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 585584470..91496dc8c 100644 --- a/less/type.less +++ b/less/type.less @@ -97,18 +97,6 @@ cite { font-style: normal; } color: darken(@brand-primary, 10%); } } -.text-warning { - color: @state-warning-text; - &:hover { - color: darken(@state-warning-text, 10%); - } -} -.text-danger { - color: @state-danger-text; - &:hover { - color: darken(@state-danger-text, 10%); - } -} .text-success { color: @state-success-text; &:hover { @@ -121,6 +109,18 @@ cite { font-style: normal; } color: darken(@state-info-text, 10%); } } +.text-warning { + color: @state-warning-text; + &:hover { + color: darken(@state-warning-text, 10%); + } +} +.text-danger { + color: @state-danger-text; + &:hover { + color: darken(@state-danger-text, 10%); + } +} // Contextual backgrounds // For now we'll leave these alongside the text classes until v4 when we can @@ -134,18 +134,6 @@ cite { font-style: normal; } background-color: darken(@brand-primary, 10%); } } -.bg-warning { - background-color: @state-warning-bg; - a&:hover { - background-color: darken(@state-warning-bg, 10%); - } -} -.bg-danger { - background-color: @state-danger-bg; - a&:hover { - background-color: darken(@state-danger-bg, 10%); - } -} .bg-success { background-color: @state-success-bg; a&:hover { @@ -158,6 +146,18 @@ cite { font-style: normal; } background-color: darken(@state-info-bg, 10%); } } +.bg-warning { + background-color: @state-warning-bg; + a&:hover { + background-color: darken(@state-warning-bg, 10%); + } +} +.bg-danger { + background-color: @state-danger-bg; + a&:hover { + background-color: darken(@state-danger-bg, 10%); + } +} // Page header -- cgit v1.2.3