designer.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. body {
  2. min-height: 100vh;
  3. display: flex;
  4. flex-direction: column;
  5. overflow: hidden;
  6. background-color: #ebeef5;
  7. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  8. }
  9. ::-webkit-scrollbar-track {
  10. border-radius: 10px;
  11. }
  12. ::-webkit-scrollbar-thumb {
  13. background-color: rgba(144, 147, 153, .3);
  14. border-radius: 10px;
  15. }
  16. ::-webkit-scrollbar {
  17. width: 16px;
  18. height: 16px;
  19. }
  20. ::-webkit-scrollbar-track,
  21. ::-webkit-scrollbar-thumb {
  22. border-radius: 999px;
  23. border: 5px solid transparent;
  24. }
  25. ::-webkit-scrollbar-thumb {
  26. min-height: 20px;
  27. background-clip: content-box;
  28. }
  29. ::-webkit-scrollbar-corner {
  30. background: transparent;
  31. }
  32. html::-webkit-scrollbar,
  33. body::-webkit-scrollbar,
  34. #app::-webkit-scrollbar {
  35. width: 0;
  36. }
  37. input,
  38. button,
  39. a {
  40. outline: 0 none !important;
  41. }
  42. .form-control {
  43. box-shadow: none !important;
  44. border: 1px solid #DCDFE6;
  45. }
  46. .custom-formitm {
  47. line-height: 30px;
  48. margin-bottom: 10px;
  49. }
  50. .custom-formitm .lab {
  51. float: left;
  52. width: 76px;
  53. margin-right: -76px;
  54. font-weight: normal;
  55. }
  56. .custom-formitm .ipt {
  57. margin-left: 80px;
  58. }
  59. .custom-formitm-l {
  60. line-height: 30px;
  61. margin-bottom: 10px;
  62. }
  63. .custom-formitm-l .lab {
  64. float: left;
  65. width: 100px;
  66. margin-right: -100px;
  67. text-align: right;
  68. font-weight: normal;
  69. }
  70. .custom-formitm-l .ipt {
  71. margin-left: 110px;
  72. }
  73. #container {
  74. /* min-height: 100vh;
  75. display: flex;
  76. flex-direction: column; */
  77. }
  78. .flex-box {
  79. display: flex;
  80. height: 100vh;
  81. }
  82. .aside {
  83. flex: 0 0 430px;
  84. background-color: #fff;
  85. border-left: solid 1px #ddd;
  86. height: calc(100vh - 70px);
  87. margin: 5px 5px 5px 0;
  88. }
  89. .top-toolbar {
  90. width: 100%;
  91. display: flex;
  92. align-items: center;
  93. /* height: 60px;
  94. line-height: 60px; */
  95. background-color: #fff;
  96. border-bottom: 1px solid #dfe6ec;
  97. padding: 0 10px;
  98. justify-content: space-between;
  99. }
  100. .top-toolbar .logo {
  101. width: 200px;
  102. display: flex;
  103. align-items: center;
  104. }
  105. .top-toolbar .logo span {
  106. display: inline-block;
  107. line-height: 60px;
  108. font-size: 18px;
  109. color: #333;
  110. }
  111. .top-toolbar .top-tools {
  112. flex-grow: 1;
  113. display: flex;
  114. /* justify-content: center; */
  115. align-items: center;
  116. /* height: 40px; */
  117. flex-wrap: wrap;
  118. }
  119. .top-toolbar .top-tools .tool-item {
  120. display: inline-block;
  121. padding: 0 10px;
  122. cursor: pointer;
  123. height: 46px;
  124. line-height: 46px;
  125. }
  126. .top-toolbar .top-tools .tool-item.tool-item-line {
  127. padding: 0;
  128. margin-left: 10px;
  129. margin-right: 10px;
  130. display: inline-block;
  131. height: 60px;
  132. line-height: 24px;
  133. border-left: 1px solid #e6e6e6;
  134. }
  135. .top-toolbar .top-tools .tool-item .icon-ym {
  136. line-height: 40px;
  137. }
  138. .top-toolbar .top-tools .btn.btn-default {
  139. display: flex;
  140. align-items: flex-start;
  141. padding: 0 10px;
  142. height: 40px;
  143. position: relative;
  144. }
  145. .top-toolbar .top-tools .btn.btn-default.btn-arrow-down {
  146. padding: 0;
  147. margin-right: 10px;
  148. margin-left: 2px;
  149. position: relative;
  150. z-index: 10;
  151. }
  152. .top-toolbar .top-tools .btn.btn-default.btn-custom-left {
  153. padding: 0;
  154. margin-left: 10px;
  155. position: relative;
  156. z-index: 10;
  157. line-height: 40px;
  158. font-size: 16px;
  159. }
  160. .top-toolbar .top-tools .btn.btn-default .icon-ym {
  161. line-height: 40px;
  162. }
  163. .top-toolbar .top-tools .btn-group .btn.btn-default .icon-ym-report-icon-arrow-down {
  164. line-height: 35px;
  165. margin-left: 2px;
  166. margin-top: 4px;
  167. }
  168. .top-toolbar .options {
  169. width: 200px;
  170. text-align: right;
  171. }
  172. .top-right-btns {
  173. display: none;
  174. }
  175. .main-body {
  176. flex-grow: 1;
  177. overflow-y: auto;
  178. padding: 5px;
  179. height: calc(100vh - 60px);
  180. display: flex;
  181. flex-direction: column;
  182. }
  183. .main-tools {
  184. width: 100%;
  185. display: flex;
  186. align-items: center;
  187. /* flex: 60px 0 0;
  188. height: 60px;
  189. line-height: 60px; */
  190. background-color: #fff;
  191. border-bottom: 1px solid #dfe6ec;
  192. }
  193. .main-container {
  194. flex: 1 0 0;
  195. overflow-y: auto;
  196. padding: 10px 0 0 10px;
  197. display: flex;
  198. background-color: #fff;
  199. }
  200. .main-wrap {
  201. flex: 1 0 0;
  202. overflow-y: auto;
  203. }
  204. .handsontable table.htCore {
  205. border-collapse: collapse
  206. }
  207. .ud-toolbar {
  208. width: 100%;
  209. }
  210. .ud-property-panel .jnpf-property {
  211. height: calc(100vh - 100px);
  212. overflow: hidden auto;
  213. }
  214. .ud-select-color {
  215. background: #000000;
  216. position: absolute;
  217. width: 20px;
  218. height: 2px;
  219. display: block;
  220. left: 2px;
  221. bottom: 10px;
  222. border-radius: 1px;
  223. }
  224. .ud-select-bgcolor {
  225. position: absolute;
  226. background: #fff;
  227. width: 20px;
  228. height: 2px;
  229. display: block;
  230. left: 2px;
  231. bottom: 10px;
  232. border-radius: 1px;
  233. }
  234. .nav-tabs {
  235. display: flex;
  236. text-align: center;
  237. }
  238. .nav-tabs>li.active>a,
  239. .nav-tabs>li.active>a:focus,
  240. .nav-tabs>li.active>a:hover {
  241. border: none;
  242. background: none;
  243. color: #1890ff;
  244. border-bottom: 2px solid #1890ff;
  245. }
  246. .nav-tabs>li {
  247. float: none;
  248. color: #303133;
  249. width: 50%;
  250. }
  251. .nav-tabs>li>a {
  252. border: none;
  253. border-radius: 0;
  254. color: #303133;
  255. padding: 19px 15px;
  256. }
  257. .nav-tabs>li>a:hover {
  258. border: none;
  259. background-color: #fff;
  260. color: #1890ff;
  261. }
  262. .tab-pane .ud-toolbar {
  263. margin-top: 6px;
  264. padding-left: 6px;
  265. }
  266. /*数据源面板*/
  267. .datasource-pannel .btns {
  268. padding: 10px;
  269. }
  270. .datasource-pannel i.ureport {
  271. margin-right: 6px;
  272. font-size: 12px;
  273. }
  274. .datasource-pannel-tree {
  275. height: calc(100vh - 160px);
  276. overflow: hidden auto;
  277. }
  278. /*弹窗*/
  279. .data-report-modal {
  280. left: 50%;
  281. top: 50%;
  282. transform: translate(-50%, -50%);
  283. min-width: 50%;
  284. overflow: visible;
  285. bottom: inherit;
  286. right: inherit;
  287. }
  288. .modal-dialog {
  289. width: 600px;
  290. }
  291. .modal-dialog .modal-content {
  292. border-radius: 4px;
  293. box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
  294. }
  295. .modal-dialog .modal-header {
  296. padding: 0 20px;
  297. height: 56px;
  298. line-height: 56px;
  299. border-bottom: 1px solid #e8eaec;
  300. }
  301. .modal-dialog .modal-header .close {
  302. margin-top: 16px;
  303. opacity: 1;
  304. }
  305. .modal-dialog .modal-header .close i {
  306. font-weight: normal;
  307. font-size: 18px;
  308. color: #909399;
  309. line-height: normal;
  310. }
  311. .modal-dialog .modal-header .close:hover i {
  312. color: #1890ff;
  313. }
  314. .modal-dialog .modal-header .modal-title {
  315. height: 56px;
  316. line-height: 56px;
  317. }
  318. .modal-dialog .modal-body {
  319. padding: 20px 50px;
  320. min-height: 200px;
  321. }
  322. .modal-dialog .modal-body .data-formitm {
  323. padding: 20px 0 0;
  324. line-height: 30px;
  325. }
  326. .modal-dialog .modal-body .data-formitm .lab {
  327. float: left;
  328. width: 90px;
  329. margin-right: -90px;
  330. text-align: right;
  331. font-weight: normal;
  332. }
  333. .modal-dialog .modal-body .data-formitm .ipt {
  334. margin-left: 100px;
  335. }
  336. .modal-dialog .modal-body .data-formitm .ipt * {
  337. vertical-align: middle;
  338. }
  339. .modal-dialog .modal-body .row {
  340. padding-bottom: 10px;
  341. }
  342. .modal-dialog .modal-footer {
  343. border-top: 0;
  344. padding: 10px 20px 20px;
  345. }
  346. .dropdown-menu {
  347. padding: 10px 0;
  348. border: 1px solid #ebeef5;
  349. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
  350. }
  351. .dropdown-menu>li>a {
  352. display: flex;
  353. align-items: center;
  354. }
  355. .dropdown-menu>li>a .icon-ym {
  356. margin-right: 10px;
  357. color: #666 !important;
  358. }
  359. .sql-dialog-sider {
  360. width: 260px;
  361. display: inline-block;
  362. vertical-align: top;
  363. height: 450px;
  364. overflow: hidden auto;
  365. }
  366. .sq-search-bar {
  367. display: flex;
  368. align-items: center;
  369. justify-content: space-between;
  370. margin-bottom: 10px;
  371. }
  372. .sq-search-bar .el-input__inner {
  373. display: inline-block;
  374. width: 188px;
  375. }
  376. .sql-dialog-sider .table {
  377. font-size: 12px;
  378. height: 200px;
  379. overflow: hidden;
  380. }
  381. .sql-dialog-main {
  382. display: inline-block;
  383. width: 580px;
  384. margin-left: 10px;
  385. height: 450px;
  386. overflow: hidden auto;
  387. }
  388. /*table*/
  389. .el-table th,
  390. .el-table td {
  391. padding: 8px;
  392. }
  393. .el-table th {
  394. font-weight: normal;
  395. font-size: 14px;
  396. background-color: #f5f7fa;
  397. }
  398. .el-table {
  399. table-layout: fixed;
  400. }
  401. .el-table {
  402. word-break: break-all;
  403. word-wrap: break-word;
  404. }
  405. .editTxt,
  406. .editTxt:hover {
  407. color: #409eff;
  408. text-decoration: none;
  409. }
  410. .delTxt,
  411. .delTxt:hover {
  412. color: #f56c6c;
  413. margin-left: 10px;
  414. text-decoration: none;
  415. }
  416. .el-input--small .report-icon {
  417. font-size: 14px;
  418. }
  419. .el-button--mini .report-icon {
  420. font-size: 14px;
  421. }
  422. .dialog-fieldset {
  423. padding: 10px;
  424. width: 280px;
  425. height: 398px;
  426. border-radius: 6px;
  427. display: inline-block;
  428. border: 1px solid #ddd;
  429. overflow-y: auto;
  430. overflow-x: hidden;
  431. }
  432. .dialog-fieldset-btn {
  433. display: inline-block;
  434. border: none;
  435. background-color: #fff;
  436. }
  437. .dialog-fieldset .form-group {
  438. padding: 0 10px;
  439. }
  440. .dialog-fieldset .form-group label {
  441. font-weight: 400;
  442. }
  443. .dialog-fieldset .form-group label input {
  444. margin-right: 5px;
  445. }
  446. .select-option {
  447. line-height: 60px;
  448. color: red;
  449. height: 60px;
  450. }
  451. .shortcut_keys {
  452. display: flex;
  453. height: 100%;
  454. justify-content: space-between;
  455. padding: 10px 20px;
  456. }
  457. .shortcut_keys_segmentation {
  458. margin: 0 auto;
  459. width: calc(100% - 40px);
  460. border-bottom: 1px solid #E3E6EB;
  461. }
  462. .shortcut_keys_left {
  463. color: #606266;
  464. }
  465. .shortcut_keys_right {
  466. color: #303133;
  467. }