theme.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /* Theme */
  2. #chat-host {
  3. background-color: #e2e2e2;
  4. font-family: "Ubuntu", sans-serif;
  5. font-size: 13px;
  6. }
  7. #chat-host .main .messages {
  8. border: none;
  9. margin-right: 1em;
  10. background-color: #f8f8f8;
  11. }
  12. #chat-host .main .messages li.systemMsg {
  13. margin: 0.5em;
  14. }
  15. #chat-host .main .messages li.userMsg {
  16. background-color: #ededed;
  17. border-radius: 1em;
  18. padding: 0.5em 0.8em 0.5em 4em;
  19. margin: 0.5em 1em;
  20. position: relative;
  21. border-width: 1px;
  22. border-style: solid;
  23. border-left-width: 1em;
  24. box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.1);
  25. }
  26. #chat-host .main .messages li.userMsg.self {
  27. padding: 0.5em 4em 0.5em 0.8em;
  28. border-left-width: 1px;
  29. border-right-width: 1em;
  30. }
  31. #chat-host .main .messages li.userMsg .user,
  32. #chat-host .main .userlistWrapper .userlist li span {
  33. filter: brightness(0.7) saturate(1.2);
  34. }
  35. #chat-host .main .messages li.userMsg .avatar {
  36. position: absolute;
  37. border-radius: 50%;
  38. width: 2.75em;
  39. height: 2.75em;
  40. left: 0.75em;
  41. background-color: silver;
  42. object-fit: cover;
  43. }
  44. #chat-host .main .messages li.userMsg.self .avatar {
  45. left: unset;
  46. right: 0.75em;
  47. }
  48. #chat-host .main .messages li.userMsg .message {
  49. margin-top: 0.2em;
  50. }
  51. #chat-host .main .userlistWrapper {
  52. border-left: 1px solid #e2e2e2;
  53. padding-left: 1em;
  54. }
  55. #chat-host button {
  56. background-color: #751b09;
  57. color: #ffffff;
  58. padding: 1em;
  59. }
  60. #chat-host h2 {
  61. font-size: inherit;
  62. text-transform: uppercase;
  63. color: #4d4d4d;
  64. }