jsmind.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*
  2. * Released under BSD License
  3. * Copyright (c) 2014-2021 hizzgdev@163.com
  4. *
  5. * Project Home:
  6. * https://github.com/hizzgdev/jsmind/
  7. */
  8. /* important section */
  9. .jsmind-inner{position:relative;overflow:auto;width:100%;height:100%;outline:none;}/*box-shadow:0 0 2px #000;*/
  10. .jsmind-inner{
  11. moz-user-select:-moz-none;
  12. -moz-user-select:none;
  13. -o-user-select:none;
  14. -khtml-user-select:none;
  15. -webkit-user-select:none;
  16. -ms-user-select:none;
  17. user-select:none;
  18. }
  19. /* z-index:1 */
  20. svg.jsmind{position:absolute;z-index:1;}
  21. canvas.jsmind{position:absolute;z-index:1;}
  22. /* z-index:2 */
  23. jmnodes{position:absolute;z-index:2;background-color:rgba(0,0,0,0);}/*background color is necessary*/
  24. jmnode{position:absolute;cursor:default;max-width:400px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  25. jmexpander{position:absolute;width:11px;height:11px;display:block;overflow:hidden;line-height:12px;font-size:12px;text-align:center;border-radius:6px;border-width:1px;border-style:solid;cursor:pointer;}
  26. /* default theme */
  27. jmnode{padding:10px;background-color:#fff;color:#333;border-radius:5px;box-shadow:1px 1px 1px #666;font:16px/1.125 Verdana,Arial,Helvetica,sans-serif;}
  28. jmnode:hover{box-shadow:2px 2px 8px #000;background-color:#ebebeb;color:#333;}
  29. jmnode.selected{background-color:#11f;color:#fff;box-shadow:2px 2px 8px #000;}
  30. jmnode.root{font-size:24px;}
  31. jmexpander{border-color:gray;}
  32. jmexpander:hover{border-color:#000;}
  33. @media screen and (max-device-width: 1024px) {
  34. jmnode{padding:5px;border-radius:3px;font-size:14px;}
  35. jmnode.root{font-size:21px;}
  36. }
  37. /* primary theme */
  38. jmnodes.theme-primary jmnode{background-color:#428bca;color:#fff;border-color:#357ebd;}
  39. jmnodes.theme-primary jmnode:hover{background-color:#3276b1;border-color:#285e8e;}
  40. jmnodes.theme-primary jmnode.selected{background-color:#f1c40f;color:#fff;}
  41. jmnodes.theme-primary jmnode.root{}
  42. jmnodes.theme-primary jmexpander{}
  43. jmnodes.theme-primary jmexpander:hover{}
  44. /* warning theme */
  45. jmnodes.theme-warning jmnode{background-color:#f0ad4e;border-color:#eea236;color:#fff;}
  46. jmnodes.theme-warning jmnode:hover{background-color:#ed9c28;border-color:#d58512;}
  47. jmnodes.theme-warning jmnode.selected{background-color:#11f;color:#fff;}
  48. jmnodes.theme-warning jmnode.root{}
  49. jmnodes.theme-warning jmexpander{}
  50. jmnodes.theme-warning jmexpander:hover{}
  51. /* danger theme */
  52. jmnodes.theme-danger jmnode{background-color:#d9534f;border-color:#d43f3a;color:#fff;}
  53. jmnodes.theme-danger jmnode:hover{background-color:#d2322d;border-color:#ac2925;}
  54. jmnodes.theme-danger jmnode.selected{background-color:#11f;color:#fff;}
  55. jmnodes.theme-danger jmnode.root{}
  56. jmnodes.theme-danger jmexpander{}
  57. jmnodes.theme-danger jmexpander:hover{}
  58. /* success theme */
  59. jmnodes.theme-success jmnode{background-color:#5cb85c;border-color:#4cae4c;color:#fff;}
  60. jmnodes.theme-success jmnode:hover{background-color:#47a447;border-color:#398439;}
  61. jmnodes.theme-success jmnode.selected{background-color:#11f;color:#fff;}
  62. jmnodes.theme-success jmnode.root{}
  63. jmnodes.theme-success jmexpander{}
  64. jmnodes.theme-success jmexpander:hover{}
  65. /* info theme */
  66. jmnodes.theme-info jmnode{background-color:#5dc0de;border-color:#46b8da;;color:#fff;}
  67. jmnodes.theme-info jmnode:hover{background-color:#39b3d7;border-color:#269abc;}
  68. jmnodes.theme-info jmnode.selected{background-color:#11f;color:#fff;}
  69. jmnodes.theme-info jmnode.root{}
  70. jmnodes.theme-info jmexpander{}
  71. jmnodes.theme-info jmexpander:hover{}
  72. /* greensea theme */
  73. jmnodes.theme-greensea jmnode{background-color:#1abc9c;color:#fff;}
  74. jmnodes.theme-greensea jmnode:hover{background-color:#16a085;}
  75. jmnodes.theme-greensea jmnode.selected{background-color:#11f;color:#fff;}
  76. jmnodes.theme-greensea jmnode.root{}
  77. jmnodes.theme-greensea jmexpander{}
  78. jmnodes.theme-greensea jmexpander:hover{}
  79. /* nephrite theme */
  80. jmnodes.theme-nephrite jmnode{background-color:#2ecc71;color:#fff;}
  81. jmnodes.theme-nephrite jmnode:hover{background-color:#27ae60;}
  82. jmnodes.theme-nephrite jmnode.selected{background-color:#11f;color:#fff;}
  83. jmnodes.theme-nephrite jmnode.root{}
  84. jmnodes.theme-nephrite jmexpander{}
  85. jmnodes.theme-nephrite jmexpander:hover{}
  86. /* belizehole theme */
  87. jmnodes.theme-belizehole jmnode{background-color:#3498db;color:#fff;}
  88. jmnodes.theme-belizehole jmnode:hover{background-color:#2980b9;}
  89. jmnodes.theme-belizehole jmnode.selected{background-color:#11f;color:#fff;}
  90. jmnodes.theme-belizehole jmnode.root{}
  91. jmnodes.theme-belizehole jmexpander{}
  92. jmnodes.theme-belizehole jmexpander:hover{}
  93. /* wisteria theme */
  94. jmnodes.theme-wisteria jmnode{background-color:#9b59b6;color:#fff;}
  95. jmnodes.theme-wisteria jmnode:hover{background-color:#8e44ad;}
  96. jmnodes.theme-wisteria jmnode.selected{background-color:#11f;color:#fff;}
  97. jmnodes.theme-wisteria jmnode.root{}
  98. jmnodes.theme-wisteria jmexpander{}
  99. jmnodes.theme-wisteria jmexpander:hover{}
  100. /* asphalt theme */
  101. jmnodes.theme-asphalt jmnode{background-color:#34495e;color:#fff;}
  102. jmnodes.theme-asphalt jmnode:hover{background-color:#2c3e50;}
  103. jmnodes.theme-asphalt jmnode.selected{background-color:#11f;color:#fff;}
  104. jmnodes.theme-asphalt jmnode.root{}
  105. jmnodes.theme-asphalt jmexpander{}
  106. jmnodes.theme-asphalt jmexpander:hover{}
  107. /* orange theme */
  108. jmnodes.theme-orange jmnode{background-color:#f1c40f;color:#fff;}
  109. jmnodes.theme-orange jmnode:hover{background-color:#f39c12;}
  110. jmnodes.theme-orange jmnode.selected{background-color:#11f;color:#fff;}
  111. jmnodes.theme-orange jmnode.root{}
  112. jmnodes.theme-orange jmexpander{}
  113. jmnodes.theme-orange jmexpander:hover{}
  114. /* pumpkin theme */
  115. jmnodes.theme-pumpkin jmnode{background-color:#e67e22;color:#fff;}
  116. jmnodes.theme-pumpkin jmnode:hover{background-color:#d35400;}
  117. jmnodes.theme-pumpkin jmnode.selected{background-color:#11f;color:#fff;}
  118. jmnodes.theme-pumpkin jmnode.root{}
  119. jmnodes.theme-pumpkin jmexpander{}
  120. jmnodes.theme-pumpkin jmexpander:hover{}
  121. /* pomegranate theme */
  122. jmnodes.theme-pomegranate jmnode{background-color:#e74c3c;color:#fff;}
  123. jmnodes.theme-pomegranate jmnode:hover{background-color:#c0392b;}
  124. jmnodes.theme-pomegranate jmnode.selected{background-color:#11f;color:#fff;}
  125. jmnodes.theme-pomegranate jmnode.root{}
  126. jmnodes.theme-pomegranate jmexpander{}
  127. jmnodes.theme-pomegranate jmexpander:hover{}
  128. /* clouds theme */
  129. jmnodes.theme-clouds jmnode{background-color:#ecf0f1;color:#333;}
  130. jmnodes.theme-clouds jmnode:hover{background-color:#bdc3c7;}
  131. jmnodes.theme-clouds jmnode.selected{background-color:#11f;color:#fff;}
  132. jmnodes.theme-clouds jmnode.root{}
  133. jmnodes.theme-clouds jmexpander{}
  134. jmnodes.theme-clouds jmexpander:hover{}
  135. /* asbestos theme */
  136. jmnodes.theme-asbestos jmnode{background-color:#95a5a6;color:#fff;}
  137. jmnodes.theme-asbestos jmnode:hover{background-color:#7f8c8d;}
  138. jmnodes.theme-asbestos jmnode.selected{background-color:#11f;color:#fff;}
  139. jmnodes.theme-asbestos jmnode.root{}
  140. jmnodes.theme-asbestos jmexpander{}
  141. jmnodes.theme-asbestos jmexpander:hover{}