app-email.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. // ================================================================================================
  2. // File Name: email-application.scss
  3. // Description: SCC file for email application page.
  4. // ----------------------------------------------------------------------------------------------
  5. // Item name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template
  6. // Author: PIXINVENT
  7. // Author URL: http://www.themeforest.net/user/pixinvent
  8. // ================================================================================================
  9. // Core variables and mixins
  10. @import "../bootstrap/functions";
  11. @import "../bootstrap/mixins";
  12. @import "../bootstrap-extended/mixins";
  13. // Load variable overrides
  14. @import "../core/variables/variables";
  15. @import "../bootstrap/variables";
  16. // Overrides user variable
  17. @import "../core/variables/components-variables";
  18. .email-application{
  19. .content-area-wrapper{
  20. border: 1px solid $gray-300;
  21. border-radius: $border-radius-sm;
  22. // Sidebar area starts
  23. .sidebar{
  24. .email-app-sidebar{
  25. width: $menu-expanded-width;
  26. height: calc(100vh - 13rem);
  27. height: calc(var(--vh, 1vh) * 100 - 13rem);
  28. background-color: $white;
  29. border-top-left-radius: $border-radius-sm;
  30. border-bottom-left-radius: $border-radius-sm;
  31. transition: all .3s ease;
  32. // Close Icon
  33. .sidebar-close-icon{
  34. position: absolute;
  35. right: .25rem;
  36. top: .25rem;
  37. cursor: pointer;
  38. font-size: 1.25rem;
  39. z-index: 5;
  40. visibility: hidden;
  41. }
  42. .email-app-menu{
  43. width: 100%;
  44. padding-bottom: .5rem;
  45. box-shadow: 0 0 15px 0 rgba($pure_black,.05);
  46. z-index: 3;
  47. .compose-btn{
  48. padding: 1px 1.5rem;
  49. margin-bottom: 0.25rem;
  50. }
  51. .badge{
  52. padding: 0.5rem 0.68rem;
  53. }
  54. .sidebar-menu-list{
  55. padding: 0 1.5rem;
  56. position: relative;
  57. height: calc(100% - 6.4rem);
  58. }
  59. .list-group .list-group-item i{
  60. top: 3px;
  61. }
  62. hr{
  63. margin-left: -1.5rem;
  64. margin-right: -1.5rem;
  65. }
  66. }
  67. }
  68. .list-group .list-group-item{
  69. padding-left: 0;
  70. padding-right: 0;
  71. &:hover, &:focus {
  72. background-color: transparent;
  73. color: $body-color;
  74. }
  75. &.active{
  76. background: transparent;
  77. color: $primary;
  78. }
  79. }
  80. }
  81. // Sidebar area ends
  82. // Right content area common css starts
  83. .content-right {
  84. width: calc(100% - #{$menu-expanded-width});
  85. .content-wrapper{
  86. padding: 0;
  87. }
  88. .email-app-list-wrapper{
  89. border-left: 1px solid $gray-300;
  90. }
  91. .app-fixed-search{
  92. padding: .35rem .1rem;
  93. border-bottom: 1px solid $gray-300;
  94. background-color: $white;
  95. border-top-right-radius: $border-radius;
  96. .form-control-position{
  97. font-size: calc(#{$spacer} * 1.1);
  98. }
  99. input{
  100. border:0;
  101. background-color: transparent;
  102. &:focus {
  103. border-color: transparent;
  104. box-shadow: none;
  105. }
  106. }
  107. }
  108. .action-icon{
  109. cursor: pointer;
  110. }
  111. }
  112. // Right content area common css End
  113. }
  114. // email list section
  115. .app-content{
  116. .content-area-wrapper{
  117. position: relative;
  118. // Sidebar toggle icon
  119. .sidebar-toggle{
  120. cursor: pointer;
  121. margin: 0.5rem 0.99rem;
  122. float: left;
  123. line-height: 1;
  124. i{
  125. font-size: 1.75rem;
  126. }
  127. }
  128. .go-back{
  129. cursor: pointer;
  130. }
  131. // Content area overlay
  132. .app-content-overlay{
  133. top: 0;
  134. left: 0;
  135. right: 0;
  136. bottom: 0;
  137. position: absolute;
  138. display: block;
  139. z-index: 2;
  140. visibility: hidden;
  141. opacity: 0;
  142. transition: all .3s ease;
  143. &.show{
  144. visibility: visible;
  145. transition: all .3s ease;
  146. opacity: 1;
  147. background-color: rgba(0, 0, 0, 0.2);
  148. border-radius: $border-radius;
  149. }
  150. }
  151. // Email user list area
  152. .email-user-list{
  153. position: relative;
  154. height: calc(100vh - 20.3rem);
  155. height: calc(var(--vh, 1vh) * 100 - 20.3rem);
  156. .users-list-wrapper{
  157. padding: 0;
  158. margin: 0;
  159. // Set delay per List Item
  160. @for $i from 1 through 5000 {
  161. li:nth-child(#{$i}) {
  162. animation-delay: .1s * $i;
  163. }
  164. }
  165. li{
  166. cursor: pointer;
  167. transition: all .2s;
  168. animation: fadeIn 0.5s linear;
  169. animation-fill-mode: both;
  170. position: relative;
  171. &.media{
  172. padding: ($spacer + .5) $spacer;
  173. &:hover {
  174. transform: translateY(-4px);
  175. box-shadow: 0 3px 10px 0 #ccc;
  176. transition: all .2s;
  177. }
  178. .media-left{
  179. display: flex;
  180. align-items: center;
  181. flex-direction: column;
  182. }
  183. .media-body{
  184. width: calc(100vw - (100vw - 100%) - 60px);
  185. overflow: hidden;
  186. }
  187. }
  188. .avatar,.avatar img{
  189. height: $avatar-size + 8;
  190. width: $avatar-size + 8;
  191. }
  192. .avatar img{
  193. border: 2px solid $white;
  194. }
  195. &.mail-read{
  196. background-color: $gray-200;
  197. }
  198. &:not(:first-child){
  199. border-top: 1px solid $gray-300;
  200. }
  201. .user-details{
  202. display: flex;
  203. justify-content: space-between;
  204. margin-bottom: .75rem;
  205. .list-group-item-text{
  206. color: $body-color;
  207. }
  208. }
  209. .mail-date{
  210. color: $body-color;
  211. }
  212. .mail-message{
  213. p{
  214. color: $body-color;
  215. }
  216. }
  217. }
  218. .user-action {
  219. display: flex;
  220. align-items: center;
  221. .favorite{
  222. i{
  223. font-size: 1.2rem;
  224. line-height: 1.5;
  225. }
  226. }
  227. }
  228. }
  229. .no-results{
  230. display: none;
  231. padding: 1.5rem;
  232. text-align: center;
  233. &.show{
  234. display: block;
  235. }
  236. }
  237. }
  238. }
  239. }
  240. // Action area of email list section
  241. .app-action {
  242. padding: 1rem;
  243. display: flex;
  244. justify-content: space-between;
  245. border-bottom: 1px solid $gray-300;
  246. .action-left{
  247. .selectAll{
  248. margin: .25rem 0 0.108rem;
  249. .vs-checkbox{
  250. margin-right: 1rem;
  251. }
  252. }
  253. }
  254. .action-right{
  255. ul{
  256. li:not(:last-child){
  257. margin-right: 1rem ;
  258. }
  259. }
  260. .dropdown-toggle{
  261. color: $body-color;
  262. &::after{
  263. display: none;
  264. }
  265. white-space: normal;
  266. }
  267. i{
  268. font-size: 1.5rem;
  269. margin-right: 0;
  270. }
  271. }
  272. }
  273. // On click of mail Details section slide in from right
  274. // Email details section starts
  275. .email-app-details{
  276. position: absolute;
  277. display: block;
  278. z-index: 2;
  279. visibility: hidden;
  280. opacity: 0;
  281. top: 0;
  282. width: calc(100% - #{$menu-expanded-width});
  283. background-color: $body-bg;
  284. transform: translateX(100%);
  285. transition: all .3s ease;
  286. height: 100%;
  287. border-left: 1px solid $gray-300;
  288. &.show{
  289. visibility: visible;
  290. transition: all .3s ease;
  291. opacity: 1;
  292. transform: translateX(0%);
  293. transition: all .3s ease;
  294. }
  295. .email-detail-header{
  296. display: flex;
  297. flex-wrap: wrap;
  298. justify-content: space-between;
  299. box-shadow: 0 4px 6px rgba($pure_black,.04);
  300. border-bottom: 1px solid $kbd-bg;
  301. position: relative;
  302. padding: 1.643rem 2rem 0;
  303. background-color: $white;
  304. }
  305. .email-header-right{
  306. .dropdown-toggle{
  307. color: $body-color;
  308. }
  309. }
  310. // Email detail scroll area
  311. .email-scroll-area{
  312. padding: 0 2rem;
  313. position: relative;
  314. height: calc(100vh - 18.75rem);
  315. height: calc(var(--vh, 1vh) * 100 - 18.75rem);
  316. .email-detail-head{
  317. border-bottom: 1px solid $gray-300;
  318. padding: 1.5rem 1rem .75rem;
  319. .mail-meta-item {
  320. text-align: right;
  321. }
  322. }
  323. .card-body{
  324. &.mail-message-wrapper{
  325. border-bottom: 1px solid $gray-300 !important;
  326. }
  327. }
  328. .mail-label{
  329. letter-spacing: .25px;
  330. }
  331. .email-info-dropup{
  332. .dropdown-toggle::after{
  333. left: 0;
  334. margin: 0;
  335. }
  336. }
  337. .mail-message{
  338. p{
  339. margin-bottom: 1.5rem;
  340. }
  341. }
  342. .mail-attachements{
  343. text-transform: uppercase;
  344. }
  345. }
  346. }
  347. // Modal form editor
  348. .ql-editor{
  349. height: 150px;
  350. }
  351. }
  352. @include media-breakpoint-down(sm) {
  353. .email-application{
  354. .sidebar-content{
  355. .sidebar-close-icon{
  356. visibility: visible !important;
  357. }
  358. }
  359. }
  360. }
  361. @include media-breakpoint-down(md) {
  362. .email-application{
  363. .app-content{
  364. .sidebar-left{
  365. position: relative;
  366. .email-app-sidebar{
  367. transform: translateX(-110%);
  368. transition: all .3s ease-in-out;
  369. // transition: transform .25s;
  370. left: 0;
  371. position: fixed;
  372. z-index: 5;
  373. left: -2px;
  374. }
  375. &.show{
  376. .email-app-sidebar{
  377. transform: translateX(13%);
  378. transition: all .3s ease;
  379. // transition: transform .25s;
  380. display: block;
  381. }
  382. }
  383. }
  384. .content-right{
  385. width: 100%;
  386. .app-fixed-search{
  387. border-top-left-radius: $border-radius;
  388. }
  389. .email-app-details{
  390. width: 100%;
  391. border-radius: $border-radius;
  392. .email-scroll-area {
  393. height: calc(100vh - 21.5rem);
  394. height: calc(var(--vh, 1vh) * 100 - 21.5rem);
  395. }
  396. }
  397. }
  398. }
  399. }
  400. }
  401. // Extra small devices (portrait phones, less than 576px)
  402. @media (max-width: 575.98px) {
  403. .email-application {
  404. .sidebar-left .email-app-sidebar{
  405. left: -1.12rem !important;
  406. }
  407. .email-detail-head .mail-meta-item{
  408. display: flex;
  409. justify-content: space-between;
  410. .mail-date,.mail-time{
  411. margin: 1rem .75rem 0 0;
  412. }
  413. }
  414. .app-content .content-right .email-app-details{
  415. .email-scroll-area {
  416. height: calc(100vh - 23.25rem);
  417. height: calc(var(--vh, 1vh) * 100 - 23.25rem);
  418. }
  419. }
  420. .app-content .content-area-wrapper .email-user-list .users-list-wrapper li .user-details{
  421. display: block;
  422. .mail-items {
  423. width: 70%;
  424. display: inline-grid;
  425. }
  426. .mail-meta-item{
  427. width: 15%;
  428. position: absolute;
  429. right: 1rem;
  430. top: 1.5rem;
  431. i,.bullet{
  432. display: none;
  433. }
  434. }
  435. }
  436. }
  437. }
  438. @media (max-width: 349.98px){
  439. .email-application .content-area-wrapper .sidebar .email-app-sidebar{
  440. width: 230px;
  441. left: 3px;
  442. }
  443. .email-application .app-content .content-area-wrapper .email-user-list{
  444. height: calc(100vh - 22.3rem);
  445. height: calc(var(--vh, 1vh) * 100 - 22.3rem);
  446. }
  447. .email-application .email-app-details .email-detail-header{
  448. padding: 0 1.2rem;
  449. .email-prev,.email-next{
  450. display: none;
  451. }
  452. }
  453. }
  454. // Keyframe animation
  455. @-webkit-keyframes fadeIn {
  456. 0% {
  457. opacity: 0;
  458. top: 100px;
  459. }
  460. 75% {
  461. opacity: 0.5;
  462. top: 0px;
  463. }
  464. 100% {
  465. opacity: 1;
  466. }
  467. }