Sha256: 0f92d9d062763b5cd3a9da9c67d6026f4075cefc59131511dc1b993872ea006c

Contents?: true

Size: 1.15 KB

Versions: 5

Compression:

Stored size: 1.15 KB

Contents

@mixin respond-to($breakpoint) {
  @if map-has-key($grid-breakpoints, $breakpoint) {
    $value: map-get($grid-breakpoints, $breakpoint);

    @media screen and (min-width: $value) {
      @content;
    }
  }
  @else {
    @warn "Unknown `#{$breakpoint}` in $breakpoints";
  }
}

@mixin inner_border{
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

@mixin blur_image($blur) {
  -webkit-filter: blur($blur);
  -moz-filter: blur($blur);
  -o-filter: blur($blur);
  -ms-filter: blur($blur);
  filter: blur($blur);
}

@mixin default_background() {
  background: image_url('bg.png') repeat;
}

@mixin class_transition($time) {
  -webkit-transition: all $time;
  -moz-transition: all $time;
  -o-transition: all $time;
  transition: all $time;
}

@mixin linear_gradient($color_from, $color_to) {
  background: -webkit-linear-gradient($color_from, $color_from, $color_from, $color_to);
  background: -o-linear-gradient($color_from, $color_from, $color_from, $color_to);
  background: -moz-linear-gradient($color_from, $color_from, $color_from, $color_to);
  background: linear-gradient($color_from, $color_from, $color_from, $color_to);
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tmatt_cms-0.1.6 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss
tmatt_cms-0.1.5 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss
tmatt_cms-0.1.4 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss
tmatt_cms-0.1.3 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss
tmatt_cms-0.1.2 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss