Sha256: 3b54431c90fecdd0a77445c64d6ab030fc935ca4b61ef2f30b868010db674d7f

Contents?: true

Size: 1.14 KB

Versions: 2

Compression:

Stored size: 1.14 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;
    }
  }

  @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

2 entries across 2 versions & 1 rubygems

Version Path
tmatt_cms-0.1.1 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss
tmatt_cms-0.1.0 lib/generators/tmatt_cms/templates/css/application/mixin.css.scss