dataSource.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. .datasource-tabs {
  2. .ant-tabs-bar {
  3. margin-bottom: 0;
  4. .ant-tabs-extra-content {
  5. height: 100%;
  6. .datasource-tabs-tools {
  7. .ant-input-search {
  8. width: 200px;
  9. margin-right: 5px;
  10. }
  11. }
  12. }
  13. }
  14. .datasource-tab {
  15. .datasource-table {
  16. .ant-table {
  17. margin-top: 5px;
  18. .ant-table-scroll {
  19. .ant-table-header {
  20. overflow: hidden;
  21. table {
  22. thead {
  23. th {
  24. .ant-table-column-sorter, .ant-table-filter-icon {
  25. opacity: 0;
  26. }
  27. :hover {
  28. .ant-table-column-sorter, .ant-table-filter-icon {
  29. opacity: 1;
  30. }
  31. }
  32. }
  33. .column-filtered {
  34. .ant-table-filter-icon {
  35. opacity: 1;
  36. color: red;
  37. }
  38. }
  39. }
  40. }
  41. }
  42. .ant-table-body {
  43. margin-top: 17px;
  44. overflow-y: auto !important;
  45. table {
  46. padding: 0;
  47. .ant-table-row {
  48. td {
  49. padding: 8px;
  50. .datasource-name {
  51. display: flex;
  52. .datasource-type {
  53. width: 20px;
  54. height: 20px;
  55. background-size: cover;
  56. background-repeat: no-repeat;
  57. background-image: url('https://test-feapp.oss-cn-beijing.aliyuncs.com/feapp/s70f_180613_fix_a_t/images/trdservices/44_2.png');
  58. }
  59. .type-oracle {
  60. background-position: 0 -731px;
  61. }
  62. }
  63. .datasource-tag {
  64. margin: 2px;
  65. cursor: default;
  66. }
  67. .ant-dropdown-trigger {
  68. font-size: 18px;
  69. cursor: pointer;
  70. }
  71. }
  72. }
  73. }
  74. }
  75. }
  76. }
  77. }
  78. }
  79. }
  80. .operationmenu {
  81. padding: 0;
  82. width: 120px;
  83. .ant-dropdown-menu-item {
  84. .anticon {
  85. margin-right: 6px;
  86. }
  87. }
  88. .ant-dropdown-menu-item-divider {
  89. margin: 0;
  90. }
  91. }
  92. .newdatasource-box {
  93. top: 0px;
  94. height: 90%;
  95. width: 90% !important;
  96. .ant-modal-content {
  97. height: 100%;
  98. .ant-modal-body {
  99. padding: 6px;
  100. max-height: 382px;
  101. overflow-y: auto;
  102. .textarea-target {
  103. margin-top: 4px;
  104. margin-bottom: 3px;
  105. }
  106. .textarea-desc {
  107. margin-top: 4px;
  108. }
  109. .input-port {
  110. .ant-input-number {
  111. width: 100% !important;
  112. .ant-input-number-handler-wrap {
  113. display: none;
  114. }
  115. }
  116. }
  117. }
  118. .ant-modal-footer {
  119. height: 32px;
  120. }
  121. }
  122. }
  123. .ant-table-body::-webkit-scrollbar {/*滚动条整体样式*/
  124. width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  125. height: 4px;
  126. }
  127. .ant-table-body::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
  128. border-radius: 5px;
  129. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  130. background: rgba(0,0,0,0.2);
  131. }
  132. .ant-table-body::-webkit-scrollbar-track {/*滚动条里面轨道*/
  133. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  134. border-radius: 0;
  135. background: rgba(0,0,0,0.1);
  136. }
  137. .custom-filter-dropdown {
  138. padding: 8px;
  139. border-radius: 6px;
  140. background: #fff;
  141. box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
  142. }
  143. .custom-filter-dropdown input {
  144. width: 130px;
  145. margin-right: 8px;
  146. }
  147. .highlight {
  148. color: #f50;
  149. }