ExpressEditor.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475
  1. /*bootstrap css begin*/
  2. .container-fluid {
  3. width: 100%;
  4. padding-right: 15px;
  5. padding-left: 15px;
  6. margin-right: auto;
  7. margin-left: auto;
  8. }
  9. *, *::before, *::after {
  10. box-sizing: border-box;
  11. }
  12. body {
  13. margin: 0;
  14. font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  15. font-size: 1rem;
  16. font-weight: 400;
  17. line-height: 1.5;
  18. color: #212529;
  19. text-align: left;
  20. background-color: #fff;
  21. }
  22. .row {
  23. display: -ms-flexbox;
  24. display: flex;
  25. -ms-flex-wrap: wrap;
  26. flex-wrap: wrap;
  27. margin-right: -15px;
  28. margin-left: -15px;
  29. }
  30. .mt-1, .my-1 {
  31. margin-top: 0.25rem !important;
  32. }
  33. .nav-tabs {
  34. border-bottom: 1px solid #dee2e6;
  35. }
  36. .nav {
  37. display: -ms-flexbox;
  38. display: flex;
  39. -ms-flex-wrap: wrap;
  40. flex-wrap: wrap;
  41. padding-left: 0;
  42. margin-bottom: 0;
  43. list-style: none;
  44. }
  45. ol, ul, dl {
  46. margin-top: 0;
  47. margin-bottom: 1rem;
  48. }
  49. .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  50. color: #495057;
  51. background-color: #fff;
  52. border-color: #dee2e6 #dee2e6 #fff;
  53. }
  54. .nav-tabs .nav-link {
  55. margin-bottom: -1px;
  56. border: 1px solid transparent;
  57. border-top-left-radius: 0.25rem;
  58. border-top-right-radius: 0.25rem;
  59. }
  60. .nav-link {
  61. display: block;
  62. padding: 0.5rem 1rem;
  63. }
  64. a {
  65. color: #007bff;
  66. text-decoration: none;
  67. background-color: transparent;
  68. }
  69. h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  70. font-weight: 500;
  71. line-height: 1.2;
  72. }
  73. .tab-content > .tab-pane {
  74. display: none;
  75. }
  76. .fade:not(.show) {
  77. opacity: 0;
  78. }
  79. .fade {
  80. transition: opacity 0.15s linear;
  81. }
  82. .col-12 {
  83. -ms-flex: 0 0 100%;
  84. flex: 0 0 100%;
  85. max-width: 100%;
  86. }
  87. .col {
  88. -ms-flex-preferred-size: 0;
  89. -ms-flex-positive: 1;
  90. }
  91. .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
  92. position: relative;
  93. width: 100%;
  94. padding-right: 15px;
  95. padding-left: 15px;
  96. }
  97. input, button, select, optgroup, textarea {
  98. margin: 0;
  99. font-family: inherit;
  100. font-size: inherit;
  101. line-height: inherit;
  102. }
  103. .tab-content > .active {
  104. display: block;
  105. }
  106. button, [type="button"], [type="reset"], [type="submit"] {
  107. -webkit-appearance: button;
  108. }
  109. button, select {
  110. text-transform: none;
  111. }
  112. button, input {
  113. overflow: visible;
  114. }
  115. .btn {
  116. display: inline-block;
  117. font-weight: 400;
  118. color: #212529;
  119. text-align: center;
  120. vertical-align: middle;
  121. -webkit-user-select: none;
  122. -moz-user-select: none;
  123. -ms-user-select: none;
  124. user-select: none;
  125. /*background-color: transparent;*/
  126. /*border: 1px solid transparent;*/
  127. /*padding: 0.375rem 0.75rem;*/
  128. font-size: 1rem;
  129. line-height: 1.5;
  130. border-radius: 0.25rem;
  131. transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  132. }
  133. .btn:not(:disabled):not(.disabled) {
  134. cursor: pointer;
  135. }
  136. .btn-sm, .btn-group-sm > .btn {
  137. padding: 0.25rem 0.5rem;
  138. font-size: 0.875rem;
  139. line-height: 1.5;
  140. border-radius: 0.2rem;
  141. }
  142. .btn-info {
  143. color: #fff;
  144. background-color: #17a2b8;
  145. border-color: #17a2b8;
  146. }
  147. /*bootstrap css end*/
  148. .nav-height-item {
  149. height: calc(100vh - 86px);
  150. }
  151. .nav-height-editor {
  152. height: calc(100vh - 12px);
  153. }
  154. .editor-style {
  155. height: calc(100% - 30px);
  156. width: 100%;
  157. border: 1px solid #e1e1e1;
  158. overflow: hidden;
  159. }
  160. .editor-btn {
  161. flex: 0 0 100%;
  162. height: 30px;
  163. }
  164. div#text {
  165. padding: 4px 0 0 0;
  166. }
  167. .mt-1 {
  168. margin-top: 4px;
  169. }
  170. .ztree {
  171. height: 100%;
  172. width: 100%;
  173. overflow: auto;
  174. }
  175. .fade {
  176. opacity: 1;
  177. }
  178. .nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
  179. border-bottom: 2px solid #1088e9;
  180. color: #1088e9;
  181. }
  182. .nav-tabs .nav-link {
  183. padding: 0 2px;
  184. border: none;
  185. color: #777;
  186. }
  187. .nav-tabs .nav-link h6 {
  188. font-size: 14px;
  189. margin: 8px 0;
  190. }
  191. .nav-tabs > li.active > a, .nav-tabs > li.active > a:focus, .nav-tabs > li.active > a:hover {
  192. border: none;
  193. }
  194. .nav-tabs {
  195. border-bottom: none;
  196. }
  197. .nav > li > a:focus, .nav > li > a:hover {
  198. background-color: white;
  199. border-bottom: 2px solid #1088e9;
  200. color: #1088e9;
  201. }
  202. .nav-tabs > li {
  203. flex: 1 1 auto;
  204. text-align: center;
  205. }
  206. .zl-side-splitter.side-splitter-tb {
  207. height: calc(100vh - 12px);
  208. position: relative;
  209. /*z-index: 1008;*/
  210. width: 8px;
  211. background-color: #eaeaea;
  212. box-shadow: 1px 0 0 #e0e0e0 inset, -1px 0 0 #e0e0e0 inset;
  213. }
  214. .zl-side-splitter:hover {
  215. background-color: white;
  216. cursor: col-resize;
  217. }
  218. button.zl-side-btn-svg {
  219. width: 8px;
  220. height: 60px;
  221. padding: 0;
  222. border: none;
  223. position: absolute;
  224. top: 50%;
  225. margin-top: -30px;
  226. background-color: #ffffff00;
  227. }
  228. button.zl-side-btn-svg:hover {
  229. box-shadow: 0 0 0 1px #4b93ea inset;
  230. cursor: pointer;
  231. }
  232. .zl-side {
  233. width: 240px;
  234. /*transition: width .1s;*/
  235. position: relative;
  236. }
  237. .zl-main {
  238. width: calc(100% - 250px);
  239. display: flex;
  240. flex-wrap: wrap;
  241. /*transition: width .1s;*/
  242. position: relative;
  243. }
  244. .zl-side-splitter.is-flod svg {
  245. transform: rotate(180deg);
  246. }
  247. .lay-message-title {
  248. background-color: #e7e8e9;
  249. display: inline-block;
  250. padding: 0 6px 0 20px;
  251. font-size: 12px;
  252. color: darkblue;
  253. cursor: pointer;
  254. position: relative;
  255. text-align: center;
  256. }
  257. .lay-message-value {
  258. height: 100px;
  259. padding: 8px;
  260. overflow: auto;
  261. background-color: #f7f7f7;
  262. box-shadow: 0px -1px 2px #5f7f76;
  263. }
  264. .lay-message {
  265. position: absolute;
  266. bottom: 0px;
  267. width: 100%;
  268. z-index: 1001;
  269. margin-left: 1px;
  270. }
  271. .lay-message.message-close > .lay-message-value {
  272. display: none;
  273. }
  274. .lay-message.message-close > .lay-message-title {
  275. width: 100%;
  276. text-align: left;
  277. }
  278. .lay-message-title:hover {
  279. background-color: white;
  280. outline: 1px solid #e1e1e1;
  281. cursor: pointer;
  282. }
  283. .message-icon {
  284. transform: rotate(270deg);
  285. position: relative;
  286. top: -4px;
  287. }
  288. .message-title-icon {
  289. opacity: 0;
  290. display: inline-block;
  291. height: 15px;
  292. position: relative;
  293. top: 2px;
  294. overflow: hidden;
  295. }
  296. .lay-message-title:hover .message-title-name {
  297. opacity: 1;
  298. }
  299. .lay-message-title:hover .message-title-icon {
  300. opacity: 1;
  301. }
  302. .lay-message.message-close .message-icon {
  303. transform: rotate(90deg);
  304. }
  305. .ztree li span.button.property_icon_ico_docu {
  306. margin-right: 2px;
  307. background: url(../icons/property.gif) no-repeat scroll 0 0 transparent;
  308. vertical-align: top;
  309. background-size: 16px 16px;
  310. }
  311. .ztree li span.button.property_date_icon_ico_docu {
  312. margin-right: 2px;
  313. background: url(../icons/日期.svg) no-repeat scroll 0 0 transparent;
  314. vertical-align: top;
  315. background-size: 16px 16px;
  316. }
  317. .ztree li span.button.property_bool_icon_ico_docu {
  318. margin-right: 2px;
  319. background: url(../icons/是否.svg) no-repeat scroll 0 0 transparent;
  320. vertical-align: top;
  321. background-size: 16px 16px;
  322. }
  323. .ztree li span.button.property_number_icon_ico_docu {
  324. margin-right: 2px;
  325. background: url(../icons/数字.svg) no-repeat scroll 0 0 transparent;
  326. vertical-align: top;
  327. background-size: 16px 16px;
  328. }
  329. .ztree li span.button.property_text_icon_ico_docu {
  330. margin-right: 2px;
  331. background: url(../icons/文本.svg) no-repeat scroll 0 0 transparent;
  332. vertical-align: top;
  333. background-size: 16px 16px;
  334. }
  335. .ztree li span.button.property_enum_icon_ico_docu {
  336. margin-right: 2px;
  337. background: url(../icons/选项.svg) no-repeat scroll 0 0 transparent;
  338. vertical-align: top;
  339. background-size: 16px 16px;
  340. }
  341. .ztree li span.button.method_icon_ico_docu {
  342. margin-right: 2px;
  343. background: url(../icons/function.gif) no-repeat scroll 0 0 transparent;
  344. vertical-align: top;
  345. background-size: 16px 16px;
  346. }
  347. .ztree li span.button.class_icon_ico_open, .ztree li span.button.class_icon_ico_close {
  348. margin-right: 2px;
  349. background: url(../icons/class.gif) no-repeat scroll 0 0 transparent;
  350. vertical-align: top;
  351. background-size: 16px 16px;
  352. }
  353. .ztree li span.button.namespace_icon_ico_open, .ztree li span.button.namespace_icon_ico_close {
  354. margin-right: 2px;
  355. background: url(../icons/namespace.gif) no-repeat scroll 0 0 transparent;
  356. vertical-align: top;
  357. background-size: 16px 16px;
  358. }
  359. .app-property-search > div > input {
  360. display: block;
  361. width: 100%;
  362. height: 100%;
  363. padding: 5px 15px 5px 40px;
  364. border: 1px solid transparent;
  365. background-color: transparent;
  366. font-size: 12px;
  367. }
  368. .app-property-search {
  369. border-image-slice: 0 0 100 0;
  370. background-color: #f1f1f1;
  371. margin-top: 1px;
  372. }
  373. .app-property-search > div {
  374. position: relative;
  375. height: 40px;
  376. }
  377. .app-property-search > div > i {
  378. position: absolute;
  379. top: 0;
  380. left: 0;
  381. display: block;
  382. width: 40px;
  383. height: 40px;
  384. text-align: center;
  385. pointer-events: none;
  386. opacity: .5;
  387. font-size: 14px;
  388. line-height: 42px;
  389. }
  390. .app-property-search > div > input:focus, .app-property-search > div input:hover {
  391. background-color: #e9e9e9;
  392. }
  393. .enum-content {
  394. background: yellow;
  395. border:1px dashed gray;
  396. text-decoration:underline;
  397. }
  398. .ztree li span {
  399. font-size: 14px;
  400. }