PageRenderTime 49ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/static/plugins/sunlight/themes/sunlight.default.css

https://bitbucket.org/mulonemartin/powerpack/
CSS | 335 lines | 302 code | 21 blank | 12 comment | 0 complexity | c69505f27d051f4eb1a80ba4987703ed MD5 | raw file
Possible License(s): BSD-2-Clause, WTFPL
  1. /* global styles */
  2. .sunlight-container {
  3. clear: both;
  4. position: relative;
  5. }
  6. .sunlight-code-container {
  7. clear: both;
  8. position: relative;
  9. border: none;
  10. border-color: #969696 !important;
  11. background-color: #FFFFFF !important;
  12. }
  13. .sunlight-highlighted, .sunlight-container, .sunlight-container textarea {
  14. color: #000000 !important;
  15. font-family: Consolas, Inconsolata, Monaco, "Courier New" !important;
  16. font-size: 12px !important;
  17. line-height: 15px !important;
  18. margin: 0 !important;
  19. }
  20. .sunlight-code-container > .sunlight-highlighted {
  21. white-space: pre;
  22. overflow-x: auto;
  23. overflow-y: hidden; /* ie requires this wtf? */
  24. }
  25. .sunlight-highlighted {
  26. z-index: 1;
  27. position: relative;
  28. }
  29. .sunlight-highlighted * {
  30. background: transparent;
  31. }
  32. .sunlight-line-number-margin {
  33. float: left !important;
  34. margin-right: 5px !important;
  35. margin-top: 0 !important;
  36. margin-bottom: 0 !important;
  37. padding: 0 !important;
  38. padding-right: 4px !important;
  39. padding-left: 4px !important;
  40. border-right: 1px solid #CCCCCC !important;
  41. background-color: #EEEEEE !important;
  42. color: #848484 !important;
  43. text-align: right !important;
  44. position: relative;
  45. z-index: 3;
  46. }
  47. .sunlight-highlighted a, .sunlight-line-number-margin a {
  48. border: none !important;
  49. text-decoration: none !important;
  50. font-weight: normal !important;
  51. font-style: normal !important;
  52. padding: 0 !important;
  53. }
  54. .sunlight-line-number-margin a {
  55. color: inherit !important;
  56. }
  57. .sunlight-line-highlight-overlay {
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. width: 100%;
  62. z-index: 0;
  63. }
  64. .sunlight-line-highlight-overlay div {
  65. height: 15px;
  66. width: 100%;
  67. }
  68. .sunlight-line-highlight-overlay .sunlight-line-highlight-active {
  69. background-color: #E7FCFA;
  70. }
  71. /* menu */
  72. .sunlight-menu {
  73. background-color: #FFFFCC;
  74. color: #000000;
  75. }
  76. .sunlight-menu ul {
  77. margin: 0 !important;
  78. padding: 0 !important;
  79. list-style-type: none !important;
  80. }
  81. .sunlight-menu li {
  82. float: right !important;
  83. margin-left: 5px !important;
  84. }
  85. .sunlight-menu a, .sunlight-menu img {
  86. color: #000099 !important;
  87. text-decoration: none !important;
  88. border: none !important;
  89. }
  90. .sunlight-string,
  91. .sunlight-char,
  92. .sunlight-heredoc,
  93. .sunlight-heredocDeclaration,
  94. .sunlight-nowdoc,
  95. .sunlight-longString,
  96. .sunlight-rawString,
  97. .sunlight-binaryString,
  98. .sunlight-rawLongString,
  99. .sunlight-binaryLongString,
  100. .sunlight-verbatimString,
  101. .sunlight-diff .sunlight-removed {
  102. color: #990000 !important;
  103. }
  104. .sunlight-ident,
  105. .sunlight-operator,
  106. .sunlight-punctuation,
  107. .sunlight-delimiter,
  108. .sunlight-diff .sunlight-unchanged {
  109. color: #000000 !important;
  110. }
  111. .sunlight-comment,
  112. .sunlight-xmlDocCommentContent,
  113. .sunlight-nginx .sunlight-ssiCommand,
  114. .sunlight-sln .sunlight-formatDeclaration,
  115. .sunlight-diff .sunlight-added {
  116. color: #009900 !important;
  117. }
  118. .sunlight-number,
  119. .sunlight-guid,
  120. .sunlight-cdata {
  121. color: #CC6600 !important;
  122. }
  123. .sunlight-named-ident,
  124. .sunlight-constant,
  125. .sunlight-javascript .sunlight-globalVariable,
  126. .sunlight-globalObject,
  127. .sunlight-python .sunlight-attribute,
  128. .sunlight-nginx .sunlight-context,
  129. .sunlight-httpd .sunlight-context,
  130. .sunlight-haskell .sunlight-class,
  131. .sunlight-haskell .sunlight-type,
  132. .sunlight-lisp .sunlight-declarationSpecifier,
  133. .sunlight-erlang .sunlight-userDefinedFunction,
  134. .sunlight-diff .sunlight-header {
  135. color: #2B91AF !important;
  136. }
  137. .sunlight-keyword,
  138. .sunlight-languageConstruct,
  139. .sunlight-css
  140. .sunlight-element,
  141. .sunlight-bash .sunlight-command,
  142. .sunlight-specialOperator,
  143. .sunlight-erlang .sunlight-moduleAttribute,
  144. .sunlight-xml .sunlight-tagName,
  145. .sunlight-xml .sunlight-operator,
  146. .sunlight-diff .sunlight-modified {
  147. color: #0000FF !important;
  148. }
  149. .sunlight-shortOpenTag,
  150. .sunlight-openTag,
  151. .sunlight-closeTag,
  152. .sunlight-xmlOpenTag,
  153. .sunlight-xmlCloseTag,
  154. .sunlight-aspOpenTag,
  155. .sunlight-aspCloseTag,
  156. .sunlight-label,
  157. .sunlight-css .sunlight-importantFlag {
  158. background-color: #FFFF99 !important;
  159. color: #000000 !important;
  160. }
  161. .sunlight-function,
  162. .sunlight-globalFunction,
  163. .sunlight-ruby .sunlight-specialFunction,
  164. .sunlight-objective-c .sunlight-messageDestination,
  165. .sunlight-6502asm .sunlight-illegalOpcode,
  166. .sunlight-powershell .sunlight-switch,
  167. .sunlight-lisp .sunlight-macro,
  168. .sunlight-lisp .sunlight-specialForm,
  169. .sunlight-lisp .sunlight-type,
  170. .sunlight-sln .sunlight-sectionName,
  171. .sunlight-diff .sunlight-rangeInfo {
  172. color: #B069AF !important;
  173. }
  174. .sunlight-variable,
  175. .sunlight-specialVariable,
  176. .sunlight-environmentVariable,
  177. .sunlight-objective-c .sunlight-messageArgumentName,
  178. .sunlight-lisp .sunlight-globalVariable,
  179. .sunlight-ruby .sunlight-globalVariable,
  180. .sunlight-ruby .sunlight-instanceVariable,
  181. .sunlight-sln .sunlight-operator {
  182. color: #325484 !important;
  183. }
  184. .sunlight-regexLiteral,
  185. .sunlight-lisp .sunlight-operator,
  186. .sunlight-6502asm .sunlight-pseudoOp,
  187. .sunlight-erlang .sunlight-macro {
  188. color: #FF00B2 !important;
  189. }
  190. .sunlight-specialVariable {
  191. font-style: italic !important;
  192. font-weight: bold !important;
  193. }
  194. .sunlight-csharp .sunlight-pragma,
  195. .sunlight-preprocessorDirective,
  196. .sunlight-vb .sunlight-compilerDirective,
  197. .sunlight-diff .sunlight-mergeHeader,
  198. .sunlight-diff .sunlight-noNewLine {
  199. color: #999999 !important;
  200. font-style: italic !important;
  201. }
  202. .sunlight-xmlDocCommentMeta,
  203. .sunlight-java .sunlight-annotation,
  204. .sunlight-scala .sunlight-annotation,
  205. .sunlight-docComment {
  206. color: #808080 !important;
  207. }
  208. .sunlight-quotedIdent,
  209. .sunlight-ruby .sunlight-subshellCommand,
  210. .sunlight-lisp .sunlight-keywordArgument,
  211. .sunlight-haskell .sunlight-infixOperator,
  212. .sunlight-erlang .sunlight-quotedAtom {
  213. color: #999900 !important;
  214. }
  215. /* xml */
  216. .sunlight-xml .sunlight-string {
  217. color: #990099 !important;
  218. }
  219. .sunlight-xml .sunlight-attribute {
  220. color: #FF0000 !important;
  221. }
  222. .sunlight-xml .sunlight-entity {
  223. background-color: #EEEEEE !important;
  224. color: #000000 !important;
  225. border: 1px solid #000000 !important;
  226. }
  227. .sunlight-xml .sunlight-doctype {
  228. color: #2B91AF !important;
  229. }
  230. /* javascript */
  231. .sunlight-javascript .sunlight-reservedWord {
  232. font-style: italic !important;
  233. }
  234. /* css */
  235. .sunlight-css .sunlight-microsoftFilterPrefix {
  236. color: #FF00FF !important;
  237. }
  238. .sunlight-css .sunlight-rule {
  239. color: #0099FF !important;
  240. }
  241. .sunlight-css .sunlight-keyword {
  242. color: #4E65B8 !important;
  243. }
  244. .sunlight-css .sunlight-class {
  245. color: #FF0000 !important;
  246. }
  247. .sunlight-css .sunlight-id {
  248. color: #8A8E13 !important;
  249. }
  250. .sunlight-css .sunlight-pseudoClass,
  251. .sunlight-css .sunlight-pseudoElement {
  252. color: #368B87 !important;
  253. }
  254. /* bash */
  255. .sunlight-bash .sunlight-hashBang {
  256. color: #3D97F5 !important;
  257. }
  258. .sunlight-bash .sunlight-verbatimCommand {
  259. color: #999900 !important;
  260. }
  261. .sunlight-bash .sunlight-variable,
  262. .sunlight-bash .sunlight-specialVariable {
  263. color: #FF0000 !important;
  264. }
  265. /* python */
  266. .sunlight-python .sunlight-specialMethod {
  267. font-weight: bold !important;
  268. color: #A07DD3;
  269. }
  270. /* ruby */
  271. .sunlight-ruby .sunlight-symbol {
  272. font-weight: bold !important;
  273. color: #ED7272 !important;
  274. }
  275. /* brainfuck */
  276. .sunlight-brainfuck {
  277. font-weight: bold !important;
  278. color: #000000 !important;
  279. }
  280. .sunlight-brainfuck .sunlight-increment {
  281. background-color: #FF9900 !important;
  282. }
  283. .sunlight-brainfuck .sunlight-decrement {
  284. background-color: #FF99FF !important;
  285. }
  286. .sunlight-brainfuck .sunlight-incrementPointer {
  287. background-color: #FFFF99 !important;
  288. }
  289. .sunlight-brainfuck .sunlight-decrementPointer {
  290. background-color: #66CCFF !important;
  291. }
  292. .sunlight-brainfuck .sunlight-read {
  293. background-color: #FFFFFF !important;
  294. }
  295. .sunlight-brainfuck .sunlight-write {
  296. background-color: #99FF99 !important;
  297. }
  298. .sunlight-brainfuck .sunlight-openLoop, .sunlight-brainfuck .sunlight-closeLoop {
  299. background-color: #FFFFFF !important;
  300. }
  301. /* 6502 asm */
  302. .sunlight-6502asm .sunlight-label {
  303. font-weight: bold !important;
  304. color: #000000 !important;
  305. background: none !important;
  306. }
  307. /* lisp */
  308. .sunlight-lisp .sunlight-macro {
  309. font-style: italic !important;
  310. }
  311. /* erlang */
  312. .sunlight-erlang .sunlight-atom {
  313. font-weight: bold !important;
  314. }