page.css 3.4 KB

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