通用评论

index.css 1.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. font-size: 23px;
  57. cursor: pointer;
  58. transition: color 0.3s;
  59. }
  60. .comment-toolbar .comment-toolbar-icon:hover {
  61. color: #40a9ff;
  62. }
  63. .comment-toolbar-left {
  64. float: left;
  65. margin: 8px 11px;
  66. }
  67. .comment-toolbar-right {
  68. float: right;
  69. margin: 5px 11px;
  70. }
  71. .comment-emoji-popover .ant-popover-inner-content {
  72. padding: 12px 16px 20px 16px;
  73. }
  74. .comment-emoji-popover .ant-carousel .slick-dots {
  75. bottom: -10px;
  76. }
  77. .comment-emoji-popover .ant-carousel .slick-dots li.slick-active button {
  78. background-color: #7b868a;
  79. }
  80. .comment-emoji-popover .ant-carousel .slick-dots li button {
  81. background-color: #a2aeb5;
  82. }
  83. .clearfix {
  84. clear: both;
  85. }