通用评论

index.css 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. .comment-editor-toolbar {
  2. text-align: right;
  3. padding: 0 20px 10px 0;
  4. }
  5. .comment-editor-toolbar-error {
  6. color: red;
  7. }
  8. .comment-editor {
  9. box-sizing: border-box;
  10. margin: 0;
  11. padding: 0;
  12. width: 100%;
  13. max-width: 100%;
  14. list-style: none;
  15. position: relative;
  16. display: block;
  17. font-size: 14px;
  18. line-height: 1.5;
  19. color: rgba(0, 0, 0, 0.65);
  20. background-color: #fff;
  21. background-image: none;
  22. border: 1px solid #d9d9d9;
  23. border-radius: 4px;
  24. transition: all 0.3s, height 0s;
  25. }
  26. .comment-editor textarea.ant-input {
  27. border: none;
  28. border-bottom: 1px solid #eee;
  29. border-bottom-right-radius: 0;
  30. border-bottom-left-radius: 0;
  31. }
  32. .comment-editor textarea.ant-input:hover {
  33. border: none;
  34. border-bottom: 1px solid #eee;
  35. }
  36. .comment-editor textarea.ant-input:focus {
  37. box-shadow: none;
  38. border-bottom: 1px solid #eee;
  39. }
  40. .comment-editor [contentEditable="true"]:empty:not(:focus):before {
  41. content: attr(data-text);
  42. color: #bfbfbf;
  43. }
  44. .comment-editor:focus,
  45. .comment-editor:hover {
  46. border-color: #40a9ff;
  47. outline: 0;
  48. box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
  49. }
  50. .comment-toolbar {
  51. display: inline-block;
  52. width: 100%;
  53. margin: 5px 0 0 0;
  54. }
  55. .comment-toolbar .comment-toolbar-icon {
  56. width: 25px;
  57. font-size: 23px;
  58. cursor: pointer;
  59. transition: color 0.3s;
  60. }
  61. .comment-toolbar .comment-toolbar-icon:hover {
  62. color: #40a9ff;
  63. }
  64. .comment-toolbar-left {
  65. float: left;
  66. margin: 8px 11px;
  67. }
  68. .comment-toolbar-right {
  69. float: right;
  70. margin: 5px 11px;
  71. }
  72. .comment-emoji-popover .ant-popover-inner-content {
  73. padding: 12px 16px 20px 16px;
  74. }
  75. .comment-emoji-popover .ant-carousel .slick-dots {
  76. bottom: -10px;
  77. }
  78. .comment-emoji-popover .ant-carousel .slick-dots li.slick-active button {
  79. background-color: #7b868a;
  80. }
  81. .comment-emoji-popover .ant-carousel .slick-dots li button {
  82. background-color: #a2aeb5;
  83. }
  84. .clearfix {
  85. clear: both;
  86. }
  87. .comment-unlogin-tip {
  88. padding: 56px 0 24px 0;
  89. text-align: center;
  90. font-size: 16px;
  91. color: #393939;
  92. }
  93. .comment-unlogin-button {
  94. display: flex;
  95. justify-content: center;
  96. }
  97. .comment-unlogin-button button {
  98. width: 112px;
  99. height: 36px;
  100. }