Sha256: 8bef09f06c6d8f98fa7eb8da920af581c1b8153224d1045f37954f7ef67e3ad0

Contents?: true

Size: 905 Bytes

Versions: 4

Compression:

Stored size: 905 Bytes

Contents

@import 'uniform/mixins';

@each $type in (
relative
absolute
sticky
fixed
static
){
    @include responsive-rule($type){ position: $type; }
}

@each $direction in 'top' 'right' 'bottom' 'left' {
    @include responsive-rule('.#{$direction}-0'){ #{$direction}: 0; }
    @include responsive-rule('.#{$direction}-auto'){ #{$direction}: auto; }
}
@include responsive-rule('position-fill'){
    position:absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
@include responsive-rule('position-center'){
    position:absolute;
    left:50%;
    top:50%;
    transform: translate(-50%, -50%);
}
@include responsive-rule('position-v-center'){
    position:absolute;
    top:50%;
    transform: translateY(-50%);
}
@include responsive-rule('position-h-center'){
    position:absolute;
    left:50%;
    transform: translateX(-50%);
}
@for $i from 1 through 100 {
    .z-#{$i}     { z-index: #{$i}; }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
uniform-ui-3.0.0.beta8 lib/assets/stylesheets/uniform/utilities/position.scss
uniform-ui-3.0.0.beta5 lib/assets/stylesheets/uniform/utilities/position.scss
uniform-ui-3.0.0.beta4 lib/assets/stylesheets/uniform/utilities/position.scss
uniform-ui-3.0.0.beta2 lib/assets/stylesheets/uniform/utilities/position.scss