comment.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. /* 댓글 목록 */
  2. #commentList {
  3. box-sizing: content-box;
  4. ul {
  5. list-style: none;
  6. padding: 0;
  7. margin: 5px 0;
  8. .media {
  9. display: flex;
  10. flex-direction: row;
  11. flex-wrap: nowrap;
  12. list-style: none;
  13. align-items: flex-start;
  14. .media-thumb {
  15. width: 100%;
  16. max-width: 38px;
  17. margin-right: 5px;
  18. vertical-align: top;
  19. }
  20. .media-body {
  21. box-sizing: content-box;
  22. margin-left: 8px;
  23. width: 100%;
  24. form {
  25. dl {
  26. margin-bottom: 0;
  27. dt {
  28. strong {
  29. font-size: 0.813rem;
  30. color: #56889a;
  31. }
  32. span {
  33. font-size: 0.75rem;
  34. margin-left: 8px;
  35. font-weight: normal;
  36. }
  37. .dropdown-toggle {
  38. padding: 0;
  39. }
  40. .dropdown-menu {
  41. min-width: auto;
  42. border-radius: 0;
  43. border-color: #cfcfcf #999 #666 #999;
  44. border-width: 1px 1px 1px 0;
  45. border-style: solid;
  46. box-shadow: 2px 0 2px rgb(0 0 0 / 10%), 0 4px 4px rgb(0 0 0 / 20%), -2px 2px 2px rgb(0 0 0 / 10%);
  47. -moz-box-shadow: 2px 0 2px rgba(0, 0, 0, 0.1), 0 4px 4px rgba(0, 0, 0, 0.2), -2px 2px 2px rgba(0, 0, 0, 0.1);
  48. -webkit-box-shadow: 2px 0 2px rgb(0 0 0 / 10%), 0 4px 4px rgb(0 0 0 / 20%), -2px 2px 2px rgb(0 0 0 / 10%);
  49. .dropdown-item {
  50. line-height: initial;
  51. padding: 0.4rem 1.2rem;
  52. cursor: pointer;
  53. &:hover,
  54. &:focus,
  55. &:active {
  56. background: #eaeaea;
  57. color: #000;
  58. }
  59. }
  60. }
  61. }
  62. dd {
  63. margin-bottom: 0;
  64. p {
  65. margin-top: 2px;
  66. margin-bottom: 10px;
  67. svg {
  68. color: #7e7e7e;
  69. margin-right: 6px;
  70. }
  71. input {
  72. padding: 0;
  73. display: inline-block;
  74. &:focus {
  75. outline: none;
  76. }
  77. }
  78. }
  79. button {
  80. padding: 0;
  81. border: none;
  82. background: none;
  83. margin-right: 10px;
  84. cursor: pointer;
  85. color: #838383;
  86. &:hover,
  87. &:focus {
  88. text-decoration: none;
  89. color: #ad611b;
  90. outline: 0;
  91. }
  92. &:last-child {
  93. color: #6cbd02;
  94. &:hover,
  95. &:focus {
  96. text-decoration: underline;
  97. }
  98. }
  99. }
  100. }
  101. }
  102. }
  103. // TinyMCE 에디터
  104. & div > form {
  105. margin-top: 10px;
  106. textarea,
  107. .mce-tinymce {
  108. margin-bottom: 10px;
  109. }
  110. }
  111. }
  112. }
  113. }
  114. // 페이지네이션
  115. > nav {
  116. ul {
  117. margin: 15px 0 20px 0;
  118. }
  119. }
  120. }
  121. /* 댓글 작성 */
  122. #commentWrite {
  123. box-sizing: content-box;
  124. // TinyMCE 에디터
  125. textarea,
  126. .mce-tinymce {
  127. margin-bottom: 10px;
  128. }
  129. }