2
0

_minimized_chats.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #conversejs.converse-overlayed {
  2. #minimized-chats {
  3. order: 100;
  4. width: var(--minimized-chats-width);
  5. margin-bottom: 0;
  6. border-top-left-radius: var(--chatbox-border-radius);
  7. border-top-right-radius: var(--chatbox-border-radius);
  8. color: var(--inverse-link-color);
  9. margin-right: var(--chat-gutter);
  10. padding: 0;
  11. .badge {
  12. bottom: 8px;
  13. border: 1px solid var(--overlayed-badge-color);
  14. }
  15. #toggle-minimized-chats {
  16. border-top-left-radius: var(--chatbox-border-radius);
  17. border-top-right-radius: var(--chatbox-border-radius);
  18. background-color: var(--link-color);
  19. padding: 1em 0 0 0;
  20. text-align: center;
  21. color: white;
  22. white-space: nowrap;
  23. overflow-y: hidden;
  24. text-overflow: ellipsis;
  25. display: block;
  26. height: 45px;
  27. width: 9em;
  28. }
  29. a.restore-chat {
  30. cursor: pointer;
  31. padding: 1px 0 1px 5px;
  32. color: var(--chat-head-text-color);
  33. line-height: 15px;
  34. display: block;
  35. overflow: hidden;
  36. text-overflow: ellipsis;
  37. white-space: nowrap;
  38. &:hover {
  39. text-decoration: none;
  40. }
  41. }
  42. a.restore-chat:visited {
  43. color: var(--chat-head-text-color);
  44. }
  45. .minimized-chats-flyout {
  46. flex-direction: column-reverse;
  47. bottom: 45px;
  48. width: var(--minimized-chats-width);
  49. .chat-head {
  50. min-height: 0;
  51. padding: 0.3em;
  52. border-radius: var(--chatbox-border-radius);
  53. height: 35px;
  54. margin-bottom: 0.2em;
  55. width: 100%;
  56. max-width: 9em;
  57. flex-wrap: nowrap;
  58. }
  59. &.minimized {
  60. height: auto;
  61. }
  62. }
  63. .unread-message-count {
  64. font-weight: bold;
  65. background-color: white;
  66. border: 1px solid;
  67. text-shadow: 1px 1px 0 var(--text-shadow-color);
  68. color: var(--warning-color);
  69. border-radius: 5px;
  70. padding: 2px 4px;
  71. font-size: 16px;
  72. text-align: center;
  73. position: absolute;
  74. right: 116px;
  75. bottom: 10px;
  76. }
  77. .unread-message-count-hidden,
  78. .chat-head-message-count-hidden {
  79. display: none;
  80. }
  81. }
  82. }