Sha256: d954e1343bb372b79c9aac25708bb10f87839f9ee7bad27facf73bf5f797e531

Contents?: true

Size: 553 Bytes

Versions: 59

Compression:

Stored size: 553 Bytes

Contents

@mixin respond-to($breakpoint) {
  @if map-has-key($breakpoints, $breakpoint) {
    @media #{map-get($breakpoints, $breakpoint)} {
      @content;
    }
  } @else {
    @warn 'Unfortunately, no value could be retrieved from `#{$breakpoint}`. ' +
      'Please make sure it is defined in `$breakpoints` map.';
  }
}

@mixin orientation($position) {
  @if $position == landscape {
    @media only screen and (orientation:landscape) { @content; }
  } @else if $position == portrait {
    @media only screen and (orientation : portrait) { @content; }
  }
}

Version data entries

59 entries across 34 versions & 1 rubygems

Version Path
keppler-2.1.22 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.22 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.21 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.21 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.20 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.20 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.19 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.19 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.18 testing-with-2.1.18/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.18 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.18 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.17 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.17 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.16 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.16 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.15 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.15 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.14 installer/core/app/assets/stylesheets/app/utils/_mixins.scss
keppler-2.1.14 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss
keppler-2.1.13 installer/core/rockets/keppler_frontend/app/assets/stylesheets/keppler_frontend/app/utils/mixins.scss