// Mixins
// =============================================================================

// Vendor Prefixes
// -----------------------------------------------------------------------------
@mixin box-sizing($boxmodel) {
    -webkit-box-sizing: $boxmodel;
    -moz-box-sizing: $boxmodel;
    box-sizing: $boxmodel;
}

@mixin user-select($select) {
    -webkit-user-select: $select;
    -moz-user-select: $select;
    -ms-user-select: $select; // IE10+
    user-select: $select;
}

// Opacity
// -----------------------------------------------------------------------------
@mixin opacity($opacity) {
    opacity: $opacity;
}

// Sizing shortcuts
// -----------------------------------------------------------------------------
@mixin size($width, $height) {
    width: $width;
    height: $height;
}

@mixin min-size($width, $height) {
    min-width: $width;
    min-height: $height;
}

@mixin max-size($width, $height) {
    max-width: $width;
    max-height: $height;
}

@mixin square($size) {
    @include size($size, $size);
}

@mixin min-square($size) {
    @include min-size($size, $size);
}

@mixin max-square($size) {
    @include max-size($size, $size);
}
