Guest User

Untitled

a guest
Jul 3rd, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. (function(){
  2. var $ = window.optimizely.get('jquery');
  3. var utils = window.optimizely.get('utils');
  4.  
  5. utils.waitForElement('.do_subscribe_users.closeable').then(function(){
  6. $(document).on('click', function(event) {
  7. if(!$(event.target).closest('.do_subscribe_users.closeable').length) {
  8. $('.do_subscribe_users.closeable').addClass('hidden');
  9. }
  10. });
  11. });
  12.  
  13. })();
  14.  
  15.  
  16. .user-sub-modal-layer.modal-visible.attendant_modal{
  17. height: 80%;
  18. width: 80%;
  19. position: fixed;
  20. top: 50%;
  21. left: 50%;
  22. transform: translateY(-50%) translateX(-50%);
  23. }
  24.  
  25. .subscription_modal_bg_container.subscription_modal.attendant_modal .attendant_background,
  26. .subscription_modal_bg_container.subscription_modal.attendant_modal{height: 100%}
  27.  
  28. span.close_btn:after {
  29. content: "No, thanks";
  30. display: block;
  31. position: absolute;
  32. left: -113px;
  33. top: 5px;
  34. color: #fff;
  35. font-size: 21px;
  36. font-weight: 600;
  37. border-bottom: 1px solid #fff;
  38. }
  39.  
  40. .close_btn_container .close_btn:before{
  41. color: #fff;
  42. content: "X";
  43. line-height: 20px;
  44. position: absolute;
  45. top: 11px;
  46. font-weight: 700;
  47. font-size: 21px;
  48. }
  49.  
  50. @media screen and (min-width: 1360px) {
  51. .subscription-modal-form.sub-modal_content.subscription_modal_bg_container {
  52. left: 50% !important;
  53. }
  54.  
  55. .user-sub-modal-layer.modal-visible.attendant_modal{
  56. width: 70%;
  57. }
  58.  
  59. }
  60.  
  61.  
  62. @media screen and (min-width: 1200px) {
  63. .subscription-modal-form.sub-modal_content.subscription_modal_bg_container {
  64. left: 50% !important;
  65. }
  66.  
  67. }
  68.  
  69.  
  70. @media screen and (max-width: 1200px) {
  71. .subscription-modal-form.sub-modal_content.subscription_modal_bg_container {
  72. left: 5% !important;
  73. }
  74.  
  75. .user-sub-modal-layer.modal-visible.attendant_modal{
  76. width: 60%;
  77. }
  78. }
Add Comment
Please, Sign In to add comment