Sha256: c1b6dbd6414af8a16245e376901b8b3f5e92790befd4dadedf84da6b3c4c90ec

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

@import "sass-zero/variables/border";
@import "sass-zero/variables/effects";
@import "sass-zero/variables/spacing";

@mixin ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@mixin antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@mixin subpixel-antialiased {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

@mixin clearfix {
  &::after {
    display: block;
    clear: both;
    content: "";
  }
}

@mixin focus {
  border-color: #a4cafe;
  box-shadow: $shadow-outline;
  outline: 0;
}

@mixin checked {
  border-color: transparent;
  background-color: currentColor;
  background-position: center;
  background-repeat: no-repeat;
}

@mixin space-x($space, $reverse: false) {
  & > :not(template) ~ :not(template) {
    @if $reverse {
      margin-right: $space;
    } @else {
      margin-left: $space;
    }
  }
}

@mixin space-y($space, $reverse: false) {
  & > :not(template) ~ :not(template) {
    @if $reverse {
      margin-bottom: $space;
    } @else {
      margin-top: $space;
    }
  }
}

@mixin make-container($padding-x, $max-width) {
  width: 100%;
  padding-right: $padding-x;
  padding-left: $padding-x;
  margin-right: $size-auto;
  margin-left:  $size-auto;
  max-width: $max-width;
}

@mixin input-selection($color) {
  appearance: none;
  border-width: $border;
  color: $color;
  margin-bottom: -0.1rem;
  height: $size-4;
  width: $size-4;
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sass-zero-0.0.41 app/assets/stylesheets/sass-zero/mixins.scss