Sha256: 5516dcd3ae9f18bc52f0a4d29a4086d5aba16e1e952f9684babf2d0bc6f5022c

Contents?: true

Size: 801 Bytes

Versions: 4

Compression:

Stored size: 801 Bytes

Contents

//
// Mixins for styling flash messages
//


@mixin flash-message{
	@include flash-message-base;
	@include flash-message-colors($flash-success-class, $flash-notice-class, $flash-error-class);
}

@mixin flash-message-base{ display:block; position:relative; }

@mixin flash-message-colors($success: $flash-success-class, $notice: $flash-notice-class, $error: $flash-error-class){
	&.flash-message-#{unquote($success)}{ 
		color:$success-color; 
		background-color:$success-bg-color;
		border-color:$success-border-color;
	}	
	&.flash-message-#{unquote($notice)}{ 
		color:$notice-color; 
		background-color:$notice-bg-color;
		border-color:$notice-border-color;
	}	
	&.flash-message-#{unquote($error)}{ 
		color:$error-color; 
		background-color:$error-bg-color;
		border-color:$error-border-color;
	}
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
facades-0.1.0 lib/facades/stylesheets/facades/ui/_flash-messages.scss
facades-0.0.7 lib/facades/stylesheets/facades/ui/_flash-messages.scss
facades-0.0.6 lib/facades/stylesheets/facades/ui/_flash-messages.scss
facades-0.0.5 lib/facades/stylesheets/facades/ui/_flash-messages.scss