Sha256: b85ec8c71880555dcd4ffc1104474a5052b4464044290b506fcef0f91d03372f

Contents?: true

Size: 1.39 KB

Versions: 41

Compression:

Stored size: 1.39 KB

Contents

$header_active_border_height: 2px;
$color-nav-hover: color('secondary');

@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

41 entries across 41 versions & 1 rubygems

Version Path
forever_style_guide-3.0.40 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.39 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.38 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.37 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.36 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.35 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.34 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.33 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.32 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.31 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.30 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.29 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.28 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.27 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.26 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.25 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.24 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.23 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.22 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss
forever_style_guide-3.0.21 app/assets/stylesheets/forever_style_guide/globals/_mixins.scss