Sha256: 31ed81c277cb5565ff31aeec69c0d80f291c0c81de1206cc70d8df63295f6735
Contents?: true
Size: 1.83 KB
Versions: 2
Compression:
Stored size: 1.83 KB
Contents
@import "sass-zero/variables/border"; @import "sass-zero/variables/effects"; @import "sass-zero/variables/spacing"; @import "sass-zero/variables/zindex"; @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 ellipsis { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } @mixin input-selection($color) { appearance: none; border-width: $border; color: $color; margin-bottom: -0.1rem; height: $size-4; width: $size-4; } @mixin checked { border-color: transparent; background-color: currentColor; background-position: center; background-repeat: no-repeat; } @mixin outline-none { outline: 2px solid transparent; outline-offset: 2px; } @mixin outline-white { outline: 2px dotted white; outline-offset: 2px; } @mixin outline-black { outline: 2px dotted black; outline-offset: 2px; } @mixin divider($color) { position: relative; z-index: $z-10; ::before { content: ''; position: absolute; top: 50%; left: $size-0; right: $size-0; height: $size-px; background-color: $color; z-index: -1; } } @mixin space-x($space, $reverse: false) { & > :not([hidden]) ~ :not([hidden]) { @if $reverse { margin-right: $space; } @else { margin-left: $space; } } } @mixin space-y($space, $reverse: false) { & > :not([hidden]) ~ :not([hidden]) { @if $reverse { margin-bottom: $space; } @else { margin-top: $space; } } } @mixin make-container($padding-x: $size-4) { width: 100%; padding-right: $padding-x; padding-left: $padding-x; margin-right: $size-auto; margin-left: $size-auto; }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sass-zero-0.0.46 | app/assets/stylesheets/sass-zero/mixins.scss |
sass-zero-0.0.45 | app/assets/stylesheets/sass-zero/mixins.scss |