Sha256: b0ccf15404cd373f1a617b5933a274482e263fb54c25acfae497612506956946

Contents?: true

Size: 813 Bytes

Versions: 1038

Compression:

Stored size: 813 Bytes

Contents

@mixin global_props_css($props, $class_prefix, $css_attribute, $responsive) {
  @each $propkey, $propvalue in $props {
    .#{$class_prefix}_#{$propkey} {
      #{$css_attribute}: #{$propvalue} !important;
      @content;
    }
  }

  @if $responsive {
    @each $size, $size_value in $breakpoints_grid {
      @each $prop_key, $prop_value in $props {
          $min_size: map-get($size_value, "min");
          $max_size: map-get($size_value, "max");
          .#{$class_prefix}_#{$size}_#{$prop_key} {
            @include break_on($min_size, $max_size) {
              #{$css_attribute}: #{$prop_value} !important;
            }
          }
      }
    }
  }
}

@mixin global_props_responsive_css($props, $class_prefix, $css_attribute) {
  @include global_props_css($props, $class_prefix, $css_attribute, 1)
}

Version data entries

1,038 entries across 1,038 versions & 1 rubygems

Version Path
playbook_ui-11.12.1.pre.alpha.passphrase1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.12.1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.13.0.pre.alpha.fileupload1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.12.0 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.11.0.pre.alpha.paginate2 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.11.0.pre.alpha.dialog2 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.11.0.pre.alpha.paginate1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.11.0.pre.alpha.renderer1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.11.0.pre.alpha.dialog1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.11.0 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.10.0.pre.alpha.pre.bold1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.10.0.pre.alpha.pagination1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.10.0 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.9.0 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.9.0.pre.alpha.fileupload1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.8.1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.8.0 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.7.0.pre.alpha.table1 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.7.0 app/pb_kits/playbook/utilities/_mixins.scss
playbook_ui-11.6.0.pre.alpha.fontawesome app/pb_kits/playbook/utilities/_mixins.scss