style.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. * { margin: 0; padding: 0; box-sizing: border-box; -moz-box-sizing: border-box; }
  2. html, body { height: 100%; }
  3. body {
  4. width: 100%;
  5. margin: 0;
  6. color: rgba(0,0,0,.89);
  7. font: 12px/17px "Helvetica Neue", Helvetica, Arial, sans-serif;
  8. background: url(../img/minimalism_by_nerdynotdirty.jpg);
  9. background: url(../img/bg.jpg);
  10. background-size: cover;
  11. }
  12. .avatar {
  13. width: 40px;
  14. height: 40px;
  15. border-radius: 3px;
  16. background-size: cover;
  17. }
  18. header {
  19. height: 40px;
  20. padding: 12px 0 8px 13px;
  21. background: #eee;
  22. border-bottom: 1px solid hsla(222, 10%, 55%,.34);
  23. }
  24. h2 {
  25. font-size: 18px;
  26. font-weight: normal;
  27. float: left;
  28. }
  29. header input[type=search],
  30. header select,
  31. header button {
  32. margin-right: 13px;
  33. float: right;
  34. }
  35. header button {
  36. margin-top: -3px;
  37. }
  38. .sidebar {
  39. width: 200px;
  40. left: 0;
  41. top: 0;
  42. bottom: 0;
  43. position: absolute;
  44. border-right: 1px solid hsla(222, 10%, 55%,.34);
  45. z-index: 1;
  46. }
  47. header .agent {
  48. padding: 8px;
  49. border-bottom: 1px solid hsla(222, 10%, 55%,.34);
  50. }
  51. header .agent .name {
  52. padding: 12px 21px 0 0;
  53. line-height: 18px;
  54. }
  55. .name {
  56. color: black;
  57. font-weight: bold;
  58. }
  59. .userActions {
  60. list-style: none;
  61. overflow: hidden;
  62. }
  63. .userActions li {
  64. padding-right: 8px;
  65. color: hsl(222, 10%, 77%);
  66. font-size: 11px;
  67. float: left;
  68. cursor: pointer;
  69. }
  70. .userActions li:hover {
  71. color: hsl(222, 10%, 34%);
  72. }
  73. .userActions li:last-child {
  74. width: 34%;
  75. padding-right: 21px;
  76. }
  77. .listHeader {
  78. padding: 13px 21px 13px;
  79. color: hsl(222, 10%, 13%);
  80. font-size: 15px;
  81. text-transform: uppercase;
  82. }
  83. .listView li {
  84. padding: 13px 21px 13px 34px;
  85. color: hsla(222, 10%, 13%, .55);
  86. font-weight: bold;
  87. cursor: pointer;
  88. }
  89. .listView li.selected {
  90. color: hsl(222, 10%, 13%);
  91. background-image: -webkit-linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.13));
  92. position: relative;
  93. }
  94. .listView li.selected:before123 {
  95. top: 6px;
  96. right: -15px;
  97. width: 31px;
  98. height: 31px;
  99. content: "";
  100. background: hsl(222, 10%, 87%);
  101. position: absolute;
  102. z-index: -1;
  103. -webkit-transform: rotate(45deg);
  104. -moz-transform: rotate(45deg);
  105. -o-transform: rotate(45deg);
  106. -ms-transform: rotate(45deg);
  107. transform: rotate(45deg);
  108. }
  109. .listView li .counter {
  110. float: right;
  111. padding: 1px 5px;
  112. font-size: 10px;
  113. font-weight: bold;
  114. text-shadow: 0 1px rgba(255,255,255,.55);
  115. background-color: hsl(55, 100%, 50%);
  116. background-image: -webkit-linear-gradient(transparent, rgba(0,0,0,.05));
  117. border-radius: 2px;
  118. border: 1px solid rgba(0,0,0,.34);
  119. box-shadow:
  120. 0 1px rgba(0,0,0,.05),
  121. 0 1px 3px rgba(0,0,0,.05),
  122. 0 0 0 1px rgba(255,255,255,.21) inset;
  123. }
  124. .twoColumns, .stream, .conversation {
  125. top: 0;
  126. bottom: 0;
  127. position: absolute;
  128. }
  129. .twoColumns {
  130. right: 0;
  131. left: 200px;
  132. }
  133. .content {
  134. left: 0;
  135. right: 0;
  136. bottom: 0;
  137. top: 40px;
  138. position: absolute;
  139. overflow: auto;
  140. background: white;
  141. }
  142. .stream {
  143. left: 0;
  144. right: 60%;
  145. border-right: 1px solid hsla(222, 10%, 55%,.34);
  146. }
  147. .stream article {
  148. height: 76px;
  149. padding: 13px;
  150. position: relative;
  151. box-shadow: inset 0 -1px hsla(222, 10%, 55%,.34);
  152. }
  153. .stream.important article { border-left: 5px solid rgba(0,255,0,.34); }
  154. .stream article.urgent { border-left-color: rgba(255,0,0,.55); }
  155. .stream article.important { border-left-color: rgba(255,180,80,.89); }
  156. .stream article.selected {
  157. background: hsl(55, 100%, 50%);
  158. }
  159. .stream article.selected p {
  160. color: black;
  161. }
  162. .stream section {
  163. margin-left: 63px;
  164. }
  165. .stream .name {
  166. font-weight: bold;
  167. }
  168. .stream nav, .stream .time {
  169. float: right;
  170. }
  171. .stream nav {
  172. margin-top: -5px;
  173. }
  174. .stream nav span {
  175. color: rgba(0,0,0,.34);
  176. padding-left: 3px;
  177. cursor: pointer;
  178. }
  179. .stream nav span:hover {
  180. color: rgba(0,0,0,1);
  181. }
  182. .stream .time, .stream .channel {
  183. padding-left: 5px;
  184. color: black;
  185. font-size: 0.95em;
  186. }
  187. .stream img {
  188. left: 13px;
  189. position: absolute;
  190. border-radius: 3px;
  191. }
  192. .stream section.answer {
  193. margin-top: 5px;
  194. padding: 5px 8px 8px 36px;
  195. background: rgba(0,0,0,0.05);
  196. position: relative;
  197. overflow: hidden;
  198. }
  199. .stream section.answer textarea {
  200. width: 100%;
  201. margin-bottom: 5px;
  202. font: 12px/18px "Helvetica Neue", Helvetica, sans-serif;
  203. border: 1px solid rgba(0,0,0,.21);
  204. box-shadow: 1px 1px white, inset 1px 1px rgba(0,0,0,0.05);
  205. }
  206. .stream section.answer button { float: right; }
  207. .stream section.answer img { top: 6px; left: 5px; width: 25px; border-radius: 2px; }
  208. .stream p {
  209. height: 32px;
  210. color: rgba(0,0,0,.50);
  211. overflow: hidden;
  212. text-overflow: ellipsis;
  213. }
  214. .conversation {
  215. left: 40%;
  216. right: 0;
  217. }
  218. .conversation section {
  219. margin: 13px;
  220. overflow: hidden;
  221. position: relative;
  222. }
  223. .conversation .info { width: 50px; position: absolute; }
  224. .conversation .info img { margin-top: 1px; border-radius: 3px; }
  225. .conversation .agent .info { right: 0; }
  226. .conversation .agent .info { float: right; }
  227. .conversation .agent .body, .conversation .customer .body {
  228. min-height: 34px;
  229. float: left;
  230. padding: 0 13px;
  231. margin: 0 0 13px 58px;
  232. background: white;
  233. border-radius: 5px;
  234. box-shadow: 0 1px 2px hsla(222, 10%, 55%,.34);
  235. }
  236. .conversation .agent .body { float: right; margin: 0 58px 13px 0; }
  237. .converastion .agent { float: right; }
  238. .conversation .body p {
  239. margin: 8px 0;
  240. }
  241. .converastion .customer { float: left; }
  242. blockquote {
  243. margin: 8px 0;
  244. padding: 0 8px;
  245. color: #144fae;
  246. border-left: 2px solid #144fae;
  247. }
  248. blockquote blockquote {
  249. color: #006312;
  250. border-color: #006312;
  251. }
  252. blockquote blockquote blockquote {
  253. color: #540000;
  254. border-color: #540000;
  255. }
  256. button {
  257. padding: 3px 13px;
  258. color: rgba(0,0,0,.89);
  259. line-height: 15px;
  260. text-shadow: 0 1px rgba(255,255,255,.34);
  261. background: rgba(0,0,0,.13);
  262. background: -webkit-linear-gradient(rgba(0,0,0,.03), rgba(0,0,0,.08));
  263. background: -moz-linear-gradient(rgba(0,0,0,.03), rgba(0,0,0,.08));
  264. background: linear-gradient(rgba(0,0,0,.03), rgba(0,0,0,.08));
  265. border: 1px solid rgba(0,0,0,.21);
  266. border-radius: 2px;
  267. box-shadow: inset 0 1px rgba(255,255,255,.34), 0 1px rgba(0,0,0,.05);
  268. cursor: pointer;
  269. }
  270. button.main { font-weight: bold; }
  271. /* helpers */
  272. .clearfix:after {
  273. content: "";
  274. clear: both;
  275. display: block;
  276. height: 0;
  277. }