_chatbox.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. #conversejs.fullscreen {
  2. .chatbox-btn {
  3. font-size: $font-size-large;
  4. margin: 0 0.3em;
  5. }
  6. .flyout {
  7. border-radius: 0;
  8. border: $flyout-padding solid $chat-head-color;
  9. border-top: 0.8em solid $chat-head-color;
  10. bottom: 0;
  11. }
  12. .chat-head {
  13. font-size: 20px;
  14. padding: 0;
  15. .user-custom-message {
  16. font-size: 50%;
  17. height: auto;
  18. line-height: $line-height;
  19. }
  20. }
  21. .chatbox {
  22. width: 100%;
  23. height: 100%;
  24. margin: 0;
  25. @include make-col-ready();
  26. @include media-breakpoint-up(md) {
  27. @include make-col(9);
  28. }
  29. @include media-breakpoint-up(xl) {
  30. @include make-col(10);
  31. }
  32. .box-flyout {
  33. background-color: $chat-head-color;
  34. height: 100vh;
  35. width: 100%;
  36. box-shadow: none;
  37. }
  38. .chat-body {
  39. background-color: $chat-head-color;
  40. border-top-left-radius: $chatbox-border-radius;
  41. border-top-right-radius: $chatbox-border-radius;
  42. .chat-message {
  43. line-height: $line-height;
  44. font-size: $font-size-small;
  45. .chat-msg-author {
  46. line-height: $line-height;
  47. }
  48. .chat-msg-content {
  49. line-height: $line-height;
  50. .emojione {
  51. height: $line-height;
  52. margin-bottom: -$line-height/4;
  53. }
  54. }
  55. }
  56. }
  57. .chat-content {
  58. border-top-left-radius: $chatbox-border-radius;
  59. border-top-right-radius: $chatbox-border-radius;
  60. }
  61. .chat-title {
  62. font-size: $font-size-huge;
  63. line-height: $line-height-huge;
  64. }
  65. .sendXMPPMessage {
  66. ul {
  67. width: 100%;
  68. }
  69. .toggle-smiley {
  70. ul {
  71. &.emoji-toolbar {
  72. .emoji-category-picker {
  73. margin-right: 5em;
  74. }
  75. .emoji-category {
  76. padding-left: 10px;
  77. padding-right: 10px;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }
  84. }
  85. @media screen and (max-width: 767px) {
  86. #conversejs:not(.converse-embedded).fullscreen {
  87. .chatbox {
  88. width: calc(100% - 50px);
  89. }
  90. }
  91. }