index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. /* stylelint-disable */
  4. /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
  5. .ant-comment {
  6. position: relative;
  7. background-color: inherit;
  8. }
  9. .ant-comment-inner {
  10. display: flex;
  11. padding: 16px 0;
  12. }
  13. .ant-comment-avatar {
  14. position: relative;
  15. flex-shrink: 0;
  16. margin-right: 12px;
  17. cursor: pointer;
  18. }
  19. .ant-comment-avatar img {
  20. width: 32px;
  21. height: 32px;
  22. border-radius: 50%;
  23. }
  24. .ant-comment-content {
  25. position: relative;
  26. flex: 1 1 auto;
  27. min-width: 1px;
  28. font-size: 14px;
  29. word-wrap: break-word;
  30. }
  31. .ant-comment-content-author {
  32. display: flex;
  33. flex-wrap: wrap;
  34. justify-content: flex-start;
  35. margin-bottom: 4px;
  36. font-size: 14px;
  37. }
  38. .ant-comment-content-author > a,
  39. .ant-comment-content-author > span {
  40. padding-right: 8px;
  41. font-size: 12px;
  42. line-height: 18px;
  43. }
  44. .ant-comment-content-author-name {
  45. color: rgba(0, 0, 0, 0.45);
  46. font-size: 14px;
  47. transition: color 0.3s;
  48. }
  49. .ant-comment-content-author-name > * {
  50. color: rgba(0, 0, 0, 0.45);
  51. }
  52. .ant-comment-content-author-name > *:hover {
  53. color: rgba(0, 0, 0, 0.45);
  54. }
  55. .ant-comment-content-author-time {
  56. color: #ccc;
  57. white-space: nowrap;
  58. cursor: auto;
  59. }
  60. .ant-comment-content-detail p {
  61. margin-bottom: inherit;
  62. white-space: pre-wrap;
  63. }
  64. .ant-comment-actions {
  65. margin-top: 12px;
  66. margin-bottom: inherit;
  67. padding-left: 0;
  68. }
  69. .ant-comment-actions > li {
  70. display: inline-block;
  71. color: rgba(0, 0, 0, 0.45);
  72. }
  73. .ant-comment-actions > li > span {
  74. margin-right: 10px;
  75. color: rgba(0, 0, 0, 0.45);
  76. font-size: 12px;
  77. cursor: pointer;
  78. transition: color 0.3s;
  79. -webkit-user-select: none;
  80. -moz-user-select: none;
  81. user-select: none;
  82. }
  83. .ant-comment-actions > li > span:hover {
  84. color: #595959;
  85. }
  86. .ant-comment-nested {
  87. margin-left: 44px;
  88. }
  89. .ant-comment-rtl {
  90. direction: rtl;
  91. }
  92. .ant-comment-rtl .ant-comment-avatar {
  93. margin-right: 0;
  94. margin-left: 12px;
  95. }
  96. .ant-comment-rtl .ant-comment-content-author > a,
  97. .ant-comment-rtl .ant-comment-content-author > span {
  98. padding-right: 0;
  99. padding-left: 8px;
  100. }
  101. .ant-comment-rtl .ant-comment-actions {
  102. padding-right: 0;
  103. }
  104. .ant-comment-rtl .ant-comment-actions > li > span {
  105. margin-right: 0;
  106. margin-left: 10px;
  107. }
  108. .ant-comment-rtl .ant-comment-nested {
  109. margin-right: 44px;
  110. margin-left: 0;
  111. }