Sha256: 960da4bd6e6deed40657175e41dabb4f3f78920234f90d3970fe20dfbfe260da

Contents?: true

Size: 514 Bytes

Versions: 50

Compression:

Stored size: 514 Bytes

Contents

body.active_admin {
  span.icon { vertical-align: middle; display: inline-block; }
  span.icon svg { vertical-align: baseline; }
}

@mixin icon-color ($color) {
  span.icon svg {
    path, polygon, rect, circle { fill: $color !important; }
  }
}

@mixin icon-size ($size) {
  span.icon { width: $size; height: $size; }
  span.icon svg { width: $size; height: $size; }
}

@mixin icon($color, $size) {
  @include icon-color($color);
  @include icon-size($size);
}

body.active_admin {
  @include icon-size(0.8em);
}

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
lalala-4.0.0.dev.59 vendor/deps/active_admin/app/assets/stylesheets/active_admin/mixins/_icons.css.scss
lalala-4.0.0.dev.58 vendor/deps/active_admin/app/assets/stylesheets/active_admin/mixins/_icons.css.scss
lalala-4.0.0.dev.57 vendor/deps/active_admin/app/assets/stylesheets/active_admin/mixins/_icons.css.scss
lalala-4.0.0.dev.56 vendor/deps/active_admin/app/assets/stylesheets/active_admin/mixins/_icons.css.scss
lalala-4.0.0.dev.50 vendor/deps/active_admin/app/assets/stylesheets/active_admin/mixins/_icons.css.scss
lalala-4.0.0.dev.46 vendor/deps/active_admin/app/assets/stylesheets/active_admin/mixins/_icons.css.scss
activeadmin-0.5.1 app/assets/stylesheets/active_admin/mixins/_icons.css.scss
activeadmin-0.5.0 app/assets/stylesheets/active_admin/mixins/_icons.css.scss
activeadmin-0.5.0.pre1 app/assets/stylesheets/active_admin/mixins/_icons.css.scss
activeadmin-0.5.0.pre app/assets/stylesheets/active_admin/mixins/_icons.css.scss