Skip to content

Instantly share code, notes, and snippets.

@narkeeso
Forked from anonymous/gist:637347
Created October 20, 2010 22:35
Show Gist options
  • Save narkeeso/637483 to your computer and use it in GitHub Desktop.
Save narkeeso/637483 to your computer and use it in GitHub Desktop.
=info-box($color)
background-color: $color
border-color: darken(desaturate($color, 70), 10)
section
&.info
font-size: 12px
font-weight: bold
padding: 1px 15px
border-width: 1px
border-style: solid
+info-box(#fffecf)
&.error
@extend .info
+info-box(#ffcfcf)
&.success
@extend .info
+info-box(#cfffd5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment