/* SIMPLACE additions to the javadoc stylesheet (included by net.simplace.core.doc.DocGenerator with --add-stylesheet) */

table.simvariable {
  border-collapse: collapse;
  margin: 10px 0 20px 0;
  font-size: 0.95em;
}

table.simvariable th,
table.simvariable td {
  border: 1px solid #c9c9c9;
  padding: 3px 8px;
  text-align: left;
  vertical-align: top;
}

table.simvariable thead th {
  background-color: #dee3e9;
  cursor: pointer;
  white-space: nowrap;
}

table.simvariable thead th:hover {
  background-color: #c8d2dc;
}

/* sort direction of the column (set by simplace-sorttable.js) */
table.simvariable thead th[data-order="asc"]::after  { content: " \25B2"; }
table.simvariable thead th[data-order="desc"]::after { content: " \25BC"; }

/* rows by content type of the variable */
table.simvariable tr.constant td:first-child { background-color: #fff4d6; }
table.simvariable tr.input td:first-child    { background-color: #e3f1ff; }
table.simvariable tr.out td:first-child      { background-color: #e6f5e1; }
table.simvariable tr.state td:first-child    { background-color: #efe6f7; }
table.simvariable tr.rate td:first-child     { background-color: #fde8e8; }

table.simvariable span.array { white-space: normal; }
