Sha256: 94f3e2537b165e1969fac23a7c93ff24eb858e6f7f2ae369fab1f5896f1edbf0

Contents?: true

Size: 1.54 KB

Versions: 9

Compression:

Stored size: 1.54 KB

Contents

@function font($name, $base_url){
	@include font-face($name,  font-files('#{$base_url}.woff', woff, '#{$base_url}.ttf', truetype), '#{$base_url}.eot');
}

@mixin pie_option{
	@if $experimental-support-for-pie{ @include pie; }
}

@mixin gradient($start:blue, $end:false, $darken:6%){
	@if not $end{ $end:darken($start, $darken); }
	@include background(linear-gradient($start, $end));
}

// Wireframing
@mixin wf($color:#dedede){
	@if($debug or $wireframe){ 
		background-color:$color; position:relative;
		span.wireframe_title{ position:absolute; bottom:0px; left:0px; font-size:10px; background:lighten($color, 5%); border:1px solid darken($color, 10%); padding:.25em; }
	}
}

////////////////////////////////////
// Button defaults.
////////////////////////////////////

@import "blueprint/buttons";
// Button defaults
$blueprint-button-font-family:$blueprint-font-family;
$blueprint-button-background-color:#333;
$blueprint-button-border-color:darken($blueprint-button-background-color, 10%);
$blueprint-button-font-color:#fff;
$blueprint-button-hover-background-color:#555;
$blueprint-button-hover-border-color:darken($blueprint-button-hover-background-color, 10%);
$blueprint-button-hover-font-color:$blueprint-button-font-color;
$blueprint-button-active-background-color:#444;
$blueprint-button-active-border-color:darken($blueprint-button-active-background-color, 10%);
$blueprint-button-active-font-color:white;

.button{ @include button-colors; @include button-active-colors; @include button-hover-colors; }
.rounded{ @include border-radius(10px); @include pie_option; }

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
motr-0.1.1 lib/generators/templates/compass/includes/_mixins.scss
motr-0.1.0 lib/generators/templates/compass/includes/_mixins.scss
motr-0.0.9 lib/generators/templates/compass/includes/_mixins.scss
motr-0.0.8 lib/generators/templates/compass/includes/_mixins.scss
motr-0.0.7 lib/generators/templates/compass/includes/_mixins.scss
motr-0.0.6 lib/generators/templates/compass/includes/_mixins.scss
motr-0.0.5 lib/generators/templates/compass/includes/_mixins.scss
motr-0.0.4 lib/generator/templates/compass/includes/_mixins.scss
motr-0.0.3 lib/generator/templates/compass/includes/_mixins.scss