editor.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .km-editor {
  2. overflow: hidden;
  3. z-index: 2;
  4. }
  5. .km-editor > .mask {
  6. display: block;
  7. position: absolute;
  8. left: 0;
  9. right: 0;
  10. top: 0;
  11. bottom: 0;
  12. background-color: transparent;
  13. }
  14. .km-editor > .receiver {
  15. position: absolute;
  16. background: white;
  17. outline: none;
  18. box-shadow: 0 0 20px fadeout(black, 50%);
  19. left: 0;
  20. top: 0;
  21. padding: 3px 5px;
  22. margin-left: -3px;
  23. margin-top: -5px;
  24. max-width: 300px;
  25. width: auto;
  26. overflow: hidden;
  27. font-size: 14px;
  28. line-height: 1.4em;
  29. min-height: 1.4em;
  30. box-sizing: border-box;
  31. overflow: hidden;
  32. word-break: break-all;
  33. word-wrap: break-word;
  34. border: none;
  35. -webkit-user-select: text;
  36. pointer-events: none;
  37. opacity: 0;
  38. z-index: -1000;
  39. &.debug {
  40. opacity: 1;
  41. outline: 1px solid green;
  42. background: none;
  43. z-index: 0;
  44. }
  45. &.input {
  46. pointer-events: all;
  47. opacity: 1;
  48. z-index: 999;
  49. background: white;
  50. outline: none;
  51. }
  52. }
  53. div.minder-editor-container {
  54. position: absolute;
  55. top: 40px;
  56. bottom: 0;
  57. left: 0;
  58. right: 0;
  59. font-family: Arial, "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  60. }
  61. .minder-editor {
  62. position: absolute;
  63. top: 92px;
  64. left: 0;
  65. right: 0;
  66. bottom: 0;
  67. }
  68. .minder-viewer {
  69. position: absolute;
  70. top: 0;
  71. left: 0;
  72. right: 0;
  73. bottom: 0;
  74. }
  75. .control-panel {
  76. position: absolute;
  77. top: 0;
  78. right: 0;
  79. width: 250px;
  80. bottom: 0;
  81. border-left: 1px solid #CCC;
  82. }
  83. .minder-divider {
  84. position: absolute;
  85. top: 0;
  86. right: 250px;
  87. bottom: 0;
  88. width: 2px;
  89. background-color: rgb(251, 251, 251);
  90. cursor: ew-resize;
  91. }
  92. // @override bootstrap
  93. .panel-body {
  94. padding: 10px;
  95. }
  96. @import (less) "_vars.less";
  97. @import (less) "imageDialog.less";
  98. @import (less) "topTab/topTab.less";
  99. @import (less) "topTab/idea/undoRedo.less";
  100. @import (less) "topTab/idea/appendNode.less";
  101. @import (less) "topTab/idea/arrange.less";
  102. @import (less) "topTab/idea/operation.less";
  103. @import (less) "topTab/idea/hyperlink.less";
  104. @import (less) "topTab/idea/image.less";
  105. @import (less) "topTab/idea/note.less";
  106. @import (less) "topTab/idea/noteEditor.less";
  107. @import (less) "topTab/idea/priority.less";
  108. @import (less) "topTab/idea/progress.less";
  109. @import (less) "topTab/idea/resource.less";
  110. @import (less) "topTab/appearance/templatePanel.less";
  111. @import (less) "topTab/appearance/themePanel.less";
  112. @import (less) "topTab/appearance/layout.less";
  113. @import (less) "topTab/appearance/styleOperator.less";
  114. @import (less) "topTab/appearance/fontOperator.less";
  115. @import (less) "topTab/appearance/colorPanel.less";
  116. @import (less) "topTab/view/expand.less";
  117. @import (less) "topTab/view/select.less";
  118. @import (less) "topTab/view/search.less";
  119. @import (less) "topTab/searchBox.less";
  120. @import (less) "_tool_group.less";
  121. @import (less) "_navigator.less";