Created
January 7, 2015 07:11
-
-
Save yoonwaiyan/9cbdf2e68533af6fe0af to your computer and use it in GitHub Desktop.
Status Tag CSS extracted from ActiveAdmin. Can be applied in any scss with "status_tag" class with the appropriate class name for the colors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.status_tag { | |
background: darken(#cacaca, 15%); | |
color: #fff; | |
text-transform: uppercase; | |
letter-spacing: 0.15em; | |
padding: 3px 5px 2px 5px; | |
font-size: 0.8em; | |
&.ok, &.published, &.complete, &.completed, &.green { background: #8daa92; } | |
&.warn, &.warning, &.orange { background: #e29b20; } | |
&.error, &.errored, &.red { background: #d45f53; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment