Sha256: 6214a7bc84b47faf862453f57843e1ee4b486326e83a68839d7146fef541a995

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 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 selection($color) {
  appearance: none;
  border-width: $border;
  color: $color;
  margin-bottom: -0.2rem;
  height: $size-4;
  width: $size-4;
}

@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;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sass-zero-0.0.40 app/assets/stylesheets/sass-zero/mixins.scss
sass-zero-0.0.39 app/assets/stylesheets/sass-zero/mixins.scss
sass-zero-0.0.38 app/assets/stylesheets/sass-zero/mixins.scss