diff options
author | elijah <elijah@riseup.net> | 2012-08-24 21:12:36 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-08-24 21:12:36 -0700 |
commit | 627f0488e5bd3c31359fc9e78acffbfea4a86a8b (patch) | |
tree | f7b14733e314cf82d5fa3e18cbe9d98c2ffe5c7c /app/assets/stylesheets/bootstrap/_labels.scss | |
parent | b774dea07f97b078fa17e5dcbf901d1c83fed0d6 (diff) |
committed website v. 0.1.0
Diffstat (limited to 'app/assets/stylesheets/bootstrap/_labels.scss')
-rw-r--r-- | app/assets/stylesheets/bootstrap/_labels.scss | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app/assets/stylesheets/bootstrap/_labels.scss b/app/assets/stylesheets/bootstrap/_labels.scss new file mode 100644 index 0000000..6a2ed80 --- /dev/null +++ b/app/assets/stylesheets/bootstrap/_labels.scss @@ -0,0 +1,32 @@ +// LABELS +// ------ + +// Base +.label { + padding: 2px 4px 3px; + font-size: $baseFontSize * .85; + font-weight: bold; + color: $white; + text-shadow: 0 -1px 0 rgba(0,0,0,.25); + background-color: $grayLight; + @include border-radius(3px); +} + +// Hover state +.label:hover { + color: $white; + text-decoration: none; +} + +// Colors +.label-important { background-color: $errorText; } +.label-important:hover { background-color: darken($errorText, 10%); } + +.label-warning { background-color: $orange; } +.label-warning:hover { background-color: darken($orange, 10%); } + +.label-success { background-color: $successText; } +.label-success:hover { background-color: darken($successText, 10%); } + +.label-info { background-color: $infoText; } +.label-info:hover { background-color: darken($infoText, 10%); } |