app-chat.css 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418
  1. /*========================================================
  2. DARK LAYOUT
  3. =========================================================*/
  4. .chat-application .content-area-wrapper .content-right .content-wrapper {
  5. padding: 0;
  6. }
  7. .chat-application .content-area-wrapper {
  8. border: 1px solid #dae1e7;
  9. border-radius: 0.25rem;
  10. }
  11. .chat-application .chat-profile-sidebar {
  12. border-right: 1px solid #E4E7ED;
  13. height: calc(100vh - 13rem);
  14. height: calc(var(--vh, 1vh) * 100 - 13rem);
  15. width: 400px;
  16. border-radius: 0.25rem;
  17. border-top-right-radius: 0;
  18. border-bottom-right-radius: 0;
  19. margin: 0;
  20. background-color: #fff;
  21. position: fixed;
  22. transform: translateX(-110%);
  23. transition: all 0.3s ease;
  24. z-index: 6;
  25. }
  26. .chat-application .chat-profile-sidebar.show {
  27. transform: translateX(0);
  28. transition: all 0.3s ease;
  29. }
  30. .chat-application .chat-profile-sidebar .chat-profile-header {
  31. display: flex;
  32. text-align: center;
  33. border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  34. }
  35. .chat-application .chat-profile-sidebar .chat-profile-header .header-profile-sidebar {
  36. margin: 2rem auto 0.5rem;
  37. }
  38. .chat-application .chat-profile-sidebar .chat-profile-header .avatar {
  39. margin-bottom: 1.25rem;
  40. }
  41. .chat-application .chat-profile-sidebar .chat-profile-header .close-icon {
  42. position: absolute;
  43. top: 14px;
  44. right: 13px;
  45. font-size: 1.75rem;
  46. cursor: pointer;
  47. }
  48. .chat-application .chat-profile-sidebar .profile-sidebar-area .scroll-area {
  49. padding: 2rem;
  50. height: calc(100vh - 24.25rem);
  51. height: calc(var(--vh, 1vh) * 100 - 24.25rem);
  52. position: relative;
  53. }
  54. .chat-application .sidebar-content {
  55. border-right: 1px solid #E4E7ED;
  56. height: calc(100vh - 13rem);
  57. height: calc(var(--vh, 1vh) * 100 - 13rem);
  58. width: 400px;
  59. border-radius: 0.25rem;
  60. border-top-right-radius: 0;
  61. border-bottom-right-radius: 0;
  62. margin: 0;
  63. box-shadow: none;
  64. }
  65. .chat-application .sidebar-content .sidebar-close-icon {
  66. position: absolute;
  67. right: 0.25rem;
  68. top: 0.25rem;
  69. font-size: 1.25rem;
  70. z-index: 1;
  71. cursor: pointer;
  72. visibility: hidden;
  73. }
  74. .chat-application .sidebar-content .chat-fixed-search {
  75. position: fixed;
  76. width: 400px;
  77. border-bottom: 1px solid #E4E7ED;
  78. padding: 0.65rem;
  79. }
  80. .chat-application .sidebar-content .chat-fixed-search .sidebar-profile-toggle .avatar {
  81. display: inline-table;
  82. width: calc(32px + 8px);
  83. }
  84. .chat-application .sidebar-content .chat-fixed-search input.form-control {
  85. padding: 0.9rem 1rem 0.9rem 3rem;
  86. height: calc(1.25em + 1.4rem + 4px);
  87. }
  88. .chat-application .sidebar-content .chat-fixed-search .form-control-position {
  89. top: 5px;
  90. }
  91. .chat-application .sidebar-content .chat-fixed-search .form-control-position i {
  92. left: 9px;
  93. }
  94. .chat-application .sidebar-content .chat-user-list {
  95. height: calc(100% - 5rem);
  96. margin-top: 5rem;
  97. width: 400px;
  98. }
  99. .chat-application .sidebar-content .chat-user-list ul {
  100. padding-left: 0;
  101. margin-bottom: 0;
  102. }
  103. .chat-application .sidebar-content .chat-user-list li {
  104. display: flex;
  105. justify-content: space-between;
  106. align-items: center;
  107. padding: 1.322rem 0.85rem;
  108. margin-right: 1px;
  109. }
  110. .chat-application .sidebar-content .chat-user-list li:not(:first-child) {
  111. border-top: 1px solid #E4E7ED;
  112. }
  113. .chat-application .sidebar-content .chat-user-list li .user-chat-info {
  114. width: 100%;
  115. display: flex;
  116. justify-content: space-between;
  117. overflow: hidden;
  118. }
  119. .chat-application .sidebar-content .chat-user-list li .contact-info {
  120. width: calc(100vw - (100vw - 100%) - 1rem - 50px);
  121. margin-top: 0.3rem;
  122. }
  123. .chat-application .sidebar-content .chat-user-list li .contact-info .truncate {
  124. margin: 0;
  125. }
  126. .chat-application .sidebar-content .chat-user-list li:hover {
  127. cursor: pointer;
  128. background: #eee;
  129. }
  130. .chat-application .sidebar-content .chat-user-list li.active {
  131. background: linear-gradient(118deg, #5c6bc6, rgba(92, 107, 198, 0.7));
  132. box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.11), 0 5px 15px 0 rgba(0, 0, 0, 0.08);
  133. color: #fff;
  134. }
  135. .chat-application .sidebar-content .chat-user-list li.active h1,
  136. .chat-application .sidebar-content .chat-user-list li.active h2,
  137. .chat-application .sidebar-content .chat-user-list li.active h3,
  138. .chat-application .sidebar-content .chat-user-list li.active h4,
  139. .chat-application .sidebar-content .chat-user-list li.active h5,
  140. .chat-application .sidebar-content .chat-user-list li.active h6 {
  141. color: #fff;
  142. }
  143. .chat-application .sidebar-content .chat-user-list li img {
  144. border: 2px solid #fff;
  145. }
  146. .chat-application .sidebar-content .card {
  147. margin-bottom: 0;
  148. }
  149. .chat-application .chat-overlay {
  150. top: 0;
  151. left: 0;
  152. right: 0;
  153. bottom: 0;
  154. position: absolute;
  155. display: block;
  156. z-index: 2;
  157. visibility: hidden;
  158. border-radius: 0.25rem;
  159. }
  160. .chat-application .chat-overlay.show {
  161. visibility: visible;
  162. background-color: rgba(0, 0, 0, 0.2);
  163. }
  164. .chat-application .chat-app-window .favorite,
  165. .chat-application .chat-app-window .sidebar-toggle {
  166. cursor: pointer;
  167. }
  168. .chat-application .chat-app-window .user-chats {
  169. padding: 20px 30px;
  170. position: relative;
  171. text-align: center;
  172. height: calc(100vh - 23.5rem);
  173. height: calc(var(--vh, 1vh) * 100 - 23.5rem);
  174. }
  175. .chat-application .chat-app-window .start-chat-area,
  176. .chat-application .chat-app-window .user-chats {
  177. background-image: url(/images/chat-bg.svg?464708c291f0046e92cb7a6d708d7159);
  178. background-color: #dfdbe5;
  179. }
  180. .chat-application .chat-app-window .start-chat-area {
  181. height: calc(100vh - 13rem);
  182. height: calc(var(--vh, 1vh) * 100 - 13rem);
  183. display: flex;
  184. justify-content: center;
  185. align-items: center;
  186. flex-direction: column;
  187. }
  188. .chat-application .chat-app-window .start-chat-area .start-chat-icon,
  189. .chat-application .chat-app-window .start-chat-area .start-chat-text {
  190. background: white;
  191. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08) !important;
  192. }
  193. .chat-application .chat-app-window .start-chat-area .start-chat-text {
  194. border-radius: calc(0.5rem * 4);
  195. cursor: pointer;
  196. }
  197. .chat-application .chat-app-window .start-chat-area .start-chat-icon {
  198. border-radius: 50%;
  199. font-size: 4rem;
  200. padding: 2rem;
  201. }
  202. .chat-application .chat-app-form {
  203. padding: 20px 10px;
  204. background-color: white;
  205. }
  206. .chat-application .chats {
  207. padding: 0;
  208. }
  209. .chat-application .chats .chat-body {
  210. display: block;
  211. margin: 10px 30px 0 0;
  212. overflow: hidden;
  213. }
  214. .chat-application .chats .chat-body .chat-content {
  215. text-align: right;
  216. display: block;
  217. float: right;
  218. padding: 0.75rem 1rem;
  219. margin: 0 20px 10px 0;
  220. clear: both;
  221. color: #fff;
  222. background: linear-gradient(118deg, #5c6bc6, rgba(92, 107, 198, 0.7));
  223. border-radius: 0.5rem;
  224. box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.12), 0 2px 4px 0 rgba(0, 0, 0, 0.08);
  225. }
  226. .chat-application .chats .chat-body .chat-content p {
  227. margin: 0;
  228. }
  229. .chat-application .chats .chat-avatar {
  230. float: right;
  231. }
  232. .chat-application .chats .chat-left .chat-avatar {
  233. float: left;
  234. }
  235. .chat-application .chats .chat-left .chat-body {
  236. margin-right: 0;
  237. margin-left: 30px;
  238. }
  239. .chat-application .chats .chat-left .chat-content {
  240. text-align: left;
  241. float: left;
  242. margin: 0 0 10px 20px;
  243. color: #626262;
  244. background: none;
  245. background-color: white;
  246. }
  247. .chat-application .user-profile-sidebar {
  248. border-right: 1px solid #E4E7ED;
  249. height: calc(100vh - 13rem);
  250. height: calc(var(--vh, 1vh) * 100 - 13rem);
  251. width: 400px;
  252. border-radius: 0.25rem;
  253. border-top-left-radius: 0;
  254. border-bottom-left-radius: 0;
  255. margin: 0;
  256. background-color: #fff;
  257. position: fixed;
  258. transform: translateX(110%);
  259. transition: all 0.3s ease;
  260. z-index: 6;
  261. right: 4.2rem;
  262. bottom: 5.25rem;
  263. opacity: 0;
  264. }
  265. .chat-application .user-profile-sidebar.show {
  266. opacity: 1;
  267. transform: translateX(7%);
  268. transition: all 0.3s ease;
  269. }
  270. .chat-application .user-profile-sidebar .user-profile-header {
  271. display: flex;
  272. text-align: center;
  273. border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  274. }
  275. .chat-application .user-profile-sidebar .user-profile-header .header-profile-sidebar {
  276. margin: 2rem auto 0.5rem;
  277. }
  278. .chat-application .user-profile-sidebar .user-profile-header .avatar {
  279. margin-bottom: 1.25rem;
  280. }
  281. .chat-application .user-profile-sidebar .user-profile-header .close-icon {
  282. position: absolute;
  283. top: 14px;
  284. right: 13px;
  285. font-size: 1.75rem;
  286. cursor: pointer;
  287. }
  288. .chat-application .user-profile-sidebar .user-profile-sidebar-area {
  289. height: calc(100vh - 24.25rem);
  290. height: calc(var(--vh, 1vh) * 100 - 24.25rem);
  291. position: relative;
  292. }
  293. @media (max-width: 767.98px) {
  294. .chat-application .chat-app-window {
  295. height: calc(100% - 132px);
  296. }
  297. .chat-application .sidebar-content .sidebar-close-icon {
  298. visibility: visible;
  299. }
  300. }
  301. @media (max-width: 575.98px) {
  302. .chat-application .sidebar-content {
  303. width: 260px;
  304. left: -4px !important;
  305. }
  306. .chat-application .sidebar-content .chat-fixed-search,
  307. .chat-application .sidebar-content .chat-user-list {
  308. width: 260px;
  309. }
  310. .chat-application .chat-profile-sidebar {
  311. width: 260px;
  312. }
  313. .chat-application .user-profile-sidebar {
  314. width: 260px;
  315. right: 2.35rem;
  316. }
  317. }
  318. @media (max-width: 991.98px) {
  319. .content-right {
  320. width: 100%;
  321. }
  322. .chat-application .sidebar-content {
  323. transform: translateX(-110%);
  324. transition: all 0.3s ease-in-out;
  325. left: 0;
  326. position: fixed;
  327. z-index: 5;
  328. left: -2px;
  329. }
  330. .chat-application .sidebar-content.show {
  331. transform: translateX(8.5%);
  332. transition: all 0.3s ease;
  333. display: block;
  334. }
  335. }
  336. @media (max-width: 349.98px) {
  337. .chat-application .sidebar-content {
  338. width: 230px;
  339. left: -2px !important;
  340. }
  341. .chat-application .sidebar-content .chat-fixed-search,
  342. .chat-application .sidebar-content .chat-user-list {
  343. width: 230px;
  344. }
  345. .chat-application .chat-profile-sidebar {
  346. width: 230px;
  347. }
  348. .chat-application .user-profile-sidebar {
  349. width: 230px;
  350. }
  351. }