page.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. .zl-row {
  2. display: flex;
  3. flex-wrap: wrap;
  4. }
  5. * {
  6. box-sizing: border-box;
  7. }
  8. .zl-col-6 {
  9. flex: 0 0 50%;
  10. max-width: 50%;
  11. padding: 0 8px;
  12. }
  13. .zl-table-height {
  14. /* height: calc(50vh - 17px); */
  15. height: calc(50vh - 68px);
  16. overflow: auto;
  17. }
  18. body {
  19. margin: 0;
  20. }
  21. .zl-code {
  22. /* height: calc(50vh - 17px); */
  23. height: calc(50vh - 68px);
  24. overflow: auto;
  25. }
  26. .zl-col-12 {
  27. flex: 0 0 100%;
  28. max-width: 100%;
  29. }
  30. .zl-tree {
  31. height: calc(50vh - 30px);
  32. overflow: auto;
  33. }
  34. .zl-table-head {
  35. font-size: 1rem;
  36. height: 20px;
  37. line-height: 20px;
  38. border-left: 5px solid #686f72;
  39. padding-left: 7px;
  40. margin: 4px 0;
  41. }
  42. #astJson li {
  43. position: relative;
  44. white-space: nowrap;
  45. max-width: 100%;
  46. cursor: pointer;
  47. list-style: none;
  48. }
  49. #astJson li:after {
  50. content: "";
  51. position: absolute;
  52. width: 20px;
  53. height: 20px;
  54. left: -23px;
  55. top: 13px;
  56. border-width: 1px;
  57. border-top: 1px dashed #3fa35e;
  58. }
  59. #astJson li:before {
  60. content: "";
  61. position: absolute;
  62. width: 1px;
  63. height: 100%;
  64. left: -23px;
  65. top: 3px;
  66. border-width: 1px;
  67. border-left: 1px dashed #3fa35e;
  68. }
  69. #astJson li.parent-node>ul:before {
  70. top: 2px;
  71. }
  72. #astJson div>ul>li:before {
  73. opacity: 0;
  74. }
  75. #astJson div>ul>li:after {
  76. opacity: 0;
  77. }
  78. #astJson span.tree-icon {
  79. content: "";
  80. width: 20px;
  81. height: 20px;
  82. background-image: url("/imags/icon_del.svg");
  83. background-repeat: no-repeat;
  84. background-size: cover;
  85. display: inline-block;
  86. position: relative;
  87. top: 5px;
  88. margin-right: 2px;
  89. }
  90. #astJson li.parent-node.collapse-node span.tree-icon {
  91. background-image: url(/imags/icon_add.svg);
  92. }
  93. #astJson ul>.last-node>span.tree-icon {
  94. opacity: 0;
  95. }
  96. #astJson .parent-node li.last-node>span.tree-icon {
  97. display: none;
  98. }
  99. #astJson .parent-node li:last-child:before {
  100. height: 10px;
  101. }
  102. #astJson span.tree-icon.collapse-node {
  103. background-image: url(/imags/icon_add.svg);
  104. }
  105. #astJson span.node-text {
  106. font-size: 16px;
  107. }
  108. #astJson .import-data-table>div>ul {
  109. border: 1px solid #999;
  110. padding: 8px;
  111. }
  112. #astJson .import-data-table ul {
  113. padding-inline-start: 32px;
  114. }
  115. #astJson .dx-freespace-row td {
  116. border-left: 1px solid transparent !important;
  117. border-right: 1px solid transparent !important;
  118. }
  119. #astJson .dx-data-row td {
  120. border-bottom: 1px solid #d1d1d1;
  121. }
  122. .monaco-highlight {
  123. background: #d3dbd7;
  124. }
  125. .pos-head {
  126. position: absolute;
  127. z-index: 1;
  128. top: 4px;
  129. }
  130. .zl-row {
  131. position: relative;
  132. }
  133. .mt-1 {
  134. margin-top: 4px;
  135. }
  136. /* tab页卡使用 */
  137. .tabs {
  138. display: flex;
  139. border-bottom: 2px solid #ccc;
  140. }
  141. .tab {
  142. padding: 10px 20px;
  143. cursor: pointer;
  144. transition: background-color 0.3s;
  145. }
  146. .tab:hover {
  147. background-color: #f0f0f0;
  148. }
  149. .tab.active {
  150. background-color: #fff;
  151. border-bottom: 2px solid #007bff;
  152. font-weight: bold;
  153. }
  154. .tab-content {
  155. padding: 20px;
  156. border: 1px solid #ccc;
  157. border-radius: 5px;
  158. margin-top: -2px;
  159. /* 使内容区域与标签相接 */
  160. display: none;
  161. /* 默认隐藏 */
  162. }
  163. .tab-content.active {
  164. display: block;
  165. /* 仅显示激活的内容 */
  166. }