index.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. .ant-descriptions-header {
  4. display: flex;
  5. align-items: center;
  6. margin-bottom: 20px;
  7. }
  8. .ant-descriptions-title {
  9. flex: auto;
  10. overflow: hidden;
  11. color: rgba(0, 0, 0, 0.85);
  12. font-weight: bold;
  13. font-size: 16px;
  14. line-height: 1.5715;
  15. white-space: nowrap;
  16. text-overflow: ellipsis;
  17. }
  18. .ant-descriptions-extra {
  19. margin-left: auto;
  20. color: rgba(0, 0, 0, 0.85);
  21. font-size: 14px;
  22. }
  23. .ant-descriptions-view {
  24. width: 100%;
  25. border-radius: 2px;
  26. }
  27. .ant-descriptions-view table {
  28. width: 100%;
  29. table-layout: fixed;
  30. }
  31. .ant-descriptions-row > th,
  32. .ant-descriptions-row > td {
  33. padding-bottom: 16px;
  34. }
  35. .ant-descriptions-row:last-child {
  36. border-bottom: none;
  37. }
  38. .ant-descriptions-item-label {
  39. color: rgba(0, 0, 0, 0.85);
  40. font-weight: normal;
  41. font-size: 14px;
  42. line-height: 1.5715;
  43. text-align: start;
  44. }
  45. .ant-descriptions-item-label::after {
  46. content: ':';
  47. position: relative;
  48. top: -0.5px;
  49. margin: 0 8px 0 2px;
  50. }
  51. .ant-descriptions-item-label.ant-descriptions-item-no-colon::after {
  52. content: ' ';
  53. }
  54. .ant-descriptions-item-no-label::after {
  55. margin: 0;
  56. content: '';
  57. }
  58. .ant-descriptions-item-content {
  59. display: table-cell;
  60. flex: 1;
  61. color: rgba(0, 0, 0, 0.85);
  62. font-size: 14px;
  63. line-height: 1.5715;
  64. word-break: break-word;
  65. overflow-wrap: break-word;
  66. }
  67. .ant-descriptions-item {
  68. padding-bottom: 0;
  69. vertical-align: top;
  70. }
  71. .ant-descriptions-item-container {
  72. display: flex;
  73. }
  74. .ant-descriptions-item-container .ant-descriptions-item-label,
  75. .ant-descriptions-item-container .ant-descriptions-item-content {
  76. display: inline-flex;
  77. align-items: baseline;
  78. }
  79. .ant-descriptions-middle .ant-descriptions-row > th,
  80. .ant-descriptions-middle .ant-descriptions-row > td {
  81. padding-bottom: 12px;
  82. }
  83. .ant-descriptions-small .ant-descriptions-row > th,
  84. .ant-descriptions-small .ant-descriptions-row > td {
  85. padding-bottom: 8px;
  86. }
  87. .ant-descriptions-bordered .ant-descriptions-view {
  88. border: 1px solid #f0f0f0;
  89. }
  90. .ant-descriptions-bordered .ant-descriptions-view > table {
  91. table-layout: auto;
  92. border-collapse: collapse;
  93. }
  94. .ant-descriptions-bordered .ant-descriptions-item-label,
  95. .ant-descriptions-bordered .ant-descriptions-item-content {
  96. padding: 16px 24px;
  97. border-right: 1px solid #f0f0f0;
  98. }
  99. .ant-descriptions-bordered .ant-descriptions-item-label:last-child,
  100. .ant-descriptions-bordered .ant-descriptions-item-content:last-child {
  101. border-right: none;
  102. }
  103. .ant-descriptions-bordered .ant-descriptions-item-label {
  104. background-color: #fafafa;
  105. }
  106. .ant-descriptions-bordered .ant-descriptions-item-label::after {
  107. display: none;
  108. }
  109. .ant-descriptions-bordered .ant-descriptions-row {
  110. border-bottom: 1px solid #f0f0f0;
  111. }
  112. .ant-descriptions-bordered .ant-descriptions-row:last-child {
  113. border-bottom: none;
  114. }
  115. .ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-label,
  116. .ant-descriptions-bordered.ant-descriptions-middle .ant-descriptions-item-content {
  117. padding: 12px 24px;
  118. }
  119. .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-label,
  120. .ant-descriptions-bordered.ant-descriptions-small .ant-descriptions-item-content {
  121. padding: 8px 16px;
  122. }
  123. .ant-descriptions-rtl {
  124. direction: rtl;
  125. }
  126. .ant-descriptions-rtl .ant-descriptions-item-label::after {
  127. margin: 0 2px 0 8px;
  128. }
  129. .ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label,
  130. .ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content {
  131. border-right: none;
  132. border-left: 1px solid #f0f0f0;
  133. }
  134. .ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-label:last-child,
  135. .ant-descriptions-rtl.ant-descriptions-bordered .ant-descriptions-item-content:last-child {
  136. border-left: none;
  137. }
  138. nz-descriptions {
  139. display: block;
  140. }