public.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. html, body, #root {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. #root {
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .content-layout {
  10. margin: 24px;
  11. padding: 0 24px;
  12. background: #fff;
  13. }
  14. .content-header {
  15. padding: 24px 0;
  16. display: flex;
  17. justify-content: flex-end;
  18. }
  19. .content-header-search {
  20. margin-left: 20px;
  21. }
  22. .ant-table-tbody > tr > td {
  23. word-break: break-all;
  24. }
  25. .ant-table-tbody > tr > td:first-child,
  26. .ant-table-thead > tr > th:first-child {
  27. text-align: left;
  28. }
  29. .ant-table-tbody > tr > td,
  30. .ant-table-thead > tr > th {
  31. text-align: center;
  32. }
  33. .disabled {
  34. opacity: .3;
  35. pointer-events: none !important;
  36. }
  37. .cell {
  38. padding: 0 !important;
  39. line-height: 20px !important;
  40. .value-viewer-content {
  41. padding: 0 !important;
  42. font-size: 12px;
  43. overflow: hidden;
  44. white-space: normal;
  45. line-height: 24px;
  46. }
  47. &:nth-child(1) {
  48. flex: 0 0 90px !important;
  49. }
  50. &:nth-child(2) {
  51. flex: 0 0 170px !important;
  52. }
  53. }
  54. .data-grid-container .body-container {
  55. height: auto !important;
  56. .value-viewer-content {
  57. padding: 0 !important;
  58. font-size: 12px;
  59. overflow: hidden;
  60. white-space: normal;
  61. line-height: 24px;
  62. }
  63. }
  64. .icon {
  65. cursor: pointer;
  66. transition: color .3s ease;
  67. &:hover {
  68. color: #26559B;
  69. }
  70. }