comment.scss 4.6 KB

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