android-dark.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. $grey-dark: #333333;
  2. $grey-dark_l2: darken($grey-dark, 4%);
  3. $grey-dark_l3: darken($grey-dark_l2, 7%);
  4. $grey-dark_l4: darken($grey-dark_l3, 8%);
  5. $text-dark: #CCCCCC;
  6. .android-dark {
  7. color: $text-dark;
  8. a { color: #57a5e5; }
  9. hr {
  10. border-color: $grey-dark;
  11. }
  12. #header {
  13. background-color: $grey-dark_l2;
  14. color: white;
  15. transition: background-color 0.5s;
  16. &.inactive {
  17. background-color: $grey-dark;
  18. color: $text-dark;
  19. }
  20. }
  21. .message-detail, .message-container, .conversation,
  22. .discussion-container {
  23. background-color: $grey-dark_l3;
  24. }
  25. .modal .content {
  26. background-color: $grey-dark;
  27. }
  28. .lightbox .content {
  29. background-color: rgba(0, 0, 0, 0);
  30. }
  31. .key-verification .key {
  32. background-color: $grey-dark_l4;
  33. border-color: $grey-dark_l2;
  34. }
  35. .menu-list {
  36. background-color: $grey-dark_l2;
  37. color: $text-dark;
  38. li:hover {
  39. background-color: $grey-dark;
  40. }
  41. }
  42. .content textarea {
  43. background-color: $grey-dark_l3;
  44. border-width: 0px;
  45. @include invert-text-color;
  46. }
  47. .flex {
  48. background-color: $grey-dark_l3;
  49. .send-message {
  50. background-color: $grey-dark_l3;
  51. color: $text-dark;
  52. }
  53. }
  54. .contact-details .name {
  55. font-weight: 400;
  56. }
  57. .group-member-list .members .contact, .new-group-update .members .contact, .attachment-previews img {
  58. background-color: $grey-dark_l3;
  59. border-color: $grey-dark;
  60. }
  61. .conversation.placeholder .conversation-header {
  62. display: none;
  63. }
  64. .avatar, .conversation-header, .bubble {
  65. @include dark-avatar-colors;
  66. }
  67. .message-list .advisory .content {
  68. background-color: $grey-dark;
  69. }
  70. .inactive .conversation-header {
  71. background-color: $grey-dark !important;
  72. color: $text-dark;
  73. }
  74. .sent .status {
  75. display: inline-block;
  76. @include color-svg('/images/check.svg', white);
  77. }
  78. .delivered .status {
  79. display: inline-block;
  80. @include color-svg('/images/double-check.svg', white);
  81. }
  82. .paperclip:before {
  83. content: '';
  84. display: inline-block;
  85. width: $button-height;
  86. height: $button-height;
  87. @include color-svg('/images/paperclip.svg', white);
  88. transform: rotateZ(-45deg);
  89. }
  90. .scrollable {
  91. background-color: $grey-dark_l2;
  92. .conversation-list-item {
  93. background-color: $grey-dark_l3;
  94. color: $text-dark;
  95. }
  96. }
  97. .bottom-bar {
  98. min-height: 10px;
  99. background-color: $grey-dark_l2;
  100. form.send {
  101. background: $grey-dark_l3;
  102. }
  103. }
  104. .search {
  105. background-color: $grey-dark_l3;
  106. border-color: $grey-dark_l2;
  107. @include invert-text-color;
  108. &::-webkit-search-cancel-button {
  109. background: url('/images/x_white.svg') no-repeat center;
  110. background-size: cover;
  111. }
  112. }
  113. .bubble {
  114. padding: 9px 12px;
  115. border-radius: $border-radius;
  116. box-shadow: 0 3px 3px -4px black;
  117. }
  118. .outgoing .bubble {
  119. background-color: $grey-dark;
  120. @include invert-text-color;
  121. color: $text-dark;
  122. }
  123. .outgoing .hourglass {
  124. @include hourglass(#999);
  125. }
  126. .incoming .hourglass {
  127. @include hourglass(#fff);
  128. }
  129. .incoming .bubble {
  130. .sender, .content, .body, .meta, a {
  131. @include invert-text-color;
  132. }
  133. .attachments, .content {
  134. a {
  135. color: $grey_l;
  136. }
  137. }
  138. }
  139. button.clock {
  140. @include header-icon-white('/images/clock.svg');
  141. }
  142. button.hamburger {
  143. @include header-icon-white('/images/menu.svg');
  144. }
  145. button.back {
  146. @include header-icon-white('/images/back.svg');
  147. }
  148. ::-webkit-scrollbar-thumb {
  149. background: rgba(255,255,255,0.15);
  150. &:hover {
  151. background: rgba(255,255,255,0.25);
  152. }
  153. }
  154. ::-webkit-scrollbar-track {
  155. background-color: $grey-dark_l2;
  156. }
  157. }