/* ==========================================================================
   #LIST-BARE
   ========================================================================== */

/**
 * Strip list-like appearance from lists by removing their bullets and any
 * indentation.
 *
 * Note: Declaring the item class might not be necessary everywhere,
 * but is for example in <dl> lists for the <dd> children.
 */

.o-list {
  list-style-position: inside;
  margin: 0;
}

.o-list--bare {
  list-style-type: none;
  margin-left: 0;
}

.o-list--bare__item {
  margin-left: 0;
}

.o-list--inline {
  margin-left: 0;
  list-style: none;

  li {
    display: inline-block;
    padding: 0 $fabric-global-spacing-unit-small;
  }
}

.o-list--nested {
  margin-left: $fabric-global-spacing-unit;
}

ol.o-list--nested {
  list-style-type: lower-alpha;
}

.o-list--lined {
  li {
    border-bottom: 1px dotted fabric-color('light-grey');
  }
}
