Sha256: 3de8cacd908adf7c41e57d797a45526deebf451c2f62323f7bfbb91838e3adaf

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

@import 'mixins/tools.mediaqueries';
@import 'mixins/utilities.visibility';

@mixin visible($value) {
  .u-#{$value} {
    visibility: $value !important;
  }
  @each $size, $width in $screen-limits {
    .u-#{$value}\@#{$size} {
      @include screen-and-up($size) {
        visibility: $value !important;
      }
    }
  }
}

@mixin display($value) {
  .u-display-#{$value} {
    display: $value !important;
  }

  @each $size, $width in $screen-limits {
    .u-display-#{$value}\@#{$size} {
      @include screen-and-up($size) {
        display: $value !important;
      }
    }
  }
}

.u-visually-hidden {
  @include visually-hidden;
}

@each $size, $width in $screen-limits {
  .u-visually-hidden\@#{$size} {
    @include screen-and-up($size) {
      @include visually-hidden;
    }
  }
}

@include visible(visible);
@include visible(hidden);
@include display(none);
@include display(initial);
@include display(inline);
@include display(inline-block);
@include display(block);
@include display(table);
@include display(table-cell);
@include display(table-row);
@include display(flex);
@include display(inline-flex);

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin_blaze_theme-0.7.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss
activeadmin_blaze_theme-0.6.2 app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss
activeadmin_blaze_theme-0.6.0 app/assets/stylesheets/activeadmin_blaze_theme/blaze/_utilities.visibility.scss