// Mixin

@mixin hover-state {
    &:hover, &:active, &:focus {
        @content;
    }
}
@mixin hover-full-state {
    &:hover, &:active, &:focus, &.active {
        @content;
    }
}
@mixin hover-focus-state {
    &:hover, &:focus {
        @content;
    }
}
@mixin active-focus-state {
    &:active, &:focus {
        @content;
    }
}
@mixin hover-active-state {
    &:hover, &:active, &.active {
        @content;
    }
}
@mixin before-after-state {
    &:before, &:after {
        @content;
    }
}

@mixin clear() {
	overflow:hidden;
	clear:both;
	float:none;
}

@mixin placeholder {
  &::-webkit-input-placeholder {@content}
  &:-moz-placeholder           {@content}
  &::-moz-placeholder          {@content}
  &:-ms-input-placeholder      {@content}  
}

@mixin transition($transition...) {
    -moz-transition:    $transition;
    -o-transition:      $transition;
    -webkit-transition: $transition;
    transition:         $transition;
}
@mixin transition-property($property...) {
    -moz-transition-property:    $property;
    -o-transition-property:      $property;
    -webkit-transition-property: $property;
    transition-property:         $property;
}
@mixin transition-duration($duration...) {
    -moz-transition-property:    $duration;
    -o-transition-property:      $duration;
    -webkit-transition-property: $duration;
    transition-property:         $duration;
}
@mixin transition-timing-function($timing...) {
    -moz-transition-timing-function:    $timing;
    -o-transition-timing-function:      $timing;
    -webkit-transition-timing-function: $timing;
    transition-timing-function:         $timing;
}
@mixin transition-delay($delay...) {
    -moz-transition-delay:    $delay;
    -o-transition-delay:      $delay;
    -webkit-transition-delay: $delay;
    transition-delay:         $delay;
}


@mixin box-shadow($value) {
    -webkit-box-shadow: $value;
    -moz-box-shadow: $value;
    box-shadow: $value;
}