not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

164 lines
5.2 KiB

  1. /*
  2. Solarized theme for code-mirror
  3. http://ethanschoonover.com/solarized
  4. */
  5. /*
  6. Solarized color palette
  7. http://ethanschoonover.com/solarized/img/solarized-palette.png
  8. */
  9. .solarized.base03 { color: #002b36; }
  10. .solarized.base02 { color: #073642; }
  11. .solarized.base01 { color: #586e75; }
  12. .solarized.base00 { color: #657b83; }
  13. .solarized.base0 { color: #839496; }
  14. .solarized.base1 { color: #93a1a1; }
  15. .solarized.base2 { color: #eee8d5; }
  16. .solarized.base3 { color: #fdf6e3; }
  17. .solarized.solar-yellow { color: #b58900; }
  18. .solarized.solar-orange { color: #cb4b16; }
  19. .solarized.solar-red { color: #dc322f; }
  20. .solarized.solar-magenta { color: #d33682; }
  21. .solarized.solar-violet { color: #6c71c4; }
  22. .solarized.solar-blue { color: #268bd2; }
  23. .solarized.solar-cyan { color: #2aa198; }
  24. .solarized.solar-green { color: #859900; }
  25. /* Color scheme for code-mirror */
  26. .cm-s-solarized {
  27. line-height: 1.45em;
  28. color-profile: sRGB;
  29. rendering-intent: auto;
  30. }
  31. .cm-s-solarized.cm-s-dark {
  32. color: #839496;
  33. background-color: #002b36;
  34. text-shadow: #002b36 0 1px;
  35. }
  36. .cm-s-solarized.cm-s-light {
  37. background-color: #fdf6e3;
  38. color: #657b83;
  39. /* text-shadow: #eee8d5 0 1px; */
  40. }
  41. .cm-s-solarized .CodeMirror-widget {
  42. text-shadow: none;
  43. }
  44. .cm-s-solarized .cm-header { color: #586e75; }
  45. .cm-s-solarized .cm-quote { color: #93a1a1; }
  46. .cm-s-solarized .cm-keyword { color: #cb4b16; }
  47. .cm-s-solarized .cm-atom { color: #d33682; }
  48. .cm-s-solarized .cm-number { color: #d33682; }
  49. .cm-s-solarized .cm-def { color: #2aa198; }
  50. .cm-s-solarized .cm-variable { color: #839496; }
  51. .cm-s-solarized .cm-variable-2 { color: #b58900; }
  52. .cm-s-solarized .cm-variable-3 { color: #6c71c4; }
  53. .cm-s-solarized .cm-property { color: #2aa198; }
  54. .cm-s-solarized .cm-operator { color: #6c71c4; }
  55. .cm-s-solarized .cm-comment { color: #586e75; font-style:italic; }
  56. .cm-s-solarized .cm-string { color: #859900; }
  57. .cm-s-solarized .cm-string-2 { color: #b58900; }
  58. .cm-s-solarized .cm-meta { color: #859900; }
  59. .cm-s-solarized .cm-qualifier { color: #b58900; }
  60. .cm-s-solarized .cm-builtin { color: #d33682; }
  61. .cm-s-solarized .cm-bracket { color: #cb4b16; }
  62. .cm-s-solarized .CodeMirror-matchingbracket { font-weight: bold; color: #859900 !important; }
  63. .cm-s-solarized .CodeMirror-nonmatchingbracket { font-weight: bold; color: #dc322f !important; }
  64. .cm-s-solarized .cm-tag { color: #93a1a1; }
  65. .cm-s-solarized .cm-attribute { color: #2aa198; }
  66. .cm-s-solarized .cm-hr {
  67. color: transparent;
  68. border-top: 1px solid #586e75;
  69. display: block;
  70. }
  71. .cm-s-solarized .cm-link { color: #93a1a1; cursor: pointer; }
  72. .cm-s-solarized .cm-special { color: #6c71c4; }
  73. .cm-s-solarized .cm-em {
  74. color: #999;
  75. text-decoration: underline;
  76. text-decoration-style: dotted;
  77. }
  78. .cm-s-solarized .cm-strong { color: #eee; }
  79. .cm-s-solarized .cm-error,
  80. .cm-s-solarized .cm-invalidchar {
  81. color: #586e75;
  82. border-bottom: 1px dotted #dc322f;
  83. }
  84. .cm-s-solarized.cm-s-dark div.CodeMirror-selected { background: #073642; }
  85. .cm-s-solarized.cm-s-dark.CodeMirror ::selection { background: rgba(7, 54, 66, 0.99); }
  86. .cm-s-solarized.cm-s-dark .CodeMirror-line::-moz-selection, .cm-s-dark .CodeMirror-line > span::-moz-selection, .cm-s-dark .CodeMirror-line > span > span::-moz-selection { background: rgba(7, 54, 66, 0.99); }
  87. .cm-s-solarized.cm-s-light div.CodeMirror-selected { background: #aae8d5; }
  88. .cm-s-solarized.cm-s-light .CodeMirror-line::selection, .cm-s-light .CodeMirror-line > span::selection, .cm-s-light .CodeMirror-line > span > span::selection { background: #eee8d5; }
  89. .cm-s-solarized.cm-s-light .CodeMirror-line::-moz-selection, .cm-s-ligh .CodeMirror-line > span::-moz-selection, .cm-s-ligh .CodeMirror-line > span > span::-moz-selection { background: #eee8d5; }
  90. /* Editor styling */
  91. /* Remove gutter border */
  92. .cm-s-solarized .CodeMirror-gutters {
  93. border-right: 0;
  94. padding-right: 10px;
  95. }
  96. /* Gutter colors and line number styling based of color scheme (dark / light) */
  97. /* Dark */
  98. .cm-s-solarized.cm-s-dark .CodeMirror-gutters {
  99. background-color: #073642;
  100. }
  101. .cm-s-solarized.cm-s-dark .CodeMirror-linenumber {
  102. color: #586e75;
  103. /* text-shadow: #021014 0 -1px; */
  104. }
  105. /* Light */
  106. .cm-s-solarized.cm-s-light .CodeMirror-gutters {
  107. background-color: #eee8d5;
  108. }
  109. .cm-s-solarized.cm-s-light .CodeMirror-linenumber {
  110. color: #839496;
  111. }
  112. /* Common */
  113. .cm-s-solarized .CodeMirror-linenumber {
  114. padding: 0 5px;
  115. }
  116. .cm-s-solarized .CodeMirror-guttermarker-subtle { color: #586e75; }
  117. .cm-s-solarized.cm-s-dark .CodeMirror-guttermarker { color: #ddd; }
  118. .cm-s-solarized.cm-s-light .CodeMirror-guttermarker { color: #cb4b16; }
  119. .cm-s-solarized .CodeMirror-gutter .CodeMirror-gutter-text {
  120. color: #586e75;
  121. }
  122. /* Cursor */
  123. .cm-s-solarized .CodeMirror-cursor { border-left: 1px solid #819090; }
  124. /* Fat cursor */
  125. .cm-s-solarized.cm-s-light.cm-fat-cursor .CodeMirror-cursor { background: #77ee77; }
  126. .cm-s-solarized.cm-s-light .cm-animate-fat-cursor { background-color: #77ee77; }
  127. .cm-s-solarized.cm-s-dark.cm-fat-cursor .CodeMirror-cursor { background: #586e75; }
  128. .cm-s-solarized.cm-s-dark .cm-animate-fat-cursor { background-color: #586e75; }
  129. /* Active line */
  130. .cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {
  131. background: rgba(255, 255, 255, 0.06);
  132. }
  133. .cm-s-solarized.cm-s-light .CodeMirror-activeline-background {
  134. background: rgba(0, 0, 0, 0.06);
  135. }