chat.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. @import "vars";
  2. @import "mixins";
  3. #chat-functions {
  4. position: absolute;
  5. bottom: 0px;
  6. right: 0px;
  7. .btn {
  8. display: block;
  9. margin-top: -10px;
  10. margin-left: -10px;
  11. }
  12. }
  13. #chat {
  14. #chat-message-new {
  15. position: absolute;
  16. bottom: 0px;
  17. width: 100%;
  18. display: table;
  19. min-height: 60px;
  20. label {
  21. vertical-align: middle;
  22. display: table-cell;
  23. font-size: 0px;
  24. textarea {
  25. display: inline-block;
  26. width: 100%;
  27. min-height: 90px;
  28. padding-right: 50px;
  29. font-size: 14px;
  30. line-height: 1.5 !important;
  31. font-weight: 300;
  32. }
  33. }
  34. }
  35. .overflow-y-scroll {
  36. bottom: 100px !important;
  37. }
  38. #chat-messages {
  39. width: 100%;
  40. padding: 0px;
  41. li {
  42. display: block;
  43. padding-bottom: 10px;
  44. padding-left: 25px;
  45. padding-right: 25px;
  46. padding-left: 60px;
  47. min-height: 60px;
  48. @include transition( all 0.2s ease-in-out);
  49. }
  50. }
  51. }
  52. #post-comment {}
  53. #new-comment {margin-bottom: 20px; }
  54. .comments {
  55. padding: 0;
  56. padding-top: 10px;
  57. margin-bottom: 0;
  58. //background-color: $light;
  59. font-size: 16px !important;
  60. font-family: $main-font !important;
  61. list-style: none;
  62. border-top-left-radius: $radius;
  63. border-top-right-radius: $radius;
  64. > li {
  65. padding-top: 10px;
  66. padding-bottom: 10px;
  67. padding-left: 40px;
  68. padding-right: 0px;
  69. &:last-child {border: none; }
  70. }
  71. .comment-author {
  72. pointer-events: none;
  73. position: relative;
  74. display: block;
  75. color: $darker;
  76. font-size: 11px;
  77. .btn-icon {
  78. position: absolute;
  79. left: -40px;
  80. top: -20px;
  81. }
  82. }
  83. .comment-body {}
  84. .comment-meta {
  85. display: block;
  86. list-style: none;
  87. padding: 0;
  88. margin: 0;
  89. font-size: 11px !important;
  90. li {
  91. margin-right: 10px;
  92. display: inline-block;
  93. &.pull-right {
  94. margin-right: 0px;
  95. margin-left: 10px;
  96. }
  97. > a {
  98. vertical-align: middle;
  99. display: inline-block;
  100. color: $lighter;
  101. }
  102. a {
  103. &:hover {
  104. color: $blue;
  105. }
  106. opacity: 0.5;
  107. }
  108. }
  109. }
  110. }