/* Generated with http://k88hudson.github.io/syntax-highlighting-theme-generator/www and revised for Codecov text viewer UI (SEE GAZEBO PROTOTYPE)
*/

/*********************************************************
* General
*/

pre[class*='language-'],
code[class*='language-'] {
  @apply text-code-default;
  font-size: 0.75rem;
  text-shadow: none;
  font-family: 'Source Code Pro', monospace;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  line-height: 1.5;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

pre[class*='language-']::selection,
code[class*='language-']::selection,
pre[class*='language-']::mozselection,
code[class*='language-']::mozselection {
  text-shadow: none;
  background: #b3d4fc;
}

@media print {
  pre[class*='language-'],
  code[class*='language-'] {
    text-shadow: none;
  }
}

pre[class*='language-'] {
  /*
  padding: 1em;
  margin: .5em 0;
*/
  overflow: auto;
  @apply bg-ds-background;
}

:not(pre) > code[class*='language-'] {
  padding: 0.1em 0.3em;
  border-radius: 0.3em;
  color: #d73a49;
  background: #f9f2f4;
}

/*********************************************************
* Tokens
*/

.namespace {
  opacity: 0.7;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  @apply text-code-comment;
}

.token.punctuation {
  @apply text-code-punctuation;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  @apply text-code-property;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  @apply text-code-function;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  @apply text-code-operator;
  background: #ffffff;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  @apply text-code-keyword;
}

.token.function {
  @apply text-code-function;
}

.token.regex,
.token.important,
.token.variable {
  @apply text-code-default;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

/*********************************************************
* Line highlighting
*/

pre[data-line] {
  position: relative;
}

pre[class*='language-'] > code[class*='language-'] {
  position: relative;
  z-index: 1;
}

.line-highlight {
  position: absolute;
  left: 0;
  right: 0;
  padding: inherit 0;
  margin-top: 1em;
  background: white;
  box-shadow: inset 5px 0 0 #f7d87c;
  z-index: 0;
  pointer-events: none;
  line-height: inherit;
  white-space: pre;
}

.line-number {
  @apply text-code-line-number;
}
