@import "compass";

.lfr-tree {
	.tree-label {
		display: inline-block;
	}

	li {
		margin-bottom: 2px;
		padding-left: 0;

		ul li, &.tree-item {
			padding-left: 0;
		}

		&.tree-node .tree-node-content {
			@include ellipsis;

			.tree-label {
				display: inline;
			}
		}

		&.tree-item {
			padding-left: 5px;

			label {
				display: table;

				&.inline {
					display: inherit;
				}
			}

			li {
				padding-left: 20px;
			}

			ul {
				margin-left: 0;
				margin-top: 5px;
			}

			.control-group.control-group-inline {
				label {
					display: inherit;
				}
			}
		}
	}

	.tree-container, .tree-root-container {
		margin-left: 15px;
	}
}

/* Skin */

.lfr-tree a {
	text-decoration: none;
}