_minimized_chats.scss 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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: 42px;
  48. width: var(--minimized-chats-width);
  49. .chat-head {
  50. padding: 0.3em;
  51. border-radius: var(--chatbox-border-radius);
  52. height: 35px;
  53. margin-bottom: 0.2em;
  54. box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
  55. width: 100%;
  56. max-width: 9em;
  57. }
  58. &.minimized {
  59. height: auto;
  60. }
  61. }
  62. .unread-message-count {
  63. font-weight: bold;
  64. background-color: white;
  65. border: 1px solid;
  66. text-shadow: 1px 1px 0 var(--text-shadow-color);
  67. color: var(--warning-color);
  68. border-radius: 5px;
  69. padding: 2px 4px;
  70. font-size: 16px;
  71. text-align: center;
  72. position: absolute;
  73. right: 116px;
  74. bottom: 10px;
  75. }
  76. .unread-message-count-hidden,
  77. .chat-head-message-count-hidden {
  78. display: none;
  79. }
  80. }
  81. }