chat.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. .page-chat{
  2. padding: 10px 0;
  3. background:#ffffff;
  4. }
  5. .message-form-chat .nav{
  6. margin-bottom: 0;
  7. }
  8. .message-form-chat .nav-tabs .active a{
  9. background-color: #f6f6f6;
  10. }
  11. .message-student .chat-image, .message-teacher .chat-image{
  12. width: 80px;
  13. height: auto;
  14. max-height: 80px;
  15. display: inline-block;
  16. vertical-align: top;
  17. -webkit-border-radius: 10px;
  18. -moz-border-radius: 10px;
  19. border-radius: 10px;
  20. border:2px solid #fff;
  21. box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  22. }
  23. .message-student .content-message{
  24. background-color: #F9F2E0;
  25. color: #000;
  26. padding: 10px;
  27. margin-bottom: 15px;
  28. border-top: 1px solid #F9F2E0;
  29. border-left: 1px solid #F9F2E0;
  30. border-right: 2px solid #F7E5B9;
  31. border-bottom: 3px solid #F7E5B9;
  32. border-radius: 10px;
  33. display: inline-block;
  34. font-size: 13px;
  35. padding: 15px;
  36. vertical-align: top;
  37. width: calc(100% - 100px);
  38. }
  39. .message-teacher .icon-message{
  40. display: inline-block;
  41. margin-left: -6px;
  42. margin-top: 10px;
  43. width: 0;
  44. height: 0;
  45. border-top: 0px solid transparent;
  46. border-bottom: 15px solid transparent;
  47. border-left: 15px solid #EBEFF3;
  48. }
  49. .message-student .icon-message{
  50. display: inline-block;
  51. margin-right: -6px;
  52. margin-top: 10px;
  53. width: 0;
  54. height: 0;
  55. border-top: 0px solid transparent;
  56. border-bottom: 15px solid transparent;
  57. border-right: 15px solid #F9F2E0;
  58. }
  59. .message-teacher .content-message{
  60. background-color: #EBEFF3;
  61. color: #000;
  62. padding: 10px;
  63. margin-bottom: 15px;
  64. border-top: 1px solid #EBEFF3;
  65. border-left: 2px solid #DEE1E5;
  66. border-right: 1px solid #EBEFF3;
  67. border-bottom: 3px solid #DEE1E5;
  68. border-radius: 10px;
  69. display: inline-block;
  70. font-size: 13px;
  71. padding: 15px;
  72. vertical-align: top;
  73. width: calc(100% - 100px);
  74. }
  75. .message-teacher .message-date{
  76. color: #666;
  77. font-style: italic;
  78. font-size: 10px;
  79. text-align: right;
  80. margin-right: 35px;
  81. margin-top: 10px;
  82. }
  83. .message-student .message-date{
  84. color: #666;
  85. font-style: italic;
  86. font-size: 10px;
  87. text-align: right;
  88. margin-top: 10px;
  89. }
  90. .chat-user {
  91. background-color: #EEEEEE;
  92. border: 1px solid #E2E2E2;
  93. -webkit-border-radius: 10px;
  94. -moz-border-radius: 10px;
  95. border-radius: 10px;
  96. color: #666;
  97. margin-bottom: -1px;
  98. padding: 10px;
  99. }
  100. .chat-user .user-image-chat {
  101. -webkit-border-radius: 10px;
  102. -moz-border-radius: 10px;
  103. border: 2px solid #FFF;
  104. border-radius: 10px;
  105. display: inline-block;
  106. height: auto;
  107. margin-right: 10px;
  108. max-height: 40px;
  109. float: left;
  110. width: 40px;
  111. }
  112. .emoticons-chat img{
  113. width: 24px;
  114. border: none;
  115. }
  116. .message-form-chat{
  117. margin-top: 10px;
  118. padding: 5px;
  119. -webkit-border-radius: 10px;
  120. -moz-border-radius: 10px;
  121. border-radius: 10px;
  122. background: #EEEEEE;
  123. }
  124. .emoji-menu {
  125. margin-left: -234px;
  126. margin-top: -224px;
  127. width: 468px;
  128. }
  129. .emoji-wysiwyg-editor-preview,
  130. .emoji-wysiwyg-editor {
  131. padding: 3%;
  132. height: 50px;
  133. border: 0;
  134. background-color: #ffffff;
  135. -webkit-border-radius: 10px;
  136. -moz-border-radius: 10px;
  137. border-radius: 10px;
  138. border: 1px solid #EEEEEE;
  139. color: #666;
  140. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) inset;
  141. }
  142. #chat-tabs .tab-content{
  143. margin-top: 15px;
  144. }
  145. .chat-history {
  146. height: 400px;
  147. overflow: auto;
  148. }
  149. #chat-users {
  150. margin-left: 0;
  151. }
  152. #chat-users div.chat-user > div {
  153. padding: 5px;
  154. }