dataSource.less 4.0 KB

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