Sha256: 58a1929bc618e69986758bc5b84bd56b54ab11f834045b3cc7aa34e3efaf74bd

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

@import "settings.global";

@mixin tree {
  display: block;
  padding: $tree-padding;
  margin: $tree-margin;
  list-style: none;
}

@mixin tree--nested {
  padding: $tree-nested-padding;
}

@mixin tree__item {
  padding: $tree-item-padding;

  &:before {
    content: "–";
    display: inline-block;
    padding: $tree-item-indicator-padding;
    color: $tree-item-indicator-color;
    transform-origin: 30% 50%;
  }
}

@mixin tree__item--expandable {
  &:before {
    color: $tree-item-expandable-indicator-color;
    content: "\276F";
  }
}

@mixin tree__item--expanded {
  &:before {
    color: $tree-item-expanded-indicator-color;
    content: "\276F";
    transform: rotate(90deg);
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blaze-css-rails-0.0.1 app/assets/stylesheets/mixins/_components.trees.scss