xmlTreeViewer.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. /* Copyright 2014 The Chromium Authors. All rights reserved.
  2. * Use of this source code is governed by a BSD-style license that can be
  3. * found in the LICENSE file.
  4. */
  5. div.header {
  6. border-bottom: 2px solid black;
  7. padding-bottom: 5px;
  8. margin: 10px;
  9. }
  10. div.collapsible > div.hidden {
  11. display:none;
  12. }
  13. .pretty-print {
  14. margin-top: 1em;
  15. margin-left: 20px;
  16. font-family: monospace;
  17. font-size: 13px;
  18. }
  19. #xml-viewer-source-xml {
  20. display: none;
  21. }
  22. .collapsible-content {
  23. margin-left: 2em;
  24. }
  25. .comment {
  26. white-space: pre;
  27. }
  28. .button {
  29. -webkit-user-select: none;
  30. cursor: pointer;
  31. display: inline-block;
  32. margin-left: -10px;
  33. width: 10px;
  34. background-repeat: no-repeat;
  35. background-position: left top;
  36. vertical-align: bottom;
  37. }
  38. .collapse-button {
  39. /*background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'><path d='M0 0 L8 0 L4 7 Z'/></svg>");*/
  40. background: url("./img/Expanded.gif");
  41. height: 12px;
  42. }
  43. .expand-button {
  44. /*background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' fill='#909090' width='10' height='10'><path d='M0 0 L0 8 L7 4 Z'/></svg>");*/
  45. background: url("./img/Collapsed.gif");
  46. height: 12px;
  47. }
  48. .line-content {
  49. padding: 0 5px !important;
  50. }
  51. .highlight {
  52. background-color: rgb(100%, 42%, 42%);
  53. border: 2px solid rgb(100%, 31%, 31%);
  54. }
  55. .html-tag {
  56. /* Keep this in sync with inspector.css (.webkit-html-tag) */
  57. color: rgb(136, 18, 128);
  58. }
  59. .html-attribute-name {
  60. /* Keep this in sync with inspector.css (.webkit-html-attribute-name) */
  61. color: rgb(153, 69, 0);
  62. }
  63. .html-attribute-value {
  64. /* Keep this in sync with inspector.css (.webkit-html-attribute-value) */
  65. color: rgb(26, 26, 166);
  66. }
  67. .html-external-link, .html-resource-link {
  68. /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-external-link, .webkit-html-resource-link) */
  69. color: #00e;
  70. }
  71. .html-external-link {
  72. /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-external-link) */
  73. text-decoration: none;
  74. }
  75. .html-external-link:hover {
  76. /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-external-link:hover) */
  77. text-decoration: underline;
  78. }
  79. .html-comment {
  80. /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-comment) */
  81. color: rgb(35, 110, 37);
  82. }
  83. .html-doctype {
  84. /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-doctype) */
  85. color: rgb(192, 192, 192);
  86. }
  87. .html-end-of-file {
  88. /* Keep this in sync with inspectorSyntaxHighlight.css (.webkit-html-end-of-file) */
  89. color: rgb(255, 0, 0);
  90. font-weight: bold;
  91. }