index.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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-divider {
  4. box-sizing: border-box;
  5. margin: 0;
  6. padding: 0;
  7. color: rgba(0, 0, 0, 0.85);
  8. font-size: 14px;
  9. font-variant: tabular-nums;
  10. line-height: 1.5715;
  11. list-style: none;
  12. font-feature-settings: 'tnum';
  13. border-top: 1px solid rgba(0, 0, 0, 0.06);
  14. }
  15. .ant-divider-vertical {
  16. position: relative;
  17. top: -0.06em;
  18. display: inline-block;
  19. height: 0.9em;
  20. margin: 0 8px;
  21. vertical-align: middle;
  22. border-top: 0;
  23. border-left: 1px solid rgba(0, 0, 0, 0.06);
  24. }
  25. .ant-divider-horizontal {
  26. display: flex;
  27. clear: both;
  28. width: 100%;
  29. min-width: 100%;
  30. margin: 24px 0;
  31. }
  32. .ant-divider-horizontal.ant-divider-with-text {
  33. display: flex;
  34. align-items: center;
  35. margin: 16px 0;
  36. color: rgba(0, 0, 0, 0.85);
  37. font-weight: 500;
  38. font-size: 16px;
  39. white-space: nowrap;
  40. text-align: center;
  41. border-top: 0;
  42. border-top-color: rgba(0, 0, 0, 0.06);
  43. }
  44. .ant-divider-horizontal.ant-divider-with-text::before,
  45. .ant-divider-horizontal.ant-divider-with-text::after {
  46. position: relative;
  47. width: 50%;
  48. border-top: 1px solid transparent;
  49. border-top-color: inherit;
  50. border-bottom: 0;
  51. transform: translateY(50%);
  52. content: '';
  53. }
  54. .ant-divider-horizontal.ant-divider-with-text-left::before {
  55. width: 5%;
  56. }
  57. .ant-divider-horizontal.ant-divider-with-text-left::after {
  58. width: 95%;
  59. }
  60. .ant-divider-horizontal.ant-divider-with-text-right::before {
  61. width: 95%;
  62. }
  63. .ant-divider-horizontal.ant-divider-with-text-right::after {
  64. width: 5%;
  65. }
  66. .ant-divider-inner-text {
  67. display: inline-block;
  68. padding: 0 1em;
  69. }
  70. .ant-divider-dashed {
  71. background: none;
  72. border-color: rgba(0, 0, 0, 0.06);
  73. border-style: dashed;
  74. border-width: 1px 0 0;
  75. }
  76. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before,
  77. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after {
  78. border-style: dashed none none;
  79. }
  80. .ant-divider-vertical.ant-divider-dashed {
  81. border-width: 0 0 0 1px;
  82. }
  83. .ant-divider-plain.ant-divider-with-text {
  84. color: rgba(0, 0, 0, 0.85);
  85. font-weight: normal;
  86. font-size: 14px;
  87. }
  88. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before {
  89. width: 0;
  90. }
  91. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after {
  92. width: 100%;
  93. }
  94. .ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text {
  95. padding-left: 0;
  96. }
  97. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before {
  98. width: 100%;
  99. }
  100. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after {
  101. width: 0;
  102. }
  103. .ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text {
  104. padding-right: 0;
  105. }
  106. .ant-divider-rtl {
  107. direction: rtl;
  108. }
  109. .ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before {
  110. width: 95%;
  111. }
  112. .ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after {
  113. width: 5%;
  114. }
  115. .ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before {
  116. width: 5%;
  117. }
  118. .ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after {
  119. width: 95%;
  120. }
  121. .ant-divider-dotted {
  122. background: none;
  123. border-color: rgba(0, 0, 0, 0.06);
  124. border-style: dotted;
  125. border-width: 1px 0 0;
  126. }
  127. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dotted::after,
  128. .ant-divider-horizontal.ant-divider-with-text.ant-divider-dotted::before {
  129. border-style: dotted none none;
  130. }
  131. .ant-divider-vertical.ant-divider-dotted {
  132. border-width: 0 0 0 1px;
  133. }