chat.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. body{
  2. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  3. font-size: 13px;
  4. line-height: 18px;
  5. color: #333333;
  6. margin: 0;
  7. padding: 0;
  8. }
  9. .page-chat{
  10. padding: 10px;
  11. background:#ffffff;
  12. }
  13. .message-form-chat .nav{
  14. margin-bottom: 0;
  15. }
  16. .message-form-chat .nav-tabs .active a{
  17. background-color: #f6f6f6;
  18. }
  19. #clear-chat{
  20. width:140px;
  21. padding: 13px;
  22. font-size: 14px;
  23. float:right;
  24. }
  25. #clear-chat img{
  26. width: 20px;
  27. float: left;
  28. margin-right: 5px;
  29. }
  30. #clear-chat a{
  31. text-decoration: none;
  32. }
  33. #clear-chat a:hover{
  34. opacity: 0.7;
  35. }
  36. #content-chat{
  37. background:#ffffff;
  38. padding: 30px;
  39. -webkit-border-radius: 10px;
  40. -moz-border-radius: 10px;
  41. border-radius: 10px;
  42. }
  43. textarea {
  44. width: 52%;
  45. padding: 3%;
  46. height: 100px;
  47. float: left;
  48. border: 0;
  49. background-color: #ffffff;
  50. font-family: Helvetica, arial, sans-serif;
  51. -webkit-border-radius: 10px;
  52. -moz-border-radius: 10px;
  53. border-radius: 10px;
  54. border: 1px solid #EEEEEE;
  55. color: #666;
  56. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) inset;
  57. }
  58. .message-student .chat-image, .message-teacher .chat-image{
  59. width: 80px;
  60. height: auto;
  61. max-height: 80px;
  62. display: inline-block;
  63. vertical-align: top;
  64. -webkit-border-radius: 10px;
  65. -moz-border-radius: 10px;
  66. border-radius: 10px;
  67. border:2px solid #fff;
  68. box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  69. }
  70. .message-student .content-message{
  71. background-color: #F9F2E0;
  72. color: #000;
  73. padding: 10px;
  74. margin-bottom: 15px;
  75. border-top: 1px solid #F9F2E0;
  76. border-left: 1px solid #F9F2E0;
  77. border-right: 2px solid #F7E5B9;
  78. border-bottom: 3px solid #F7E5B9;
  79. border-radius: 10px;
  80. display: inline-block;
  81. font-size: 13px;
  82. padding: 15px;
  83. vertical-align: top;
  84. width: 310px;
  85. }
  86. .message-teacher .icon-message{
  87. display: inline-block;
  88. margin-left: -6px;
  89. margin-top: 10px;
  90. width: 0;
  91. height: 0;
  92. border-top: 0px solid transparent;
  93. border-bottom: 15px solid transparent;
  94. border-left: 15px solid #EBEFF3;
  95. }
  96. .message-student .icon-message{
  97. display: inline-block;
  98. margin-right: -6px;
  99. margin-top: 10px;
  100. width: 0;
  101. height: 0;
  102. border-top: 0px solid transparent;
  103. border-bottom: 15px solid transparent;
  104. border-right: 15px solid #F9F2E0;
  105. }
  106. .message-teacher .content-message{
  107. background-color: #EBEFF3;
  108. color: #000;
  109. padding: 10px;
  110. margin-bottom: 15px;
  111. border-top: 1px solid #EBEFF3;
  112. border-left: 2px solid #DEE1E5;
  113. border-right: 1px solid #EBEFF3;
  114. border-bottom: 3px solid #DEE1E5;
  115. border-radius: 10px;
  116. display: inline-block;
  117. font-size: 13px;
  118. padding: 15px;
  119. vertical-align: top;
  120. width: 360px;
  121. }
  122. .message-teacher .message-date{
  123. color: #666;
  124. font-style: italic;
  125. font-size: 10px;
  126. text-align: right;
  127. margin-right: 35px;
  128. margin-top: 10px;
  129. }
  130. .message-student .message-date{
  131. color: #666;
  132. font-style: italic;
  133. font-size: 10px;
  134. text-align: right;
  135. margin-top: 10px;
  136. }
  137. .user-online .profile{
  138. list-style: none;
  139. padding: 0;
  140. margin:0;
  141. }
  142. .chat-message-block-name {
  143. font-style: italic;
  144. color: #666;
  145. }
  146. .user-online .profile li{
  147. margin-bottom: 5px;
  148. }
  149. .user-online .profile li a{
  150. color: #0088AA;
  151. text-decoration: none;
  152. }
  153. .user-online .title{
  154. background: url(chat.png) no-repeat 0 center;
  155. color: #0088AA;
  156. padding-top: 5px;
  157. padding-left: 30px;
  158. font-weight: bold;
  159. font-size: 16px;
  160. margin-bottom: 15px;
  161. width: 90%;
  162. }
  163. .delete-chat{
  164. background: #F8F8F8;
  165. padding-bottom: 15px;
  166. }
  167. .list-group {
  168. margin-bottom: 20px;
  169. padding-left: 0;
  170. }
  171. .list-group-item {
  172. position: relative;
  173. display: block;
  174. padding-top: 5px;
  175. padding-bottom: 10px;
  176. padding-left: 10px;
  177. padding-right: 10px;
  178. margin-bottom: -1px;
  179. background-color: #EEEEEE;
  180. border: 1px solid #E2E2E2;
  181. -webkit-border-radius: 10px;
  182. -moz-border-radius: 10px;
  183. border-radius: 10px;
  184. color: #666;
  185. }
  186. .user-connected{
  187. border-right: 1px dashed #cccccc;
  188. margin-right: 5px;
  189. }
  190. li.list-group-item:hover, li.list-group-item:focus {
  191. text-decoration: none;
  192. background-color: #E2E2E2;
  193. cursor: pointer;
  194. border: 1px solid #EEEEEE;
  195. }
  196. li.list-group-item:hover a{
  197. color: #000;
  198. }
  199. .user-image-chat{
  200. width: 40px;
  201. height: auto;
  202. max-height: 40px;
  203. display: inline-block;
  204. vertical-align: top;
  205. -webkit-border-radius: 10px;
  206. -moz-border-radius: 10px;
  207. border-radius: 10px;
  208. border:2px solid #ffffff;
  209. float: left;
  210. margin-right: 5px;
  211. }
  212. #user-online-scroll .viewport {
  213. width: 260px;
  214. height: 550px;
  215. min-height: 550px;
  216. overflow: hidden;
  217. position: relative;
  218. padding-left: 8px;
  219. }
  220. #user-online-scroll .overview {
  221. list-style: none;
  222. position: relative;
  223. left: 0;
  224. top: 0;
  225. padding: 0;
  226. margin: 0;
  227. }
  228. #user-online-scroll .scrollbar {
  229. background: transparent url(bg-scrollbar-track-y.png) no-repeat 0 0;
  230. position: relative;
  231. background-position: 0 0;
  232. float: right;
  233. width: 15px;
  234. }
  235. #user-online-scroll .track {
  236. background: transparent url(bg-scrollbar-trackend-y.png) no-repeat 0 100%;
  237. height: 100%;
  238. width: 13px;
  239. position: relative;
  240. padding: 0 1px;
  241. }
  242. #user-online-scroll .thumb {
  243. background: transparent url(bg-scrollbar-thumb-y.png) no-repeat 50% 100%;
  244. height: 20px;
  245. width: 25px;
  246. cursor: pointer;
  247. overflow: hidden;
  248. position: absolute;
  249. top: 0;
  250. left: -5px;
  251. }
  252. #user-online-scroll .thumb .end {
  253. background: transparent url(bg-scrollbar-thumb-y.png) no-repeat 50% 0;
  254. overflow: hidden;
  255. height: 5px;
  256. width: 25px;
  257. }
  258. #user-online-scroll .disable {
  259. display: none;
  260. }
  261. .noSelect {
  262. user-select: none;
  263. -o-user-select: none;
  264. -moz-user-select: none;
  265. -khtml-user-select: none;
  266. -webkit-user-select: none;
  267. }
  268. .btn-send {
  269. background: #87e0fd; /* Old browsers */
  270. background: -moz-linear-gradient(top, #87e0fd 0%, #53cbf1 40%, #05abe0 100%); /* FF3.6+ */
  271. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#87e0fd), color-stop(40%,#53cbf1), color-stop(100%,#05abe0)); /* Chrome,Safari4+ */
  272. background: -webkit-linear-gradient(top, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Chrome10+,Safari5.1+ */
  273. background: -o-linear-gradient(top, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* Opera 11.10+ */
  274. background: -ms-linear-gradient(top, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* IE10+ */
  275. background: linear-gradient(to bottom, #87e0fd 0%,#53cbf1 40%,#05abe0 100%); /* W3C */
  276. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=0 ); /* IE6-9 */
  277. -webkit-border-radius: 15px;
  278. -moz-border-radius: 15px;
  279. border-radius: 15px;
  280. border:1px solid #53cbf1;
  281. display:inline-block;
  282. color:#ffffff;
  283. font-family:Arial;
  284. font-size:22px;
  285. font-weight:bold;
  286. font-style:normal;
  287. height:80px;
  288. line-height:80px;
  289. width:131px;
  290. text-decoration:none;
  291. text-align:center;
  292. cursor: pointer;
  293. }
  294. .btn-send:hover {
  295. opacity: 0.8;
  296. }
  297. .btn-send:active {
  298. position:relative;
  299. top:1px;
  300. }
  301. .emoticons-chat img{
  302. width: 24px;
  303. border: none;
  304. }
  305. .message-form-chat{
  306. margin-top: 10px;
  307. padding: 5px;
  308. -webkit-border-radius: 10px;
  309. -moz-border-radius: 10px;
  310. border-radius: 10px;
  311. background: #EEEEEE;
  312. }
  313. .emoji-menu {
  314. margin-left: 0px;
  315. width:468px;
  316. left: 11px !important;
  317. }
  318. .emoji-wysiwyg-editor-preview,
  319. .emoji-wysiwyg-editor {
  320. width: 454px;
  321. padding: 3%;
  322. height: 50px;
  323. float: left;
  324. border: 0;
  325. background-color: #ffffff;
  326. font-family: Helvetica, arial, sans-serif;
  327. -webkit-border-radius: 10px;
  328. -moz-border-radius: 10px;
  329. border-radius: 10px;
  330. border: 1px solid #EEEEEE;
  331. color: #666;
  332. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) inset;
  333. }