Sha256: 37d1894b02857e114b1094f6fdc9daa0c4883c5c5884c8f69c390ecaf6767d5c

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

//Clears the float from any element
%clearfix {
  &::before,
  &::after {
    content: '';
    display: table;
  }

  &::after {
    clear: both;
  }
}

//Credits to bootstrap
@mixin responsive-invisibility {
  display: none !important;

  tr,
  th,
  td {
    display: none !important;
  }
}

@mixin responsive-visibility {
  display: block !important;

  &.btn {
    display: inline-block !important;
  }

  tr {
    display: table-row !important;
  }

  th,
  td {
    display: table-cell !important;
  }
}

@mixin img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

@mixin touch-callout {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: moz-none;
  -ms-user-select: none;
  user-select: none;
}

@mixin build-column-grids($columns: 12) {
  $unit-width: (100 / $columns);
  $column-factor: .1833;


  @for $i from 1 through $columns {
    .col-#{$i} {
      $current-width: ($unit-width * $i) - $column-factor;
      margin-left: percentage($column-factor / 100);
      width: percentage($current-width / 100);
    }
  }

}

@mixin backface-visibility($property: hidden) {
  -webkit-backface-visibility: $property;
  -moz-backface-visibility: $property;
  backface-visibility: $property;
}

@mixin perspective($value: 1300px) {
  -webkit-perspective: $value;
  -moz-perspective: $value;
  perspective: $value;
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alom-1.0.0 vendor/assets/stylesheets/alom/_mixins.scss
alom-0.1.1 vendor/assets/stylesheets/alom/_mixins.scss
alom-0.1.0 vendor/assets/stylesheets/alom/_mixins.scss