:root {
  --blocking-active-bg: #efc9cf;
  --warning-active-bg: #ffd596;

  --info-bg: #e6f3ff;
  --info-active-bg: #b7d9f9;
}

[data-bs-theme="dark"] {
  --blocking-active-bg: #970018;
  --warning-active-bg: #665000;

  --info-bg: #032830;
  --info-active-bg: #005162;
}

.badge-container {
  cursor: default;
  margin-bottom: 0;  /* allow floats to overlap */
  font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;
  font-size: 12px;
  font-weight: normal;
  height: 18px;
  position: absolute;
  right: 0;
}
.badge-suppressed {
  opacity: 0.3;
}

.badge-buildtargets {
  padding: 4px;
  border-radius: 5px;
  line-height: 12px;
  background-color: var(--bs-primary);
  cursor: help;
  margin-left: 5px;
}

.source-code-container.image .inset-list-container {
  position: absolute;
  bottom: -16px;
  left: -5px;
}
.source-code-container.image .inset-list {
  width: 600px;
}
.source-code-container.image .line {
  position: absolute;
}

.generatedline {
    background: #CCC;
}
.generatedline td:hover:after {
    position: relative;
    background: #333;
    background: rgba(0,0,0,.5);
    color: var(--bs-white);
    border-radius: 5px;
    bottom: 26px;
    content: 'This line is generated code';
    left: 20%;
    padding: 5px 15px;
    z-index: 98;
}


.diffview .diff-change, .diffview .diff-insert, .diffview .diff-delete {
  background-color: #DCDCFF;
}
.dupview[data-side='dup'] .diff-unchanged .content:before {
  content: '\2194';
  color: #888;
  position: absolute;
  left: 3px;
  font-size: 18px;
}
.dupview[data-side='dup'] .diff-unchanged .content:hover:after {
  content: '\2194  Duplicate line';
  position: absolute;
  margin-top: -4px;
  left: 0px;
  color: #888;
  padding: 4px;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  background-color: var(--bs-warning-bg-subtle); 
}
.dupview .diff-unchanged {
  background-color: var(--bs-warning-bg-subtle); 
}
.diffview .diff-spacer {
  background-color: #C8C8C8;
}

table.diff-table {
  width: 100%;
}
  .diff-table tr.solved > td,     .badge-annotation.solved
{
  background-color:var(--bs-success);
}
  .diff-table.table-hover tbody tr.solved.row-selected > td,     .diff-table.table-hover tbody tr.solved:hover > td
{
  background-color: var(--bs-success-bg-subtle);
}


td.msg.suppressed > span.proper
, .badge-annotation.suppressed
, .inset-list-container .msg.suppressed
{
  text-decoration: line-through;
}

