// This file is part of the DITA Open Toolkit project.
//
// Copyright 2016 Roger Sheen
//
// See the accompanying LICENSE file for applicable license.

// Sass partial for list styles

/* Simple lists do not get a bullet */
ul.simple {
  list-style-type: none;
}

/* Default of bold for definition list terms */
.dlterm {
  font-weight: bold;
}

/* Use CSS to expand compact lists */
.dltermexpand {
  font-weight: bold;
  margin-top: 1em;
}

/* Compact lists use attributes up to DITA-OT 4.1.2 */
*[compact="yes"] > li {
  @warn "Compact attributes are deprecated since v4.2.";
  margin-top: 0;
}

*[compact="no"] > li {
  @warn "Compact attributes are deprecated since v4.2.";
  margin-top: 0.53em;
}

/* Compact lists use classes starting in DITA-OT 4.2 */
.compact > li {
  margin-top: 0;
}

.liexpand {
  margin-bottom: 1em;
  margin-top: 1em;
}

.sliexpand {
  margin-bottom: 1em;
  margin-top: 1em;
}

.dlexpand {
  margin-bottom: 1em;
  margin-top: 1em;
}

.ddexpand {
  margin-bottom: 1em;
  margin-top: 1em;
}

.stepexpand {
  margin-bottom: 1em;
  margin-top: 1em;
}

.substepexpand {
  margin-bottom: 1em;
  margin-top: 1em;
}

dt.prereq {
  margin-left: 20px;
}
