dataSource.less 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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, .dataconnect-tab {
  15. .datasource-table, .dataconnect-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. .action-col {
  73. display: flex;
  74. .operation {
  75. cursor: pointer;
  76. }
  77. .operation:hover {
  78. color: #40a9ff;
  79. }
  80. }
  81. }
  82. }
  83. }
  84. }
  85. }
  86. }
  87. }
  88. }
  89. .operationmenu {
  90. padding: 0;
  91. width: 120px;
  92. .ant-dropdown-menu-item {
  93. .anticon {
  94. margin-right: 6px;
  95. }
  96. }
  97. .ant-dropdown-menu-item-divider {
  98. margin: 0;
  99. }
  100. }
  101. .dataconnect-box {
  102. width: 600px !important;
  103. .ant-modal-content {
  104. .ant-modal-body {
  105. padding: 6px;
  106. max-height: 50vh;
  107. overflow-y: auto;
  108. .textarea-desc {
  109. margin-top: 4px;
  110. }
  111. .input-port {
  112. .ant-input-number {
  113. width: 100% !important;
  114. .ant-input-number-handler-wrap {
  115. display: none;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. }
  122. .ant-table-body::-webkit-scrollbar {/*滚动条整体样式*/
  123. width: 6px; /*高宽分别对应横竖滚动条的尺寸*/
  124. height: 4px;
  125. }
  126. .ant-table-body::-webkit-scrollbar-thumb {/*滚动条里面小方块*/
  127. border-radius: 5px;
  128. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  129. background: rgba(0,0,0,0.2);
  130. }
  131. .ant-table-body::-webkit-scrollbar-track {/*滚动条里面轨道*/
  132. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  133. border-radius: 0;
  134. background: rgba(0,0,0,0.1);
  135. }
  136. .custom-filter-dropdown {
  137. padding: 8px;
  138. border-radius: 6px;
  139. background: #fff;
  140. box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
  141. }
  142. .custom-filter-dropdown input {
  143. width: 130px;
  144. margin-right: 8px;
  145. }
  146. .highlight {
  147. color: #f50;
  148. }