notification_list_popup_header.blade.php 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. <style type="text/css">
  2. /*New popup*/
  3. .bottom_popup_notification_list{
  4. background: #fff;
  5. padding: 16px 20px;
  6. height: 97.5vh;
  7. }
  8. .bottom_popup_notification_list .close_button_notification_list{
  9. background: #2e1153;
  10. padding: 6px 15px;
  11. border-top-left-radius: 15px;
  12. border-bottom-left-radius: 15px;
  13. cursor: pointer;
  14. color: #fff;
  15. top: 25px;
  16. left: -40px;
  17. position: absolute;
  18. font-size: .8rem;
  19. }
  20. /*New popup*/
  21. .custom_popup_notification_list_header {
  22. overflow: hidden;
  23. position: fixed;
  24. top: 62px;
  25. right: 0;
  26. bottom: 0;
  27. left: 0;
  28. -webkit-overflow-scrolling: touch;
  29. outline: 0;
  30. opacity: 0;
  31. -webkit-transition: opacity 0.15s linear, z-index 0.15;
  32. -o-transition: opacity 0.15s linear, z-index 0.15;
  33. transition: opacity 0.15s linear, z-index 0.15;
  34. z-index: -1;
  35. overflow-x: hidden;
  36. overflow-y: auto;
  37. }
  38. .popup_open_task_details {
  39. /*z-index: 99999;*/
  40. z-index: 999;
  41. opacity: 1;
  42. overflow: hidden;
  43. }
  44. .custom_popup_inner_notification_list {
  45. /*-webkit-transform: translate(0, -25%);
  46. -ms-transform: translate(0, -25%);
  47. transform: translate(0, -25%);*/
  48. -webkit-transition: -webkit-transform 0.3s ease-out;
  49. -o-transition: -o-transform 0.3s ease-out;
  50. transition: -webkit-transform 0.3s ease-out;
  51. -o-transition: transform 0.3s ease-out;
  52. transition: transform 0.3s ease-out;
  53. transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  54. display: inline-block;
  55. vertical-align: middle;
  56. width: 490px;
  57. /*margin: 30px auto;
  58. max-width: 97%;*/
  59. right: 0;
  60. position: absolute !important;
  61. }
  62. .popup_open_task_details .custom_popup_inner_notification_list {
  63. -webkit-transform: translate(0, 0);
  64. -ms-transform: translate(0, 0);
  65. transform: translate(0, 0);
  66. position: relative;
  67. z-index: 999;
  68. }
  69. .popup_open_task_details .popup_open_bg_overlay_notification_list {
  70. background: rgba(0, 0, 0, 0.6);
  71. /*background: rgb(255 250 250 / 60%);*/
  72. z-index: 99;
  73. }
  74. .popup_open_bg_overlay_notification_list {
  75. background: rgba(0, 0, 0, 0);
  76. height: 100vh;
  77. width: 100%;
  78. position: fixed;
  79. left: 0;
  80. top: 63px !important;
  81. right: 0;
  82. bottom: 0;
  83. z-index: 0;
  84. -webkit-transition: background 0.15s linear;
  85. -o-transition: background 0.15s linear;
  86. transition: background 0.15s linear;
  87. }
  88. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown{
  89. /*top: 10px;
  90. right: 0;
  91. position: absolute;*/
  92. }
  93. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-toggle{
  94. background: #dedbf1;
  95. padding: 4px 8px 2px;
  96. border-radius: 50%;
  97. font-size: .8rem;
  98. border: 1px solid transparent;
  99. color: #2e1153;
  100. cursor: pointer;
  101. }
  102. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-toggle:hover {
  103. color: #ff7f00 !important;
  104. transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0s;
  105. border: 1px solid #ff7f00;
  106. }
  107. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-toggle:after{
  108. display: none;
  109. }
  110. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-menu.show{
  111. margin-left: -55px;
  112. min-width: auto;
  113. padding: 0;
  114. margin-top: 3px;
  115. }
  116. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-menu.show .dropdown-item{
  117. background: #dedbf1;
  118. color: #2e1153;
  119. font-size: 12px;
  120. border: none;
  121. }
  122. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-menu.show .dropdown-item:hover{
  123. background: #2e1153;
  124. color: #fff !important;
  125. }
  126. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-menu.show .activate{
  127. background: #2e1153;
  128. color: #fff;
  129. }
  130. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-menu.show .dropdown-item:first-child{
  131. border-top-left-radius: .25rem;
  132. border-top-right-radius: .25rem;
  133. }
  134. .bottom_popup_notification_list .details_content_view .single_radius_list_item .action_dropdown .dropdown-menu.show .dropdown-item:last-child{
  135. border-bottom-left-radius: .25rem;
  136. border-bottom-right-radius: .25rem;
  137. }
  138. /*Notification list design*/
  139. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_list_item_header {
  140. background: #dedbf1;
  141. padding: 7px 16px;
  142. margin-bottom: 15px;
  143. border-radius: 30px;
  144. position: relative;
  145. font-size: 12px;
  146. font-weight: 700;
  147. }
  148. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_list_item {
  149. display: flex;
  150. background: #fff;
  151. padding: 7px 16px;
  152. margin-top: 10px;
  153. border-radius: 30px;
  154. border: 1px solid #e9f0f3;
  155. }
  156. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_list_item:hover {
  157. background: #f5f4fd;
  158. }
  159. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_list_item .left {
  160. width: calc(100% - 50px);
  161. align-self: center;
  162. }
  163. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_list_item .right {
  164. width: 50px;
  165. align-self: center;
  166. text-align: -webkit-right;
  167. }
  168. /*Notification list design*/
  169. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item {
  170. display: flex;
  171. background: fff;
  172. padding: 7px 16px;
  173. margin-top: 10px;
  174. border-radius: 30px;
  175. border: 1px solid #e9f0f3;
  176. align-items: center;
  177. font-size: 13px;
  178. }
  179. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item:hover {
  180. background: #f5f4fd;
  181. }
  182. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item strong {
  183. color: rgb(57, 59, 62);
  184. font-size: 12px;
  185. }
  186. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item .fa {
  187. background: #f1f0fb;
  188. padding: 5px 5px;
  189. border-radius: 50%;
  190. border: 1px solid #ceccda;
  191. margin: 0 5px 0 -5px;
  192. }
  193. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item a {
  194. font-size: 12px;
  195. }
  196. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item span small {
  197. color: rgb(134, 142, 150);
  198. font-size: 12px !important;
  199. margin: 0 4px;
  200. }
  201. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item:first-child{
  202. margin-top: 5px;
  203. }
  204. /*.custom_popup_notification_list .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view{
  205. height: calc(100vh - 65px);
  206. position: relative;
  207. }*/
  208. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .submit_button{
  209. position: fixed;
  210. right: 25px;
  211. bottom: 65px;
  212. }
  213. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_list_item_header .list_counter{
  214. background: #ffffff;
  215. font-weight: 700;
  216. font-size: 11px !important;
  217. border-radius: 10px;
  218. padding: 3px 12px !important;
  219. border: 1px solid #d4d2df;
  220. color: #fa424a;
  221. /* top: -1px; */
  222. /* position: relative; */
  223. float: right;
  224. margin-top: -1px;
  225. }
  226. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .submit_button:hover{
  227. color: #2e1153 !important;
  228. }
  229. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item {
  230. border-radius: .75rem !important;
  231. }
  232. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item span small {
  233. margin: 0 !important;
  234. }
  235. .custom_popup_notification_list_header .custom_popup_inner_notification_list .bottom_popup_notification_list .details_content_view .single_radius_item .fa {
  236. margin: 0 10px 0 -3px !important;
  237. }
  238. </style>
  239. <div class="custom_popup_notification_list_header d-none">
  240. <div class="custom_popup_inner_notification_list" style="display:none;">
  241. <div class="bottom_popup_notification_list scroll_bar">
  242. <div class="details_content_view">
  243. <a href="{{url('applyuser/notifications/unread')}}" class="btn submit_button">See More</a>
  244. </div>
  245. <i class="fa fa-close close_button_notification_list add_hover"></i>
  246. </div>
  247. </div>
  248. <div class="popup_open_bg_overlay_notification_list"></div>
  249. </div>
  250. <script>
  251. $(function(){
  252. $(".click_for_notification_list_popup_header").on('click', function() {
  253. // $('.custom_popup_notification_list').toggle("slide", {direction: "right" }, 300);
  254. console.log('click_for_notification_list_popup_header');
  255. $(".custom_popup_notification_list_header").removeClass('d-none');
  256. $(".custom_popup_notification_list_header").addClass('popup_open_task_details');
  257. $(".custom_popup_notification_list_header").addClass('.popup_open_bg_overlay_notification_list');
  258. $(".custom_popup_inner_notification_list").hide().show("slide", { direction: "right" }, 600);
  259. });
  260. })
  261. $(".close_button_notification_list").click(function(){
  262. $(".custom_popup_notification_list_header").removeClass('popup_open_task_details');
  263. $(".custom_popup_notification_list_header").addClass('d-none');
  264. });
  265. </script>