manifest.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. @font-face {
  2. font-family: 'Roboto';
  3. src: url("/fonts/Roboto-Regular.ttf") format("truetype"); }
  4. body, input {
  5. font-family: Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif; }
  6. body {
  7. margin: 0; }
  8. .title-bar {
  9. position: relative;
  10. z-index: 1;
  11. height: 36px;
  12. line-height: 24px;
  13. background: #2a92e7;
  14. box-shadow: 0 -4px 3px 4px rgba(12, 65, 108, 0.8); }
  15. .title-bar button {
  16. height: 36px;
  17. line-height: 36px;
  18. float: right;
  19. margin-right: 8px;
  20. padding: 0;
  21. border: 0;
  22. outline: 0;
  23. font-size: 36px;
  24. color: white;
  25. background: transparent; }
  26. .fab {
  27. z-index: 1;
  28. position: fixed;
  29. right: 16px;
  30. bottom: 22px;
  31. height: 60px;
  32. width: 60px;
  33. border: 0;
  34. border-radius: 30px;
  35. outline: 0;
  36. font: 300 36px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif;
  37. color: white;
  38. background: #2a92e7;
  39. box-shadow: 0 8px 8px -8px rgba(2, 10, 16, 0.8);
  40. transition: box-shadow 0.33s, transform 0.33s, background 0.33s; }
  41. .fab:hover {
  42. background: #1c8be5;
  43. box-shadow: 0 8px 18px -8px rgba(2, 10, 16, 0.9);
  44. transform: translate3d(0, -1px, 0); }
  45. button {
  46. cursor: pointer; }
  47. .timestamp {
  48. font-size: 12px; }
  49. .message-list {
  50. margin-bottom: 52px;
  51. padding: 0;
  52. list-style: none;
  53. font-size: 16px;
  54. font-weight: 300; }
  55. .message-list li {
  56. margin: 0 8px 16px; }
  57. .message-list li::after {
  58. visibility: hidden;
  59. display: block;
  60. font-size: 0;
  61. content: " ";
  62. clear: both;
  63. height: 0; }
  64. .message-list p {
  65. margin: 0; }
  66. .message-list .bubble {
  67. position: relative;
  68. left: -2px;
  69. display: inline-block;
  70. vertical-align: top;
  71. max-width: calc(100% - 2 * 54px - 2 * 12px - 8px);
  72. padding: 9px 12px;
  73. border-radius: 4px;
  74. box-shadow: 0 3px 3px -4px black; }
  75. .message-list .bubble::before, .message-list .bubble::after {
  76. content: '';
  77. position: absolute;
  78. height: 0;
  79. width: 0; }
  80. .message-list .bubble::before {
  81. top: 19px;
  82. border-top: 8px solid transparent;
  83. border-bottom: 8px solid transparent; }
  84. .message-list .bubble::after {
  85. top: 21px;
  86. border-top: 6px solid transparent;
  87. border-bottom: 6px solid transparent; }
  88. .message-list .incoming .bubble {
  89. color: #454545;
  90. background: #f3f3f3; }
  91. .message-list .incoming .bubble::before {
  92. left: -10px;
  93. border-right: 10px solid white; }
  94. .message-list .incoming .bubble::after {
  95. left: -8px;
  96. border-right: 8px solid #f3f3f3; }
  97. .message-list .outgoing img, .message-list .outgoing .bubble {
  98. float: right; }
  99. .message-list .outgoing .bubble {
  100. clear: left;
  101. color: white;
  102. background: #2a92e7; }
  103. .message-list .outgoing .bubble .timestamp {
  104. color: #a2d2f4; }
  105. .message-list .outgoing .bubble::before {
  106. right: -10px;
  107. border-left: 10px solid white; }
  108. .message-list .outgoing .bubble::after {
  109. right: -8px;
  110. border-left: 8px solid #2a92e7; }
  111. .message-list img {
  112. height: 54px;
  113. width: 54px;
  114. box-sizing: border-box;
  115. border: 27px #2a92e7 solid;
  116. border-radius: 27px; }
  117. .message-list .timestamp {
  118. margin-top: 3px;
  119. float: right; }
  120. .bottom-bar {
  121. position: fixed;
  122. bottom: 0;
  123. height: 36px;
  124. width: 100%;
  125. border-top: 1px solid #f3f3f3;
  126. background: white; }
  127. .bottom-bar button, .bottom-bar input {
  128. color: #454545; }
  129. .bottom-bar button {
  130. position: absolute;
  131. top: 0;
  132. height: 100%;
  133. width: 36px;
  134. padding: 0;
  135. border: 0;
  136. outline: 0;
  137. font-size: 24px;
  138. background: transparent; }
  139. .bottom-bar .attachments-btn {
  140. left: 0; }
  141. .bottom-bar .send-btn {
  142. right: 0; }
  143. .bottom-bar form, .bottom-bar input {
  144. height: 100%;
  145. width: 100%; }
  146. .bottom-bar input {
  147. height: 100%;
  148. width: 100%;
  149. box-sizing: border-box;
  150. padding: 0 36px;
  151. border: 0;
  152. outline: 0;
  153. font-size: 16px;
  154. background: white; }
  155. .index {
  156. color: #454545;
  157. background: #eee; }
  158. .index .contact {
  159. position: relative;
  160. padding: 12px;
  161. background: white;
  162. cursor: pointer;
  163. transition: background 0.2s; }
  164. .index .contact::after {
  165. content: '';
  166. position: absolute;
  167. right: 16px;
  168. bottom: 0;
  169. height: 1px;
  170. width: calc(100% - 12px - 54px - 2 * 8px - 16px);
  171. background: #eee; }
  172. .index .contact:hover {
  173. background: #f8f8f8; }
  174. .index .contact:last-child {
  175. box-shadow: 0 1px 3px rgba(170, 170, 170, 0.8); }
  176. .index .contact:last-child::after {
  177. display: none; }
  178. .index .contact-details {
  179. vertical-align: top;
  180. display: inline-block;
  181. width: calc(100% - 54px - 2 * 12px - 8px);
  182. margin: 4px 0 0 8px; }
  183. .index .contact-name {
  184. margin: 0;
  185. font-size: 16px;
  186. font-weight: 400; }
  187. .index .last-message {
  188. margin: 6px 0;
  189. font-size: 14px;
  190. font-weight: 300; }
  191. .index .timestamp {
  192. position: absolute;
  193. top: 14px;
  194. right: 12px;
  195. color: #888; }
  196. .index img {
  197. height: 54px;
  198. width: 54px;
  199. box-sizing: border-box;
  200. border: 27px #f3f3f3 solid;
  201. border-radius: 27px; }
  202. .index .message-list {
  203. display: none; }
  204. .settings {
  205. height: 100%;
  206. width: 100%;
  207. background: red;
  208. display: none; }
  209. .settings-open .settings {
  210. display: block; }
  211. /*# sourceMappingURL=manifest.css.map */