diff options
| author | Julian Thilo <[email protected]> | 2014-01-07 22:24:45 +0100 |
|---|---|---|
| committer | Julian Thilo <[email protected]> | 2014-01-07 22:24:45 +0100 |
| commit | 8fd177bfa78d3e742486a66450465f3716cd11b2 (patch) | |
| tree | 70464468ed5a225b294c4da72649051a56e6a417 /less/type.less | |
| parent | 5f328dce889823f1ec78844427a48da4c2eb6638 (diff) | |
| download | bootstrap-8fd177bfa78d3e742486a66450465f3716cd11b2.tar.xz bootstrap-8fd177bfa78d3e742486a66450465f3716cd11b2.zip | |
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
Diffstat (limited to 'less/type.less')
| -rw-r--r-- | less/type.less | 48 |
1 files changed, 24 insertions, 24 deletions
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 |
