chat.css 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. /**
  2. * This file is provided by Facebook for testing and evaluation purposes
  3. * only. Facebook reserves all rights not expressly granted.
  4. *
  5. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  6. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  7. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  8. * FACEBOOK BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  9. * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  10. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  11. */
  12. .chatapp {
  13. font-family: 'Muli', 'Helvetica Neue', helvetica, arial;
  14. max-width: 760px;
  15. margin: 20px auto;
  16. overflow: hidden;
  17. }
  18. .message-list, .thread-list {
  19. border: 1px solid #ccf;
  20. font-size: 16px;
  21. height: 400px;
  22. margin: 0;
  23. overflow-y: auto;
  24. padding: 0;
  25. }
  26. .message-section {
  27. float: right;
  28. width: 65%;
  29. }
  30. .thread-section {
  31. float: left;
  32. width: 32.5%;
  33. }
  34. .message-thread-heading,
  35. .thread-count {
  36. height: 40px;
  37. margin: 0;
  38. }
  39. .message-list-item, .thread-list-item {
  40. list-style: none;
  41. padding: 12px 14px 14px;
  42. }
  43. .thread-list-item {
  44. border-bottom: 1px solid #ccc;
  45. cursor: pointer;
  46. }
  47. .thread-list:hover .thread-list-item:hover {
  48. background-color: #f8f8ff;
  49. }
  50. .thread-list:hover .thread-list-item {
  51. background-color: #fff;
  52. }
  53. .thread-list-item.active,
  54. .thread-list:hover .thread-list-item.active,
  55. .thread-list:hover .thread-list-item.active:hover {
  56. background-color: #efefff;
  57. cursor: default;
  58. }
  59. .message-author-name,
  60. .thread-name {
  61. color: #66c;
  62. float: left;
  63. font-size: 13px;
  64. margin: 0;
  65. }
  66. .message-time, .thread-time {
  67. color: #aad;
  68. float: right;
  69. font-size: 12px;
  70. }
  71. .message-text, .thread-last-message {
  72. clear: both;
  73. font-size: 14px;
  74. padding-top: 10px;
  75. }
  76. .message-composer {
  77. box-sizing: border-box;
  78. font-family: inherit;
  79. font-size: 14px;
  80. height: 5em;
  81. width: 100%;
  82. margin: 20px 0 0;
  83. padding: 10px;
  84. }