/* Based on the theme at http://bonsaiden.github.com/JavaScript-Garden */

/*<!--activeline-->*/
.cm-s-midnight .CodeMirror-activeline-background {
  background: #253540;
}

.cm-s-midnight.CodeMirror {
  background: #0f192a;
  color: #d1edff;
}

.cm-s-midnight div.CodeMirror-selected {
  background: #314d67;
}
.cm-s-midnight .CodeMirror-line::selection,
.cm-s-midnight .CodeMirror-line > span::selection,
.cm-s-midnight .CodeMirror-line > span > span::selection {
  background: rgba(49, 77, 103, 0.99);
}
.cm-s-midnight .CodeMirror-line::-moz-selection,
.cm-s-midnight .CodeMirror-line > span::-moz-selection,
.cm-s-midnight .CodeMirror-line > span > span::-moz-selection {
  background: rgba(49, 77, 103, 0.99);
}
.cm-s-midnight .CodeMirror-gutters {
  background: #0f192a;
  border-right: 1px solid;
}
.cm-s-midnight .CodeMirror-guttermarker {
  color: white;
}
.cm-s-midnight .CodeMirror-guttermarker-subtle {
  color: #d0d0d0;
}
.cm-s-midnight .CodeMirror-linenumber {
  color: #d0d0d0;
}
.cm-s-midnight .CodeMirror-cursor {
  border-left: 1px solid #f8f8f0;
}

.cm-s-midnight span.cm-comment {
  color: #428bdd;
}
.cm-s-midnight span.cm-atom {
  color: #ae81ff;
}
.cm-s-midnight span.cm-number {
  color: #d1edff;
}

.cm-s-midnight span.cm-property,
.cm-s-midnight span.cm-attribute {
  color: #a6e22e;
}
.cm-s-midnight span.cm-keyword {
  color: #e83737;
}
.cm-s-midnight span.cm-string {
  color: #1dc116;
}

.cm-s-midnight span.cm-variable {
  color: #ffaa3e;
}
.cm-s-midnight span.cm-variable-2 {
  color: #ffaa3e;
}
.cm-s-midnight span.cm-def {
  color: #4dd;
}
.cm-s-midnight span.cm-bracket {
  color: #d1edff;
}
.cm-s-midnight span.cm-tag {
  color: #449;
}
.cm-s-midnight span.cm-link {
  color: #ae81ff;
}
.cm-s-midnight span.cm-error {
  background: #f92672;
  color: #f8f8f0;
}

.cm-s-midnight .CodeMirror-matchingbracket {
  text-decoration: underline;
  color: white !important;
}

.cm-s-midnight span {
  &.cm-tpl-block,
  &.cm-tpl-var {
    color: #a2cbe9;
  }
  &.cm-tpl-inner {
    color: white;
  }
}
