style.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. @keyframes upAndDown {
  2. 0% { bottom: 1px; }
  3. 16.66667% { bottom: 1px; }
  4. 32.33333% { bottom: 1px; }
  5. 50% { bottom: 4px; }
  6. 66.66667% { bottom: 4px; }
  7. 83.33333% { bottom: 4px; }
  8. 100% { bottom: 1px; }
  9. }
  10. body { display: flex; margin: 0; padding: 0; font-family: Lato, sans-serif; height: 100%; }
  11. .button { border: 1px solid black; border-radius: 3px; background: rgb(250, 251, 253); cursor: pointer; font: 13.3333px Arial; margin: 0 8px 8px 0; padding: 4px 8px; text-align: center; }
  12. .button-container { margin: 8px 0; padding: 0; }
  13. .slack-context { display: inline-block; max-height: 100%; width: 250px; overflow-x: hidden; overflow-y: auto; background-color: #4D394B; background-position: bottom; background-repeat: no-repeat; overflow: auto; }
  14. .slack-chat-container { display: flex; flex-direction: column; flex: 1; overflow: hidden; padding: 0; }
  15. .slack-context-channellist { padding-left: 0; list-style: none; }
  16. .slack-context-channellist > header { color: #AB9BA9; text-transform: uppercase; margin-top: 2em; padding-left: 1.5em; }
  17. .slack-context-room { position: relative; color: #AB9BA9; }
  18. .slack-context-room > a { display: block; padding: 3px 0 3px 1.5em; text-decoration: none; color: #AB9BA9; margin-right: 15px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; }
  19. .slack-context-room.slack-ims { color: #4c9689; }
  20. .slack-context-room.slack-ims.away { color: #AB9BA9; font-style: italic; }
  21. .slack-context-room > a:hover { background-color: rgba(10, 5, 10, .6); }
  22. .slack-context-room.selected { color: #fff; }
  23. .slack-context-room.selected > a { background-color: #4c9689; color: #fff; border-top-right-radius: 3px; border-bottom-right-radius: 3px; }
  24. .slack-context-room::before { position: absolute; display: inline-block; top: 0; bottom: 0; margin: auto auto auto 7px; padding-top: 3px; font-weight: normal; }
  25. .slack-context-room.slack-context-typing::before { display: none; }
  26. .slack-context-room.slack-channel::before { content: "#"; }
  27. .slack-context-room.slack-group::before { content: attr(data-count); font-size: 12px; height: 12px; line-height: 12px; padding: 2px; overflow: hidden; background: #AB9BA9; color: white; border-radius: 5px; }
  28. .slack-context-room.slack-ims::before { content: " "; height: 6px; width: 6px; padding: 0; border: 2px solid currentColor; background: currentColor; border-radius: 5px; }
  29. .slack-context-room.slack-ims.selected::before { background-color: white; border-color: white; }
  30. .slack-context-room.slack-ims.away::before { background: transparent; }
  31. .slack-context-roominfo { position: absolute; display: block; left: 250px; width: 100%; max-width: 300px; top: 0; height: 100%; z-index: 100; background-color: #4D394B; }
  32. .slack-context .typing-container { position: absolute; left: 6.5px; display: none; }
  33. .slack-context .slack-context-typing .typing-container { display: block; }
  34. .hidden { display: none; }
  35. .error { display: none; position: fixed; top: 0; left: 0; right: 0; height: 2em; line-height: 2em; background: #ffa2a2; padding: 0.5em 1em; }
  36. .no-network .error { display: inline-block; }
  37. .slack-chat-content { flex: 1; overflow: auto; }
  38. .slack-chat-title { display: inline-block; padding: 14px 10px; font-size: 1.75em; font-style: italic; }
  39. .slack-chat-whoistyping { margin: 0; padding: 0 10px; height: 1.5em; line-height: 1.5em; background: #EAEAEA; }
  40. .slack-chat-whoistyping > li { display: inline; }
  41. .slack-chat-whoistyping .typing-container { margin: 0 5px; background: rgb(156, 156, 156); padding: 0 2px; border-radius: 2px; display: inline-block; height: 14px; line-height: 12px ;}
  42. .slack-chat-whoistyping .typing-container::after { content: " "; height: 5px; width: 4px; display: inline-block; position: absolute; right: -7px; top: 0px; border-top: 7px solid rgb(156, 156, 156); border-right: 10px solid transparent; border-radius: 4px; }
  43. .slack-chat-content a:visited,.slack-chat-content a:hover,.slack-chat-content a { color: #909090; }
  44. .slack-chat-control { position: relative; display: inline-block; width: 100%; padding: 14px 0; }
  45. .slack-chat-control > * { display: inline-block; }
  46. .slack-context-room:not(.selected).unread, .slack-context-room:not(.selected).unread > a { font-weight: bold; color: white; }
  47. .slack-context-room:not(.selected).unreadHi, .slack-context-room:not(.selected).unreadHi > a { font-weight: bold; color: #4c9689; }
  48. .slackmsg-authorGroup { position: relative; }
  49. .slackmsg-authorGroup .slackmsg-item .slackmsg-author-name { display: none; }
  50. .slackmsg-authorGroup > .slackmsg-author { position: absolute; }
  51. .slackmsg-authorGroup > .slackmsg-author * { vertical-align: top; }
  52. .slackmsg-authorGroup > .slackmsg-author .slackmsg-author-img-wrapper { position: relative; display: inline-block; top: 0; }
  53. .slackmsg-authorGroup > .slackmsg-author-messages { padding: 18px 0 0 36px; }
  54. .slackmsg-authorGroup, .slackmsg-me_message { padding: 10px; }
  55. .slackmsg-authorGroup .slackmsg-item { padding: 4px 10px; }
  56. .slackmsg-item { display: flex; position: relative; }
  57. .slackmsg-item:hover { background: #F9F9F9; }
  58. .slackmsg-item.slackmsg-first-unread { border-top: 1px solid rgba(255,135,109,.5); }
  59. .slackmsg-item.slackmsg-first-unread::before { display: inline-block; position: absolute; right: 0; top: -0.8em; content: "New"; color: rgba(255,135,109,.5); background: white; padding: 0 5px 0 3px; font-style: italic; }
  60. .slackmsg-content { display: inline-block; }
  61. .slackmsg-author { display: inline-block; }
  62. .slackmsg-author-img-wrapper { height: 36px; width: 36px; margin-right: 10px; }
  63. .slackmsg-author-img { max-height: 36px; max-width: 36px; border-radius: 3px; }
  64. .slackmsg-author-name { display: inline; font-weight: bold; }
  65. .slackmsg-msg { display: block; vertical-align: top; }
  66. .slackmsg-reactions:empty,.slackmsg-attachments:empty { display: none; }
  67. .slackmsg-reactions { padding: 0 0 0 24px; margin: 5px 0; list-style: none; }
  68. .slackmsg-attachments { padding: 0; }
  69. .slackmsg-content > .slackmsg-edited, .slackmsg-ts, .slackmsg-attachment-footer * { font-size: 0.75em; font-style: italic; }
  70. .slackmsg-item .slackmsg-edited { display: none; }
  71. .slackmsg-item.edited .slackmsg-edited { display: block; }
  72. .slackmsg-attachment-footer-icon { max-height: 1em; max-width: 1em; vertical-align: middle; }
  73. .slackmsg-notice { background: rgba(255, 255, 0, 0.2); }
  74. .slackmsg-content .slackmsg-notice { display: inline; font-style: italic; margin-right: 15px; }
  75. .slackmsg-same-author:not(.slackmsg-me_message) { padding: 2px 10px; }
  76. .slackmsg-same-author > .slackmsg-author-img-wrapper { display: none; }
  77. .slackmsg-same-author > .slackmsg-content > .slackmsg-author-name { display: none; }
  78. .slackmsg-same-author:not(.slackmsg-me_message) .slackmsg-content { margin-left: 46px; }
  79. .slackmsg-same-ts .slackmsg-ts { display: none; }
  80. .slackmsg-hover { display: none; position: absolute; top: -8px; right: 0; margin: 0; list-style: none; padding: 0; }
  81. .slackmsg-hover > li { display: inline-block; width: 1.5em; height: 1.5em; background: white; border: 1px solid lightgrey; vertical-align: bottom; cursor: pointer; background-size: contain; background-repeat: no-repeat; background-position: center center; border-right: none; }
  82. .slackmsg-hover > li > span { margin-top: 3.5px; margin-left: 3px; }
  83. .slackmsg-hover > li:first-child { border-bottom-left-radius: 5px; }
  84. .slackmsg-hover > li:last-child { border-top-right-radius: 5px; border-right: 1px; }
  85. .slack-chat-content .slackmsg-item:hover .slackmsg-hover { display: block; }
  86. .replyto-container { display: none; width: 100%; }
  87. .replyingTo .replyto-container { display: inline-block; }
  88. .replyingTo .slack-chat-content { height: calc(100vh - 13em); }
  89. .replyto-container .replyto-close { position: absolute; display: inline-block; top: 15px; right: 0; height: 1.5em; width: 1.5em; text-align: center; cursor: pointer; z-index: 500; }
  90. .slackmsg-item.slackmsg-me_message { font-style: italic; margin-right: 10px; }
  91. .slackmsg-item.slackmsg-me_message .slackmsg-author-name { position: static; display: inline; }
  92. .slackmsg-item.slackmsg-me_message .slackmsg-author-name::before { content: "* "; }
  93. .slackmsg-item.slackmsg-me_message .slackmsg-msg { margin: 0 0 0 1em; display: inline; }
  94. .slackmsg-item.slackmsg-me_message .slackmsg-author-img-wrapper { display: none; }
  95. .slackmsg-item.slackmsg-me_message .slackmsg-ts { display: block; }
  96. .slackmsg-item .bold { font-weight: bold; }
  97. .slackmsg-item .italic { font-style: italic; }
  98. .slackmsg-item .strike { text-decoration: line-through; }
  99. .slackmsg-item .quote { border-left: 3px solid #e3e4e6; padding-left: 10px; }
  100. .slackmsg-item .code, .slackmsg-item .codeblock { background: #005; color: white; border-radius: 3px; font-weight: normal; font-style: normal; font-family: 'Space mono', 'monospace'; text-decoration: none; padding: 0 5px; }
  101. .slackmsg-item .code { padding: 0 5px; }
  102. .slackmsg-item .codeblock { display: block; padding: 5px; }
  103. .slackmsg-item .highlight { background: #005; color: white; border-radius: 3px; }
  104. .slackmsg-attachments { list-style: none; }
  105. .slackmsg-attachment .slackmsg-attachment-block .slackmsg-author * { display: inline-block; }
  106. .slackmsg-attachment .slackmsg-author-img { max-height: 18px; max-width: 18px; vertical-align: middle; margin-right: 5px; }
  107. .slackmsg-attachment-img { max-height: 200px; max-width: 400px; }
  108. .slackmsg-attachment-block { border-left: 3px solid; padding-left: 10px; }
  109. .slackmsg-attachment-block.has-thumb .slackmsg-attachment-content { display: flex; }
  110. .slackmsg-attachment-block.has-thumb .slackmsg-attachment-text { flex: 1; margin-left: 14px; }
  111. .slackmsg-attachment-block.has-thumb .slackmsg-attachment-thumb img { max-width: 150px; max-height: 150px; }
  112. .slackmsg-attachment-footer > * + *::before { padding: 0 2px 0 5px; font-style: normal; content: "|"; }
  113. .slackmsg-attachment-fields { max-width: 100%; padding: 0; margin: 0; list-style: none; }
  114. .slackmsg-attachment-fields .field { display: inline-block; width: 50%; margin: 10px 0 0 0; }
  115. .slackmsg-attachment-fields .field-long { width: 100%; }
  116. .slackmsg-attachment-fields .field-title { font-weight: bold; }
  117. .slackmsg-attachment-actions { list-style: none; color: #444547; }
  118. .slackmsg-attachment-actions-item { display: inline-block; }
  119. .slack-command-list:empty { display: none; }
  120. .slack-command-list { position: absolute; top: 0; left: 0; right: 0; height: auto; list-style: none; margin: 10px 10px 0 10px; padding: 0; background: rgba(77, 57, 75, 0.9); color: #AB9BA9; max-height: 10em; overflow-x: hidden; overflow-y: auto; transform: translate(0, -100%); }
  121. .slack-command-item { display: flex; margin: 2px 0; }
  122. .slack-command-item > * { padding: 0 5px; }
  123. .slack-command-name { font-weight: bold; }
  124. .slack-command-usage { color: white; }
  125. .slack-command-desc { flex: 1; font-style: italic; text-align: right; }
  126. .attach-file-icon { height: 1.5em; vertical-align: bottom; }
  127. .msgform { display: flex; margin: 0 10px; }
  128. .msgform-input { flex: 1; }
  129. .msgform-action { margin: 0 0 0 10px; }
  130. .msgform-action * { height: 1.5em; }
  131. .file-upload-container { position: fixed; z-index: 5000; background: rgba(55, 55, 55, 0.8); top: 0; bottom: 0; right: 0; left: 0; max-width: 100%; margin: auto; height: 200px; width: 500px; max-height: 100%; padding: 1.5em; border: 1px solid rgba(55, 55, 55, 1); border-radius: 10px; }
  132. .file-upload-container > form { display: inline-block; background: white; height: 100%; width: 100%; }
  133. .file-upload-container input { display: block; }
  134. .file-upload-error { margin: 1em 0; padding: 0.5em 1.5em; background: #ffa2a2; }
  135. .emoji-small { position: relative; display: inline-block; width: 20px; height: 20px; vertical-align: middle; }
  136. .emoji-small .emoji { transform: scale(0.3); position: absolute; left: -24px; top: -24px; }
  137. .emoji-medium { position: relative; display: inline-block; width: 30px; height: 30px; vertical-align: middle; }
  138. .emoji-medium .emoji { transform: scale(0.5); position: absolute; left: -19px; top: -16px; }
  139. .emoji-custom { text-indent: -9999em; image-rendering: optimizeQuality; font-size: inherit; height: 64px; width: 64px; top: -3px; position: relative; display: inline-block; margin: 0 .15em; line-height: normal; vertical-align: middle; background-repeat: no-repeat; background-size: contain; }
  140. .emojibar { position: fixed; display: flex; flex-direction: column; height: 300px; width: 300px; left: 0; right: 0; top: 0; bottom: 0; margin: auto; padding: 5px; overflow: hidden; background: #ddd; z-index: 1000; text-align: right; }
  141. .emojibar-emojis { display: block; flex: 1; width: 100%; overflow: auto; text-align: left; }
  142. .emojibar-header { height: 30px; display: block; text-align: center; }
  143. .emojibar-header > img { max-width: 100%; max-height: 20px; }
  144. .emojibar-list { list-style: none; padding: 0; margin: 0; }
  145. .emojibar-list-item { display: inline-block; margin: 5px; cursor: pointer; }
  146. .emojibar-detail { display: block; height: 40px; text-align: left; }
  147. .emojibar-search { width: 300px; margin: 5px auto; }
  148. .emojibar-overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.2); }
  149. .dialog-overlay { position: fixed; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0, 0, 0, 0.2); }
  150. .dialog { position: fixed; display: inline-block; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1000; background: #ddd; text-align: left; border-radius: 3px; }
  151. .dialog-title { padding: 0 0 0 16px; position: relative; background-color: #4D394B; font-weight: bold; color: white; }
  152. .dialog-title-label { display: inline-block; margin: 8px 0; }
  153. .dialog-title-close { display: inline-block; position: absolute; top: 0; bottom: 0; right: 8px; height: 19px; width: 19px; margin: auto; background: rgb(250, 251, 253); border-radius: 3px; cursor: pointer; color: #000103; text-align: center; line-height: 15px; }
  154. .dialog-body { padding: 16px; }
  155. .dialog-footer { text-align: right; padding: 0 16px 16px 0; }
  156. .typing-container { position: relative; }
  157. .typing-container > * { position: relative; bottom: 1px; font-size: 18px; animation-name: upAndDown; animation-duration: 3s; animation-iteration-count: infinite; }
  158. .typing-container .typing-dot1 { animation-delay: 0; }
  159. .typing-container .typing-dot2 { animation-delay: 0.5s; }
  160. .typing-container .typing-dot3 { animation-delay: 1s; }
  161. .OSM-wrapper { position: relative; }
  162. .OSM-wrapper .OSM-controls { position: absolute; top: 10px; left: 5px; }
  163. .OSM-wrapper .OSM-controls button { display: inline-block; height: 25px; width: 25px; padding: 0; margin: 0 5px; background: no-repeat center center; }
  164. .OSM-wrapper .OSM-controls-zoomMin { background-image: url("zoomout.svg"); }
  165. .OSM-wrapper .OSM-controls-zoomPlus { background-image: url("zoomin.svg"); }
  166. .error-block { background: red; color: white; }
  167. .full-width { display: block; width: 100%; }
  168. .maci-wrapper { position: fixed; z-index: 5000; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: auto; }
  169. .maci-wrapper.fixed-width { width: 500px; }
  170. .maci-content { margin: 15px; }
  171. .maci-content footer { text-align: right; }
  172. .settingContent > section { display: none; }
  173. .maci-setting.display-services .settings-services { display: block; }
  174. .maci-setting.display-display .settings-display { display: block; }
  175. .maci-setting.display-privacy .settings-privacy { display: block; }
  176. .settings-service-list-empty { display: none; }
  177. .settings-service-list:empty +.settings-service-list-empty { display: block; }
  178. @media screen and (max-width: 500px) {
  179. .maci-wrapper { position: fixed; z-index: 5000; top: 50%; left: 0; width: 100%; transform: translate(0, -50%); }
  180. }