You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

142 lines
2.5 KiB

  1. .ui.comments a {
  2. cursor: pointer;
  3. }
  4. .ui.comments .comment {
  5. position: relative;
  6. margin-top: .5em;
  7. padding-top: .5em;
  8. }
  9. .ui.comments .comment:first-child {
  10. margin-top: 0;
  11. padding-top: 0;
  12. }
  13. .ui.comments .comment .avatar {
  14. display: block;
  15. float: left;
  16. width: 4em;
  17. }
  18. .ui.comments .comment .avatar img {
  19. display: block;
  20. margin: 0 auto;
  21. width: 3em;
  22. height: 3em;
  23. border-radius: 500px;
  24. }
  25. .ui.comments .comment>.content,
  26. .ui.comments .comment>.avatar {
  27. display: block;
  28. }
  29. .ui.comments .comment .avatar~.content {
  30. padding: 0 1em;
  31. }
  32. .ui.comments .comment>.avatar~.content {
  33. padding-top: .25em;
  34. margin-left: 3.5em;
  35. }
  36. .ui.comments .comment .metadata {
  37. display: inline-block;
  38. margin-left: .3em;
  39. color: rgba(0,0,0,.4);
  40. }
  41. .ui.comments .comment .metadata>* {
  42. display: inline-block;
  43. margin: 0 .3em 0 0;
  44. }
  45. .ui.comments .comment .text {
  46. margin: .25em 0 .5em;
  47. word-wrap: break-word;
  48. }
  49. .ui.comments .comment .actions {
  50. font-size: .9em;
  51. }
  52. .ui.comments .comment .actions a {
  53. display: inline-block;
  54. margin: 0 .3em 0 0;
  55. color: rgba(0,0,0,.3);
  56. }
  57. .ui.comments .comment .actions a.active,
  58. .ui.comments .comment .actions a:hover {
  59. color: rgba(0,0,0,.6);
  60. }
  61. .ui.comments .reply.form {
  62. margin-top: .75em;
  63. width: 100%;
  64. max-width: 30em;
  65. }
  66. .ui.comments .comment .reply.form {
  67. margin-left: 2em;
  68. }
  69. .ui.comments>.reply.form {
  70. margin-top: 1.5em;
  71. max-width: 40em;
  72. }
  73. .ui.comments .reply.form textarea {
  74. height: 12em;
  75. }
  76. .ui.comments .comment .comments {
  77. margin-top: .5em;
  78. padding-top: .5em;
  79. padding-bottom: 1em;
  80. }
  81. .ui.comments .comment .comments:before {
  82. position: absolute;
  83. top: 0;
  84. left: 0;
  85. }
  86. .ui.comments>.comment .comments {
  87. margin-left: 2em;
  88. }
  89. .ui.comments>.comment>.comments>.comment>.comments {
  90. margin-left: 1.75em;
  91. }
  92. .ui.comments>.comment>.comments>.comment>.comments>.comment>.comments {
  93. margin-left: 1.5em;
  94. }
  95. .ui.comments>.comment>.comments>.comment>.comments>.comment>.comments>.comment .comments {
  96. margin-left: .5em;
  97. }
  98. .ui.threaded.comments .comment .comments {
  99. margin-left: 2em!important;
  100. padding-left: 2em!important;
  101. -webkit-box-shadow: -1px 0 0 rgba(0,0,0,.05);
  102. box-shadow: -1px 0 0 rgba(0,0,0,.05);
  103. }
  104. .ui.minimal.comments .comment .actions {
  105. opacity: 0;
  106. -webkit-transition: opacity .1s ease-out;
  107. transition: opacity .1s ease-out;
  108. -webkit-transition-delay: .1s;
  109. transition-delay: .1s;
  110. }
  111. .ui.minimal.comments .comment>.content:hover>.actions {
  112. opacity: 1;
  113. }
  114. .ui.small.comments {
  115. font-size: .875em;
  116. }