default.css 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .dp-highlighter { font-family: "Consolas" , "Courier New" , Courier, mono, serif; font-size: 12px; background-color: #E7E5DC; width: 99%; overflow: auto; margin: 18px 0 18px 0 !important; padding-top: 1px; text-align: left; }
  2. /* clear styles */
  3. .dp-highlighter ol, .dp-highlighter ol li, .dp-highlighter ol li span { margin: 0; padding: 0; border: none; }
  4. .dp-highlighter a, .dp-highlighter a:hover { background: none; border: none; padding: 0; margin: 0; }
  5. .dp-highlighter .bar { padding-left: 45px; }
  6. .dp-highlighter.collapsed .bar, .dp-highlighter.nogutter .bar { padding-left: 0px; }
  7. .dp-highlighter ol { list-style: decimal; /* for ie */ background-color: #fff; margin: 0px 0px 1px 45px !important; /* 1px bottom margin seems to fix occasional Firefox scrolling */ padding: 0px; color: #5C5C5C; }
  8. .dp-highlighter.nogutter ol, .dp-highlighter.nogutter ol li { list-style: none !important; margin-left: 0px !important; }
  9. .dp-highlighter ol li, .dp-highlighter .columns div { list-style: decimal-leading-zero; /* better look for others, override cascade from OL */ list-style-position: outside !important; border-left: 3px solid #6CE26C; background-color: #F8F8F8; color: #5C5C5C; padding: 0 3px 0 10px !important; margin: 0 !important; line-height: 150%; }
  10. .dp-highlighter.nogutter ol li, .dp-highlighter.nogutter .columns div { border: 0; }
  11. .dp-highlighter .columns { background-color: #F8F8F8; color: gray; overflow: hidden; width: 100%; }
  12. .dp-highlighter .columns div { padding-bottom: 5px; }
  13. .dp-highlighter ol li.alt { background-color: #FFF; color: inherit; }
  14. .dp-highlighter ol li span { color: black; background-color: inherit; }
  15. /* Adjust some properties when collapsed */
  16. .dp-highlighter.collapsed ol { margin: 0px; }
  17. .dp-highlighter.collapsed ol li { display: none; }
  18. /* Additional modifications when in print-view */
  19. .dp-highlighter.printing { border: none; }
  20. .dp-highlighter.printing .tools { display: none !important; }
  21. .dp-highlighter.printing li { display: list-item !important; }
  22. /* Styles for the tools */
  23. .dp-highlighter .tools { padding: 3px 8px 3px 10px; font: 9px Verdana, Geneva, Arial, Helvetica, sans-serif; color: silver; background-color: #f8f8f8; padding-bottom: 10px; border-left: 3px solid #6CE26C; }
  24. .dp-highlighter.nogutter .tools { border-left: 0; }
  25. .dp-highlighter.collapsed .tools { border-bottom: 0; }
  26. .dp-highlighter .tools a { font-size: 9px; color: #a0a0a0; background-color: inherit; text-decoration: none; margin-right: 10px; }
  27. .dp-highlighter .tools a:hover { color: red; background-color: inherit; text-decoration: underline; }
  28. /* About dialog styles */
  29. .dp-about { background-color: #fff; color: #333; margin: 0px; padding: 0px; }
  30. .dp-about table { width: 100%; height: 100%; font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; }
  31. .dp-about td { padding: 10px; vertical-align: top; }
  32. .dp-about .copy { border-bottom: 1px solid #ACA899; height: 95%; }
  33. .dp-about .title { color: red; background-color: inherit; font-weight: bold; }
  34. .dp-about .para { margin: 0 0 4px 0; }
  35. .dp-about .footer { background-color: #ECEADB; color: #333; border-top: 1px solid #fff; text-align: right; }
  36. .dp-about .close { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif !important; background-color: #ECEADB; color: #333; width: 60px; height: 22px; }
  37. /* Language specific styles */
  38. .dp-highlighter .comment, .dp-highlighter .comments { color: #008200; background-color: inherit; }
  39. .dp-highlighter .string { color: blue; background-color: inherit; }
  40. .dp-highlighter .keyword { color: #069; font-weight: bold; background-color: inherit; }
  41. .dp-highlighter .preprocessor { color: gray; background-color: inherit; }
  42. /*xml*/
  43. .dp-xml .cdata { color: #ff1493; }
  44. .dp-xml .tag, .dp-xml .tag-name { color: #993300; font-weight: bold; }
  45. .dp-xml .attribute { color: red; }
  46. .dp-xml .attribute-value { color: blue; }
  47. /*sql*/
  48. .dp-sql .func { color: #ff1493; }
  49. .dp-sql .op { color: #808080; }
  50. /*ruby*/
  51. .dp-rb .symbol { color: #a70; }
  52. .dp-rb .variable { color: #a70; font-weight: bold; }
  53. /*python*/
  54. .dp-py .builtins { color: #ff1493; }
  55. .dp-py .magicmethods { color: #808080; }
  56. .dp-py .exceptions { color: brown; }
  57. .dp-py .types { color: brown; font-style: italic; }
  58. .dp-py .commonlibs { color: #8A2BE2; font-style: italic; }
  59. /*java*/
  60. .dp-j .annotation { color: #646464; }
  61. .dp-j .number { color: #C00000; }
  62. /*delphi*/
  63. .dp-delphi .number { color: blue; }
  64. .dp-delphi .directive { color: #008284; }
  65. .dp-delphi .vars { color: #000; }
  66. /*css*/
  67. .dp-css .value { color: black; }
  68. .dp-css .important { color: red; }
  69. /*csharp*/
  70. .dp-c .vars { color: #d00; }
  71. /*cpp*/
  72. .dp-cpp .datatypes { color: #2E8B57; font-weight: bold; }
  73. /*tools image*/
  74. .dp-highlighter .bar a { background-repeat:no-repeat; background-position:left top; display:inline-block; width:16px; height:16px; padding:1px; text-indent:-2000px; _width:0px; _overflow:hidden; _padding-left:16px; _text-indent:0px; }
  75. .dp-highlighter .bar a:hover { border:solid 1px #ccc; text-decoration:none; padding:0px; background-repeat:no-repeat;_padding-left:16px;}
  76. .dp-highlighter .bar a.ExpandSource {}
  77. .dp-highlighter .bar a.ViewSource { background-image:url(images/default/ico_plain.gif); }
  78. .dp-highlighter .bar a.CopyToClipboard { background-image:url(images/default/ico_copy.gif);}
  79. .dp-highlighter .bar a.PrintSource { display:none; }
  80. .dp-highlighter .bar a.About { display:none;}