Sha256: 8d1d410df9e1876c0e7f5f821c9648cf494e83befd5e2d60fa4cfe5f40fc93f6

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

@mixin clearfix {
  zoom: 1;
  &:before,
  &:after {
    content: "\0020";
    display: block;
    height: 0;
    overflow: hidden;
  }
  &:after {
    clear: both;
  }
}

@mixin transition($transition-property: all, $transition-time: 0.3s, $method: ease) {
  -webkit-transition: $transition-property $transition-time $method;
  -moz-transition: $transition-property $transition-time $method;
  -ms-transition: $transition-property $transition-time $method;
  -o-transition: $transition-property $transition-time $method;
  transition: $transition-property $transition-time $method;
}

@mixin circle($diameter, $color) {
  width: $diameter;
  height: $diameter;
  border-radius: 50%;
  background-color: $color;
}

@mixin link_visited_hover_active {
  &:link, &:visited, &:hover, &:active {
    @content;
  }
}

@mixin center_with_flexbox ($flex-align, $justify-content) {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-align: $flex-align;
  -ms-flex-align: $flex-align;
  -webkit-align-items: $flex-align;
  align-items: $flex-align;
  -webkit-justify-content: $justify-content;
  justify-content: $justify-content;
}

@mixin border_highlight($direction, $color: $color-nav-hover) {
  border: 0;
  border-#{$direction}: $header_active_border_height solid $color;
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
forever_style_guide-2.0.3 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-2.0.2 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-2.0.1 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-2.0.0 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss