_ios.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. $ios-header-border-color: rgba(0,0,0,0.05);
  2. $ios-border-color: rgba(0,0,0,0.1);
  3. .ios {
  4. #header {
  5. height: $header-height;
  6. border-bottom: 1px solid $ios-header-border-color;
  7. border-width: 0 1px 1px 0;
  8. background-color: $grey_l;
  9. color: $grey_d;
  10. h1 { display: none; }
  11. }
  12. .gutter {
  13. border-right: 1px solid $ios-border-color;
  14. .content {
  15. height: calc(100% - #{$header-height});
  16. background: $ios-border-color;
  17. }
  18. .contact {
  19. background: $grey_l;
  20. margin-right: 0;
  21. &.selected {
  22. background: $blue;
  23. color: white;
  24. .last-timestamp {
  25. color: white;
  26. }
  27. }
  28. }
  29. ::-webkit-scrollbar-track {
  30. background: $grey_l;
  31. }
  32. }
  33. .tool-bar {
  34. float: left;
  35. padding: 15px;
  36. }
  37. input[type=text]:active,
  38. input[type=text]:focus,
  39. input[type=search]:active,
  40. input[type=search]:focus,
  41. input[type=search].active,
  42. form.active {
  43. outline-offset: 0;
  44. outline: -webkit-focus-ring-color auto 5px;
  45. }
  46. input.search {
  47. border-radius: 5px;
  48. width: 220px;
  49. height: 34px;
  50. padding-left: 30px;
  51. line-height: 34px;
  52. background-color: #dddddd;
  53. }
  54. .conversation-header {
  55. background-color: $grey_l;
  56. color: $grey_d;
  57. border-color: $ios-header-border-color;
  58. text-align: left;
  59. .conversation-title {
  60. line-height: $header-height;
  61. }
  62. .avatar { display: none; }
  63. }
  64. .settings h3,
  65. .menu-list li {
  66. text-transform: capitalize;
  67. }
  68. .bottom-bar {
  69. padding: 15px;
  70. min-height: 30px;
  71. border-top: 1px solid $ios-border-color;
  72. form.send {
  73. border-radius: 5px;
  74. border: 1px solid $ios-border-color;
  75. }
  76. }
  77. .error-message.content,
  78. .control .content {
  79. padding: 10px;
  80. }
  81. .bubble {
  82. .content {
  83. margin-bottom: 5px;
  84. .body {
  85. display: inline-block;
  86. padding: 10px;
  87. position: relative;
  88. word-break: break-word;
  89. &:before, &:after {
  90. content: '';
  91. display: block;
  92. border-radius: 20px;
  93. position: absolute;
  94. width: 10px;
  95. }
  96. &:before {
  97. right: -1px;
  98. bottom: -3px;
  99. height: 10px;
  100. border-radius: 20px;
  101. background: $blue;
  102. }
  103. &:after {
  104. height: 11px;
  105. right: -6px;
  106. bottom: -3px;
  107. background: white;
  108. }
  109. }
  110. }
  111. .content, .attachments img {
  112. border-radius: 15px;
  113. }
  114. .attachments img {
  115. border: 1px solid $ios-border-color;
  116. }
  117. .meta {
  118. clear: both;
  119. }
  120. }
  121. .incoming .content {
  122. background-color: #e6e5ea;
  123. color: black;
  124. float: left;
  125. .body {
  126. &:before {
  127. left: -1px;
  128. background-color: #e6e5ea;
  129. }
  130. &:after {
  131. left: -6px;
  132. }
  133. }
  134. }
  135. .outgoing {
  136. .content {
  137. background-color: $blue;
  138. &, .body, a {
  139. @include invert-text-color;
  140. }
  141. float: right;
  142. }
  143. }
  144. .attachment {
  145. a {
  146. border-radius: 15px;
  147. }
  148. margin-bottom: 1px;
  149. }
  150. .hourglass {
  151. @include hourglass(#999);
  152. }
  153. .socket-status {
  154. position: absolute;
  155. padding-top:-3px;
  156. top:0;
  157. right:5px;
  158. }
  159. }