myStickymenu - Version 2.6

Version Description

Add a contact form to your Welcome bar and collect your visitors contact information Pro feature: add a discount coupon code element to your Welcome bar Pro feature: get email notifications for contact form leads Weve also fixed some bugs

Download this release

Release Info

Developer premiocommit
Plugin Icon 128x128 myStickymenu
Version 2.6
Comparing to
See all releases

Code changes from version 2.5.9 to 2.6

css/mystickymenu-admin-rtl.css CHANGED
@@ -38,6 +38,7 @@
38
  font-weight: semibold;
39
  font-style: normal;
40
  }
 
41
  a:active, a:focus, li:focus, li:active {
42
  outline: none !important;
43
  border: none !important;
@@ -63,13 +64,13 @@ div#wpcontent{background:none !important;}
63
 
64
  #mystickymenu {
65
  font-family: 'Lato', sans-serif;
66
- /*background: #fff;*/
67
  padding: 0 0 15px 0;
68
- border-radius: 10px;
69
  }
70
 
71
  .main-content {
72
- float: right;
73
  width: 65%;
74
  }
75
 
@@ -110,8 +111,6 @@ div#wpcontent{background:none !important;}
110
  cursor: default;
111
  }
112
 
113
-
114
-
115
  /* */
116
  .mystickymenu-content-section input[type="number"]#myfixed_zindex {
117
  -moz-appearance: textfield-multiline;
@@ -132,8 +131,8 @@ div#wpcontent{background:none !important;}
132
  position: relative;
133
  }
134
 
135
- #mystickymenu .mystickymenu-content-section .mysticky-number {
136
- /*width: 90px;*/
137
  }
138
 
139
  #mystickymenu input[type=number] {
@@ -156,7 +155,7 @@ div#wpcontent{background:none !important;}
156
  margin-top: 7px;
157
  }
158
 
159
- .mysticky-welcomebar-setting-content-left input[type="text"]:disabled {
160
  color: #a0a5aa;
161
  border-color: #ddd;
162
  background-color: #f7f7f7;
@@ -167,7 +166,7 @@ div#wpcontent{background:none !important;}
167
  }
168
 
169
  .mystickymenu-content-section .mysticky-number .pt_number {
170
- float: right;
171
  position: relative;
172
  height: 30px;
173
  }
@@ -175,7 +174,7 @@ div#wpcontent{background:none !important;}
175
  .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton {
176
  position: relative;
177
  cursor: pointer;
178
- border-right: 1px solid #b7b7b7;
179
  width: 15px;
180
  text-align: center;
181
  color: #333;
@@ -291,7 +290,7 @@ label {
291
 
292
  .mystickynumber {
293
  position: relative;
294
- padding-right: 30px;
295
  }
296
 
297
  .pt_numberbutton.pt_numberup {
@@ -301,7 +300,7 @@ label {
301
  background-color: #808080;
302
  border-radius: 50%;
303
  position: relative;
304
- margin-right: 5px;
305
  display: inline-block;
306
  color: white;
307
  font-size: 21px;
@@ -318,7 +317,7 @@ label {
318
  border-radius: 50%;
319
  position: absolute;
320
  top: 8px;
321
- right: 0;
322
  display: inline-block;
323
  color: white;
324
  font-size: 21px;
@@ -358,8 +357,8 @@ span.input-px {
358
  color: #7559C0;
359
  padding-top: 2px;
360
  padding-bottom: 6px;
361
- padding-right: 10px;
362
  padding-left: 10px;
 
363
  font-weight: bold;
364
  text-transform: uppercase;
365
  font-size: 12px;
@@ -390,7 +389,7 @@ input#submit.button.button-primary {
390
  text-transform: uppercase;
391
  border-radius: 31px;
392
  font-size: 26px;
393
- padding-right: 23px;
394
  padding-left: 23px;
395
  height: 60px;
396
  width: 200px;
@@ -400,12 +399,16 @@ input#submit.button.button-primary {
400
  text-shadow: none;
401
  }
402
 
 
 
 
 
403
  input.button.button-secondary.confirm {
404
  background: #969696;
405
  border-color: #969696;
406
  text-transform: uppercase;
407
  font-size: 26px;
408
- padding-right: 23px;
409
  padding-left: 23px;
410
  float: left;
411
  color: white;
@@ -450,20 +453,20 @@ label.mysticky_title {
450
  }
451
 
452
  .mystickymenu-content-option p label.mysticky_text {
453
- margin-right: 0px;
454
  }
455
 
456
  span.mysticky_text {
457
  font-size: 14px;
458
  color: #9E9E9E;
459
- margin-right: 20px;
460
  font-style: italic;
461
  }
462
 
463
  label.mysticky_text {
464
  font-size: 14px;
465
  /*color: #9E9E9E;*/
466
- margin-right: 20px;
467
  font-style: italic;
468
  }
469
 
@@ -500,7 +503,7 @@ button.button.wp-color-result .color-alpha {
500
  }
501
 
502
  .mystickymenu-content-section h3 {
503
- margin-right: 20px;
504
  font-weight: 600;
505
  font-size: 26px;
506
  line-height: 1.2;
@@ -557,7 +560,7 @@ p.description.mystuckymenu-class-id .dashicons-controls-play{
557
  border-radius: 50%;
558
  }
559
  p.description.mystuckymenu-class-id .dashicons-controls-play::before {
560
- margin-right: 2px;
561
  }
562
  p.description {
563
  color: rgba(79, 79, 79, 0.5);
@@ -625,8 +628,8 @@ div#slider.ui-slider {
625
  /*.sticky-header-content {
626
  display: none;
627
  }*/
628
- .mysticky-welcomebar-setting-content-left label.mysticky-welcomebar-switch {
629
- width: 55px;
630
  }
631
 
632
  /*New Welcomebar Page css*/
@@ -636,7 +639,7 @@ div#slider.ui-slider {
636
  .mystickymenu-new-widget-wrap {
637
  border-radius: 10px;
638
  box-shadow: 0 0 6px #ccc;
639
- padding: 12px;
640
  margin: 20px auto 0 auto;
641
  width: 100%;
642
  max-width: 776px;
@@ -696,8 +699,8 @@ a.new-upgrade-button {
696
  border: solid 1px #605dec;
697
  border-radius: 50%;
698
  position: absolute;
699
- right: 0;
700
  left: 0;
 
701
  margin: 0 auto;
702
  top: -25px;
703
  background: #fff;
@@ -730,21 +733,21 @@ a.new-upgrade-button {
730
  @media only screen and (min-width: 1024px) and (max-width: 1200px) {
731
  .pt_numberbutton.pt_numberdown {
732
  position: relative;
733
- margin-right: -75px;
734
  top: -29px;
735
  }
736
 
737
  .pt_numberbutton.pt_numberup {
738
  position: relative;
739
  top: -29px;
740
- right: 70px;
741
  }
742
 
743
  /* span.input-px { */
744
  /* position: relative; */
745
- /* right: 112px; */
746
  /* top: -24px !important; */
747
- /* margin-right: -20px; */
748
  /* } */
749
  }
750
 
@@ -774,7 +777,7 @@ a.new-upgrade-button {
774
  .rpt_2_plans .rpt_plan {
775
  margin-left: 2%;
776
  width: 49%;
777
- float: right
778
  }
779
 
780
  .rpt_2_plans .rpt_plan:last-child {
@@ -784,7 +787,7 @@ a.new-upgrade-button {
784
  .rpt_3_plans .rpt_plan {
785
  margin-left: 2%;
786
  width: 32%;
787
- float: right
788
  }
789
 
790
  .rpt_3_plans .rpt_plan:last-child {
@@ -794,7 +797,7 @@ a.new-upgrade-button {
794
  .rpt_4_plans .rpt_plan {
795
  margin-left: 1%;
796
  width: 24.25%;
797
- float: right
798
  }
799
 
800
  .rpt_4_plans .rpt_plan:last-child {
@@ -804,7 +807,7 @@ a.new-upgrade-button {
804
  .rpt_5_plans .rpt_plan {
805
  margin-left: .5%;
806
  width: 19.6%;
807
- float: right
808
  }
809
 
810
  .rpt_5_plans .rpt_plan:last-child {
@@ -841,7 +844,7 @@ a.new-upgrade-button {
841
 
842
  .rpt_style_basic .rpt_plan .rpt_title {
843
  border-bottom: #6371db solid 1px;
844
- border-top-right-radius: 8px;
845
  border-top-left-radius: 8px;
846
  }
847
 
@@ -900,7 +903,7 @@ a.new-upgrade-button {
900
  .rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
901
  position: relative;
902
  top: -44px;
903
- right: -10px;
904
  font-size: 35px;
905
  line-height: 0
906
  }
@@ -916,19 +919,19 @@ a.new-upgrade-button {
916
  .rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
917
  font-size: 30px;
918
  top: -44px;
919
- right: -4px
920
  }
921
 
922
  .rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
923
  font-size: 25px;
924
  top: -30px;
925
- right: -4px
926
  }
927
 
928
  .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
929
  font-size: 21px;
930
  top: -14px;
931
- right: -4px
932
  }
933
 
934
  .rpt_style_basic .rpt_plan .rpt_head {
@@ -1241,7 +1244,7 @@ a.new-upgrade-button {
1241
  }
1242
 
1243
  .rpt_style_basic .rpt_plan .rpt_foot {
1244
- border-bottom-right-radius: 8px;
1245
  border-bottom-left-radius: 8px
1246
  }
1247
 
@@ -1306,7 +1309,7 @@ a.new-upgrade-button {
1306
  }
1307
 
1308
  .rpt_custom_btn {
1309
- border-bottom-right-radius: 5px;
1310
  border-bottom-left-radius: 5px;
1311
  text-align: center;
1312
  padding: 16px 20px
@@ -1379,7 +1382,7 @@ a.rpt_tooltip .rpt_tooltip_plus {
1379
  a.rpt_tooltip span.intool b {
1380
  width: 10px;
1381
  height: 10px;
1382
- margin-right: 35%;
1383
  margin-top: -15px;
1384
  position: absolute;
1385
  -webkit-transform: rotate(-45deg);
@@ -1391,15 +1394,15 @@ a.rpt_tooltip span.intool b {
1391
  }
1392
 
1393
  .rpt_3_plans a.rpt_tooltip > span.intool {
1394
- margin-right: -1%
1395
  }
1396
 
1397
  .rpt_4_plans a.rpt_tooltip > span.intool {
1398
- margin-right: 0
1399
  }
1400
 
1401
  .rpt_5_plans a.rpt_tooltip > span.intool {
1402
- margin-right: -2%
1403
  }
1404
 
1405
  .entry-content .rpt_plan a, .rpt_plan a {
@@ -1430,7 +1433,7 @@ a.rpt_tooltip span.intool b {
1430
  }
1431
  .mystickymenu-testimonial .testimonial-data {
1432
  position: relative;
1433
- margin-right: 30px;
1434
  padding: 10px 10px 10px 40px;
1435
  background: #f5f5f5;
1436
  font-size: 16px;
@@ -1526,7 +1529,7 @@ p.udner-title {
1526
 
1527
  .rpt_plan .rpt_head .rpt_price .rpt_currency {
1528
  top: -36px !important;
1529
- right: -10px !important;
1530
  font-size: 35px !important
1531
  }
1532
  }
@@ -1567,7 +1570,7 @@ p.udner-title {
1567
  width: 85%;
1568
  display: inline-block;
1569
  vertical-align: middle;
1570
- padding-right: 15px;
1571
  }
1572
  .testimonial-image img {
1573
  border-radius: 50%;
@@ -1611,19 +1614,7 @@ p.udner-title {
1611
  width: 0;
1612
  height: 0;
1613
  }
1614
- .mysticky-welcomebar-switch .slider {
1615
- border-radius: 15px;
1616
- position: absolute;
1617
- cursor: pointer;
1618
- top: 0;
1619
- right: 0;
1620
- left: 0;
1621
- bottom: 0;
1622
- background-color: #ccc;
1623
- border: 2px solid #ccc;
1624
- -webkit-transition: .4s;
1625
- transition: .4s;
1626
- }
1627
  .mysticky-welcomebar-switch .slider:before {
1628
  border-radius: 50%;
1629
  position: absolute;
@@ -1636,8 +1627,20 @@ p.udner-title {
1636
  -webkit-transition: .4s;
1637
  transition: .4s;
1638
  }
1639
-
1640
- .mysticky-welcomebar-switch .slider:before {
 
 
 
 
 
 
 
 
 
 
 
 
1641
  border-radius: 50%;
1642
  position: absolute;
1643
  content: "";
@@ -1649,6 +1652,8 @@ p.udner-title {
1649
  -webkit-transition: .4s;
1650
  transition: .4s;
1651
  }
 
 
1652
  .mysticky-welcomebar-switch input:checked + .slider {
1653
  background-color: #7761DF;
1654
  border: 2px solid #7761DF;
@@ -1662,7 +1667,6 @@ p.udner-title {
1662
  transform: translateX(24px);
1663
  }
1664
 
1665
-
1666
  .welcombar-status-switch{
1667
  display: inline-block;
1668
  width:46px;
@@ -1698,7 +1702,7 @@ p.udner-title {
1698
  vertical-align: top;
1699
  }
1700
  .mysticky-welcomebar-header-title h3 + .mysticky-welcomebar-switch {
1701
- margin-right: 20px;
1702
  }
1703
  .mysticky-welcomebar-subheader-title {
1704
  padding: 40px 0 30px;
@@ -1712,7 +1716,7 @@ p.udner-title {
1712
  }
1713
  .mysticky-welcomebar-setting-content {
1714
  display: flex;
1715
- align-items: center;
1716
  padding-bottom: 20px;
1717
  }
1718
  .mysticky-welcomebar-setting-content.show-on-apper {
@@ -1724,54 +1728,55 @@ p.udner-title {
1724
  color: #4F4F4F;
1725
  font-weight: 500;
1726
  margin-top: 10px;
1727
- width: 255px;
1728
  padding-left: 10px;
1729
  }
1730
  .mysticky-welcomebar-setting-content.show-on-apper > label {
1731
  margin-top: 10px;
1732
  }
1733
- .mysticky-welcomebar-setting-content-left {
1734
  width: 100%;
1735
  align-items: center;
1736
  display: flex;
1737
  }
1738
- /*----------------------*/
1739
- /*.mysticky-welcomebar-setting-wrap{
1740
- height: 100vh;
1741
- }*/
1742
  .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade {
1743
  display: inline-block;
1744
- vertical-align: middle;
1745
  float: none;
1746
- margin-right: 12px;
1747
  }
1748
  .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {
1749
- margin-right: 50px;
1750
  }
1751
  .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-remove-getbar .myStickymenu-upgrade {
1752
- margin-right: 130px;
1753
  }
1754
- .mysticky-welcomebar-setting-content-left.mysticky-welcomebar-colorpicker .wp-picker-container{
1755
  display: inline-block;
1756
  }
1757
- .mysticky-welcomebar-setting-content-left label {
1758
  display: inline-block;
1759
  vertical-align: top;
1760
  width: 100px;
1761
  padding-left: 10px;
1762
  }
1763
- .mysticky-welcomebar-setting-content-left .wp-picker-input-wrap label {
 
 
 
 
 
1764
  width: auto;
1765
  }
1766
- .mysticky-welcomebar-setting-content-left .mysticky-welcomebar-trigger-wrap label {
1767
  width: auto;
1768
  }
1769
- #mystickymenu .mysticky-welcomebar-setting-content-left .px-wrap input {
1770
  padding-left: 60px;
1771
  }
1772
- .mysticky-welcomebar-setting-content-left select ,
1773
- .mysticky-welcomebar-setting-content-left input[type="text"] ,
1774
- .mysticky-welcomebar-setting-content-left textarea {
1775
  width: 400px;
1776
  height: 42px;
1777
  border-radius: 20px;
@@ -1785,16 +1790,16 @@ p.udner-title {
1785
  font-weight: 400;
1786
  }
1787
 
1788
- .mysticky-welcomebar-setting-content-left input::placeholder,
1789
- .mysticky-welcomebar-setting-content-left input:-ms-input-placeholder,
1790
- .mysticky-welcomebar-setting-content-left input::-ms-input-placeholder {
1791
  color: #b5b7b9;
1792
  opacity:0.6;
1793
  }
1794
- .mysticky-welcomebar-setting-content-left select {
1795
  padding-left: 22px;
1796
  }
1797
- .mysticky-welcomebar-setting-content-left textarea {
1798
  height: 100px;
1799
  border-radius: 10px;
1800
  padding-top: 9px;
@@ -1815,7 +1820,7 @@ p.udner-title {
1815
  vertical-align: top;
1816
  }
1817
  .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
1818
- padding-right: 10px;
1819
  }
1820
  .mysticky-welcomebar-redirect label {
1821
  width: auto;
@@ -1827,16 +1832,16 @@ p.udner-title {
1827
  display: inline-block;
1828
  vertical-align: top;
1829
  }
1830
- .mysticky-welcomebar-setting-content-left .mysticky-welcomebar-expirydate input {
1831
- padding-right: 55px;
1832
  }
1833
  .mysticky-welcomebar-expirydate .dashicons {
1834
  position: absolute;
1835
  top: 0;
1836
- right: 0;
1837
  bottom: 0;
1838
  color: #a7a7a7;
1839
- border-left: 1px solid #a7a7a7;
1840
  width: 46px;
1841
  height: 100%;
1842
  line-height: 40px;
@@ -1868,23 +1873,23 @@ a.create-rule {
1868
  position: relative;
1869
  }
1870
  .mysticky-welcomebar-page-option select {
1871
- width: 230px;
1872
  }
1873
  .mysticky-welcomebar-page-option .myStickymenu-upgrade {
1874
  display: none;
1875
  position: absolute;
1876
  top: 9px;
1877
- right: 50%;
1878
  -webkit-transform: translateX(-50%);
1879
  -moz-transform: translateX(-50%);
1880
  transform: translateX(-50%);
1881
  text-align: center;
1882
- margin-right: 0;
1883
  }
1884
  .mysticky-welcomebar-page-option .myStickymenu-upgrade a {
1885
  padding-top: 5px;
1886
  padding-bottom: 7px;
1887
- padding-right: 20px;
1888
  padding-left: 20px;
1889
  font-size: 14px;
1890
  box-shadow: 0 0 3px #999;
@@ -1927,8 +1932,8 @@ a.create-rule {
1927
  float: none;
1928
  position: absolute;
1929
  top: 0;
1930
- right: 50%;
1931
- /* left: 0; */
1932
  text-align: center;
1933
  /* background-color: rgba(0,0,0,0.6); */
1934
  bottom: 0;
@@ -1946,7 +1951,7 @@ a.create-rule {
1946
  .mysticky-page-option .myStickymenu-upgrade a {
1947
  padding-top: 5px;
1948
  padding-bottom: 7px;
1949
- padding-right: 20px;
1950
  padding-left: 20px;
1951
  font-size: 14px;
1952
  box-shadow: 0 0 3px #999;
@@ -2003,22 +2008,13 @@ a.create-rule {
2003
  display: inline-block;
2004
  vertical-align: top;
2005
  }
2006
- .mysticky-welcomebar-setting-left {
2007
- /*position: absolute;
2008
- right: 20px;*/
2009
- /*left: 50px;*/
2010
- /*width: 500px;*/
2011
- }
2012
- .mysticky-welcomebar-setting-right{
2013
- position: fixed;
2014
- top: 32px !important;
2015
- left:40px;
2016
- }
2017
- .mysticky-welcomebar-setting-right{
2018
- margin-top: 0px;
2019
- position: absolute;
2020
  }
2021
-
2022
  .mysticky-welcomebar-header-title::after {
2023
  content: "";
2024
  display: block;
@@ -2045,7 +2041,7 @@ a.create-rule {
2045
  text-align: center;
2046
  line-height: 36px;
2047
  margin-bottom: 0;
2048
- margin-right: 10px;
2049
  }
2050
  .mysticky-welcomebar-preview-window ul li.preview-active {
2051
  color: #fff;
@@ -2061,7 +2057,7 @@ a.create-rule {
2061
  margin: 0 auto;
2062
  padding: 0;
2063
  height: 400px;
2064
- position: relative !important;
2065
  overflow: hidden;
2066
  max-width: 100%;
2067
  -webkit-transition: all 0.5s ease 0s;
@@ -2071,7 +2067,6 @@ a.create-rule {
2071
  .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
2072
  max-width: 320px;
2073
  }
2074
- /*----------------------------*/
2075
  .mysticky-welcomebar-submit {
2076
  float: left;
2077
  padding-top: 50px;
@@ -2089,7 +2084,7 @@ a.create-rule {
2089
  border-radius: 31px;
2090
  font-size: 26px;
2091
  margin-left: 10px;
2092
- padding-right: 23px;
2093
  padding-left: 23px;
2094
  height: 60px;
2095
  width: 200px;
@@ -2098,6 +2093,12 @@ a.create-rule {
2098
  font-weight: 600;
2099
  text-shadow: none;
2100
  }
 
 
 
 
 
 
2101
  .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-buttons {
2102
  padding-left: 0;
2103
  }
@@ -2106,7 +2107,7 @@ a.create-rule {
2106
  border-color: #00c67c;
2107
  color: #fff;
2108
  }
2109
- .mysticky-welcomebar-setting-content-left.mysticky-welcomebar-setting-redirect-wrap {
2110
  display: block;
2111
  }
2112
  .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-redirect-wrap .myStickymenu-upgrade {
@@ -2125,7 +2126,7 @@ a.create-rule {
2125
  }
2126
  .updates-content-buttons button {
2127
  margin: 10px 3px !important;
2128
- float: right;
2129
  }
2130
  .updates-content-buttons a span {
2131
  -webkit-animation: fa-spin 0.75s infinite linear;
@@ -2173,7 +2174,7 @@ a.create-rule {
2173
  padding: 0 20px;
2174
  }
2175
  div#wp-mysticky_bar_text-wrap {
2176
- /*width: 40%;*/
2177
  }
2178
 
2179
  .mystickymenu-popup {
@@ -2181,7 +2182,7 @@ div#wp-mysticky_bar_text-wrap {
2181
  width: 100%;
2182
  height: 100%;
2183
  top: 0;
2184
- right: 0;
2185
  z-index: 100001;
2186
  background: rgba(0, 0, 0, .75)
2187
  }
@@ -2193,8 +2194,8 @@ div#wp-mysticky_bar_text-wrap {
2193
  margin: auto;
2194
  top: 50%;
2195
  position: absolute;
2196
- right: 0;
2197
  left: 0;
 
2198
  border-radius: 5px;
2199
  transform: translate(0, -50%);
2200
  -webkit-transform: translate(0, -50%);
@@ -2264,10 +2265,10 @@ div#wp-mysticky_bar_text-wrap {
2264
  }
2265
  @media only screen and (max-width: 1490px) {
2266
  .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2267
- padding-right: 10px;
2268
  }
2269
- .mysticky-welcomebar-setting-left {
2270
- /*width: 600px;*/
2271
  }
2272
  }
2273
  @media only screen and (max-width: 1355px) {
@@ -2281,7 +2282,7 @@ div#wp-mysticky_bar_text-wrap {
2281
  display: block;
2282
  }
2283
  .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2284
- padding-right: 0;
2285
  padding-top: 10px;
2286
  }
2287
  }
@@ -2300,19 +2301,19 @@ div#wp-mysticky_bar_text-wrap {
2300
  }
2301
  }
2302
  @media only screen and (max-width: 1100px) {
2303
- .mysticky-welcomebar-setting-left {
2304
  width: 340px;
2305
  left: 40px;
2306
  }
2307
  }
2308
  @media only screen and (max-width: 1024px) {
2309
- .mysticky-welcomebar-setting-left {
2310
  left: 40px;
2311
  width: 310px;
2312
  }
2313
  .mysticky-welcomebar-setting-content > label {
2314
  font-size: 16px;
2315
- width: 175px;
2316
  padding-left: 10px;
2317
  }
2318
  .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
@@ -2324,7 +2325,7 @@ div#wp-mysticky_bar_text-wrap {
2324
 
2325
  .mysticky-custom-fields-tooltip{
2326
  position: relative;
2327
- margin-right: 5px;
2328
  }
2329
  .mysticky-custom-fields-tooltip:hover p {
2330
  bottom: 100%;
@@ -2358,7 +2359,7 @@ div#wp-mysticky_bar_text-wrap {
2358
  color: #fff;
2359
  position: absolute;
2360
  bottom: 200%;
2361
- right: -20px;
2362
  margin-bottom: 10px;
2363
  -webkit-transition: all 0.5s ease 0s;
2364
  -moz-transition: all 0.5s ease 0s;
@@ -2369,13 +2370,13 @@ div#wp-mysticky_bar_text-wrap {
2369
  .mysticky-custom-fields-tooltip p::before {
2370
  content: "";
2371
  border-top: 10px solid #000;
2372
- border-right: 10px solid transparent;
2373
  border-left: 10px solid transparent;
2374
  width: 0;
2375
  height: 0;
2376
  position: absolute;
2377
  bottom: -8px;
2378
- right: 25px;
2379
  }
2380
 
2381
  .mysticky-welcomebar-poptin-content{
@@ -2390,39 +2391,10 @@ div#wp-mysticky_bar_text-wrap {
2390
  }
2391
  .mysticky-welcome-poptin-logo{width: 100px;}
2392
 
 
2393
 
2394
- /*--------------------------------New Add---------------------------*/
2395
-
2396
- .mysticky-welcomebar-fixed .mysticky-welcomebar-btn{
2397
- padding-right: 25px !important;
2398
- }
2399
-
2400
- .mysticky-welcomebar-setting-right .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed {
2401
- position:relative; !important;
2402
- }
2403
- .wp-editor-area{height: 100px !important;}
2404
 
2405
- .mysticky-welcomebar-setting-content-right select, .mysticky-welcomebar-setting-content-right input[type="text"], .mysticky-welcomebar-setting-content-right textarea {
2406
- width: 400px;
2407
- height: 42px;
2408
- border-radius: 20px;
2409
- color: #32373c;
2410
- display: block;
2411
- padding: 0 10px;
2412
- box-shadow: none;
2413
- border: 1px solid #DCE2E2;
2414
- margin: 0;
2415
- font-size: 14px;
2416
- font-weight: 400;
2417
- align-items: center;
2418
- }
2419
- .mysticky-welcomebar-expirydate-gmt{float: left;}
2420
- .mysticky_welcome_expiry1{padding-right: 50px !important;}
2421
 
2422
- /*.plan-price{
2423
- left: 12px !important;
2424
- }
2425
- */
2426
 
2427
 
2428
 
@@ -2433,6 +2405,7 @@ div#wp-mysticky_bar_text-wrap {
2433
  /*===============================================================================================*/
2434
 
2435
 
 
2436
  /*.mysticky-welcomebar-fixed .mysticky-w-close-btn {
2437
  display: none;
2438
  vertical-align: top;
@@ -2454,6 +2427,8 @@ div#wp-mysticky_bar_text-wrap {
2454
  -webkit-transform-origin: 50% 50%;
2455
  -moz-transform-origin: 50% 50%;
2456
  transform-origin: 50% 50%;
 
 
2457
  }
2458
 
2459
 
@@ -2465,9 +2440,6 @@ div#wp-mysticky_bar_text-wrap {
2465
  }*/
2466
 
2467
 
2468
-
2469
-
2470
-
2471
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
2472
  display: none;
2473
  vertical-align: top;
@@ -2531,7 +2503,7 @@ div#wp-mysticky_bar_text-wrap {
2531
  width: 20px;
2532
  height: 20px;
2533
  line-height: 20px;
2534
- right: 0px;
2535
  }
2536
  }
2537
 
@@ -2548,10 +2520,11 @@ div#wp-mysticky_bar_text-wrap {
2548
  @media only screen and (max-width: 480px) {
2549
 
2550
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
2551
- right: 7px;
2552
  }
2553
  }
2554
-
 
2555
  /* tooltip css */
2556
  .tooltip {
2557
  position: relative;
@@ -2587,27 +2560,27 @@ div#wp-mysticky_bar_text-wrap {
2587
 
2588
  .tooltip:hover .tooltiptext {
2589
  visibility: visible;
2590
- }
2591
 
2592
 
2593
  /*---------------------------------------------------------------------------// 22-12-21 //-----------------------*/
2594
 
2595
  .mystickymenu-wrap{text-align:center;}
2596
- /*.mystickymenu-wrap .mystickymenu-welcome-img img{width:40%; height:auto;}*/
2597
 
2598
  .mystickymenu-newwelcomebar-contents a,
2599
  .mystickymenu-widgets-btn-wrap a{
2600
  display:inline-flex;
2601
  color:#fff !important;
2602
  font-size:16px;
2603
- font-weight:400;
2604
  font-family: 'Lato', sans-serif;
2605
- padding:10px 20px;
2606
  text-decoration:none;
2607
  background:#6558F5;
2608
  border-radius:5px;
2609
  align-items: center;
2610
- box-shadow: 0px 12px 12px -6px rgba(101, 107, 232, 0.25);
2611
  }
2612
 
2613
  .mystickymenu-tab-boxes{display:flex; justify-content: center; margin-top:50px;}
@@ -2630,9 +2603,8 @@ padding:8px 0; background:#DFE6ED; text-align:center; line-height:20px;}
2630
  .mystickymenu-tab-box .stickymenu-box-button a{
2631
  display: inline-flex;
2632
  color: rgba(21, 25, 32, 0.5);
2633
- font-size: 16px;
2634
- font-weight: 400;
2635
- font-family: 'Lato', sans-serif;
2636
  padding: 12px 61px;
2637
  text-decoration: none;
2638
  border: 1px solid rgba(86, 103, 137, 0.26);
@@ -2640,13 +2612,43 @@ padding:8px 0; background:#DFE6ED; text-align:center; line-height:20px;}
2640
  align-items: center;
2641
  background: none;
2642
  line-height: 24px;
 
2643
  }
2644
- .mystickymenu-tab-box ul.documents-wrap-list{ text-align:right; list-style-type:disc; margin:15px 35px 15px 15px;}
2645
  .mystickymenu-tab-box ul.documents-wrap-list li{color:#6558F5; font-size:25px;}
2646
  .mystickymenu-tab-box ul.documents-wrap-list li a{color:#6558F5; font-size:14px;}
2647
 
2648
- /**/
2649
- .mystickymenu-widgets table, td, th{ border:1px solid #EBEBEB;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2650
  .mystickymenu-wrap table.mystickymenu-widgets-lists{border-collapse:collapse; width:100%;
2651
  margin:24px 0 0 0; background-color:#fff;}/*---------------------------------------------------------------------20-1-22-----*/
2652
 
@@ -2663,7 +2665,7 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2663
  width: 100%;
2664
  height: 100%;
2665
  background-color: rgba(0,0,0,0.3);
2666
- z-index: 9;
2667
  }
2668
 
2669
  .mystickymenu-action-popup{
@@ -2673,7 +2675,7 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2673
  -webkit-transform: translateX(-50%);
2674
  -moz-transform: translateX(-50%);
2675
  transform: translateX(-50%);
2676
- z-index: 10;
2677
  width: 500px;
2678
  background-color: #fff;
2679
  padding: 0 0 28px 0;
@@ -2691,76 +2693,54 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2691
  margin: 10px auto;
2692
  background:#4797DE;
2693
  }*/
2694
- .mystickymenu-action-popup-header{
2695
- padding: 25px 25px 40px 25px;
2696
- border-bottom: 1px solid #EAEFF2;
2697
- }
2698
-
2699
- .mystickymenu-action-popup-header h3{
2700
- margin: 0 12px !important;
2701
- position:relative;
2702
- float:left;
2703
-
2704
- }
2705
-
2706
- .mystickymenu-action-popup-header span{
2707
- float:right;
2708
- }
2709
  .mystickymenu-action-popup-footer button{cursor: pointer !important;}
2710
  .mystickymenu-action-popup .mystickymenu-action-popup-footer button.btn-disable-cancel{
2711
  display: inline-flex;
2712
  color: #fff;
2713
  background: #F33;
2714
- font-size: 16px;
2715
- font-weight: 400;
2716
- font-family: 'Lato', sans-serif;
2717
  padding: 12px 82px;
2718
  text-decoration: none;
2719
  border-radius: 8px;
2720
  align-items: center;
2721
- margin-right: 15px;
2722
  border: none;
2723
  line-height: 24px;
2724
-
2725
  }
2726
  .mystickymenu-action-popup .mystickymenu-action-popup-body{margin:10px 30px;}
2727
 
2728
  /*#stickymenu_status_popupbox .mystickymenu-action-popup-body{margin:30px 56px;}*/
2729
 
2730
- .mystickymenu-action-popup .mystickymenu-action-popup-body p{
2731
- text-align: left;
2732
- float: left;
2733
- margin-left: 0;
2734
- padding: 0 10px;
2735
- font-size: 16px;
2736
- font-weight: 400;
2737
- font-style: normal;
2738
- color: #181749;
2739
- }
2740
  /**/
2741
  .first-widget-popup{
2742
  text-align:center;
2743
  position: fixed;
2744
- top: 50px;
2745
  left: 50%;
2746
- -webkit-transform: translateX(-50%);
2747
- -moz-transform: translateX(-50%);
2748
- transform: translateX(-50%);
2749
- z-index: 10;
2750
  width: 500px;
2751
  background-color: #fff;
2752
  padding: 30px;
2753
  box-shadow: 0px 10px 15px rgb(0 0 0 / 10%), 0px 4px 6px rgb(0 0 0 / 5%);
2754
  border-radius:10px;
2755
-
2756
- }
2757
- .first-widget-popup h4,.first-widget-popup p,.first-widget-popup span,.first-widget-popup button,.first-widget-popup a{
2758
  font-family:'Lato', sans-serif;
 
2759
  }
2760
 
2761
  .mystickymenu_container_popupbox{
2762
  margin-top:10px;
2763
  }
 
 
 
 
 
 
 
2764
  .first-widget-popup h4{
2765
  font-weight: 600;
2766
  font-size: 24px;
@@ -2779,15 +2759,14 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2779
  .first-widget-popup a.btn-back-dashboard{
2780
  display:inline-flex;
2781
  color:#fff;
2782
- font-size:16px;
2783
- font-weight:400;
2784
- font-family: 'Lato', sans-serif;
2785
  padding:10px 20px;
2786
  text-decoration:none;
2787
  background:#6558F5;
2788
  border-radius:8px;
2789
- align-items: center;
2790
- margin: 36px 0 10px 0;
2791
  }
2792
  .close-chaty-maxvisitor-popup{
2793
  position:absolute;
@@ -2795,7 +2774,6 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2795
  left:17px;
2796
  }
2797
 
2798
-
2799
  .mysticky-stickymenu-header-title h3{
2800
  color:#1d2327;
2801
  display: inline-block;
@@ -2822,6 +2800,12 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2822
  padding: 15px 0;
2823
  border-radius: 10px;*/
2824
  }
 
 
 
 
 
 
2825
  a.copyicon{text-decoration:none; color:#000;}
2826
  /*.copyicon .dashicons{display:block;}*/
2827
 
@@ -2830,45 +2814,51 @@ a.copyicon{text-decoration:none; color:#000;}
2830
  .mystickymenu-dashboard .welcomebars-list-table{
2831
  background:#fff;
2832
  /*border-radius:15px;*/
2833
- padding:20px 40px;
2834
  text-align:center;
2835
  }
2836
- .mystickymenu-dashboard h3{margin:5px 0;}
 
2837
 
2838
  .mystickymenu-dashboard .header-section{
2839
  display: flex;
2840
  justify-content: space-between;
2841
- padding: 0 0 20px 0;
2842
  border-bottom: 1px solid #EBEBEB;
2843
  width: 100%;
2844
  margin: 0 0 24px 0;
2845
  }/*--------------------------------------------------------------------------------------------------30-2-2022----*/
2846
 
 
2847
  .mystickymenu-dashboard .heading-title{display:inline-flex;}
2848
  .mystickymenu-dashboard .mystickymenu-widgets-btn-wrap{display:inline-flex;}
2849
 
2850
  .mystickymenu-dashboard .mystickymenu-tab-boxs-wrap{display:block; justify-content:space-between; margin:20px 0;}/*00000000000000000000*/
2851
- .contactus-tab-option,.mystickymenu-tab-documentation{width:49%;} /*0000000000000000000000000000000000000000000000000000000000*/
2852
- .mystickymenu-new302box{display:flex; justify-content:space-between; flex-wrap:wrap;} /*000000000000000000000000000000000000000000000*/
 
2853
 
2854
  .stickymenu-tab-option{margin-bottom:15px;}
 
2855
  .mystickymenu-dashboard .msm-bgbox{display:block; background:#f7f7f7; padding:0;
2856
  box-sizing:border-box;} /*-------------------------------------------------------*/
2857
 
 
2858
  /*---------------------------------------------------------------------------------------------------------6-1-22-----*/
2859
 
2860
- .stickymenu-box-container ul.documents-wrap-list{ text-align:right; list-style-type:disc; margin:15px 30px 15px 15px;}
2861
  .stickymenu-box-container ul.documents-wrap-list li{color:#6558F5; font-size:25px; margin-bottom:8px;} /*------6-1-22--*/
2862
  .stickymenu-box-container ul.documents-wrap-list li a{color:#6558F5; font-family: 'Lato', sans-serif; font-size:16px;}
2863
 
2864
- .msm-bgbox .stickymenu-box-button{display: block; padding:0 48px 15px 15px;}
 
2865
 
2866
  .msm-bgbox .stickymenu-box-button a{
2867
  display:inline-flex;
2868
  color:#6558F5;
2869
  font-size:16px;
2870
- font-weight:500;
2871
- font-family: 'Lato', sans-serif;
2872
  padding:0 15px;
2873
  text-decoration:none;
2874
  border:1px solid #6558F5 !important;
@@ -2876,13 +2866,14 @@ box-sizing:border-box;} /*------------------------------------------------------
2876
  align-items: center;
2877
  background:none;
2878
  line-height:34px;
 
2879
  }
2880
  .contactus-title, .premio-footer-option,
2881
  .stickymenu-settings{display:flex; justify-content:space-between; align-items: center;}
2882
  .premio-footer-option{margin-top:6px;}
2883
  .premio-footer-option h3{color:#6558F5;}
2884
- .premio-footer-option h4{margin:5px 0;}
2885
- .premio-footer-option .premio-content-list{width:62%; margin:0;}
2886
 
2887
  a.copyicon1{color:#6558F5; line-height:23px; text-decoration:underline;}
2888
  a.copyicon1 span{text-decoration:none;}
@@ -2895,42 +2886,47 @@ a.copyicon1 span{text-decoration:none;}
2895
  .mystickymenu-welcome-img, .mystickymenu-newwelcomebar-contents,
2896
  .new-welcomebar-section-wrap .mystickymenu-features{width:auto;}
2897
 
2898
- .mystickymenu-wrap .mystickymenu-welcome-img img{width:80%; height:auto; text-align:center;}
2899
  .mystickymenu-newwelcomebar-contents{margin:0 10px;}
2900
  .mystickymenu-features{text-align:center;}
2901
 
2902
-
2903
  .mystickymenu-features .mystickymenu-features-list{ text-align:left; list-style-type:disc;
2904
  background: #F6F5FE;
2905
  padding: 30px 15px 15px 15px;
2906
  border-radius: 15px;
2907
  margin-top: -20px;
2908
  }
2909
- .mystickymenu-features-list ul.documents-wrap-list{margin:15px 30px 15px 15px;}
 
 
2910
 
2911
  .mystickymenu-features .mystickymenu-features-list li{color:#6558F5; font-family: 'Lato', sans-serif; font-size:16px;}/*----6-1-22-------*/
2912
 
2913
- .documents-wrap-list{ text-align:right; list-style-type:disc;}
2914
- .documents-wrap-list li{color:#6558F5; font-size:14px; margin-bottom:10px;}
2915
 
2916
  .mystickymenu-feature-title{
2917
  display:inline-flex;
2918
  color:#fff;
2919
- font-size:15px;
2920
  font-weight:500;
 
2921
  padding:10px 20px;
2922
  text-decoration:none;
2923
  background:#6558F5;
2924
  border-radius:5px;
2925
  align-items: center;
2926
- }
2927
- .mystickymenu-feature-title img{width:22px; margin-left:7px;}
2928
 
 
2929
  .welcomebars-list-table .mysticky-welcomebar-switch .slider{
2930
  background-color: #FF424D;
2931
  border: 2px solid #FF424D;
2932
  }
2933
 
 
2934
  .mystickymenu-action-popup-footer{
2935
  text-align:center;
2936
  display:inline-block;
@@ -2944,12 +2940,42 @@ a.copyicon1 span{text-decoration:none;}
2944
  display: block;
2945
  }
2946
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2947
  /*--------------------------------------------------------// 6-1-22 //------------------*/
2948
  .mystickymenu-newwelcomebar-contents h2{font-family: 'Lato', sans-serif; font-size:28px; font-weight:bold;}
2949
 
2950
- .premio-content-list span, .premio-footer-option label, .settings-content p, .contactus-contents-buttons span.folous,
2951
  .stickymenu-box-button,
2952
- .mystickymenu-newwelcomebar-contents p{font-family: 'Lato', sans-serif; font-size:16px; font-weight:400;color: #181749;font-style: normal;font-weight: 400;line-height: 24px;}
2953
 
2954
  .premio-content-list h4{font-family: 'Lato', sans-serif; font-size:16px; font-weight:bold;}
2955
 
@@ -2962,13 +2988,13 @@ a.copyicon1 span{text-decoration:none;}
2962
 
2963
  .stickymenubox-title-section h3,
2964
  .mystickymenu-tab-documentation h3, .contactus-title
2965
- {border-bottom:1px solid #EBEBEB; padding:24px 40px; margin:0;}/*------------------------------------------------20-1-22---*/
2966
  .contactus-title h3{margin:0;}
2967
 
2968
  .stickymenubox-title-section h3{margin:0 !important;}
2969
 
2970
  .premio-footer-option, .stickymenu-box-container, .stickymenu-box-button,
2971
- .stickymenu-settings{padding:15px 40px 15px 20px; } /*--------------------------------------------------------------------20-1-22---*/
2972
  .mystickymenu-dashboard .heading-title h3{font-family: 'Lato', sans-serif; font-size: 28px !important;
2973
  font-weight:600 !important; color:#1d2327 !important;}/*------------------------------------------------20-1-22---*/
2974
 
@@ -2976,8 +3002,36 @@ font-weight:600 !important; color:#1d2327 !important;}/*------------------------
2976
  a.add_new_welcombar{margin:auto 0;} /*------------------------------------------------20-1-22--new-*/
2977
  .new-welcomebar-section-wrap .mystickymenu-newwelcomebar-contents a{margin-top:30px;}
2978
 
 
2979
  .premio-footer-option h3 img{width:70px; height:auto; margin-left:10px;}
2980
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2981
  .add_new_welcombar:hover{
2982
  opacity: 0.9;
2983
  }
@@ -2985,6 +3039,7 @@ a.add_new_welcombar{margin:auto 0;} /*------------------------------------------
2985
  .tooltip img{
2986
  width:35px;
2987
  }
 
2988
  .mystickymenu-features{
2989
  max-width: 400px;
2990
  }
@@ -3023,34 +3078,11 @@ a.add_new_welcombar{margin:auto 0;} /*------------------------------------------
3023
  display: block;
3024
  }
3025
 
3026
- /*table.mystickymenu-widgets-lists,*/
3027
-
3028
- table.mystickymenu-widgets-lists td{
3029
- border:0.5px solid #F1F1F1;
3030
- }
3031
-
3032
- /*border radiuse in dashboard table */
3033
- table.mystickymenu-widgets-lists th{
3034
- border-top: 0 !important;
3035
- border-bottom: 1px solid #F1F1F1 !important;
3036
- border-left: 1px solid #F1F1F1 !important;
3037
- border-right: 1px solid #F1F1F1 !important;
3038
  }
3039
-
3040
- .mystickymenu-dashboard table tr:first-child th:first-child {
3041
- border-top-left-radius: 10px;
3042
- border-top: 0 !important;
3043
- border-left: 0 !important;
3044
- border-bottom: 0.2px #F1F1F1 !important;
3045
- border-right: 0.2px #F1F1F1 !important;
3046
- }
3047
-
3048
- .mystickymenu-dashboard table tr:first-child th:last-child {
3049
- border-top-right-radius: 10px;
3050
- border-top: 0 !important;
3051
- border-left: 0.2px #F1F1F1 !important;
3052
- border-bottom: 0.2px #F1F1F1 !important;
3053
- border-right: 0 !important;
3054
  }
3055
 
3056
 
@@ -3072,9 +3104,7 @@ table.mystickymenu-widgets-lists th{
3072
  .mystickymenu-newwelcomebar-contents{text-align:center; margin:15px 0;}
3073
 
3074
  .price-table-middle ul li a{width:65%;}
3075
- .right_tooltip:after {left: unset !important;}
3076
-
3077
- .cus-tooltip .tooltip__content img{width:396px; margin-top:5px;}
3078
 
3079
  }
3080
 
@@ -3087,34 +3117,27 @@ table.mystickymenu-widgets-lists th{
3087
  {padding: 15px 20px;}
3088
 
3089
  /*.price-table-middle ul li a{width:65%;}*/
3090
- .right_tooltip:after {left: unset !important;}
3091
- .cus-tooltip .tooltip__content{width:120% !important;}
3092
- .cus-tooltip .tooltip__content img{width:100% !important; margin-top:5px;}
 
 
3093
  }
3094
 
3095
-
3096
-
3097
  /*-------------------# 27-1-22 #--------*/
3098
  @media only screen and (min-width: 821px) {
3099
- .right_tooltip{right: unset !important; left:0 !important;}
3100
- .right_tooltip:after{right: 130px !important;}
3101
-
3102
- /*.cus-tooltip .tooltip__content{width:100% !important;}*/
3103
- .cus-tooltip .tooltip__content img{width:396px; margin-top:5px;}
3104
-
3105
  }
3106
 
3107
- /*--------------------------------------------------------------*/
3108
-
3109
-
3110
 
 
3111
 
3112
  .new_widget_row{
3113
  max-width: unset;
3114
  }
3115
 
3116
 
3117
-
3118
  /* ToolTip Side */
3119
  .html-tooltip {
3120
  position: relative;
@@ -3150,8 +3173,8 @@ table.mystickymenu-widgets-lists th{
3150
 
3151
  .html-tooltip.side .tooltip-text {
3152
  bottom: 125%;
3153
- right: 100%;
3154
- margin-right: 0;
3155
  top: 5px;
3156
  transform: translateY(-50%);
3157
  -webkit-transform: translateY(-50%);
@@ -3169,7 +3192,7 @@ table.mystickymenu-widgets-lists th{
3169
  z-index: 1201;
3170
  bottom: 125%;
3171
  left: 50%;
3172
- margin-right: -150px;
3173
  opacity: 0;
3174
  transition: opacity 0.3s;
3175
  font-size: 12px;
@@ -3196,7 +3219,7 @@ table.mystickymenu-widgets-lists th{
3196
  position: absolute;
3197
  top: -10px;
3198
  left: 50%;
3199
- margin-right: -5px;
3200
  border-width: 5px;
3201
  border-style: solid;
3202
  border-color: #333 transparent transparent transparent;
@@ -3217,29 +3240,23 @@ table.mystickymenu-widgets-lists th{
3217
  }
3218
 
3219
  .html-tooltip.side .price-plan-box{
3220
- margin-right: -147px !important;
3221
  top: -62px !important;
3222
  height: 115px;
3223
  text-align: left;
3224
  }
3225
 
3226
- .span.tooltip-text.top.price-plan-box::before {
3227
  border-width: 5px;
3228
  border-style: solid;
3229
  border-color: #1849ab transparent transparent transparent;
3230
  content: "";
3231
  left: 25px;
3232
- margin-right: -5px;
3233
  position: absolute;
3234
  top: 100%;
3235
  }
3236
 
3237
-
3238
- .html-tooltip-box{
3239
- padding: 0 0 48px 0 !important;
3240
- }
3241
-
3242
-
3243
  /***/
3244
 
3245
  .cus-tooltip span.tooltip-text::after {
@@ -3253,6 +3270,10 @@ table.mystickymenu-widgets-lists th{
3253
  top: 100%;
3254
  }
3255
 
 
 
 
 
3256
  .mystickymenu-widgets-lists thead tr{
3257
  height: 63px;
3258
  }
@@ -3261,6 +3282,12 @@ table.mystickymenu-widgets-lists th{
3261
  height: 88px;
3262
  }
3263
 
 
 
 
 
 
 
3264
  .mysticky-welcomebar-backword-page a{
3265
  text-decoration: none;
3266
  }
@@ -3268,18 +3295,13 @@ table.mystickymenu-widgets-lists th{
3268
  .mysticky-welcomebar-backword-page{
3269
  padding: 0;
3270
  margin: 0;
3271
- /*float: right;*/
3272
- text-align:end;
3273
  }
3274
 
3275
- .back-dashboard:before{
3276
- content: "\f345";
3277
- }
3278
 
3279
  .mysticky-stickymenu-backword-page{text-align:end; padding:0 15px; float: left; margin-top: 28px;}
3280
  .mysticky-stickymenu-backword-page a{text-decoration:none;}
3281
 
3282
-
3283
  .save_view_dashboard{
3284
  width: auto !important;
3285
  background: #6558F5 !important;
@@ -3293,4 +3315,550 @@ table.mystickymenu-widgets-lists th{
3293
 
3294
  #mysticky_welcomebar_fontsize{
3295
  color:#32373c !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3296
  }
38
  font-weight: semibold;
39
  font-style: normal;
40
  }
41
+
42
  a:active, a:focus, li:focus, li:active {
43
  outline: none !important;
44
  border: none !important;
64
 
65
  #mystickymenu {
66
  font-family: 'Lato', sans-serif;
67
+ /*background: #fff;
68
  padding: 0 0 15px 0;
69
+ border-radius: 10px;*/
70
  }
71
 
72
  .main-content {
73
+ float: left;
74
  width: 65%;
75
  }
76
 
111
  cursor: default;
112
  }
113
 
 
 
114
  /* */
115
  .mystickymenu-content-section input[type="number"]#myfixed_zindex {
116
  -moz-appearance: textfield-multiline;
131
  position: relative;
132
  }
133
 
134
+ #mystickymenu #mysticky_welcomebar_height{
135
+ width: 235px;
136
  }
137
 
138
  #mystickymenu input[type=number] {
155
  margin-top: 7px;
156
  }
157
 
158
+ .mysticky-welcomebar-setting-content-right input[type="text"]:disabled {
159
  color: #a0a5aa;
160
  border-color: #ddd;
161
  background-color: #f7f7f7;
166
  }
167
 
168
  .mystickymenu-content-section .mysticky-number .pt_number {
169
+ float: left;
170
  position: relative;
171
  height: 30px;
172
  }
174
  .mystickymenu-content-section .mysticky-number .pt_number .pt_numberbutton {
175
  position: relative;
176
  cursor: pointer;
177
+ border-left: 1px solid #b7b7b7;
178
  width: 15px;
179
  text-align: center;
180
  color: #333;
290
 
291
  .mystickynumber {
292
  position: relative;
293
+ padding-left: 30px;
294
  }
295
 
296
  .pt_numberbutton.pt_numberup {
300
  background-color: #808080;
301
  border-radius: 50%;
302
  position: relative;
303
+ margin-left: 5px;
304
  display: inline-block;
305
  color: white;
306
  font-size: 21px;
317
  border-radius: 50%;
318
  position: absolute;
319
  top: 8px;
320
+ left: 0;
321
  display: inline-block;
322
  color: white;
323
  font-size: 21px;
357
  color: #7559C0;
358
  padding-top: 2px;
359
  padding-bottom: 6px;
 
360
  padding-left: 10px;
361
+ padding-right: 10px;
362
  font-weight: bold;
363
  text-transform: uppercase;
364
  font-size: 12px;
389
  text-transform: uppercase;
390
  border-radius: 31px;
391
  font-size: 26px;
392
+ padding-left: 23px;
393
  padding-left: 23px;
394
  height: 60px;
395
  width: 200px;
399
  text-shadow: none;
400
  }
401
 
402
+ input#submit.button.button-primary:hover {
403
+ opacity: 0.7;
404
+ }
405
+
406
  input.button.button-secondary.confirm {
407
  background: #969696;
408
  border-color: #969696;
409
  text-transform: uppercase;
410
  font-size: 26px;
411
+ padding-left: 23px;
412
  padding-left: 23px;
413
  float: left;
414
  color: white;
453
  }
454
 
455
  .mystickymenu-content-option p label.mysticky_text {
456
+ margin-left: 0px;
457
  }
458
 
459
  span.mysticky_text {
460
  font-size: 14px;
461
  color: #9E9E9E;
462
+ margin-left: 20px;
463
  font-style: italic;
464
  }
465
 
466
  label.mysticky_text {
467
  font-size: 14px;
468
  /*color: #9E9E9E;*/
469
+ margin-left: 20px;
470
  font-style: italic;
471
  }
472
 
503
  }
504
 
505
  .mystickymenu-content-section h3 {
506
+ margin-left: 20px;
507
  font-weight: 600;
508
  font-size: 26px;
509
  line-height: 1.2;
560
  border-radius: 50%;
561
  }
562
  p.description.mystuckymenu-class-id .dashicons-controls-play::before {
563
+ margin-left: 2px;
564
  }
565
  p.description {
566
  color: rgba(79, 79, 79, 0.5);
628
  /*.sticky-header-content {
629
  display: none;
630
  }*/
631
+ .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {
632
+ width: 55px !important;
633
  }
634
 
635
  /*New Welcomebar Page css*/
639
  .mystickymenu-new-widget-wrap {
640
  border-radius: 10px;
641
  box-shadow: 0 0 6px #ccc;
642
+ padding: 10px;
643
  margin: 20px auto 0 auto;
644
  width: 100%;
645
  max-width: 776px;
699
  border: solid 1px #605dec;
700
  border-radius: 50%;
701
  position: absolute;
 
702
  left: 0;
703
+ right: 0;
704
  margin: 0 auto;
705
  top: -25px;
706
  background: #fff;
733
  @media only screen and (min-width: 1024px) and (max-width: 1200px) {
734
  .pt_numberbutton.pt_numberdown {
735
  position: relative;
736
+ margin-left: -75px;
737
  top: -29px;
738
  }
739
 
740
  .pt_numberbutton.pt_numberup {
741
  position: relative;
742
  top: -29px;
743
+ left: 70px;
744
  }
745
 
746
  /* span.input-px { */
747
  /* position: relative; */
748
+ /* left: 112px; */
749
  /* top: -24px !important; */
750
+ /* margin-left: -20px; */
751
  /* } */
752
  }
753
 
777
  .rpt_2_plans .rpt_plan {
778
  margin-left: 2%;
779
  width: 49%;
780
+ float: left
781
  }
782
 
783
  .rpt_2_plans .rpt_plan:last-child {
787
  .rpt_3_plans .rpt_plan {
788
  margin-left: 2%;
789
  width: 32%;
790
+ float: left
791
  }
792
 
793
  .rpt_3_plans .rpt_plan:last-child {
797
  .rpt_4_plans .rpt_plan {
798
  margin-left: 1%;
799
  width: 24.25%;
800
+ float: left
801
  }
802
 
803
  .rpt_4_plans .rpt_plan:last-child {
807
  .rpt_5_plans .rpt_plan {
808
  margin-left: .5%;
809
  width: 19.6%;
810
+ float: left
811
  }
812
 
813
  .rpt_5_plans .rpt_plan:last-child {
844
 
845
  .rpt_style_basic .rpt_plan .rpt_title {
846
  border-bottom: #6371db solid 1px;
847
+ border-top-left-radius: 8px;
848
  border-top-left-radius: 8px;
849
  }
850
 
903
  .rpt_plans .rpt_plan .rpt_head .rpt_price .rpt_currency {
904
  position: relative;
905
  top: -44px;
906
+ left: -10px;
907
  font-size: 35px;
908
  line-height: 0
909
  }
919
  .rpt_sm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
920
  font-size: 30px;
921
  top: -44px;
922
+ left: -4px
923
  }
924
 
925
  .rpt_xsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
926
  font-size: 25px;
927
  top: -30px;
928
+ left: -4px
929
  }
930
 
931
  .rpt_xxsm_price .rpt_plan .rpt_head .rpt_price .rpt_currency {
932
  font-size: 21px;
933
  top: -14px;
934
+ left: -4px
935
  }
936
 
937
  .rpt_style_basic .rpt_plan .rpt_head {
1244
  }
1245
 
1246
  .rpt_style_basic .rpt_plan .rpt_foot {
1247
+ border-bottom-left-radius: 8px;
1248
  border-bottom-left-radius: 8px
1249
  }
1250
 
1309
  }
1310
 
1311
  .rpt_custom_btn {
1312
+ border-bottom-left-radius: 5px;
1313
  border-bottom-left-radius: 5px;
1314
  text-align: center;
1315
  padding: 16px 20px
1382
  a.rpt_tooltip span.intool b {
1383
  width: 10px;
1384
  height: 10px;
1385
+ margin-left: 35%;
1386
  margin-top: -15px;
1387
  position: absolute;
1388
  -webkit-transform: rotate(-45deg);
1394
  }
1395
 
1396
  .rpt_3_plans a.rpt_tooltip > span.intool {
1397
+ margin-left: -1%
1398
  }
1399
 
1400
  .rpt_4_plans a.rpt_tooltip > span.intool {
1401
+ margin-left: 0
1402
  }
1403
 
1404
  .rpt_5_plans a.rpt_tooltip > span.intool {
1405
+ margin-left: -2%
1406
  }
1407
 
1408
  .entry-content .rpt_plan a, .rpt_plan a {
1433
  }
1434
  .mystickymenu-testimonial .testimonial-data {
1435
  position: relative;
1436
+ margin-left: 30px;
1437
  padding: 10px 10px 10px 40px;
1438
  background: #f5f5f5;
1439
  font-size: 16px;
1529
 
1530
  .rpt_plan .rpt_head .rpt_price .rpt_currency {
1531
  top: -36px !important;
1532
+ left: -10px !important;
1533
  font-size: 35px !important
1534
  }
1535
  }
1570
  width: 85%;
1571
  display: inline-block;
1572
  vertical-align: middle;
1573
+ padding-left: 15px;
1574
  }
1575
  .testimonial-image img {
1576
  border-radius: 50%;
1614
  width: 0;
1615
  height: 0;
1616
  }
1617
+
 
 
 
 
 
 
 
 
 
 
 
 
1618
  .mysticky-welcomebar-switch .slider:before {
1619
  border-radius: 50%;
1620
  position: absolute;
1627
  -webkit-transition: .4s;
1628
  transition: .4s;
1629
  }
1630
+ .mysticky-welcomebar-switch .slider {
1631
+ border-radius: 15px;
1632
+ position: absolute !important;
1633
+ cursor: pointer;
1634
+ top: 0;
1635
+ left: 0;
1636
+ right: 0;
1637
+ bottom: 0;
1638
+ background-color: #ccc;
1639
+ border: 2px solid #ccc;
1640
+ -webkit-transition: .4s;
1641
+ transition: .4s;
1642
+ }
1643
+ ..mysticky-welcomebar-switch .slider:before {
1644
  border-radius: 50%;
1645
  position: absolute;
1646
  content: "";
1652
  -webkit-transition: .4s;
1653
  transition: .4s;
1654
  }
1655
+
1656
+
1657
  .mysticky-welcomebar-switch input:checked + .slider {
1658
  background-color: #7761DF;
1659
  border: 2px solid #7761DF;
1667
  transform: translateX(24px);
1668
  }
1669
 
 
1670
  .welcombar-status-switch{
1671
  display: inline-block;
1672
  width:46px;
1702
  vertical-align: top;
1703
  }
1704
  .mysticky-welcomebar-header-title h3 + .mysticky-welcomebar-switch {
1705
+ margin-left: 20px;
1706
  }
1707
  .mysticky-welcomebar-subheader-title {
1708
  padding: 40px 0 30px;
1716
  }
1717
  .mysticky-welcomebar-setting-content {
1718
  display: flex;
1719
+ /*align-items: center;*/
1720
  padding-bottom: 20px;
1721
  }
1722
  .mysticky-welcomebar-setting-content.show-on-apper {
1728
  color: #4F4F4F;
1729
  font-weight: 500;
1730
  margin-top: 10px;
1731
+ width: 306px;
1732
  padding-left: 10px;
1733
  }
1734
  .mysticky-welcomebar-setting-content.show-on-apper > label {
1735
  margin-top: 10px;
1736
  }
1737
+ .mysticky-welcomebar-setting-content-right {
1738
  width: 100%;
1739
  align-items: center;
1740
  display: flex;
1741
  }
 
 
 
 
1742
  .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade {
1743
  display: inline-block;
1744
+ vertical-align: top;
1745
  float: none;
1746
+ margin-left: 20px;
1747
  }
1748
  .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {
1749
+ margin-left: 50px;
1750
  }
1751
  .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-remove-getbar .myStickymenu-upgrade {
1752
+ margin-left: 130px;
1753
  }
1754
+ .mysticky-welcomebar-setting-content-right.mysticky-welcomebar-colorpicker .wp-picker-container{
1755
  display: inline-block;
1756
  }
1757
+ .mysticky-welcomebar-setting-content-right label {
1758
  display: inline-block;
1759
  vertical-align: top;
1760
  width: 100px;
1761
  padding-left: 10px;
1762
  }
1763
+
1764
+ #mysticky_welcomebar_redirect_rel.mysticky_welcomebar_disable.unactive_rel_input {
1765
+ width: 235px;
1766
+ }
1767
+
1768
+ .mysticky-welcomebar-setting-content-right .wp-picker-input-wrap label {
1769
  width: auto;
1770
  }
1771
+ .mysticky-welcomebar-setting-content-right .mysticky-welcomebar-trigger-wrap label {
1772
  width: auto;
1773
  }
1774
+ #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input {
1775
  padding-left: 60px;
1776
  }
1777
+ .mysticky-welcomebar-setting-content-right select ,
1778
+ .mysticky-welcomebar-setting-content-right input[type="text"] ,
1779
+ .mysticky-welcomebar-setting-content-right textarea {
1780
  width: 400px;
1781
  height: 42px;
1782
  border-radius: 20px;
1790
  font-weight: 400;
1791
  }
1792
 
1793
+ .mysticky-welcomebar-setting-content-right input::placeholder,
1794
+ .mysticky-welcomebar-setting-content-right input:-ms-input-placeholder,
1795
+ .mysticky-welcomebar-setting-content-right input::-ms-input-placeholder {
1796
  color: #b5b7b9;
1797
  opacity:0.6;
1798
  }
1799
+ .mysticky-welcomebar-setting-content-right select {
1800
  padding-left: 22px;
1801
  }
1802
+ .mysticky-welcomebar-setting-content-right textarea {
1803
  height: 100px;
1804
  border-radius: 10px;
1805
  padding-top: 9px;
1820
  vertical-align: top;
1821
  }
1822
  .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
1823
+ padding-left: 10px;
1824
  }
1825
  .mysticky-welcomebar-redirect label {
1826
  width: auto;
1832
  display: inline-block;
1833
  vertical-align: top;
1834
  }
1835
+ .mysticky-welcomebar-setting-content-right .mysticky-welcomebar-expirydate input {
1836
+ padding-left: 55px;
1837
  }
1838
  .mysticky-welcomebar-expirydate .dashicons {
1839
  position: absolute;
1840
  top: 0;
1841
+ left: 0;
1842
  bottom: 0;
1843
  color: #a7a7a7;
1844
+ border-right: 1px solid #a7a7a7;
1845
  width: 46px;
1846
  height: 100%;
1847
  line-height: 40px;
1873
  position: relative;
1874
  }
1875
  .mysticky-welcomebar-page-option select {
1876
+ width: 180px;
1877
  }
1878
  .mysticky-welcomebar-page-option .myStickymenu-upgrade {
1879
  display: none;
1880
  position: absolute;
1881
  top: 9px;
1882
+ left: 50%;
1883
  -webkit-transform: translateX(-50%);
1884
  -moz-transform: translateX(-50%);
1885
  transform: translateX(-50%);
1886
  text-align: center;
1887
+ margin-left: 0;
1888
  }
1889
  .mysticky-welcomebar-page-option .myStickymenu-upgrade a {
1890
  padding-top: 5px;
1891
  padding-bottom: 7px;
1892
+ padding-left: 20px;
1893
  padding-left: 20px;
1894
  font-size: 14px;
1895
  box-shadow: 0 0 3px #999;
1932
  float: none;
1933
  position: absolute;
1934
  top: 0;
1935
+ left: 50%;
1936
+ /* right: 0; */
1937
  text-align: center;
1938
  /* background-color: rgba(0,0,0,0.6); */
1939
  bottom: 0;
1951
  .mysticky-page-option .myStickymenu-upgrade a {
1952
  padding-top: 5px;
1953
  padding-bottom: 7px;
1954
+ padding-left: 20px;
1955
  padding-left: 20px;
1956
  font-size: 14px;
1957
  box-shadow: 0 0 3px #999;
2008
  display: inline-block;
2009
  vertical-align: top;
2010
  }
2011
+ /**/
2012
+ .mysticky-welcomebar-setting-right {
2013
+ position: absolute;
2014
+ top: 32px;
2015
+ left: 50px;
2016
+ width: 500px;
 
 
 
 
 
 
 
 
2017
  }
 
2018
  .mysticky-welcomebar-header-title::after {
2019
  content: "";
2020
  display: block;
2041
  text-align: center;
2042
  line-height: 36px;
2043
  margin-bottom: 0;
2044
+ margin-left: 10px;
2045
  }
2046
  .mysticky-welcomebar-preview-window ul li.preview-active {
2047
  color: #fff;
2057
  margin: 0 auto;
2058
  padding: 0;
2059
  height: 400px;
2060
+ position: relative;
2061
  overflow: hidden;
2062
  max-width: 100%;
2063
  -webkit-transition: all 0.5s ease 0s;
2067
  .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
2068
  max-width: 320px;
2069
  }
 
2070
  .mysticky-welcomebar-submit {
2071
  float: left;
2072
  padding-top: 50px;
2084
  border-radius: 31px;
2085
  font-size: 26px;
2086
  margin-left: 10px;
2087
+ padding-left: 23px;
2088
  padding-left: 23px;
2089
  height: 60px;
2090
  width: 200px;
2093
  font-weight: 600;
2094
  text-shadow: none;
2095
  }
2096
+
2097
+ #mystickymenu .mysticky-welcomebar-submit input.button-secondary:hover {
2098
+ opacity: 0.7;
2099
+ background-color: #8c8f94;
2100
+ color: #FFFFFF;
2101
+ }
2102
  .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-buttons {
2103
  padding-left: 0;
2104
  }
2107
  border-color: #00c67c;
2108
  color: #fff;
2109
  }
2110
+ .mysticky-welcomebar-setting-content-right.mysticky-welcomebar-setting-redirect-wrap {
2111
  display: block;
2112
  }
2113
  .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-redirect-wrap .myStickymenu-upgrade {
2126
  }
2127
  .updates-content-buttons button {
2128
  margin: 10px 3px !important;
2129
+ float: left;
2130
  }
2131
  .updates-content-buttons a span {
2132
  -webkit-animation: fa-spin 0.75s infinite linear;
2174
  padding: 0 20px;
2175
  }
2176
  div#wp-mysticky_bar_text-wrap {
2177
+ width: 40%;
2178
  }
2179
 
2180
  .mystickymenu-popup {
2182
  width: 100%;
2183
  height: 100%;
2184
  top: 0;
2185
+ left: 0;
2186
  z-index: 100001;
2187
  background: rgba(0, 0, 0, .75)
2188
  }
2194
  margin: auto;
2195
  top: 50%;
2196
  position: absolute;
 
2197
  left: 0;
2198
+ right: 0;
2199
  border-radius: 5px;
2200
  transform: translate(0, -50%);
2201
  -webkit-transform: translate(0, -50%);
2265
  }
2266
  @media only screen and (max-width: 1490px) {
2267
  .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2268
+ padding-left: 10px;
2269
  }
2270
+ .mysticky-welcomebar-setting-right {
2271
+ width: 400px;
2272
  }
2273
  }
2274
  @media only screen and (max-width: 1355px) {
2282
  display: block;
2283
  }
2284
  .mysticky-welcomebar-setting-action + .mysticky-welcomebar-setting-action {
2285
+ padding-left: 0;
2286
  padding-top: 10px;
2287
  }
2288
  }
2301
  }
2302
  }
2303
  @media only screen and (max-width: 1100px) {
2304
+ .mysticky-welcomebar-setting-right {
2305
  width: 340px;
2306
  left: 40px;
2307
  }
2308
  }
2309
  @media only screen and (max-width: 1024px) {
2310
+ .mysticky-welcomebar-setting-right {
2311
  left: 40px;
2312
  width: 310px;
2313
  }
2314
  .mysticky-welcomebar-setting-content > label {
2315
  font-size: 16px;
2316
+ width: 200px;
2317
  padding-left: 10px;
2318
  }
2319
  .mysticky-welcomebar-preview-screen.mysticky-welcomebar-preview-mobile-screen {
2325
 
2326
  .mysticky-custom-fields-tooltip{
2327
  position: relative;
2328
+ margin-left: 5px;
2329
  }
2330
  .mysticky-custom-fields-tooltip:hover p {
2331
  bottom: 100%;
2359
  color: #fff;
2360
  position: absolute;
2361
  bottom: 200%;
2362
+ left: -20px;
2363
  margin-bottom: 10px;
2364
  -webkit-transition: all 0.5s ease 0s;
2365
  -moz-transition: all 0.5s ease 0s;
2370
  .mysticky-custom-fields-tooltip p::before {
2371
  content: "";
2372
  border-top: 10px solid #000;
2373
+ border-left: 10px solid transparent;
2374
  border-left: 10px solid transparent;
2375
  width: 0;
2376
  height: 0;
2377
  position: absolute;
2378
  bottom: -8px;
2379
+ left: 25px;
2380
  }
2381
 
2382
  .mysticky-welcomebar-poptin-content{
2391
  }
2392
  .mysticky-welcome-poptin-logo{width: 100px;}
2393
 
2394
+ .mysticky-welcomebar-fixed .mysticky-welcomebar-btn{left: 15px !important;}
2395
 
 
 
 
 
 
 
 
 
 
 
2396
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2397
 
 
 
 
 
2398
 
2399
 
2400
 
2405
  /*===============================================================================================*/
2406
 
2407
 
2408
+
2409
  /*.mysticky-welcomebar-fixed .mysticky-w-close-btn {
2410
  display: none;
2411
  vertical-align: top;
2427
  -webkit-transform-origin: 50% 50%;
2428
  -moz-transform-origin: 50% 50%;
2429
  transform-origin: 50% 50%;
2430
+
2431
+ background: #000;
2432
  }
2433
 
2434
 
2440
  }*/
2441
 
2442
 
 
 
 
2443
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
2444
  display: none;
2445
  vertical-align: top;
2503
  width: 20px;
2504
  height: 20px;
2505
  line-height: 20px;
2506
+ left: 0px;
2507
  }
2508
  }
2509
 
2520
  @media only screen and (max-width: 480px) {
2521
 
2522
  .mysticky-welcomebar-fixed .mysticky-welcomebar-close {
2523
+ left: 7px;
2524
  }
2525
  }
2526
+
2527
+
2528
  /* tooltip css */
2529
  .tooltip {
2530
  position: relative;
2560
 
2561
  .tooltip:hover .tooltiptext {
2562
  visibility: visible;
2563
+ }
2564
 
2565
 
2566
  /*---------------------------------------------------------------------------// 22-12-21 //-----------------------*/
2567
 
2568
  .mystickymenu-wrap{text-align:center;}
2569
+
2570
 
2571
  .mystickymenu-newwelcomebar-contents a,
2572
  .mystickymenu-widgets-btn-wrap a{
2573
  display:inline-flex;
2574
  color:#fff !important;
2575
  font-size:16px;
2576
+ font-weight:500;
2577
  font-family: 'Lato', sans-serif;
2578
+ padding: 12px 20px 10px 20px;
2579
  text-decoration:none;
2580
  background:#6558F5;
2581
  border-radius:5px;
2582
  align-items: center;
2583
+ box-shadow: 0px 12px 12px -6px rgba(101, 107, 232, 0.25);
2584
  }
2585
 
2586
  .mystickymenu-tab-boxes{display:flex; justify-content: center; margin-top:50px;}
2603
  .mystickymenu-tab-box .stickymenu-box-button a{
2604
  display: inline-flex;
2605
  color: rgba(21, 25, 32, 0.5);
2606
+ font-size: 15px;
2607
+ font-weight: 500;
 
2608
  padding: 12px 61px;
2609
  text-decoration: none;
2610
  border: 1px solid rgba(86, 103, 137, 0.26);
2612
  align-items: center;
2613
  background: none;
2614
  line-height: 24px;
2615
+
2616
  }
2617
+ .mystickymenu-tab-box ul.documents-wrap-list{ text-align:left; list-style-type:disc; margin:15px 15px 15px 30px;}
2618
  .mystickymenu-tab-box ul.documents-wrap-list li{color:#6558F5; font-size:25px;}
2619
  .mystickymenu-tab-box ul.documents-wrap-list li a{color:#6558F5; font-size:14px;}
2620
 
2621
+ /*table.mystickymenu-widgets-lists,*/
2622
+
2623
+ table.mystickymenu-widgets-lists td{
2624
+ border:0.5px solid #F1F1F1;
2625
+ }
2626
+
2627
+ /*border radiuse in dashboard table */
2628
+ table.mystickymenu-widgets-lists th{
2629
+ border-top: 0 !important;
2630
+ border-bottom: 1px solid #F1F1F1 !important;
2631
+ border-left: 1px solid #F1F1F1 !important;
2632
+ border-left: 1px solid #F1F1F1 !important;
2633
+ }
2634
+
2635
+ .mystickymenu-dashboard table tr:first-child th:first-child {
2636
+ border-top-left-radius: 10px;
2637
+ border-top: 0 !important;
2638
+ border-left: 0 !important;
2639
+ border-bottom: 0.2px #F1F1F1 !important;
2640
+ border-left: 0.2px #F1F1F1 !important;
2641
+ }
2642
+
2643
+ .mystickymenu-dashboard table tr:first-child th:last-child {
2644
+ border-top-left-radius: 10px;
2645
+ border-top: 0 !important;
2646
+ border-left: 0.2px #F1F1F1 !important;
2647
+ border-bottom: 0.2px #F1F1F1 !important;
2648
+ border-left: 0 !important;
2649
+ }
2650
+
2651
+
2652
  .mystickymenu-wrap table.mystickymenu-widgets-lists{border-collapse:collapse; width:100%;
2653
  margin:24px 0 0 0; background-color:#fff;}/*---------------------------------------------------------------------20-1-22-----*/
2654
 
2665
  width: 100%;
2666
  height: 100%;
2667
  background-color: rgba(0,0,0,0.3);
2668
+ z-index: 99990;
2669
  }
2670
 
2671
  .mystickymenu-action-popup{
2675
  -webkit-transform: translateX(-50%);
2676
  -moz-transform: translateX(-50%);
2677
  transform: translateX(-50%);
2678
+ z-index: 99995;
2679
  width: 500px;
2680
  background-color: #fff;
2681
  padding: 0 0 28px 0;
2693
  margin: 10px auto;
2694
  background:#4797DE;
2695
  }*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2696
  .mystickymenu-action-popup-footer button{cursor: pointer !important;}
2697
  .mystickymenu-action-popup .mystickymenu-action-popup-footer button.btn-disable-cancel{
2698
  display: inline-flex;
2699
  color: #fff;
2700
  background: #F33;
2701
+ font-size: 15px;
2702
+ font-weight: 500;
 
2703
  padding: 12px 82px;
2704
  text-decoration: none;
2705
  border-radius: 8px;
2706
  align-items: center;
2707
+ margin-left: 15px;
2708
  border: none;
2709
  line-height: 24px;
 
2710
  }
2711
  .mystickymenu-action-popup .mystickymenu-action-popup-body{margin:10px 30px;}
2712
 
2713
  /*#stickymenu_status_popupbox .mystickymenu-action-popup-body{margin:30px 56px;}*/
2714
 
 
 
 
 
 
 
 
 
 
 
2715
  /**/
2716
  .first-widget-popup{
2717
  text-align:center;
2718
  position: fixed;
2719
+ top: 50%;
2720
  left: 50%;
2721
+ -webkit-transform: translate(-50%,-50%);
2722
+ -moz-transform: translate(-50%,-50%);
2723
+ transform: translate(-50%,-50%);
2724
+ z-index: 99995;
2725
  width: 500px;
2726
  background-color: #fff;
2727
  padding: 30px;
2728
  box-shadow: 0px 10px 15px rgb(0 0 0 / 10%), 0px 4px 6px rgb(0 0 0 / 5%);
2729
  border-radius:10px;
 
 
 
2730
  font-family:'Lato', sans-serif;
2731
+
2732
  }
2733
 
2734
  .mystickymenu_container_popupbox{
2735
  margin-top:10px;
2736
  }
2737
+
2738
+ .first-widget-popup h4,.first-widget-popup p,.first-widget-popup span,.first-widget-popup button,.first-widget-popup a{
2739
+ font-family:'Lato', sans-serif;
2740
+ }
2741
+
2742
+
2743
+
2744
  .first-widget-popup h4{
2745
  font-weight: 600;
2746
  font-size: 24px;
2759
  .first-widget-popup a.btn-back-dashboard{
2760
  display:inline-flex;
2761
  color:#fff;
2762
+ font-size:15px;
2763
+ font-weight:500;
 
2764
  padding:10px 20px;
2765
  text-decoration:none;
2766
  background:#6558F5;
2767
  border-radius:8px;
2768
+ align-items: center;
2769
+ margin: 36px 0 10px 0;
2770
  }
2771
  .close-chaty-maxvisitor-popup{
2772
  position:absolute;
2774
  left:17px;
2775
  }
2776
 
 
2777
  .mysticky-stickymenu-header-title h3{
2778
  color:#1d2327;
2779
  display: inline-block;
2800
  padding: 15px 0;
2801
  border-radius: 10px;*/
2802
  }
2803
+
2804
+ .firstwidget-popup-contain a{
2805
+ color: #3c434a;
2806
+ text-decoration: none;
2807
+ }
2808
+
2809
  a.copyicon{text-decoration:none; color:#000;}
2810
  /*.copyicon .dashicons{display:block;}*/
2811
 
2814
  .mystickymenu-dashboard .welcomebars-list-table{
2815
  background:#fff;
2816
  /*border-radius:15px;*/
2817
+ padding: 0 40px 20px 40px;
2818
  text-align:center;
2819
  }
2820
+ /*.mystickymenu-dashboard h3{margin:5px 0;}*/
2821
+
2822
 
2823
  .mystickymenu-dashboard .header-section{
2824
  display: flex;
2825
  justify-content: space-between;
2826
+ padding: 0;
2827
  border-bottom: 1px solid #EBEBEB;
2828
  width: 100%;
2829
  margin: 0 0 24px 0;
2830
  }/*--------------------------------------------------------------------------------------------------30-2-2022----*/
2831
 
2832
+
2833
  .mystickymenu-dashboard .heading-title{display:inline-flex;}
2834
  .mystickymenu-dashboard .mystickymenu-widgets-btn-wrap{display:inline-flex;}
2835
 
2836
  .mystickymenu-dashboard .mystickymenu-tab-boxs-wrap{display:block; justify-content:space-between; margin:20px 0;}/*00000000000000000000*/
2837
+ .contactus-tab-option,.mystickymenu-tab-documentation{width:100%;} /*0000000000000000000000000000000000000000000000000000000000*/
2838
+
2839
+ .mystickymenu-new302box{display:flex; justify-content:space-between; flex-wrap:wrap;} /*00000000000000000000000000000000000000000*/
2840
 
2841
  .stickymenu-tab-option{margin-bottom:15px;}
2842
+
2843
  .mystickymenu-dashboard .msm-bgbox{display:block; background:#f7f7f7; padding:0;
2844
  box-sizing:border-box;} /*-------------------------------------------------------*/
2845
 
2846
+
2847
  /*---------------------------------------------------------------------------------------------------------6-1-22-----*/
2848
 
2849
+ .stickymenu-box-container ul.documents-wrap-list{ text-align:right; list-style-type:disc; margin:15px 15px 15px 30px;}
2850
  .stickymenu-box-container ul.documents-wrap-list li{color:#6558F5; font-size:25px; margin-bottom:8px;} /*------6-1-22--*/
2851
  .stickymenu-box-container ul.documents-wrap-list li a{color:#6558F5; font-family: 'Lato', sans-serif; font-size:16px;}
2852
 
2853
+ .msm-bgbox .stickymenu-box-button{display: block; padding:0 15px 15px 48px;}
2854
+
2855
 
2856
  .msm-bgbox .stickymenu-box-button a{
2857
  display:inline-flex;
2858
  color:#6558F5;
2859
  font-size:16px;
2860
+ font-weight:400;
2861
+ font-family: 'Lato', sans-serif;
2862
  padding:0 15px;
2863
  text-decoration:none;
2864
  border:1px solid #6558F5 !important;
2866
  align-items: center;
2867
  background:none;
2868
  line-height:34px;
2869
+
2870
  }
2871
  .contactus-title, .premio-footer-option,
2872
  .stickymenu-settings{display:flex; justify-content:space-between; align-items: center;}
2873
  .premio-footer-option{margin-top:6px;}
2874
  .premio-footer-option h3{color:#6558F5;}
2875
+ .premio-footer-option h4{margin:5px 0 8px 0;}
2876
+ .premio-footer-option .premio-content-list{width:62%; margin:0 ;}
2877
 
2878
  a.copyicon1{color:#6558F5; line-height:23px; text-decoration:underline;}
2879
  a.copyicon1 span{text-decoration:none;}
2886
  .mystickymenu-welcome-img, .mystickymenu-newwelcomebar-contents,
2887
  .new-welcomebar-section-wrap .mystickymenu-features{width:auto;}
2888
 
2889
+ .mystickymenu-wrap .mystickymenu-welcome-img img{max-width:80%; height:auto; text-align:center;}
2890
  .mystickymenu-newwelcomebar-contents{margin:0 10px;}
2891
  .mystickymenu-features{text-align:center;}
2892
 
2893
+ /*------------------------------------------------------------------------------------------------*/
2894
  .mystickymenu-features .mystickymenu-features-list{ text-align:left; list-style-type:disc;
2895
  background: #F6F5FE;
2896
  padding: 30px 15px 15px 15px;
2897
  border-radius: 15px;
2898
  margin-top: -20px;
2899
  }
2900
+ .mystickymenu-features-list ul.documents-wrap-list{margin:15px 15px 15px 30px;}
2901
+
2902
+
2903
 
2904
  .mystickymenu-features .mystickymenu-features-list li{color:#6558F5; font-family: 'Lato', sans-serif; font-size:16px;}/*----6-1-22-------*/
2905
 
2906
+ .documents-wrap-list{ text-align:left; list-style-type:disc;}
2907
+ .documents-wrap-list li{ margin-bottom:16px;}
2908
 
2909
  .mystickymenu-feature-title{
2910
  display:inline-flex;
2911
  color:#fff;
2912
+ font-size:16px;
2913
  font-weight:500;
2914
+ font-family: 'Lato', sans-serif;
2915
  padding:10px 20px;
2916
  text-decoration:none;
2917
  background:#6558F5;
2918
  border-radius:5px;
2919
  align-items: center;
2920
+ margin-top:15px;
2921
+ }/*----------------------------------------------------------------------*/
2922
 
2923
+ .mystickymenu-feature-title img{width:22px; margin-left:7px;}
2924
  .welcomebars-list-table .mysticky-welcomebar-switch .slider{
2925
  background-color: #FF424D;
2926
  border: 2px solid #FF424D;
2927
  }
2928
 
2929
+
2930
  .mystickymenu-action-popup-footer{
2931
  text-align:center;
2932
  display:inline-block;
2940
  display: block;
2941
  }
2942
 
2943
+ #mysticky-sticky-save-confirm .mystickymenu-action-popup-footer{
2944
+ display: block;
2945
+ }
2946
+
2947
+ .mystickymenu-action-popup-header{
2948
+ padding: 25px 25px 40px 25px;
2949
+ border-bottom: 1px solid #EAEFF2;
2950
+ }
2951
+ .mystickymenu-action-popup-header h3{
2952
+ margin:0 0 0 15px;
2953
+ position:relative;
2954
+ float:right;
2955
+
2956
+ }
2957
+
2958
+ .mystickymenu-action-popup .mystickymenu-action-popup-body p{
2959
+ text-align: left;
2960
+ float: left;
2961
+ margin-left: 0;
2962
+ padding: 0 10px;
2963
+ font-size: 16px;
2964
+ font-weight: 400;
2965
+ font-style: normal;
2966
+ color: #181749;
2967
+ }
2968
+
2969
+ .mystickymenu-action-popup-header span{
2970
+ float:left;
2971
+ }
2972
+
2973
  /*--------------------------------------------------------// 6-1-22 //------------------*/
2974
  .mystickymenu-newwelcomebar-contents h2{font-family: 'Lato', sans-serif; font-size:28px; font-weight:bold;}
2975
 
2976
+ .premio-content-list span, .premio-footer-option label, .settings-content p, .contactus-contents-buttons span.folous,
2977
  .stickymenu-box-button,
2978
+ .mystickymenu-newwelcomebar-contents p{font-family: 'Lato', sans-serif; font-size:16px;color: #181749;font-style: normal;font-weight: 400;line-height: 24px;}
2979
 
2980
  .premio-content-list h4{font-family: 'Lato', sans-serif; font-size:16px; font-weight:bold;}
2981
 
2988
 
2989
  .stickymenubox-title-section h3,
2990
  .mystickymenu-tab-documentation h3, .contactus-title
2991
+ {border-bottom:1px solid #EBEBEB; padding:24px 15px; margin:0;} /*------------------------------------------------------------20-1-22---*/
2992
  .contactus-title h3{margin:0;}
2993
 
2994
  .stickymenubox-title-section h3{margin:0 !important;}
2995
 
2996
  .premio-footer-option, .stickymenu-box-container, .stickymenu-box-button,
2997
+ .stickymenu-settings{padding:15px 20px 15px 40px; } /*--------------------------------------------------------------------20-1-22---*/
2998
  .mystickymenu-dashboard .heading-title h3{font-family: 'Lato', sans-serif; font-size: 28px !important;
2999
  font-weight:600 !important; color:#1d2327 !important;}/*------------------------------------------------20-1-22---*/
3000
 
3002
  a.add_new_welcombar{margin:auto 0;} /*------------------------------------------------20-1-22--new-*/
3003
  .new-welcomebar-section-wrap .mystickymenu-newwelcomebar-contents a{margin-top:30px;}
3004
 
3005
+
3006
  .premio-footer-option h3 img{width:70px; height:auto; margin-left:10px;}
3007
 
3008
+ /* price-pan css */
3009
+
3010
+ .plan-center {
3011
+ text-align: center;
3012
+ }
3013
+
3014
+ .price-permonth {
3015
+ padding: 2px 15px;
3016
+ display: inline-block;
3017
+ margin-bottom: 15px;
3018
+ text-align: center;
3019
+ border-radius: 56px;
3020
+ border: 1px solid #BEECFF;
3021
+ background-color: #EAF9FF;
3022
+ }
3023
+
3024
+ .price-table.plus-feature .price-permonth {
3025
+ border: 1px solid #F2D8C3;
3026
+ background-color: #FCF2EA;
3027
+ }
3028
+
3029
+
3030
+ .price-table.agency-feature .price-permonth {
3031
+ border: 1px solid #C7C6F9;
3032
+ background-color: #ECEEFD;
3033
+ }
3034
+
3035
  .add_new_welcombar:hover{
3036
  opacity: 0.9;
3037
  }
3039
  .tooltip img{
3040
  width:35px;
3041
  }
3042
+
3043
  .mystickymenu-features{
3044
  max-width: 400px;
3045
  }
3078
  display: block;
3079
  }
3080
 
3081
+ #mysticky-sticky-save-confirm{
3082
+ width:634px;
 
 
 
 
 
 
 
 
 
 
3083
  }
3084
+ #stickymenu_status_ok{
3085
+ padding: 12px 40px;
 
 
 
 
 
 
 
 
 
 
 
 
 
3086
  }
3087
 
3088
 
3104
  .mystickymenu-newwelcomebar-contents{text-align:center; margin:15px 0;}
3105
 
3106
  .price-table-middle ul li a{width:65%;}
3107
+ .right_tooltip:after {left: 80px !important;}
 
 
3108
 
3109
  }
3110
 
3117
  {padding: 15px 20px;}
3118
 
3119
  /*.price-table-middle ul li a{width:65%;}*/
3120
+ .right_tooltip:after {left: 80px !important;}
3121
+ .cus-tooltip .tooltip__content{width:145% !important;}
3122
+ .cus-tooltip .tooltip__content img{width:100% !important;}
3123
+
3124
+
3125
  }
3126
 
 
 
3127
  /*-------------------# 27-1-22 #--------*/
3128
  @media only screen and (min-width: 821px) {
3129
+ .right_tooltip{left: unset !important; left:0 !important;}
3130
+ .right_tooltip:after{left: 130px !important;}
 
 
 
 
3131
  }
3132
 
 
 
 
3133
 
3134
+ /*--------------------------------------------------------------*/
3135
 
3136
  .new_widget_row{
3137
  max-width: unset;
3138
  }
3139
 
3140
 
 
3141
  /* ToolTip Side */
3142
  .html-tooltip {
3143
  position: relative;
3173
 
3174
  .html-tooltip.side .tooltip-text {
3175
  bottom: 125%;
3176
+ left: 100%;
3177
+ margin-left: 0;
3178
  top: 5px;
3179
  transform: translateY(-50%);
3180
  -webkit-transform: translateY(-50%);
3192
  z-index: 1201;
3193
  bottom: 125%;
3194
  left: 50%;
3195
+ margin-left: -150px;
3196
  opacity: 0;
3197
  transition: opacity 0.3s;
3198
  font-size: 12px;
3219
  position: absolute;
3220
  top: -10px;
3221
  left: 50%;
3222
+ margin-left: -5px;
3223
  border-width: 5px;
3224
  border-style: solid;
3225
  border-color: #333 transparent transparent transparent;
3240
  }
3241
 
3242
  .html-tooltip.side .price-plan-box{
3243
+ margin-left: -147px !important;
3244
  top: -62px !important;
3245
  height: 115px;
3246
  text-align: left;
3247
  }
3248
 
3249
+ .span .tooltip-text .top .price-plan-box::after
3250
  border-width: 5px;
3251
  border-style: solid;
3252
  border-color: #1849ab transparent transparent transparent;
3253
  content: "";
3254
  left: 25px;
3255
+ margin-left: -5px;
3256
  position: absolute;
3257
  top: 100%;
3258
  }
3259
 
 
 
 
 
 
 
3260
  /***/
3261
 
3262
  .cus-tooltip span.tooltip-text::after {
3270
  top: 100%;
3271
  }
3272
 
3273
+ .html-tooltip-box{
3274
+ padding: 0 0 48px 0 !important;
3275
+ }
3276
+
3277
  .mystickymenu-widgets-lists thead tr{
3278
  height: 63px;
3279
  }
3282
  height: 88px;
3283
  }
3284
 
3285
+ .tooltip__content img{
3286
+ width: 396px;
3287
+ height: auto;
3288
+ margin-top:5px;
3289
+ }
3290
+
3291
  .mysticky-welcomebar-backword-page a{
3292
  text-decoration: none;
3293
  }
3295
  .mysticky-welcomebar-backword-page{
3296
  padding: 0;
3297
  margin: 0;
3298
+ float: left;
 
3299
  }
3300
 
 
 
 
3301
 
3302
  .mysticky-stickymenu-backword-page{text-align:end; padding:0 15px; float: left; margin-top: 28px;}
3303
  .mysticky-stickymenu-backword-page a{text-decoration:none;}
3304
 
 
3305
  .save_view_dashboard{
3306
  width: auto !important;
3307
  background: #6558F5 !important;
3315
 
3316
  #mysticky_welcomebar_fontsize{
3317
  color:#32373c !important;
3318
+ }
3319
+
3320
+ .mystickymenu-widgets-lists .tooltip {
3321
+ opacity: 1;
3322
+ position: relative;
3323
+ display: inline-block;
3324
+ }
3325
+
3326
+ /*collect contact lead content */
3327
+
3328
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label {
3329
+ display: inline-block;
3330
+ vertical-align: top;
3331
+ width: 205px;
3332
+ padding-left: 10px;
3333
+ }
3334
+
3335
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right input[type="radio"] {
3336
+ display: none;
3337
+ }
3338
+
3339
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label span {
3340
+ display: inline-block;
3341
+ padding: 4px 0 4px 0;
3342
+ font-family: 'Lato', sans-serif;
3343
+ font-size: 16px;
3344
+ cursor: pointer;
3345
+ position: relative;
3346
+
3347
+ }
3348
+
3349
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right input[type="radio"]:checked ~ span {
3350
+ color: #6558f5;
3351
+ }
3352
+
3353
+ .mysticky-collect-lead .lead_inputs span:hover:after,.mysticky-collect-lead .lead_inputs input[type="radio"]:checked ~ span:after {
3354
+ display: block;
3355
+ }
3356
+
3357
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label span::after {
3358
+ content: "";
3359
+ position: absolute;
3360
+ bottom: 0;
3361
+ width: 89%;
3362
+ height: 3px;
3363
+ background: #6558f5;
3364
+ display: none;
3365
+ }
3366
+
3367
+ .email-send-lead-settings {
3368
+ background-color: #eff5f6;
3369
+ width: 644px;
3370
+ padding: 10px 10px 0 10px;
3371
+ margin-bottom: 20px;
3372
+ max-height: 213px;
3373
+ }
3374
+
3375
+ .email-send-lead-settings label {
3376
+ font-size: 15px;
3377
+ margin-left: 15px;
3378
+ margin-top: 13px;
3379
+ }
3380
+
3381
+ .email-send-lead-settings .mysticky-welcomebar-setting-content-right {
3382
+ width: 100%;
3383
+ align-items: center;
3384
+ display: block;
3385
+ }
3386
+
3387
+ .email-send-lead-settings input[type="text"] {
3388
+ float: left;
3389
+ }
3390
+
3391
+ .email-send-lead-settings>.mysticky-welcomebar-setting-content-right>.mail-merge-tags {
3392
+ display: block;
3393
+ }
3394
+
3395
+ .mail-merge-tags span {
3396
+ display: inline-block;
3397
+ background: #6558f5;
3398
+ color: #fff;
3399
+ font-size: 14px;
3400
+ padding: 1px 5px;
3401
+ margin: 4px 4px 0 0;
3402
+ border-radius: 5px;
3403
+ cursor: pointer;
3404
+ }
3405
+
3406
+ .mysticky_welcome_email_subject{
3407
+ margin-bottom:5px;
3408
+ }
3409
+
3410
+ /* preview section lead content */
3411
+ /*
3412
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {
3413
+ order: 2;
3414
+ display: flex;
3415
+ width: 263px;
3416
+ margin-left: -10px;
3417
+ min-width: 77%;
3418
+ }*/
3419
+
3420
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-lead-content input[type="text"] {
3421
+ width: 48%;
3422
+ font-size: 10px;
3423
+ }
3424
+
3425
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-lead-content input[type="text"]:focus {
3426
+ outline: unset;
3427
+ box-shadow: unset;
3428
+ }
3429
+
3430
+ .responstable a.external-link {
3431
+ color: #135e96;
3432
+ text-decoration: none;
3433
+ margin: 0 auto;
3434
+ }
3435
+
3436
+ span.dashicons.dashicons-external {
3437
+ color: #135e96;
3438
+ }
3439
+
3440
+ /*----------------------------------------------------------------------New CSS 5-7-22--------*/
3441
+ .msmenu-flexbox{display: flex !important; justify-content: space-between;}
3442
+ .msmenu-blockbox{display: block;}
3443
+ .msmenu-box50{width: 49.4%;}
3444
+ .msmenu-box100{width: 100%;}
3445
+
3446
+ .contact-recent-lead{margin-bottom: 15px;}
3447
+ .stickymenubox-title-section{display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #EBEBEB;}
3448
+ .stickymenubox-title-section h3{border: none;}
3449
+ .stickymenubox-title-section a{margin-left: 15px;}
3450
+
3451
+ .stickymenu-no-lead{display: block; text-align: center; min-height: 168px;}
3452
+ .stickymenu-no-lead img{ margin-top:25px;}
3453
+ .stickymenu-no-lead p{text-align: center; font-size: 16px;}
3454
+
3455
+ .msmenu-btn{
3456
+ display: inline-flex;
3457
+ color: #6558F5;
3458
+ font-size: 16px;
3459
+ font-weight: 500;
3460
+ font-family: 'Lato', sans-serif;
3461
+ padding: 0 15px;
3462
+ text-decoration: none;
3463
+ border: 1px solid #6558F5 !important;
3464
+ border-radius: 5px;
3465
+ align-items: center;
3466
+ background: none;
3467
+ line-height: 34px;
3468
+ cursor: pointer;
3469
+ }
3470
+ /*-----*/
3471
+ .recent-lead-table{padding:15px; min-height: 171px;}
3472
+ .recent-lead-table table{ border-collapse: collapse;
3473
+ border-radius: 10px;
3474
+ border-style: hidden; /* hide standard table (collapsed) border */
3475
+ box-shadow: 0 0 0 1px #F0EFF3; /* this draws the table border */
3476
+ }
3477
+ .recent-lead-table table th,
3478
+ .recent-lead-table table td{border: 1px solid #F0EFF3; padding: 8px 15px !important;}
3479
+ .recent-lead-table table th{background-color: #F0EFF3;}
3480
+ .stickymenu.recent-lead-table table tr:first-child th:first-child{border-left: 1px solid #fff !important;}
3481
+
3482
+ /*----------------------------------------# Contact view Table #-------*/
3483
+ .mystickymenu-contact-wrap p.description{font-size: 14px; margin: 2px 0 5px;color: #646970;}
3484
+ .mystickymenu-btnmbox{display: flex; flex-wrap: wrap; margin: 15px auto;}
3485
+ .mystickymenu-btnbx{display: inline-flex; align-items: center;}
3486
+ /* .mystickymenu-btnbx:nth-of-type(2){margin-left:15px;} */
3487
+ .mystickymenu-btnmbox .wpappp_buton {
3488
+ padding: 12px 12px;
3489
+ cursor: pointer;
3490
+ transition: all 60ms ease-in-out;
3491
+ text-decoration: none;
3492
+ text-transform: capitalize;
3493
+ border: 0 none;
3494
+ border-radius: 4px;
3495
+ line-height: 1.3;
3496
+ color: #FFFFFF;
3497
+ background: #7761DF;
3498
+ margin: 0 20px 0 5px;
3499
+ }
3500
+
3501
+
3502
+ .mystickymenu-contact-wrap table.responstable{
3503
+ margin: 1em 0;
3504
+ width: 100%;
3505
+ overflow: hidden;
3506
+ background: #FFF;
3507
+ color: #024457;
3508
+ border-radius: 10px;
3509
+ border: 1px solid #7761DF;
3510
+ border-spacing: 4px;
3511
+ }
3512
+ /* .responstable th:first-child { display: table-cell; text-align: center;} */
3513
+ .mystickymenu-contact-wrap table.responstable th {
3514
+ border: 1px solid #FFF;
3515
+ background-color: #7761DF;
3516
+ color: #FFF;
3517
+ padding: 1em;}
3518
+ .mystickymenu-contact-wrap table.responstable td {text-align: center;
3519
+ margin: 0.5em 1em; vertical-align:middle !important;
3520
+ border-color:#D9E4E6; padding: 4px 10px; border-style: solid;}
3521
+
3522
+ .mystickymenu-contact-wrap table.responstable td .mystickymenu-delete-entry{
3523
+ padding: 12px 12px;
3524
+ cursor: pointer;
3525
+ transition: all 60ms ease-in-out;
3526
+ text-decoration: none;
3527
+ text-transform: capitalize;
3528
+ border: 0 none;
3529
+ border-radius: 4px;
3530
+ font-size: 14px;
3531
+ line-height: 1.3;
3532
+ color: #FFFFFF;
3533
+ background: #7761DF;
3534
+ margin: 0 20px 0 5px;
3535
+ }
3536
+
3537
+ /*-------------------------------------------------# 8-7-22 #----------------------------*/
3538
+
3539
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap{
3540
+ display: flex;
3541
+ align-items: center;
3542
+ flex-wrap: wrap;
3543
+ justify-content: space-between !important;
3544
+ min-height: 60px;
3545
+ padding: 10px 20px 10px 20px;
3546
+ margin-left: 13px;
3547
+ }
3548
+
3549
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-content{
3550
+ text-align: center;
3551
+ width: 75%;
3552
+ display: inline-flex;
3553
+ order: 1;
3554
+ margin: 5px 10px !important;
3555
+ }
3556
+
3557
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-lead-content{
3558
+ order: 2;
3559
+ display: flex;
3560
+ width: 240px;
3561
+ margin-left: -10px;
3562
+ min-width: 75%;}
3563
+
3564
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn{
3565
+ display: block;
3566
+ padding-left: 0 !important;
3567
+ margin: 0;
3568
+ order: 4;}
3569
+ /*--------------------------*/
3570
+ .mysticky-welcomebar-setting-content label.bagicon{position: relative; display: flex; align-items: center;}
3571
+ .mysticky-welcomebar-setting-content label.bagicon::after{position: absolute; content: '';
3572
+ width: 20px; height: 20px; right: 120px;
3573
+ font-size: 35px; top: -12px;}
3574
+
3575
+ .dashicons-arrow-left-alt2:before {content: "\f345";}
3576
+
3577
+ .x-color-wrap {
3578
+ display: inline-flex;
3579
+ position: relative;
3580
+ }
3581
+ /* .x-color-wrap label{margin-top: 5px;} */
3582
+
3583
+ .x-color-wrap span.mysticky-welcomebar-colorpicker.color-x-input {
3584
+ position: absolute;
3585
+ right: 60px;
3586
+ z-index: 999;
3587
+ }
3588
+
3589
+ .mysticky-welcomebar-btn.collect-lead {
3590
+ width: 100%;
3591
+ max-width: 94px;
3592
+ }
3593
+
3594
+ .mysticky-welcomebar-btn.collect-lead a {
3595
+ width: 100%;
3596
+ max-width: 94px;
3597
+ overflow: hidden;
3598
+ }
3599
+
3600
+
3601
+ .mysticky-welcomebar-setting-content .html-tooltip span.dashicons.dashicons-editor-help {
3602
+ color: #1E1E1E;
3603
+ }
3604
+
3605
+ .mysticky-welcomebar-setting-content .bagicon img {
3606
+ width: 20px;
3607
+ }
3608
+
3609
+ .button-input-error{
3610
+ color: #FF424D;
3611
+ }
3612
+
3613
+ /*---------------------New 10-8-22 -----------------------------------------*/
3614
+ .wp-picker-holder{position: absolute; z-index: 9999;}
3615
+ .x-color-wrap{z-index: 9999; align-items: center;}
3616
+ .x-color-wrap .wp-picker-container .wp-color-result.button {margin: 0 6px 0 0;}
3617
+ .mysticky-welcomebar-setting-left {width: 100%;}
3618
+
3619
+ .mysticky-welcomebar-setting-content .wp-core-ui.wp-editor-wrap.html-active,
3620
+ .mysticky-welcomebar-setting-content .wp-core-ui.wp-editor-wrap.tmce-active{width: 400px;}
3621
+
3622
+
3623
+ .mysticky-welcomebar-setting-content-right input.readonly, input[readonly], textarea.readonly, textarea[readonly] {
3624
+ background-color: unset;
3625
+ }
3626
+
3627
+
3628
+ /*------*/
3629
+ .mysticky-welcomebar-setting-right{ z-index: 999;}
3630
+ #ui-timepicker-div, .ui-widget.ui-widget-content{z-index: 99999 !important;}
3631
+ .mysticky-welcomebar-setting-content-right .px-wrap span:first-child{margin:0 8px;}
3632
+ .mysticky-welcomebar-setting-content-right.button-text-wrap,
3633
+ .mysticky-welcomebar-setting-content-right.coupontext-wrap{display: block;}
3634
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn a{padding: 5px 8px !important;}
3635
+
3636
+ /* .timer-message a .dashicons.dashicons-migrate{text-decoration:none;} */
3637
+
3638
+ .mysticky-welcomebar-expirydate-gmt{margin: 0 10px;}
3639
+
3640
+ @media only screen and (max-width: 840px) {
3641
+
3642
+ .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade{margin-right: 7px;}
3643
+
3644
+ .mysticky-welcomebar-setting-content-right{flex-wrap: wrap;}
3645
+ .x-color-wrap{width: 100%; margin-top: 15px;}
3646
+ .mysticky-welcomebar-setting-wrap label{font-size: 14px;}
3647
+
3648
+ /* span.input-px {height: 34px; line-height: 36px; width: 40px;} */
3649
+ .mysticky-welcomebar-switch .slider:before {height: 20px; width: 21px;}
3650
+
3651
+ label.mysticky-welcomebar-switch,
3652
+ .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {width: 48px; height:26px;}
3653
+
3654
+ .mysticky-welcomebar-switch input:checked + .slider:before {transform: translateX(18px);}
3655
+
3656
+ .mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label:first-child{width: 70px;}
3657
+ .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {margin-left: -12px;}
3658
+
3659
+ .mysticky-right-side span{padding: 4px 5px 4px 0; font-size: 14px;}
3660
+
3661
+ .wp-picker-container .wp-color-result.button {padding: 0 0 0 30px; margin: 0 6px 9px 0;}
3662
+ .mysticky-welcomebar-colorpicker.mysticky_welcomebar_btn_color label { margin-top: 0;}
3663
+ /*--------*/
3664
+ .timer_datetime_box input.mysticky_welcome_date_time{width:100px !important;}
3665
+
3666
+ .mysticky-welcomebar-fixed-wrap input.preview-lead-email,
3667
+ .mysticky-welcomebar-fixed-wrap input.preview-lead-name{min-height: auto; height: 30px;}
3668
+
3669
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content{margin:0 auto;}
3670
+ .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn.collect-lead{margin:10px auto 0 auto;}
3671
+
3672
+ .mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{ margin: 10px auto;}
3673
+ /* .mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{padding: 8px 15px !important; margin: 10px auto;} */
3674
+ }
3675
+
3676
+ /*==================================== NEW ==============================*/
3677
+
3678
+ @media only screen and (max-width: 1180px) {
3679
+ /*-----Main---*/
3680
+ .mysticky-welcomebar-setting-content,
3681
+ .email-send-lead-settings {width: 60%;}
3682
+
3683
+ /* .mysticky-welcomebar-setting-right{width: 31%;} */
3684
+ .mysticky-welcomebar-setting-right{width: 370px;}
3685
+
3686
+ .mysticky-welcomebar-setting-content-right select,
3687
+ .mysticky-welcomebar-setting-content-right input[type="text"]{width: 100%; height: 34px;}
3688
+
3689
+ .mysticky-welcomebar-setting-content-right select, #mystickymenu input[type=number]
3690
+ {width: 100%; height: 34px;}
3691
+
3692
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label{width: 49%;}
3693
+
3694
+ div#wp-mysticky_bar_text-wrap, .mysticky-welcomebar-expirydate, .mysticky-welcomebar-setting-attention,
3695
+ .email-send-lead-settings .mysticky-welcomebar-setting-content, .px-wrap,
3696
+ .mysticky-show-couponbar div#wp-welcombar-coupon-textbar-editor-container,
3697
+ .mysticky-welcomebar-setting-content .wp-core-ui.wp-editor-wrap.tmce-active,
3698
+ .mysticky-welcomebar-timer-countdown .mystickymenu-countdown-timmer,
3699
+ .mysticky-welcomebar-setting-action, .mysticky-welcomebar-page-options, #wp-mysticky_thankyou_screen_text-wrap,
3700
+ .mysticky-welcomebar-close-automatically-sec .mysticky-welcomebar-setting-action,
3701
+ .mysticky-welcomebar-setting-content.show-on-apper
3702
+ {width: 100%;}
3703
+
3704
+ .mysticky-welcomebar-setting-content.show-on-apper label{width: 20%;}
3705
+ .mysticky-welcomebar-setting-content.show-on-apper .mysticky-welcomebar-setting-content-right{width: 80%;}
3706
+
3707
+ .mysticky-welcomebar-setting-content-right.timer_datetime_box{width: 100%; flex-wrap: unset;}
3708
+ .mysticky-welcomebar-setting-content-right.timer_datetime_box .col-1{margin-right: 15px;}
3709
+ .timer_datetime_box input[type=number] {width: 100% !important; margin-right: 0; }
3710
+
3711
+ .mysticky-welcomebar-setting-action.trigger-wrap{width:61% ;}
3712
+ .mysticky-welcomebar-url-values{width: 35%;}
3713
+
3714
+ span.input-px {height: 34px; width: 40px; line-height: 36px;}
3715
+
3716
+ #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input{padding-left: 40px}
3717
+
3718
+ .mysticky-show-couponbar label {font-size: 1.7vw;}
3719
+
3720
+ input.url-inputs {width:100% !important;}
3721
+ .mysticky-welcomebar-page-option .url-content input[type="text"]{padding: 0 7px;}
3722
+
3723
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{padding-top: 0; margin-left: 7px;}
3724
+
3725
+ .mysticky-welcomebar-setting-content-right .px-wrap span:first-child{margin:0 10px;}
3726
+ .mysticky-welcomebar-setting-content-right .px-wrap input#mysticky_welcomebar_triggersec_automatically{width: 52%;}
3727
+ #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input#mysticky_welcomebar_triggersec{width: 100%; }
3728
+
3729
+ .px-wrap {display: inline-flex; align-items: center; width: 100%;}
3730
+
3731
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label span {padding: 4px 10px 4px 0;}
3732
+ .mysticky-welcomebar-fixed-wrap {padding: 10px !important;}
3733
+
3734
+ .mysticky-welcomebar-poptin-content {font-size: 14px;}
3735
+
3736
+ .msmenu-blockbox .stickymenu-box-button.settings-buttons #btn-config-disable { margin: 5px 0px; padding: 0 17px;}
3737
+
3738
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-coupon-btn a {padding: 0 10px; font-size: 10px; height: 24px;}
3739
+ .mysticky-welcomebar-fixed .mysticky-couponbar-content p {font-size: 12px !important;}
3740
+
3741
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content
3742
+ { width: 67%; justify-content: space-evenly; margin-left: 0px; min-width: unset;}
3743
+
3744
+ #welcombar-coupon-textbar_ifr{width: 99% !important;}
3745
+
3746
+ .mysticky-welcomebar-setting-content-right.trigger-wrap{flex-wrap: unset; display: flex;}
3747
+ .mysticky-welcomebar-setting-content-right.trigger-wrap .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 54%;}
3748
+
3749
+ .wrap.mystickymenu-contact-wrap .mystickymenu-btnbx {margin-bottom: 15px;}
3750
+ #mystickymenu #mysticky_welcomebar_height{width: 100%;}
3751
+ input[type=number]{min-height: 34px !important;}
3752
+
3753
+ /**/
3754
+ .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade .mysticky-welcomebar-setting-content{width: 85%;}
3755
+ /* .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade label{width: 290px;} */
3756
+ .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade .mysticky-welcomebar-trigger-wrap{display: inline-flex;}
3757
+ .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade .mysticky-welcomebar-expirydate{width: 67%;}
3758
+
3759
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label{width: 90px;}
3760
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade{margin-left:20px;}
3761
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade a{width: 130px;}
3762
+ .myStickymenu-upgrade a {font-size: 11px;}
3763
+
3764
+ .mysticky-welcomebar-expirydate-gmt{margin-right: 8px;}
3765
+
3766
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-trigger-wrap{width: 60%;}
3767
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 30%;}
3768
+
3769
+ .mysticky-welcomebar-setting-content.show-on-apper{width: 100% !important;}
3770
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {width: auto;}
3771
+ .mysticky-welcomebar-page-options.mysticky-welcomebar-setting-content-right{margin-right: -18px;}
3772
+
3773
+ .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade {margin-right:10px;}
3774
+
3775
+ }
3776
+
3777
+ @media only screen and (max-width: 912px) {
3778
+ /*-----Main---*/
3779
+ .mysticky-welcomebar-setting-content,
3780
+ .email-send-lead-settings {width: 62%;}
3781
+ /* .mysticky-welcomebar-setting-right{width: 32%;} */
3782
+ .mysticky-welcomebar-setting-right{width: 310px;}
3783
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content{ width: 100%;}
3784
+
3785
+ .mysticky-welcomebar-setting-content > label {font-size: 14px;}
3786
+ span.input-px {height: 34px; line-height: 36px; width: 40px;}
3787
+ input[type="number"]{min-height: 34px;}
3788
+
3789
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {width: 67%;}
3790
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead{width: 32%;}
3791
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead a{font-size: 12px;}
3792
+ .px-wrap .px-wrap-inbox {width: 43% !important;}
3793
+
3794
+
3795
+ }
3796
+
3797
+
3798
+ @media only screen and (max-width: 1024px) {
3799
+ .mysticky-welcomebar-setting-right{width: 310px;}
3800
+ }
3801
+ @media only screen and (max-width: 820px) {
3802
+ .mysticky-welcomebar-setting-right{width: 275px;}
3803
+
3804
+ .mysticky-welcomebar-setting-content.height-setting .px-wrap {width: 46%;}
3805
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec .px-wrap {width: 100%;}
3806
+
3807
+ .mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label{width: 80px !important;}
3808
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade {
3809
+ margin-left: 0;
3810
+ }
3811
+
3812
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-trigger-wrap{width: 65%;}
3813
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 30%;}
3814
+
3815
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade a {
3816
+ width: 121px;}
3817
+ .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade{margin-left: 0;}
3818
+
3819
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {width: 120px; margin-top: 0;}
3820
+
3821
+ input#submit.button.button-primary { font-size: 20px; text-align: center; padding: 0 15px;}
3822
+ }
3823
+ @media only screen and (max-width: 768px) {
3824
+ .mysticky-welcomebar-setting-right{width: 270px;}
3825
+ input[type=checkbox], input[type=radio] {height: 16px; width: 16px;}
3826
+ input[type=radio]:checked:before {
3827
+ vertical-align: middle;
3828
+ width: 0.5625rem;
3829
+ height: 0.5625rem;
3830
+ margin: 2.6px;
3831
+ line-height: .76190476;}
3832
+ input[type="checkbox"]:checked::before {
3833
+ width: 1.375rem;
3834
+ height: 1.875rem;
3835
+ margin: -.1875rem -.2125rem;
3836
+ }
3837
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label {
3838
+ width: 82px;
3839
+ }
3840
+
3841
+ .mysticky-welcomebar-setting-content.height-setting .px-wrap {width: 46%;}
3842
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec .px-wrap {width: 100%;}
3843
+
3844
+ .mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label{width: 80px !important;}
3845
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade {
3846
+ margin-left: 0;
3847
+ }
3848
+
3849
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-trigger-wrap{width: 65%;}
3850
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 30%;}
3851
+
3852
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade a {
3853
+ width: 121px;}
3854
+ .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade{margin-left: 0;}
3855
+
3856
+ .mysticky-welcomebar-setting-content.show-on-apper .mysticky-welcomebar-setting-content-right {width: 90%;}
3857
+ .mysticky-welcomebar-page-option .url-content input[type="text"] {width: 100%;}
3858
+
3859
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {width: 120px; margin-top: 0;}
3860
+ input#submit.button.button-primary { font-size: 20px; text-align: center; padding: 0 15px;}
3861
+ }
3862
+ @media only screen and (max-width: 810px) {
3863
+ input#submit.button.button-primary { font-size: 20px; text-align: center; padding: 0 15px;}
3864
  }
css/mystickymenu-admin.css CHANGED
@@ -131,6 +131,9 @@ div#wpcontent{background:none !important;}
131
  position: relative;
132
  }
133
 
 
 
 
134
  #mystickymenu .mystickymenu-content-section .mysticky-number {
135
  /*width: 90px;*/
136
  }
@@ -399,6 +402,10 @@ input#submit.button.button-primary {
399
  text-shadow: none;
400
  }
401
 
 
 
 
 
402
  input.button.button-secondary.confirm {
403
  background: #969696;
404
  border-color: #969696;
@@ -625,7 +632,7 @@ div#slider.ui-slider {
625
  display: none;
626
  }*/
627
  .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {
628
- width: 55px;
629
  }
630
 
631
  /*New Welcomebar Page css*/
@@ -1625,7 +1632,7 @@ p.udner-title {
1625
  }
1626
  .mysticky-welcomebar-switch .slider {
1627
  border-radius: 15px;
1628
- position: absolute;
1629
  cursor: pointer;
1630
  top: 0;
1631
  left: 0;
@@ -1756,6 +1763,11 @@ p.udner-title {
1756
  width: 100px;
1757
  padding-right: 10px;
1758
  }
 
 
 
 
 
1759
  .mysticky-welcomebar-setting-content-right .wp-picker-input-wrap label {
1760
  width: auto;
1761
  }
@@ -2084,6 +2096,13 @@ a.create-rule {
2084
  font-weight: 600;
2085
  text-shadow: none;
2086
  }
 
 
 
 
 
 
 
2087
  .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-buttons {
2088
  padding-right: 0;
2089
  }
@@ -2650,7 +2669,7 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2650
  width: 100%;
2651
  height: 100%;
2652
  background-color: rgba(0,0,0,0.3);
2653
- z-index: 9;
2654
  }
2655
 
2656
  .mystickymenu-action-popup{
@@ -2660,7 +2679,7 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2660
  -webkit-transform: translateX(-50%);
2661
  -moz-transform: translateX(-50%);
2662
  transform: translateX(-50%);
2663
- z-index: 10;
2664
  width: 500px;
2665
  background-color: #fff;
2666
  padding: 0 0 28px 0;
@@ -2706,7 +2725,7 @@ margin:24px 0 0 0; background-color:#fff;}/*------------------------------------
2706
  -webkit-transform: translate(-50%,-50%);
2707
  -moz-transform: translate(-50%,-50%);
2708
  transform: translate(-50%,-50%);
2709
- z-index: 10;
2710
  width: 500px;
2711
  background-color: #fff;
2712
  padding: 30px;
@@ -2819,7 +2838,7 @@ a.copyicon{text-decoration:none; color:#000;}
2819
  .mystickymenu-dashboard .mystickymenu-widgets-btn-wrap{display:inline-flex;}
2820
 
2821
  .mystickymenu-dashboard .mystickymenu-tab-boxs-wrap{display:block; justify-content:space-between; margin:20px 0;}/*00000000000000000000*/
2822
- .contactus-tab-option,.mystickymenu-tab-documentation{width:49%;} /*0000000000000000000000000000000000000000000000000000000000*/
2823
 
2824
  .mystickymenu-new302box{display:flex; justify-content:space-between; flex-wrap:wrap;} /*00000000000000000000000000000000000000000*/
2825
 
@@ -2973,7 +2992,7 @@ a.copyicon1 span{text-decoration:none;}
2973
 
2974
  .stickymenubox-title-section h3,
2975
  .mystickymenu-tab-documentation h3, .contactus-title
2976
- {border-bottom:1px solid #EBEBEB; padding:24px 40px; margin:0;} /*------------------------------------------------------------20-1-22---*/
2977
  .contactus-title h3{margin:0;}
2978
 
2979
  .stickymenubox-title-section h3{margin:0 !important;}
@@ -3287,10 +3306,6 @@ a.add_new_welcombar{margin:auto 0;} /*------------------------------------------
3287
  .mysticky-stickymenu-backword-page{text-align:end; padding:0 15px; float: right; margin-top: 28px;}
3288
  .mysticky-stickymenu-backword-page a{text-decoration:none;}
3289
 
3290
-
3291
-
3292
-
3293
-
3294
  .save_view_dashboard{
3295
  width: auto !important;
3296
  background: #6558F5 !important;
@@ -3306,3 +3321,518 @@ a.add_new_welcombar{margin:auto 0;} /*------------------------------------------
3306
  color:#32373c !important;
3307
  }
3308
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  position: relative;
132
  }
133
 
134
+ #mystickymenu #mysticky_welcomebar_height{
135
+ width: 235px;
136
+ }
137
  #mystickymenu .mystickymenu-content-section .mysticky-number {
138
  /*width: 90px;*/
139
  }
402
  text-shadow: none;
403
  }
404
 
405
+ input#submit.button.button-primary:hover {
406
+ opacity: 0.7;
407
+ }
408
+
409
  input.button.button-secondary.confirm {
410
  background: #969696;
411
  border-color: #969696;
632
  display: none;
633
  }*/
634
  .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {
635
+ width: 55px !important;
636
  }
637
 
638
  /*New Welcomebar Page css*/
1632
  }
1633
  .mysticky-welcomebar-switch .slider {
1634
  border-radius: 15px;
1635
+ position: absolute !important;
1636
  cursor: pointer;
1637
  top: 0;
1638
  left: 0;
1763
  width: 100px;
1764
  padding-right: 10px;
1765
  }
1766
+
1767
+ #mysticky_welcomebar_redirect_rel.mysticky_welcomebar_disable.unactive_rel_input {
1768
+ width: 235px;
1769
+ }
1770
+
1771
  .mysticky-welcomebar-setting-content-right .wp-picker-input-wrap label {
1772
  width: auto;
1773
  }
2096
  font-weight: 600;
2097
  text-shadow: none;
2098
  }
2099
+
2100
+ #mystickymenu .mysticky-welcomebar-submit input.button-secondary:hover {
2101
+ opacity: 0.7;
2102
+ background-color: #8c8f94;
2103
+ color: #FFFFFF;
2104
+ }
2105
+
2106
  .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-buttons {
2107
  padding-right: 0;
2108
  }
2669
  width: 100%;
2670
  height: 100%;
2671
  background-color: rgba(0,0,0,0.3);
2672
+ z-index: 99990;
2673
  }
2674
 
2675
  .mystickymenu-action-popup{
2679
  -webkit-transform: translateX(-50%);
2680
  -moz-transform: translateX(-50%);
2681
  transform: translateX(-50%);
2682
+ z-index: 99995;
2683
  width: 500px;
2684
  background-color: #fff;
2685
  padding: 0 0 28px 0;
2725
  -webkit-transform: translate(-50%,-50%);
2726
  -moz-transform: translate(-50%,-50%);
2727
  transform: translate(-50%,-50%);
2728
+ z-index: 99995;
2729
  width: 500px;
2730
  background-color: #fff;
2731
  padding: 30px;
2838
  .mystickymenu-dashboard .mystickymenu-widgets-btn-wrap{display:inline-flex;}
2839
 
2840
  .mystickymenu-dashboard .mystickymenu-tab-boxs-wrap{display:block; justify-content:space-between; margin:20px 0;}/*00000000000000000000*/
2841
+ .contactus-tab-option,.mystickymenu-tab-documentation{width:100%;} /*0000000000000000000000000000000000000000000000000000000000*/
2842
 
2843
  .mystickymenu-new302box{display:flex; justify-content:space-between; flex-wrap:wrap;} /*00000000000000000000000000000000000000000*/
2844
 
2992
 
2993
  .stickymenubox-title-section h3,
2994
  .mystickymenu-tab-documentation h3, .contactus-title
2995
+ {border-bottom:1px solid #EBEBEB; padding:24px 15px; margin:0;} /*------------------------------------------------------------20-1-22---*/
2996
  .contactus-title h3{margin:0;}
2997
 
2998
  .stickymenubox-title-section h3{margin:0 !important;}
3306
  .mysticky-stickymenu-backword-page{text-align:end; padding:0 15px; float: right; margin-top: 28px;}
3307
  .mysticky-stickymenu-backword-page a{text-decoration:none;}
3308
 
 
 
 
 
3309
  .save_view_dashboard{
3310
  width: auto !important;
3311
  background: #6558F5 !important;
3321
  color:#32373c !important;
3322
  }
3323
 
3324
+ .mystickymenu-widgets-lists .tooltip {
3325
+ opacity: 1;
3326
+ position: relative;
3327
+ display: inline-block;
3328
+ }
3329
+
3330
+ /*collect contact lead content */
3331
+
3332
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label {
3333
+ display: inline-block;
3334
+ vertical-align: top;
3335
+ width: 205px;
3336
+ padding-right: 10px;
3337
+ }
3338
+
3339
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right input[type="radio"] {
3340
+ display: none;
3341
+ }
3342
+
3343
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label span {
3344
+ display: inline-block;
3345
+ padding: 4px 21px 4px 0;
3346
+ font-family: 'Lato', sans-serif;
3347
+ font-size: 16px;
3348
+ cursor: pointer;
3349
+ position: relative;
3350
+
3351
+ }
3352
+
3353
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right input[type="radio"]:checked ~ span {
3354
+ color: #6558f5;
3355
+ }
3356
+
3357
+ .mysticky-collect-lead .lead_inputs span:hover:after,.mysticky-collect-lead .lead_inputs input[type="radio"]:checked ~ span:after {
3358
+ display: block;
3359
+ }
3360
+
3361
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label span::after {
3362
+ content: "";
3363
+ position: absolute;
3364
+ bottom: 0;
3365
+ width: 89%;
3366
+ height: 3px;
3367
+ background: #6558f5;
3368
+ display: none;
3369
+ }
3370
+
3371
+ .email-send-lead-settings {
3372
+ background-color: #eff5f6;
3373
+ width: 644px;
3374
+ padding: 10px 10px 0 10px;
3375
+ margin-bottom: 20px;
3376
+ max-height: 213px;
3377
+ }
3378
+
3379
+ .email-send-lead-settings label {
3380
+ font-size: 15px;
3381
+ margin-left: 15px;
3382
+ margin-top: 13px;
3383
+ }
3384
+
3385
+ .email-send-lead-settings .mysticky-welcomebar-setting-content-right {
3386
+ width: 100%;
3387
+ align-items: center;
3388
+ display: block;
3389
+ }
3390
+
3391
+ .email-send-lead-settings input[type="text"] {
3392
+ float: right;
3393
+ }
3394
+
3395
+ .email-send-lead-settings>.mysticky-welcomebar-setting-content-right>.mail-merge-tags {
3396
+ display: block;
3397
+ }
3398
+
3399
+ .mail-merge-tags span {
3400
+ display: inline-block;
3401
+ background: #6558f5;
3402
+ color: #fff;
3403
+ font-size: 14px;
3404
+ padding: 1px 5px;
3405
+ margin: 4px 4px 0 0;
3406
+ border-radius: 5px;
3407
+ cursor: pointer;
3408
+ }
3409
+
3410
+ .mysticky_welcome_email_subject{
3411
+ margin-bottom:5px;
3412
+ }
3413
+
3414
+ /* preview section lead content */
3415
+ /*
3416
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {
3417
+ order: 2;
3418
+ display: flex;
3419
+ width: 263px;
3420
+ margin-left: -10px;
3421
+ min-width: 77%;
3422
+ }*/
3423
+
3424
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-lead-content input[type="text"] {
3425
+ width: 50%;
3426
+ font-size: 10px;
3427
+ }
3428
+
3429
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-lead-content input[type="text"]:focus {
3430
+ outline: unset;
3431
+ box-shadow: unset;
3432
+ }
3433
+
3434
+ .responstable a.external-link {
3435
+ color: #135e96;
3436
+ text-decoration: none;
3437
+ margin: 0 auto;
3438
+ }
3439
+
3440
+ span.dashicons.dashicons-external {
3441
+ color: #135e96;
3442
+ }
3443
+
3444
+ /*----------------------------------------------------------------------New CSS 5-7-22--------*/
3445
+ .msmenu-flexbox{display: flex !important; justify-content: space-between;}
3446
+ .msmenu-blockbox{display: block;}
3447
+ .msmenu-box50{width: 49.4%;}
3448
+ .msmenu-box100{width: 100%;}
3449
+
3450
+ .contact-recent-lead{margin-bottom: 15px;}
3451
+ .stickymenubox-title-section{display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #EBEBEB;}
3452
+ .stickymenubox-title-section h3{border: none;}
3453
+ .stickymenubox-title-section a{margin-right: 15px;}
3454
+
3455
+ .stickymenu-no-lead{display: block; text-align: center; min-height: 168px;}
3456
+ .stickymenu-no-lead img{ margin-top:25px;}
3457
+ .stickymenu-no-lead p{text-align: center; font-size: 16px;}
3458
+
3459
+ .msmenu-btn{
3460
+ display: inline-flex;
3461
+ color: #6558F5;
3462
+ font-size: 16px;
3463
+ font-weight: 500;
3464
+ font-family: 'Lato', sans-serif;
3465
+ padding: 0 15px;
3466
+ text-decoration: none;
3467
+ border: 1px solid #6558F5 !important;
3468
+ border-radius: 5px;
3469
+ align-items: center;
3470
+ background: none;
3471
+ line-height: 34px;
3472
+ cursor: pointer;
3473
+ }
3474
+ /*-----*/
3475
+ .recent-lead-table{padding:15px; min-height: 171px;}
3476
+ .recent-lead-table table{ border-collapse: collapse;
3477
+ border-radius: 10px;
3478
+ border-style: hidden; /* hide standard table (collapsed) border */
3479
+ box-shadow: 0 0 0 1px #F0EFF3; /* this draws the table border */
3480
+ }
3481
+ .recent-lead-table table th,
3482
+ .recent-lead-table table td{border: 1px solid #F0EFF3; padding: 8px 15px !important;}
3483
+ .recent-lead-table table th{background-color: #F0EFF3;}
3484
+ .stickymenu.recent-lead-table table tr:first-child th:first-child{border-right: 1px solid #fff !important;}
3485
+
3486
+ /*----------------------------------------# Contact view Table #-------*/
3487
+ .mystickymenu-contact-wrap p.description{font-size: 14px; margin: 2px 0 5px;color: #646970;}
3488
+ .mystickymenu-btnmbox{display: flex; flex-wrap: wrap; margin: 15px auto;}
3489
+ .mystickymenu-btnbx{display: inline-flex; align-items: center;}
3490
+ /* .mystickymenu-btnbx:nth-of-type(2){margin-left:15px;} */
3491
+ .mystickymenu-btnmbox .wpappp_buton {
3492
+ padding: 12px 12px;
3493
+ cursor: pointer;
3494
+ transition: all 60ms ease-in-out;
3495
+ text-decoration: none;
3496
+ text-transform: capitalize;
3497
+ border: 0 none;
3498
+ border-radius: 4px;
3499
+ line-height: 1.3;
3500
+ color: #FFFFFF;
3501
+ background: #7761DF;
3502
+ margin: 0 20px 0 5px;
3503
+ }
3504
+
3505
+
3506
+ .mystickymenu-contact-wrap table.responstable{
3507
+ margin: 1em 0;
3508
+ width: 100%;
3509
+ overflow: hidden;
3510
+ background: #FFF;
3511
+ color: #024457;
3512
+ border-radius: 10px;
3513
+ border: 1px solid #7761DF;
3514
+ border-spacing: 4px;
3515
+ }
3516
+ /* .responstable th:first-child { display: table-cell; text-align: center;} */
3517
+ .mystickymenu-contact-wrap table.responstable th {
3518
+ border: 1px solid #FFF;
3519
+ background-color: #7761DF;
3520
+ color: #FFF;
3521
+ padding: 1em;}
3522
+ .mystickymenu-contact-wrap table.responstable td {text-align: center;
3523
+ margin: 0.5em 1em; vertical-align:middle !important;
3524
+ border-color:#D9E4E6; padding: 4px 10px; border-style: solid;}
3525
+
3526
+ .mystickymenu-contact-wrap table.responstable td .mystickymenu-delete-entry{
3527
+ padding: 12px 12px;
3528
+ cursor: pointer;
3529
+ transition: all 60ms ease-in-out;
3530
+ text-decoration: none;
3531
+ text-transform: capitalize;
3532
+ border: 0 none;
3533
+ border-radius: 4px;
3534
+ font-size: 14px;
3535
+ line-height: 1.3;
3536
+ color: #FFFFFF;
3537
+ background: #7761DF;
3538
+ margin: 0 20px 0 5px;
3539
+ }
3540
+
3541
+ /*-------------------------------------------------# 8-7-22 #----------------------------*/
3542
+
3543
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap{
3544
+ display: flex;
3545
+ align-items: center;
3546
+ flex-wrap: wrap;
3547
+ justify-content: space-between !important;
3548
+ min-height: 60px;
3549
+ padding: 10px 20px 10px 20px;
3550
+ margin-right: 13px;
3551
+ }
3552
+
3553
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-content{
3554
+ text-align: center;
3555
+ width: 75%;
3556
+ display: inline-flex;
3557
+ order: 1;
3558
+ margin: 5px 10px !important;
3559
+ }
3560
+
3561
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-lead-content{
3562
+ order: 2;
3563
+ display: flex;
3564
+ width: 240px;
3565
+ margin-left: -10px;
3566
+ min-width: 75%;}
3567
+
3568
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn{
3569
+ display: block;
3570
+ padding-left: 0 !important;
3571
+ margin: 0;
3572
+ order: 4;}
3573
+
3574
+ .mysticky-welcomebar-setting-content label.bagicon{position: relative; display: flex; align-items: center;}
3575
+
3576
+ /*.mysticky-welcomebar-setting-content label.bagicon::after{position: absolute; content: '🛍';
3577
+ width: 20px; height: 20px; right: 103px;
3578
+ font-size: 35px; top: -15px;}*/
3579
+
3580
+
3581
+
3582
+
3583
+ .x-color-wrap {
3584
+ display: inline-flex;
3585
+ position: relative;
3586
+ }
3587
+ /*.x-color-wrap label{margin-top: 5px;}*/
3588
+
3589
+ .x-color-wrap span.mysticky-welcomebar-colorpicker.color-x-input {
3590
+ position: absolute;
3591
+ left: 60px;
3592
+ z-index: 999;
3593
+ }
3594
+
3595
+ .mysticky-welcomebar-btn.collect-lead {
3596
+ width: 100%;
3597
+ max-width: 94px;
3598
+ }
3599
+
3600
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-btn.collect-lead a {
3601
+ width: 100%;
3602
+ max-width: 94px;
3603
+ overflow: hidden;
3604
+ padding: 5px 12px;
3605
+ text-align: center;
3606
+ }
3607
+
3608
+
3609
+ .mysticky-welcomebar-setting-content .html-tooltip span.dashicons.dashicons-editor-help {
3610
+ color: #1E1E1E;
3611
+ }
3612
+
3613
+ .mysticky-welcomebar-setting-content .bagicon img {
3614
+ width: 20px;
3615
+ }
3616
+
3617
+ .button-input-error{
3618
+ color: #FF424D;
3619
+ }
3620
+
3621
+ .mysticky-welcomebar-setting-content-right.welcomebar-text-button{
3622
+ display: block;
3623
+ }
3624
+
3625
+
3626
+ /*---------------------New 10-8-22 -----------------------------------------*/
3627
+ .wp-picker-holder{position: absolute; z-index: 9999;}
3628
+ .x-color-wrap{z-index: 9999; align-items: center;}
3629
+ .x-color-wrap .wp-picker-container .wp-color-result.button {margin: 0 6px 0 0;}
3630
+
3631
+ .x-color-wrap{display: inline-flex !important;}
3632
+ .wp-picker-container .wp-color-result.button {margin: 0 6px 9px 0;}
3633
+
3634
+ .mysticky-welcomebar-setting-content .wp-core-ui.wp-editor-wrap.html-active,
3635
+ .mysticky-welcomebar-setting-content .wp-core-ui.wp-editor-wrap.tmce-active{width: 400px;}
3636
+
3637
+ .mysticky-welcomebar-setting-content-right input.readonly, input[readonly], textarea.readonly, textarea[readonly] {
3638
+ background-color: unset;
3639
+ }
3640
+ /*------*/
3641
+ .mysticky-welcomebar-setting-right{ z-index: 999;}
3642
+ #ui-timepicker-div, .ui-widget.ui-widget-content{z-index: 99999 !important;}
3643
+ .mysticky-welcomebar-setting-content-right .px-wrap span:first-child{margin:0 8px;}
3644
+ .mysticky-welcomebar-setting-content-right.button-text-wrap,
3645
+ .mysticky-welcomebar-setting-content-right.coupontext-wrap{display: block;}
3646
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn a{padding: 5px 8px !important;}
3647
+
3648
+ .mysticky-welcomebar-setting-content-right .x-color-wrap label{width: 65px;}
3649
+
3650
+ .mysticky-welcomebar-expirydate-gmt{margin: 0 10px;}
3651
+
3652
+ @media only screen and (max-width: 840px) {
3653
+
3654
+ .mysticky-welcomebar-setting-wrap .myStickymenu-upgrade{margin-left: 5px;}
3655
+ .mysticky-welcomebar-setting-content-right{flex-wrap: wrap;}
3656
+ .x-color-wrap{width: 100%; margin-top: 15px;}
3657
+ .mysticky-welcomebar-setting-wrap label{font-size: 14px;}
3658
+
3659
+ span.input-px {height: 34px; line-height: 36px; width: 40px;}
3660
+ .mysticky-welcomebar-switch .slider:before {height: 20px; width: 21px;}
3661
+
3662
+ label.mysticky-welcomebar-switch,
3663
+ .mysticky-welcomebar-setting-content-right label.mysticky-welcomebar-switch {width: 48px; height:26px;}
3664
+
3665
+ .mysticky-welcomebar-switch input:checked + .slider:before {transform: translateX(18px);}
3666
+
3667
+ .mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label:first-child{width: 70px;}
3668
+ .mysticky-welcomebar-setting-wrap .mysticky-welcomebar-setting-position .myStickymenu-upgrade {margin-left: -12px;}
3669
+
3670
+ .mysticky-right-side span{padding: 4px 5px 4px 0; font-size: 14px;}
3671
+
3672
+ .wp-picker-container .wp-color-result.button {padding: 0 0 0 30px; margin: 0 6px 9px 0;}
3673
+ .mysticky-welcomebar-colorpicker.mysticky_welcomebar_btn_color label { margin-top: 0;}
3674
+ /*--------*/
3675
+ .timer_datetime_box input.mysticky_welcome_date_time{width:100px !important;}
3676
+
3677
+ .mysticky-welcomebar-fixed-wrap input.preview-lead-email,
3678
+ .mysticky-welcomebar-fixed-wrap input.preview-lead-name{min-height: auto; height: 30px;}
3679
+
3680
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content{margin:0 auto;}
3681
+ /* .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn.collect-lead{margin:10px auto 0 auto;} */
3682
+
3683
+ .mystickymenu-action-popup-footer .btn-enable.btn-nevermind-status{ margin: 10px auto;}
3684
+ }
3685
+
3686
+ /*==================================== NEW ==============================*/
3687
+
3688
+ @media only screen and (max-width: 1180px) {
3689
+ /*-----Main---*/
3690
+ .mysticky-welcomebar-setting-content,
3691
+ .email-send-lead-settings {width: 60%;}
3692
+
3693
+ /* .mysticky-welcomebar-setting-right{width: 31%;} */
3694
+ .mysticky-welcomebar-setting-right{width: 370px;}
3695
+
3696
+ .mysticky-welcomebar-setting-content-right select,
3697
+ .mysticky-welcomebar-setting-content-right input[type="text"]{width: 100%; height: 34px;}
3698
+
3699
+ .mysticky-welcomebar-setting-content-right select, #mystickymenu input[type=number]
3700
+ {width: 100%; height: 34px;}
3701
+
3702
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label{width: 50%;}
3703
+
3704
+ div#wp-mysticky_bar_text-wrap, .mysticky-welcomebar-expirydate, .mysticky-welcomebar-setting-attention,
3705
+ .email-send-lead-settings .mysticky-welcomebar-setting-content, .px-wrap,
3706
+ .mysticky-show-couponbar div#wp-welcombar-coupon-textbar-editor-container,
3707
+ .mysticky-welcomebar-setting-content .wp-core-ui.wp-editor-wrap.tmce-active,
3708
+ .mysticky-welcomebar-timer-countdown .mystickymenu-countdown-timmer,
3709
+ .mysticky-welcomebar-setting-action, .mysticky-welcomebar-page-options, #wp-mysticky_thankyou_screen_text-wrap,
3710
+ .mysticky-welcomebar-close-automatically-sec .mysticky-welcomebar-setting-action,
3711
+ .mysticky-welcomebar-setting-content.show-on-apper
3712
+ {width: 100%;}
3713
+
3714
+ /* .mysticky-welcomebar-setting-content.show-on-apper label{width: 20%;} */
3715
+ /* .mysticky-welcomebar-setting-content.show-on-apper .mysticky-welcomebar-setting-content-right{width: 80%;} */
3716
+
3717
+ .mysticky-welcomebar-setting-content-right.timer_datetime_box{width: 100%; flex-wrap: unset;}
3718
+ .mysticky-welcomebar-setting-content-right.timer_datetime_box .col-1{margin-right: 15px;}
3719
+ .timer_datetime_box input[type=number] {width: 100% !important; margin-right: 0; }
3720
+
3721
+ .mysticky-welcomebar-setting-action.trigger-wrap{width:61% ;}
3722
+ .mysticky-welcomebar-url-values{width: 35%;}
3723
+
3724
+ span.input-px {height: 34px; width: 50px; line-height: 36px;}
3725
+
3726
+ #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input{padding-right: 50px}
3727
+
3728
+ .mysticky-show-couponbar label {font-size: 1.7vw;}
3729
+
3730
+ input.url-inputs {width:100% !important;}
3731
+ .mysticky-welcomebar-page-option .url-content input[type="text"]{padding: 0 7px;}
3732
+
3733
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{padding-top: 0; margin-left: 7px;}
3734
+
3735
+ .mysticky-welcomebar-setting-content-right .px-wrap span:first-child{margin:0 10px;}
3736
+ .mysticky-welcomebar-setting-content-right .px-wrap input#mysticky_welcomebar_triggersec_automatically{width: 52%;}
3737
+ #mystickymenu .mysticky-welcomebar-setting-content-right .px-wrap input#mysticky_welcomebar_triggersec{width: 100%; padding-right:50px;}
3738
+
3739
+ .px-wrap {display: inline-flex; align-items: center; width: 100%;}
3740
+
3741
+ .mysticky-collect-lead .mysticky-welcomebar-setting-content-right label span {padding: 4px 10px 4px 0;}
3742
+ .mysticky-welcomebar-fixed-wrap {padding: 10px !important;}
3743
+
3744
+ .mysticky-welcomebar-poptin-content {font-size: 14px;}
3745
+
3746
+ .msmenu-blockbox .stickymenu-box-button.settings-buttons #btn-config-disable { margin: 5px 0px; padding: 0 17px;}
3747
+
3748
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-coupon-btn a {padding: 0 10px; font-size: 10px; height: 24px;}
3749
+ .mysticky-welcomebar-fixed .mysticky-couponbar-content p {font-size: 12px !important;}
3750
+
3751
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content
3752
+ { width: 67%; justify-content: space-evenly; margin-left: 0px; min-width: unset;}
3753
+
3754
+ #welcombar-coupon-textbar_ifr{width: 99% !important;}
3755
+
3756
+ .mysticky-welcomebar-setting-content-right.trigger-wrap{flex-wrap: unset;}
3757
+ .mysticky-welcomebar-setting-content-right.trigger-wrap .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 54%;}
3758
+
3759
+ .wrap.mystickymenu-contact-wrap .mystickymenu-btnbx {margin-bottom: 15px;}
3760
+
3761
+ .mysticky-welcomebar-setting-content-right .x-color-wrap label{width: auto;}
3762
+
3763
+ #mystickymenu #mysticky_welcomebar_height{width: 100%;}
3764
+ input[type=number]{min-height: 34px !important;}
3765
+ /**/
3766
+ .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade .mysticky-welcomebar-setting-content{width: 85%;}
3767
+ /* .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade label{width: 290px;} */
3768
+ .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade .mysticky-welcomebar-trigger-wrap{display: inline-flex;}
3769
+ .mysticky-welcomebar-upgrade-main.mysticky_device_upgrade .mysticky-welcomebar-expirydate{width: 50%;}
3770
+
3771
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label{width: 95px;}
3772
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade{margin-left:20px;}
3773
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade a{width: 130px;}
3774
+ .myStickymenu-upgrade a {font-size: 11px;}
3775
+
3776
+ .mysticky-welcomebar-btn.collect-lead {max-width: 85px;}
3777
+
3778
+ .mysticky-welcomebar-expirydate-gmt{margin-left: 8px;}
3779
+
3780
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-trigger-wrap{width: 55%;}
3781
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 32%;}
3782
+
3783
+ .mysticky-welcomebar-setting-content.show-on-apper{width: 100% !important;}
3784
+ .mysticky-welcomebar-page-option .url-content > div.mysticky-welcomebar-url-box {width: auto;}
3785
+ .mysticky-welcomebar-page-options.mysticky-welcomebar-setting-content-right{margin-left: -18px;}
3786
+ }
3787
+
3788
+
3789
+ @media only screen and (max-width: 912px) {
3790
+ /*-----Main---*/
3791
+ .mysticky-welcomebar-setting-content,
3792
+ .email-send-lead-settings {width: 61%;}
3793
+ /* .mysticky-welcomebar-setting-right{width: 32%;} */
3794
+ .mysticky-welcomebar-setting-right{width: 310px;}
3795
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content{ width: 100%;}
3796
+
3797
+ .mysticky-welcomebar-setting-content > label {font-size: 14px;}
3798
+
3799
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content {width: 67%;}
3800
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead{width: 32%;}
3801
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-btn.collect-lead a{font-size: 12px;}
3802
+
3803
+ .mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed-wrap .mysticky-welcomebar-btn a {padding: 7px 8px !important;}
3804
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label { width: 80px; padding-right:0;}
3805
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade {
3806
+ margin-left: 0px;}
3807
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right span.myStickymenu-upgrade a {
3808
+ width: 125px;}
3809
+
3810
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-trigger-wrap{width: 65%;}
3811
+ .mysticky-welcomebar-setting-action.mysticky-welcomebar-triggersec{width: 30%;}
3812
+ }
3813
+
3814
+
3815
+ @media only screen and (max-width: 1024px) {
3816
+ .mysticky-welcomebar-setting-right{width: 310px;}
3817
+ }
3818
+ @media only screen and (max-width: 820px) {
3819
+ .mysticky-welcomebar-setting-right{width: 275px;}
3820
+ }
3821
+ @media only screen and (max-width: 768px) {
3822
+ .mysticky-welcomebar-setting-right{width: 270px;}
3823
+ input[type=checkbox], input[type=radio] {height: 16px; width: 16px;}
3824
+ input[type=radio]:checked:before {
3825
+ vertical-align: middle;
3826
+ width: 0.5625rem;
3827
+ height: 0.5625rem;
3828
+ margin: 2.6px;
3829
+ line-height: .76190476;}
3830
+ input[type="checkbox"]:checked::before {
3831
+ width: 1.375rem;
3832
+ height: 1.875rem;
3833
+ margin: -.1875rem -.2125rem;
3834
+ }
3835
+ .mysticky-welcomebar-setting-content.mysticky-welcomebar-setting-position .mysticky-welcomebar-setting-content-right label {
3836
+ width: 82px;
3837
+ }
3838
+ }
css/mystickymenu-help-rtl.css ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .mystickymenu-help-btn {
2
+ position: fixed;
3
+ left: 20px;
4
+ bottom: 20px;
5
+ z-index: 1001
6
+ }
7
+
8
+ .mystickymenu-help-btn a {
9
+ display: block;
10
+ border: 3px solid #FFF;
11
+ width: 50px;
12
+ height: 50px;
13
+ -webkit-border-radius: 50%;
14
+ -moz-border-radius: 50%;
15
+ border-radius: 50%;
16
+ position: relative
17
+ }
18
+
19
+ .mystickymenu-help-btn a img {
20
+ width: 100%;
21
+ height: auto;
22
+ display: block;
23
+ -webkit-border-radius: 50%;
24
+ -moz-border-radius: 50%;
25
+ border-radius: 50%
26
+ }
27
+
28
+ .mystickymenu-help-form {
29
+ position: fixed;
30
+ display: none;
31
+ left: 85px;
32
+ border: 1px solid #e9edf0;
33
+ bottom: 25px;
34
+ background: #fff;
35
+ -webkit-border-radius: 10px;
36
+ -moz-border-radius: 10px;
37
+ border-radius: 10px;
38
+ width: 320px;
39
+ z-index: 1001;
40
+ direction: ltr;
41
+ opacity: 0;
42
+ transition: .4s;
43
+ -webkit-transition: .4s;
44
+ -moz-transition: .4s
45
+ }
46
+
47
+ .mystickymenu-help-form.active {
48
+ opacity: 1;
49
+ display: block;
50
+ pointer-events: inherit
51
+ }
52
+
53
+ .mystickymenu-help-header {
54
+ background: #f4f4f4;
55
+ border-bottom: solid 1px #e9edf0;
56
+ padding: 5px 20px;
57
+ -webkit-border-radius: 10px;
58
+ -moz-border-radius: 10px;
59
+ border-radius: 10px 10px 0 0;
60
+ font-size: 16px;
61
+ text-align: left
62
+ }
63
+
64
+ .mystickymenu-help-header b {
65
+ float: left
66
+ }
67
+
68
+ .mystickymenu-help-content {
69
+ margin-bottom: 10px;
70
+ padding: 20px 20px 10px
71
+ }
72
+
73
+ .mystickymenu-help-form p {
74
+ margin: 0 0 1em
75
+ }
76
+
77
+ .mystickymenu-form-field {
78
+ margin-bottom: 10px
79
+ }
80
+
81
+ .mystickymenu-form-field input, .mystickymenu-form-field textarea {
82
+ -webkit-border-radius: 5px;
83
+ -moz-border-radius: 5px;
84
+ border-radius: 5px;
85
+ padding: 5px;
86
+ width: 100%;
87
+ box-sizing: border-box;
88
+ border: 1px solid #c5c5c5
89
+ }
90
+
91
+ .mystickymenu-form-field textarea {
92
+ height: 70px
93
+ }
94
+
95
+ .mystickymenu-help-button {
96
+ border: none;
97
+ padding: 8px 0;
98
+ width: 100%;
99
+ background: #ff6624;
100
+ color: #fff;
101
+ border-radius: 18px;
102
+ cursor: pointer;
103
+ }
104
+
105
+ .mystickymenu-help-form .error-message {
106
+ font-weight: 400;
107
+ font-size: 14px
108
+ }
109
+
110
+ .mystickymenu-help-form input.input-error, .mystickymenu-help-form textarea.input-error {
111
+ border-color: #dc3232
112
+ }
113
+
114
+ .mystickymenu-help-btn span.tooltiptext {
115
+ position: absolute;
116
+ background: #000;
117
+ font-size: 12px;
118
+ color: #fff;
119
+ top: -30px;
120
+ width: 140%;
121
+ text-align: center;
122
+ left: -20%;
123
+ border-radius: 5px;
124
+ direction: ltr;
125
+ visibility: visible;
126
+ line-height:unset;
127
+ }
128
+
129
+ p.error-p, p.success-p {
130
+ margin: 0;
131
+ font-size: 14px;
132
+ text-align: center
133
+ }
134
+
135
+ p.success-p {
136
+ color: green;
137
+ }
138
+
139
+ .mystickymenu-help-btn span.tooltiptext:after {
140
+ left: 50%;
141
+ top:18px;
142
+ content: "";
143
+ transform: translateX(-50%);
144
+ height: 0px;
145
+ width: 0px;
146
+ border-width: 10px 5px 0;
147
+ border-style: solid;
148
+ border-color: #000 transparent transparent;
149
+ position: absolute
150
+ }
151
+
152
+ .mystickymenu-help-content .mystickymenu-help-center{
153
+ margin: 5px 0 0;
154
+ text-align: center;
155
+ }
156
+ .mystickymenu-help-content .mystickymenu-help-center a:focus,
157
+ .mystickymenu-help-content .mystickymenu-help-center a:hover,
158
+ .mystickymenu-help-content .mystickymenu-help-center a{
159
+ text-decoration: none;
160
+ color: none;
161
+ box-shadow: none;
162
+ outline: none;
163
+ }
css/mystickymenu-help.css ADDED
@@ -0,0 +1,163 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .mystickymenu-help-btn {
2
+ position: fixed;
3
+ right: 20px;
4
+ bottom: 20px;
5
+ z-index: 1001
6
+ }
7
+
8
+ .mystickymenu-help-btn a {
9
+ display: block;
10
+ border: 3px solid #FFF;
11
+ width: 50px;
12
+ height: 50px;
13
+ -webkit-border-radius: 50%;
14
+ -moz-border-radius: 50%;
15
+ border-radius: 50%;
16
+ position: relative
17
+ }
18
+
19
+ .mystickymenu-help-btn a img {
20
+ width: 100%;
21
+ height: auto;
22
+ display: block;
23
+ -webkit-border-radius: 50%;
24
+ -moz-border-radius: 50%;
25
+ border-radius: 50%
26
+ }
27
+
28
+ .mystickymenu-help-form {
29
+ position: fixed;
30
+ display: none;
31
+ right: 85px;
32
+ border: 1px solid #e9edf0;
33
+ bottom: 25px;
34
+ background: #fff;
35
+ -webkit-border-radius: 10px;
36
+ -moz-border-radius: 10px;
37
+ border-radius: 10px;
38
+ width: 320px;
39
+ z-index: 1001;
40
+ direction: ltr;
41
+ opacity: 0;
42
+ transition: .4s;
43
+ -webkit-transition: .4s;
44
+ -moz-transition: .4s
45
+ }
46
+
47
+ .mystickymenu-help-form.active {
48
+ opacity: 1;
49
+ display: block;
50
+ pointer-events: inherit
51
+ }
52
+
53
+ .mystickymenu-help-header {
54
+ background: #f4f4f4;
55
+ border-bottom: solid 1px #e9edf0;
56
+ padding: 5px 20px;
57
+ -webkit-border-radius: 10px;
58
+ -moz-border-radius: 10px;
59
+ border-radius: 10px 10px 0 0;
60
+ font-size: 16px;
61
+ text-align: right
62
+ }
63
+
64
+ .mystickymenu-help-header b {
65
+ float: left
66
+ }
67
+
68
+ .mystickymenu-help-content {
69
+ margin-bottom: 10px;
70
+ padding: 20px 20px 10px
71
+ }
72
+
73
+ .mystickymenu-help-form p {
74
+ margin: 0 0 1em
75
+ }
76
+
77
+ .mystickymenu-form-field {
78
+ margin-bottom: 10px
79
+ }
80
+
81
+ .mystickymenu-form-field input, .mystickymenu-form-field textarea {
82
+ -webkit-border-radius: 5px;
83
+ -moz-border-radius: 5px;
84
+ border-radius: 5px;
85
+ padding: 5px;
86
+ width: 100%;
87
+ box-sizing: border-box;
88
+ border: 1px solid #c5c5c5
89
+ }
90
+
91
+ .mystickymenu-form-field textarea {
92
+ height: 70px
93
+ }
94
+
95
+ .mystickymenu-help-button {
96
+ border: none;
97
+ padding: 8px 0;
98
+ width: 100%;
99
+ background: #ff6624;
100
+ color: #fff;
101
+ border-radius: 18px;
102
+ cursor: pointer;
103
+ }
104
+
105
+ .mystickymenu-help-form .error-message {
106
+ font-weight: 400;
107
+ font-size: 14px
108
+ }
109
+
110
+ .mystickymenu-help-form input.input-error, .mystickymenu-help-form textarea.input-error {
111
+ border-color: #dc3232
112
+ }
113
+
114
+ .mystickymenu-help-btn span.tooltiptext {
115
+ position: absolute;
116
+ background: #000;
117
+ font-size: 12px;
118
+ color: #fff;
119
+ top: -35px;
120
+ width: 140%;
121
+ text-align: center;
122
+ left: -20%;
123
+ border-radius: 5px;
124
+ direction: ltr;
125
+ visibility: visible;
126
+ line-height:unset;
127
+ }
128
+
129
+ p.error-p, p.success-p {
130
+ margin: 0;
131
+ font-size: 14px;
132
+ text-align: center
133
+ }
134
+ p.success-p {
135
+ color: green;
136
+ }
137
+
138
+ .mystickymenu-help-btn span.tooltiptext:after {
139
+ left: 50%;
140
+ top:18px;
141
+ content: "";
142
+ transform: translateX(-50%);
143
+ height: 0px;
144
+ width: 0px;
145
+ border-width: 10px 5px 0;
146
+ border-style: solid;
147
+ border-color: #000 transparent transparent;
148
+
149
+ position: absolute;
150
+ }
151
+
152
+ .mystickymenu-help-content .mystickymenu-help-center{
153
+ margin: 5px 0 0;
154
+ text-align: center;
155
+ }
156
+ .mystickymenu-help-content .mystickymenu-help-center a:focus,
157
+ .mystickymenu-help-content .mystickymenu-help-center a:hover,
158
+ .mystickymenu-help-content .mystickymenu-help-center a{
159
+ text-decoration: none;
160
+ color: none;
161
+ box-shadow: none;
162
+ outline: none;
163
+ }
help.php ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="mystickymenu-help-form">
2
+ <form action="<?php echo admin_url( 'admin-ajax.php' ) ?>" method="post" id="mystickymenu-help-form">
3
+ <div class="mystickymenu-help-header">
4
+ <b>Gal Dubinski</b> Co-Founder at Premio
5
+ </div>
6
+ <div class="mystickymenu-help-content">
7
+ <p><?php echo __("Hello! Are you experiencing any problems with My Sticky Menu? Please let me know :)", "mystickymenu") ?></p>
8
+ <div class="mystickymenu-form-field">
9
+ <input type="text" name="user_email" id="user_email" placeholder="<?php echo __("Email", "mystickymenu") ?>">
10
+ </div>
11
+ <div class="mystickymenu-form-field">
12
+ <textarea type="text" name="textarea_text" id="textarea_text" placeholder="<?php echo __("How can I help you?", "mystickymenu") ?>"></textarea>
13
+ </div>
14
+ <div class="form-button">
15
+ <button type="submit" class="mystickymenu-help-button" ><?php echo __("Chat") ?></button>
16
+ <input type="hidden" name="action" value="mystickymenu_admin_send_message_to_owner" >
17
+ <input type="hidden" id="nonce" name="nonce" value="<?php echo wp_create_nonce("mystickymenu_send_message_to_owner") ?>">
18
+ </div>
19
+ <p class="mystickymenu-help-center">
20
+ Or
21
+ </p>
22
+ <p class="mystickymenu-help-center" >
23
+ <a href="https://premio.io/help/mystickymenu/?utm_source=pluginchat" target="_blank" >Visit our Help Center >></a>
24
+ </p>
25
+ </div>
26
+ </form>
27
+ </div>
28
+ <div class="mystickymenu-help-btn">
29
+ <a class="mystickymenu-help-tooltip" href="javascript:;"><img src="<?php echo MYSTICKYMENU_URL ?>images/owner.png" alt="<?php echo __("Need help?", "mystickymenu") ?>" /></a>
30
+ <?php if ( !isset($_COOKIE['mse-help-cta'])):?>
31
+ <span class="tooltiptext"><?php echo __("Need help?", "mystickymenu") ?></span>
32
+ <?php endif;?>
33
+ </div>
34
+ <script>
35
+ jQuery(document).ready(function(){
36
+ jQuery("#mystickymenu-help-form").on( 'submit', function(){
37
+ jQuery(".mystickymenu-help-button").attr("disabled",true);
38
+ jQuery(".mystickymenu-help-button").text("<?php echo __("Sending Request...") ?>");
39
+ formData = jQuery(this).serialize();
40
+ jQuery.ajax({
41
+ url: "<?php echo admin_url( 'admin-ajax.php' ) ?>",
42
+ data: formData,
43
+ type: "post",
44
+ success: function(responseText){
45
+ jQuery("#mystickymenu-help-form").find(".error-message").remove();
46
+ jQuery("#mystickymenu-help-form").find(".input-error").removeClass("input-error");
47
+ responseArray = jQuery.parseJSON(responseText);
48
+ if(responseArray.error == 1) {
49
+ jQuery(".mystickymenu-help-button").attr("disabled",false);
50
+ jQuery(".mystickymenu-help-button").text("<?php echo __("Chat", "mystickymenu") ?>");
51
+ for(i=0;i<responseArray.errors.length;i++) {
52
+ jQuery("#"+responseArray.errors[i]['key']).addClass("input-error");
53
+ jQuery("#"+responseArray.errors[i]['key']).after('<span class="error-message">'+responseArray.errors[i]['message']+'</span>');
54
+ }
55
+ } else if(responseArray.status == 1) {
56
+ jQuery(".mystickymenu-help-button").text("<?php echo __("Done!", "mystickymenu") ?>");
57
+ setTimeout(function(){
58
+ jQuery(".mystickymenu-help-header").remove();
59
+ jQuery(".mystickymenu-help-content").html("<p class='success-p'><?php echo __("Your message was sent successfully.", "mystickymenu") ?></p>");
60
+ },1000);
61
+ } else if(responseArray.status == 0) {
62
+ jQuery(".mystickymenu-help-content").html("<p class='error-p'><?php echo __("There is some problem in sending request. Please send us mail on <a href='mailto:contact@premio.io'>contact@premio.io</a>", "mystickymenu") ?></p>");
63
+ }
64
+ }
65
+ });
66
+ return false;
67
+ });
68
+ jQuery(".mystickymenu-help-tooltip").on( 'click', function(e){
69
+ e.stopPropagation();
70
+ jQuery(".mystickymenu-help-form").toggleClass("active");
71
+ if ( jQuery(".mystickymenu-help-btn .tooltiptext").length != 0) {
72
+ jQuery(".mystickymenu-help-btn .tooltiptext").remove();
73
+ }
74
+ document.cookie = "mse-help-cta=hide";
75
+ });
76
+ jQuery(".mystickymenu-help-form").on( 'click', function(e){
77
+ e.stopPropagation();
78
+ });
79
+ jQuery("body").on( 'click', function(){
80
+ jQuery(".mystickymenu-help-form").removeClass("active");
81
+ });
82
+ });
83
+ </script>
images/contact-lead-ss-1.png ADDED
Binary file
images/contact-lead-ss.png ADDED
Binary file
images/empty_lead.png ADDED
Binary file
images/owner.png ADDED
Binary file
images/shopyicon.svg ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <svg width="281" height="279" viewBox="0 0 281 279" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M81.8409 59C81.8409 26.4152 108.256 0 140.841 0C173.426 0 199.841 26.4152 199.841 59V99C199.841 103.971 195.812 108 190.841 108C185.87 108 181.841 103.971 181.841 99V59C181.841 36.3563 163.485 18 140.841 18C118.197 18 99.8409 36.3563 99.8409 59V99C99.8409 103.971 95.8115 108 90.8409 108C85.8704 108 81.8409 103.971 81.8409 99V59Z" fill="#808080"/>
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M69.8409 98.5V79H29.8012C24.7015 79 20.4188 82.8375 19.8612 87.9066L6.54089 209H274.141L260.821 87.9066C260.263 82.8375 255.98 79 250.881 79H210.841V98.5C210.841 109.822 201.663 119 190.341 119C179.019 119 169.841 109.822 169.841 98.5V79H110.841V98.5C110.841 109.822 101.663 119 90.3409 119C79.0191 119 69.8409 109.822 69.8409 98.5ZM275.351 220H5.33089L0.0611659 267.907C-0.590036 273.827 4.04548 279 10.0012 279H270.681C276.636 279 281.272 273.827 280.621 267.907L275.351 220Z" fill="#808080"/>
4
+ </svg>
images/show-coupon-ss.png ADDED
Binary file
js/mystickymenu-admin.js CHANGED
@@ -11,7 +11,12 @@
11
  $(".updates-form button").attr("disabled", true);
12
  $.ajax({
13
  url: ajaxurl,
14
- data: "action=sticky_menu_update_status&status="+updateStatus+"&nonce="+$("#myStickymenu_update_nonce").val()+"&email="+$("#myStickymenu_update_email").val(),
 
 
 
 
 
15
  type: 'post',
16
  cache: false,
17
  success: function(){
@@ -25,7 +30,12 @@
25
  $(".updates-form button").attr("disabled", true);
26
  $.ajax({
27
  url: ajaxurl,
28
- data: "action=sticky_menu_update_status&status="+updateStatus+"&nonce="+$("#myStickymenu_update_nonce").val()+"&email="+$("#myStickymenu_update_email").val(),
 
 
 
 
 
29
  type: 'post',
30
  cache: false,
31
  success: function(){
@@ -72,7 +82,6 @@
72
  }
73
  spinner.find("input").val(newVal);
74
  spinner.find("input").trigger("change");
75
- console.log(newVal);
76
  });
77
  btnDown.on("click", function() {
78
  var oldValue = parseFloat(input.val());
@@ -117,6 +126,7 @@
117
 
118
  });
119
  /*02-08-2019 welcom bar js*/
 
120
  $( '.mysticky-welcomebar-action' ).on( 'change', function(){
121
  var mysticky_welcomebar_action = $( this ).val();
122
  if ( mysticky_welcomebar_action == 'redirect_to_url' ) {
@@ -135,9 +145,7 @@
135
  window.open( $( '.mysticky-welcomebar-action option:selected' ).attr('data-href') , '_blank');
136
  }
137
  } );
138
- //$( '#mysticky_welcomebar_expirydate' ).datepicker( );
139
- //$( "#mysticky_welcomebar_expirydate" ).datepicker( "option", "dateFormat", 'mm/dd/yy' );
140
-
141
  var page_option_content = "";
142
  page_option_content = $( '.mysticky-welcomebar-page-options-html' ).html();
143
  $( '.mysticky-welcomebar-page-options-html' ).remove();
@@ -217,6 +225,9 @@
217
  if ( color_id === 'mysticky_welcomebar_btntxtcolor'){
218
  $('.mysticky-welcomebar-btn a').css('color', color_code );
219
  }
 
 
 
220
  }
221
  };
222
  $('.mysticky-welcomebar-setting-wrap .my-color-field').wpColorPicker(myOptions);
@@ -315,11 +326,23 @@
315
  $( 'textarea[name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]"]' ).on( 'change keyup click', function(e){
316
  var mysticky_bar_text_val = $( this ).val().replace(/(?:\r\n|\r|\n)/g, '<br />');
317
  $( '.mysticky-welcomebar-content' ).html( "<p>" + mysticky_bar_text_val + "</p>");
 
 
318
  } );
319
 
320
  $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]"]' ).on( 'keyup', function(){
321
- var mysticky_btn_text_val = $( this ).val();
 
 
 
 
322
 
 
 
 
 
 
 
323
  $( '.mysticky-welcomebar-btn a' ).text( mysticky_btn_text_val );
324
  } );
325
 
@@ -345,81 +368,26 @@
345
  });
346
  $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
347
 
348
- /*$( '.mysticky-welcomebar-submit input#submit' ).on( 'click', function(e){
349
- var welcomebar_action = $('.mysticky-welcomebar-action').find(":selected").val();
350
- var poptin_popup_link = $('#mysticky_welcomebar_poptin_popup_link').val().toLowerCase();
351
- var welcome_save_anyway = $('#welcome_save_anyway').val();
352
- console.log(poptin_popup_link);
353
- if ( welcomebar_action == 'poptin_popup' && welcome_save_anyway == '' && (poptin_popup_link == '' || poptin_popup_link.indexOf('popt.in') == '-1' ) ) {
354
- e.preventDefault();
355
- $( "#mysticky-welcomebar-poptin-popup-confirm" ).dialog({
356
- resizable: false,
357
- modal: true,
358
- draggable: false,
359
- height: 'auto',
360
- width: 500,
361
- buttons: {
362
- "Keep editing": {
363
- click:function () {
364
- $( this ).dialog('close');
365
- $("body,html").animate({
366
- scrollTop: $("#mysticky_welcomebar_poptin_popup_link").offset().top - 200
367
- }, 500)
368
- $('#mysticky_welcomebar_poptin_popup_link').focus();
369
- $('#mysticky_welcomebar_poptin_popup_link').css( 'border', '1px solid #FF0000' );
370
- },
371
- text: 'Keep editing',
372
- class: 'green-btn'
373
- },
374
- "Save anyway": function () {
375
- $( 'input#welcome_save_anyway' ).val('1');
376
- $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
377
- $( this ).dialog( 'close' );
378
- }
379
- }
380
- });
381
- return false;
382
- }
383
-
384
- if ( $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_enable]"]' ).prop( 'checked' ) == false && $( 'input#save_welcome_bar' ).val() == '' ) {
385
- e.preventDefault();
386
- $( "#mysticky-welcomebar-save-confirm" ).dialog({
387
- resizable: false,
388
- modal: true,
389
- draggable: false,
390
- height: 'auto',
391
- width: 600,
392
- buttons: {
393
- "Yes, show it on my site": {
394
- click:function () {
395
- $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_enable]"]' ).prop( 'checked', true );
396
- $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
397
- $( this ).dialog('close');
398
- },
399
- text: 'Yes, show it on my site',
400
- class: 'green-btn'
401
- },
402
- "Just save and keep it off": function () {
403
- $( 'input#save_welcome_bar' ).val('1');
404
- $( '.mysticky-welcomebar-submit input#submit' ).trigger('click');
405
- $( this ).dialog( 'close' );
406
- }
407
- }
408
- });
409
- }
410
- //return false;
411
- } );*/
412
-
413
  });
414
  $( window ).on('load', function(){
415
  $( '.mysticky-welcomebar-url-options' ).each( function(){
416
  $( this ).trigger( 'change' );
417
  });
418
  });
 
 
 
 
419
  function check_for_preview_pos() {
 
 
 
 
 
 
420
  var mysticky_welcomebar_form_pos = $( '#sticky-header-welcome-bar' ).offset().top;
421
  if($(".show-on-apper").length && $(".mysticky-welcomebar-setting-right").length) {
422
- var topPos = $(".show-on-apper").offset().top - $(window).scrollTop() - 700;
423
  if (topPos < 0) {
424
  topPos = Math.abs(topPos);
425
  jQuery(".mysticky-welcomebar-setting-right").css("margin-top", ((-1)*topPos)+"px");
@@ -428,13 +396,38 @@
428
  }
429
  }
430
  var position_screen = (isRtl == 1 ) ? 'left' : 'right';
 
431
  if ( ( mysticky_welcomebar_form_pos + 32 ) < $(window).scrollTop() ) {
432
  $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'fixed' );
433
  $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '70px' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
434
  } else {
435
  $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'absolute' );
436
  $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '50px' );
 
 
 
 
 
 
 
 
437
  }
 
 
438
  }
439
 
440
  jQuery(document).on("click",".mystickymenu-delete-widget",function(e){
@@ -445,6 +438,8 @@
445
  jQuery("#mystickymenu-delete-popup-overlay-"+widget_id).show();
446
  });
447
 
 
 
448
  jQuery(document).on("click",".btn-delete",function(e){
449
  e.preventDefault();
450
  var delWidId = jQuery(this).data("id");
@@ -467,7 +462,7 @@
467
  jQuery("#mystickymenu-delete-popup-overlay-"+id).hide();
468
  });
469
 
470
-
471
 
472
  jQuery(document).on("click",".mystickymenu-widget-enabled",function(){
473
  var widget_id = $(this).data('id');
@@ -483,32 +478,34 @@
483
  jQuery(document).on("click",".btn-turnoff-status",function(e){
484
  e.preventDefault();
485
  var widget_id = $(this).data('id');
486
- var widget_status = 0;
487
- set_widget_status( widget_id, widget_status );
 
 
 
 
488
  });
489
-
490
 
491
  jQuery(document).on("click",".btn-nevermind-status",function(e){
492
  e.preventDefault();
493
  var widget_id = $(this).data('id');
494
- var widget_status = 1;
495
- set_widget_status( widget_id, widget_status );
496
- jQuery("#mystickymenu-widget-enabled-"+widget_id).prop('checked', true)
 
 
497
 
498
  });
499
-
500
-
501
  jQuery(document).on("click",".mystickymenupopup-overlay",function(e){
502
  e.preventDefault();
503
 
504
  if(jQuery(this).data("fromoverlay") == 'welcombar_delete'){
505
  jQuery(this).hide();
506
- console.log("#mystickymenu-delete-popup-overlay-"+jQuery(this).data('id'));
507
  var delId = jQuery(this).data('id');
508
  jQuery('#widget-delete-dialog-'+delId).hide();
509
-
510
  }
511
-
512
  });
513
 
514
  jQuery(document).on("click",".mystickymenupopup-widget-status-overlay",function(e){
@@ -646,7 +643,6 @@
646
  });
647
 
648
  jQuery(document).on("click","#stickymenu_status_ok",function(){
649
- //jQuery("html, body").animate({ scrollTop: "20" });
650
  var clickFrom = $(this).data("clickfrom");
651
  $('#save_stickymenu').val("1");
652
  $( '#mysticky-stickymenu-form-enabled' ).prop( 'checked' , true )
@@ -722,5 +718,157 @@
722
  $( '.mysticky-welcomebar-submit input.welcombar_save' ).trigger('click');
723
  }
724
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
725
 
726
- })(jQuery);
11
  $(".updates-form button").attr("disabled", true);
12
  $.ajax({
13
  url: ajaxurl,
14
+ data: {
15
+ action: "sticky_menu_update_status",
16
+ status: updateStatus,
17
+ nonce: $("#myStickymenu_update_nonce").val(),
18
+ email: $("#myStickymenu_update_email").val()
19
+ },
20
  type: 'post',
21
  cache: false,
22
  success: function(){
30
  $(".updates-form button").attr("disabled", true);
31
  $.ajax({
32
  url: ajaxurl,
33
+ data: {
34
+ action: "sticky_menu_update_status",
35
+ status: updateStatus,
36
+ nonce: $("#myStickymenu_update_nonce").val(),
37
+ email: $("#myStickymenu_update_email").val()
38
+ },
39
  type: 'post',
40
  cache: false,
41
  success: function(){
82
  }
83
  spinner.find("input").val(newVal);
84
  spinner.find("input").trigger("change");
 
85
  });
86
  btnDown.on("click", function() {
87
  var oldValue = parseFloat(input.val());
126
 
127
  });
128
  /*02-08-2019 welcom bar js*/
129
+
130
  $( '.mysticky-welcomebar-action' ).on( 'change', function(){
131
  var mysticky_welcomebar_action = $( this ).val();
132
  if ( mysticky_welcomebar_action == 'redirect_to_url' ) {
145
  window.open( $( '.mysticky-welcomebar-action option:selected' ).attr('data-href') , '_blank');
146
  }
147
  } );
148
+
 
 
149
  var page_option_content = "";
150
  page_option_content = $( '.mysticky-welcomebar-page-options-html' ).html();
151
  $( '.mysticky-welcomebar-page-options-html' ).remove();
225
  if ( color_id === 'mysticky_welcomebar_btntxtcolor'){
226
  $('.mysticky-welcomebar-btn a').css('color', color_code );
227
  }
228
+ if( color_id === 'mysticky_welcomebar_xcolor' ){
229
+ $(".mysticky-welcomebar-close").css('color',color_code);
230
+ }
231
  }
232
  };
233
  $('.mysticky-welcomebar-setting-wrap .my-color-field').wpColorPicker(myOptions);
326
  $( 'textarea[name="mysticky_option_welcomebar[mysticky_welcomebar_bar_text]"]' ).on( 'change keyup click', function(e){
327
  var mysticky_bar_text_val = $( this ).val().replace(/(?:\r\n|\r|\n)/g, '<br />');
328
  $( '.mysticky-welcomebar-content' ).html( "<p>" + mysticky_bar_text_val + "</p>");
329
+ $('.mysticky-welcomebar-fixed .mysticky-welcomebar-content p').css('color', $('#mysticky_welcomebar_bgtxtcolor').val() );
330
+ $( '.mysticky-welcomebar-fixed p' ).css( 'font-size', $('#mysticky_welcomebar_fontsize').val() + 'px' );
331
  } );
332
 
333
  $( 'input[name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]"]' ).on( 'keyup', function(){
334
+
335
+ $(".button-input-error").remove();
336
+ if ( $("#mysticky_welcomebar_btn_text").val().length > 8 ) {
337
+ $("#mysticky_welcomebar_btn_text").css("border","1px solid #FF424D");
338
+ $("#mysticky_welcomebar_btn_text").val($("#mysticky_welcomebar_btn_text").val().substr(0, $("#mysticky_welcomebar_btn_text").val().length - 1))
339
 
340
+ $( '<p class="button-input-error">max character limit is 8</p>' ).insertAfter( $("#mysticky_welcomebar_btn_text") );
341
+ return false;
342
+ }else{
343
+ $("#mysticky_welcomebar_btn_text").css("border","1px solid #DCE2E2");
344
+ }
345
+ var mysticky_btn_text_val = $( this ).val();
346
  $( '.mysticky-welcomebar-btn a' ).text( mysticky_btn_text_val );
347
  } );
348
 
368
  });
369
  $( '.mysticky-welcomebar-fixed' ).addClass( 'entry-effect' );
370
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
371
  });
372
  $( window ).on('load', function(){
373
  $( '.mysticky-welcomebar-url-options' ).each( function(){
374
  $( this ).trigger( 'change' );
375
  });
376
  });
377
+
378
+
379
+ /* Preview section part maintain sticky using "check_for_preview_pos" function */
380
+
381
  function check_for_preview_pos() {
382
+
383
+ var $window = $(window);
384
+ var windowsize = $window.width();
385
+ console.log("windowsize == " + windowsize)
386
+
387
+
388
  var mysticky_welcomebar_form_pos = $( '#sticky-header-welcome-bar' ).offset().top;
389
  if($(".show-on-apper").length && $(".mysticky-welcomebar-setting-right").length) {
390
+ var topPos = $(".show-on-apper").offset().top - $(window).scrollTop() - 750;
391
  if (topPos < 0) {
392
  topPos = Math.abs(topPos);
393
  jQuery(".mysticky-welcomebar-setting-right").css("margin-top", ((-1)*topPos)+"px");
396
  }
397
  }
398
  var position_screen = (isRtl == 1 ) ? 'left' : 'right';
399
+
400
  if ( ( mysticky_welcomebar_form_pos + 32 ) < $(window).scrollTop() ) {
401
  $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'fixed' );
402
  $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '70px' );
403
+
404
+ if ( windowsize < 1181 && windowsize > 768 && position_screen == 'right' ) {
405
+
406
+ $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '30px' );
407
+
408
+ }else if ( windowsize <= 768 && position_screen == 'right' ) {
409
+ $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '25px' );
410
+ }
411
+
412
+ if ( windowsize < 1181 && windowsize > 768 && position_screen == 'left') {
413
+ $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '30px' );
414
+ }else if ( windowsize <= 768 && position_screen == 'left') {
415
+ $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '25px' );
416
+ }
417
  } else {
418
  $( '.mysticky-welcomebar-setting-right' ).css( 'position', 'absolute' );
419
  $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '50px' );
420
+
421
+ if ( windowsize < 1181 && position_screen == 'right') {
422
+ $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '10px' );
423
+ }
424
+
425
+ if ( windowsize < 1181 && position_screen == 'left') {
426
+ $( '.mysticky-welcomebar-setting-right' ).css( position_screen, '10px' );
427
+ }
428
  }
429
+
430
+
431
  }
432
 
433
  jQuery(document).on("click",".mystickymenu-delete-widget",function(e){
438
  jQuery("#mystickymenu-delete-popup-overlay-"+widget_id).show();
439
  });
440
 
441
+ /* Mystickymenu: Dashbaord table delete button click action */
442
+
443
  jQuery(document).on("click",".btn-delete",function(e){
444
  e.preventDefault();
445
  var delWidId = jQuery(this).data("id");
462
  jQuery("#mystickymenu-delete-popup-overlay-"+id).hide();
463
  });
464
 
465
+ /* Mystickymenu: Dashbaord table welcombar widget status change action */
466
 
467
  jQuery(document).on("click",".mystickymenu-widget-enabled",function(){
468
  var widget_id = $(this).data('id');
478
  jQuery(document).on("click",".btn-turnoff-status",function(e){
479
  e.preventDefault();
480
  var widget_id = $(this).data('id');
481
+
482
+ if ( typeof widget_id !== "undefined") {
483
+ var widget_status = 0;
484
+ set_widget_status( widget_id, widget_status );
485
+ }
486
+
487
  });
488
+
489
 
490
  jQuery(document).on("click",".btn-nevermind-status",function(e){
491
  e.preventDefault();
492
  var widget_id = $(this).data('id');
493
+ if ( typeof widget_id !== "undefined") {
494
+ var widget_status = 1;
495
+ set_widget_status( widget_id, widget_status );
496
+ jQuery("#mystickymenu-widget-enabled-"+widget_id).prop('checked', true)
497
+ }
498
 
499
  });
500
+
 
501
  jQuery(document).on("click",".mystickymenupopup-overlay",function(e){
502
  e.preventDefault();
503
 
504
  if(jQuery(this).data("fromoverlay") == 'welcombar_delete'){
505
  jQuery(this).hide();
 
506
  var delId = jQuery(this).data('id');
507
  jQuery('#widget-delete-dialog-'+delId).hide();
 
508
  }
 
509
  });
510
 
511
  jQuery(document).on("click",".mystickymenupopup-widget-status-overlay",function(e){
643
  });
644
 
645
  jQuery(document).on("click","#stickymenu_status_ok",function(){
 
646
  var clickFrom = $(this).data("clickfrom");
647
  $('#save_stickymenu').val("1");
648
  $( '#mysticky-stickymenu-form-enabled' ).prop( 'checked' , true )
718
  $( '.mysticky-welcomebar-submit input.welcombar_save' ).trigger('click');
719
  }
720
  });
721
+
722
+ jQuery(document).on("click","#mysticky-welcomebar-showcoupon-enabled",function(){
723
+ var url = jQuery(this).data("url");
724
+ jQuery(this).prop('checked',false);
725
+ window.open(url, '_blank');
726
+ });
727
+
728
+ jQuery(document).on("change","#mysticky-welcomebar-collectlead-enabled",function(){
729
+
730
+ var button_text = $(this).data("button-text");
731
+
732
+ if( $(this).prop("checked") == true ){
733
+
734
+ $(".timer-message").show();
735
+ $(".mysticky-collect-lead").show();
736
+ $(".welcomebar_height_content").hide();
737
+ $(".mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-content").css("width","90%");
738
+ $(".mysticky-welcomebar-lead-content").show();
739
+ $(".mysticky-welcomebar-btn a").text("Send me");
740
+ $("#mysticky_welcomebar_btn_text").val("Send me");
741
+ $(".mysticky-welcomebar-btn").addClass("collect-lead");
742
+ $(".height-setting").hide();
743
+ }else{
744
+
745
+ button_text = ( button_text == 'Send me' ) ? 'Got it!' : button_text;
746
+ $(".timer-message").hide();
747
+ $(".welcomebar_height_content").show();
748
+ $(".mysticky-collect-lead").hide();
749
+ $(".mysticky-welcomebar-preview-screen .mysticky-welcomebar-fixed .mysticky-welcomebar-content").css("width","65%");
750
+ $(".mysticky-welcomebar-lead-content").hide();
751
+ $(".mysticky-welcomebar-btn a").text(button_text);
752
+ $("#mysticky_welcomebar_btn_text").val(button_text);
753
+ $(".height-setting").show();
754
+ $(".mysticky-welcomebar-btn").removeClass("collect-lead");
755
+ }
756
+ });
757
+
758
+ jQuery(document).on("click","#send_lead_email_enable",function(){
759
+ var url = jQuery(this).data("url");
760
+ jQuery(this).prop('checked',false);
761
+ window.open(url, '_blank');
762
+ });
763
+
764
+
765
+ jQuery(document).on("keyup","#lead-name-placeholder,#lead-email-placeholder,#lead-phone-placeholder",function(e){
766
+ if( $(this).attr("id") == "lead-name-placeholder" ){
767
+ $(".preview-lead-name").attr("placeholder",$(this).val());
768
+ }else if( $(this).attr("id") == "lead-email-placeholder" ){
769
+ $(".preview-lead-email").attr("placeholder",$(this).val());
770
+ }else{
771
+ $(".preview-lead-phone").attr("placeholder",$(this).val());
772
+ }
773
+ });
774
+
775
+ jQuery(document).on("change","input[name='mysticky_option_welcomebar[mysticky_welcomebar_lead_input]']",function(){
776
+ if( $(this).val() == 'email_address' ){
777
+ $("#lead-email-content").show();
778
+ $("#lead-phone-content").hide();
779
+ $(".preview-lead-email").show();
780
+ $(".preview-lead-phone").hide();
781
+ }else{
782
+ $("#lead-email-content").hide();
783
+ $("#lead-phone-content").show();
784
+ $(".preview-lead-email").hide();
785
+ $(".preview-lead-phone").show();
786
+ }
787
+
788
+ });
789
+
790
+ /* Mystickymenu : Single delete contact lead data - Contact lead page */
791
+
792
+ jQuery(document).on("click",".mystickymenu-delete-entry",function(event){
793
+
794
+ var deleterowid = $( this ).attr( "data-delete" );
795
+ var confirm_delete = window.confirm("Are you sure you want to delete Record with ID# "+deleterowid);
796
+ if (confirm_delete == true) {
797
+ jQuery.ajax({
798
+ type: 'POST',
799
+ url: ajaxurl,
800
+ data: {"action": "mystickymenu_delete_contact_lead","ID": deleterowid, delete_nonce: jQuery("#delete_nonce").val(),"wpnonce": mystickymenu.ajax_nonce},
801
+ success: function(data){
802
+ location.href = window.location.href;
803
+ },
804
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
805
+ alert("Status: " + textStatus); alert("Error: " + errorThrown);
806
+ }
807
+ });
808
+ }
809
+
810
+ });
811
+
812
+ /* Mystickymenu : Bulk delete all contact lead data - Contact lead page */
813
+
814
+ jQuery(document).on("click","#mystickymenu_delete_all_leads", function(){
815
+ var confirm_delete = window.confirm("Are you sure you want to delete all Record from the database?");
816
+ if (confirm_delete == true) {
817
+ jQuery.ajax({
818
+ type: 'POST',
819
+ url: ajaxurl,
820
+ data: {"action": "mystickymenu_delete_contact_lead", 'all_leads': 1 , delete_nonce: jQuery("#delete_nonce").val(),"wpnonce": mystickymenu.ajax_nonce},
821
+ success: function(data){
822
+ location.href = window.location.href;
823
+ },
824
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
825
+ alert("Status: " + textStatus); alert("Error: " + errorThrown);
826
+ }
827
+ });
828
+ }
829
+ return false;
830
+ });
831
+
832
+ /* Mystickymenu : Bulk do action trigger in contact lead table */
833
+
834
+ jQuery(document).on('click','#doaction',function(e){
835
+ e.preventDefault();
836
+ var bulks = [];
837
+ jQuery( '.cb-select-blk' ).each( function(){
838
+ if (this.checked) {
839
+ bulks.push( jQuery(this).val() );
840
+ }
841
+ } );
842
+
843
+ jQuery.ajax({
844
+ type: 'POST',
845
+ url: ajaxurl,
846
+ data: {"action": "my_sticky_menu_bulks","bulks": bulks,"wpnonce": mystickymenu.ajax_nonce},
847
+ success: function(data){
848
+ location.href = window.location.href;
849
+ },
850
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
851
+ alert("Status: " + textStatus); alert("Error: " + errorThrown);
852
+ }
853
+ });
854
+ } );
855
+
856
+ jQuery(document).on( 'change','#mysticky-welcomebar-close-automatically-enabled', function(){
857
+ $(this).prop("checked",false);
858
+ var url = $(this).data("url");
859
+ window.open(url, '_blank');
860
+ });
861
+
862
+ jQuery(document).on("click",".save_change",function(){
863
+ $( '.mysticky-welcomebar-submit input.welcombar_save' ).trigger('click');
864
+ });
865
+
866
+ jQuery(document).on( 'change','#mysticky_welcomebar_show_success_message', function(){
867
+ if( $( this ).prop( "checked" ) == true ) {
868
+ $('#mysticky-welcomebar-thankyou-wrap').show();
869
+ } else {
870
+ $('#mysticky-welcomebar-thankyou-wrap').hide();
871
+ }
872
+ });
873
 
874
+ })(jQuery);
js/mystickymenu.js CHANGED
@@ -12,14 +12,7 @@
12
  } else if ( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) != true && option.device_desktop != 1 ) {
13
  return false;
14
  }
15
- /*
16
- if ( jQuery.browser.mobile && !option.device_mobile) {
17
- return false;
18
- } else if ( !jQuery.browser.mobile && !option.device_desktop) {
19
- return false;
20
- }
21
- */
22
-
23
  // get Sticky Class setting if class name existts
24
  if ($(option.mystickyClass) [0]){
25
  // Do nothing
@@ -136,7 +129,6 @@
136
  mystickyClass.classList.add('myfixed')
137
 
138
  myfixedHeight = $(".myfixed").outerHeight();
139
-
140
  if (myfixedHeight == "0") {
141
  // something is wrong, wrapper cant be zero, try to calculate again with div children.
142
  $(".myfixed").children().filter(':visible').each(function(){
@@ -146,8 +138,6 @@
146
 
147
  mystickyClass.classList.remove('myfixed');
148
 
149
- //}
150
-
151
  }
152
 
153
  fixedDivHeight();
@@ -184,20 +174,12 @@
184
  var mydivWidth;
185
 
186
  function initialDivWidth(){
187
-
188
  var rect = $(mystickyClass)[0].getBoundingClientRect();
189
  mydivWidth = rect.width;
190
-
191
- //var mydivWidth = ((mystickyClass.offsetWidth) + 'px');
192
- //mystickyClass.style.width = mydivWidth + "px";
193
-
194
  }
195
 
196
  initialDivWidth();
197
 
198
-
199
-
200
-
201
  var deactivationHeight = activationHeight;
202
 
203
  function calcActivationHeight() {
@@ -215,27 +197,20 @@
215
 
216
  if (mysticky_disable_down == "on") {
217
  deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
218
-
219
  }
220
-
221
  }
222
 
223
  if (mystickyTransition == "fade") {
224
-
225
  if (mysticky_disable_down == "false") {
226
- // Fade effect is selected
227
  activationHeight = $(mystickyClass).offset().top - adminBarHeight;
228
-
229
  deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
230
-
231
  }
232
 
233
  if (mysticky_disable_down == "on") {
234
-
235
- // Fade effect is selected
236
- activationHeight = $(mystickyClass).offset().top - adminBarHeight + mydivHeight;
237
- deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
238
-
239
  }
240
 
241
  }
@@ -248,7 +223,6 @@
248
 
249
  function headerDeactivateOnHeight() {
250
 
251
-
252
  if ( autoActivate == true ) {
253
 
254
  if ( mydivHeight > myfixedHeight ){
@@ -278,7 +252,6 @@
278
  var hasScrollY = 'scrollY' in window;
279
  var lastScrollTop = 0;
280
 
281
-
282
  function onScroll(e) {
283
  var mystickymenu_top_pos = $( '.mysticky-welcomebar-fixed' ).css( 'top' );
284
  var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
@@ -311,10 +284,7 @@
311
 
312
  // add up or down class to the element depending on scroll direction
313
  if (0 <= y ) {
314
-
315
  //var st = $(this).scrollTop();
316
-
317
-
318
  if (y >= lastScrollTop){
319
 
320
  // downscroll code
12
  } else if ( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) != true && option.device_desktop != 1 ) {
13
  return false;
14
  }
15
+
 
 
 
 
 
 
 
16
  // get Sticky Class setting if class name existts
17
  if ($(option.mystickyClass) [0]){
18
  // Do nothing
129
  mystickyClass.classList.add('myfixed')
130
 
131
  myfixedHeight = $(".myfixed").outerHeight();
 
132
  if (myfixedHeight == "0") {
133
  // something is wrong, wrapper cant be zero, try to calculate again with div children.
134
  $(".myfixed").children().filter(':visible').each(function(){
138
 
139
  mystickyClass.classList.remove('myfixed');
140
 
 
 
141
  }
142
 
143
  fixedDivHeight();
174
  var mydivWidth;
175
 
176
  function initialDivWidth(){
 
177
  var rect = $(mystickyClass)[0].getBoundingClientRect();
178
  mydivWidth = rect.width;
 
 
 
 
179
  }
180
 
181
  initialDivWidth();
182
 
 
 
 
183
  var deactivationHeight = activationHeight;
184
 
185
  function calcActivationHeight() {
197
 
198
  if (mysticky_disable_down == "on") {
199
  deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
 
200
  }
 
201
  }
202
 
203
  if (mystickyTransition == "fade") {
204
+ // Fade effect is selected
205
  if (mysticky_disable_down == "false") {
 
206
  activationHeight = $(mystickyClass).offset().top - adminBarHeight;
 
207
  deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
 
208
  }
209
 
210
  if (mysticky_disable_down == "on") {
211
+ // Fade effect is selected
212
+ activationHeight = $(mystickyClass).offset().top - adminBarHeight + mydivHeight;
213
+ deactivationHeight = $(mystickyClass).offset().top - adminBarHeight;
 
 
214
  }
215
 
216
  }
223
 
224
  function headerDeactivateOnHeight() {
225
 
 
226
  if ( autoActivate == true ) {
227
 
228
  if ( mydivHeight > myfixedHeight ){
252
  var hasScrollY = 'scrollY' in window;
253
  var lastScrollTop = 0;
254
 
 
255
  function onScroll(e) {
256
  var mystickymenu_top_pos = $( '.mysticky-welcomebar-fixed' ).css( 'top' );
257
  var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
284
 
285
  // add up or down class to the element depending on scroll direction
286
  if (0 <= y ) {
 
287
  //var st = $(this).scrollTop();
 
 
288
  if (y >= lastScrollTop){
289
 
290
  // downscroll code
mystickymenu-contact-leads.php ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $path1 = preg_replace('/wp-content(?!.*wp-content).*/','',__DIR__);
4
+ include($path1.'wp-load.php');
5
+
6
+
7
+ if (current_user_can('activate_plugins')) {
8
+
9
+ $file = "mystickymenu_contact_leads.csv";
10
+ $fp = fopen($file, "a")or die("Error Couldn't open $file for writing!");
11
+
12
+ global $wpdb;
13
+ $contact_lists_table = $wpdb->prefix.'mystickymenu_contact_lists';
14
+ $contact_lists_to_write = $wpdb->get_results( "SELECT * FROM $contact_lists_table");
15
+ $all_data = '';
16
+ foreach ($contact_lists_to_write as $res) {
17
+ $res_ID = $res->ID;
18
+ $res_name = $res->contact_name;
19
+ $res_phone = $res->contact_phone;
20
+ $res_email = $res->contact_email;
21
+ $res_message_date = $res->message_date;
22
+ $widget_element_name = $res->widget_name;
23
+ $page_link = $res->page_link;
24
+
25
+ $current_row = $res_ID.' , '.$widget_element_name.' , '.$res_name.' , '.$res_phone.' , '.$res_email.' ,'.$page_link.' ,'.$res_message_date. PHP_EOL;
26
+ $all_data = $all_data." ".$current_row . "\r\n";
27
+ $fields = array($res_ID, $widget_element_name, $res_name, $res_phone, $res_email,$page_link ,$res_message_date);
28
+
29
+ fputcsv($fp, $fields);
30
+ }
31
+
32
+
33
+
34
+
35
+
36
+
37
+ //fwrite($fp, $all_data)or die("Error Couldn't write values to file!");
38
+ fclose($fp);
39
+
40
+
41
+
42
+ if (file_exists($file)) {
43
+ header('Content-Type: application/csv');
44
+ header('Content-Disposition: attachment; filename="' . basename($file) . '"');
45
+ header('Content-Length: ' . filesize($file));
46
+ readfile($file);
47
+ unlink($file);
48
+ exit;
49
+ }
50
+
51
+ }
mystickymenu.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: myStickymenu
4
  Plugin URI: https://premio.io/
5
  Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
- Version: 2.5.9
7
  Author: Premio
8
  Author URI: https://premio.io/downloads/mystickymenu/
9
  Text Domain: mystickymenu
@@ -12,7 +12,7 @@ License: GPLv2 or later
12
  */
13
 
14
  defined('ABSPATH') or die("Cannot access pages directly.");
15
- define( 'MYSTICKY_VERSION', '2.5.9' );
16
  define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
17
  define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
18
 
@@ -32,30 +32,26 @@ class MyStickyMenuBackend
32
  {
33
  add_action( 'admin_menu', array( $this, 'add_plugin_page' ) );
34
  add_action( 'admin_init', array( $this, 'mysticky_load_transl') );
35
-
36
  add_action( 'admin_init', array( $this, 'mysticky_default_options' ) );
37
  add_action( 'admin_enqueue_scripts', array( $this, 'mysticky_admin_script' ) );
38
-
39
  add_filter( 'plugin_action_links_mystickymenu/mystickymenu.php', array( $this, 'mystickymenu_settings_link' ) );
40
-
41
  add_action( 'activated_plugin', array( $this, 'mystickymenu_activation_redirect' ) );
42
-
43
- add_action("wp_ajax_sticky_menu_update_status", array($this, 'sticky_menu_update_status'));
44
-
45
- add_action("wp_ajax_mystickymenu_update_popup_status", array($this, 'mystickymenu_popup_status'));
46
-
47
  add_action( 'admin_footer', array( $this, 'mystickymenu_deactivate' ) );
48
  add_action( 'wp_ajax_mystickymenu_plugin_deactivate', array( $this, 'mystickymenu_plugin_deactivate' ) );
49
- add_action('wp_ajax_stickymenu_widget_delete', array( $this, 'stickymenu_widget_delete' ) );
50
- add_action('wp_ajax_mystickymenu_widget_status', array( $this, 'mystickymenu_widget_status' ) );
51
- add_action('wp_ajax_stickymenu_status_update', array( $this, 'stickymenu_status_update' ) );
52
-
53
-
54
 
 
55
  }
56
 
57
 
58
 
 
59
  public function stickymenu_status_update(){
60
  check_ajax_referer( 'mystickymenu', 'wpnonce' );
61
  $mysticky_options = get_option( 'mysticky_option_name' );
@@ -102,10 +98,16 @@ class MyStickyMenuBackend
102
  check_ajax_referer( 'mystickymenu', 'wpnonce' );
103
  if ( isset($_POST['widget_id']) && $_POST['widget_id'] != '' && isset($_POST['widget_delete']) && $_POST['widget_delete'] == 1 ) {
104
  $welcomebars_widgets = get_option( 'mystickymenu-welcomebars' );
105
- $widget_id = $_POST['widget_id'];
106
- unset( $welcomebars_widgets[$widget_id] );
107
- delete_option( 'mysticky_option_welcomebar');
108
- update_option( 'mystickymenu-welcomebars', $welcomebars_widgets );
 
 
 
 
 
 
109
  }
110
  wp_die();
111
  }
@@ -114,20 +116,169 @@ class MyStickyMenuBackend
114
  if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'myStickymenu_update_nonce')) {
115
  $status = self::sanitize_options($_REQUEST['status']);
116
  $email = self::sanitize_options($_REQUEST['email']);
 
117
  update_option("mystickymenu_update_message", 2);
 
118
  if($status == 1) {
119
- $url = 'https://go.premio.io/api/update.php?email='.$email.'&plugin=myStickymenu';
120
- $handle = curl_init();
121
- curl_setopt($handle, CURLOPT_URL, $url);
122
- curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
123
- $response = curl_exec($handle);
124
- curl_close($handle);
 
 
 
 
 
 
 
 
125
  }
126
  }
127
- echo "1";
128
  die;
129
  }
130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
 
132
  public function mystickymenu_settings_link($links){
133
  $settings_link = '<a href="admin.php?page=my-stickymenu-welcomebar">Settings</a>';
@@ -152,7 +303,6 @@ class MyStickyMenuBackend
152
  wp_redirect( admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ) ;
153
  } else {
154
  wp_redirect( admin_url( 'admin.php?page=my-stickymenu-welcomebar&widget=0' ) ) ;
155
-
156
  }
157
 
158
  exit;
@@ -161,7 +311,7 @@ class MyStickyMenuBackend
161
 
162
  public function mysticky_admin_script($hook) {
163
 
164
- if ( !isset($_GET['page']) || ( isset($_GET['page']) && $_GET['page'] != 'my-stickymenu-settings' && $_GET['page'] != 'my-stickymenu-welcomebar' && $_GET['page'] != 'my-stickymenu-new-welcomebar' && $_GET['page'] != 'my-stickymenu-upgrade' && $_GET['page'] != 'msm-recommended-plugins' )) {
165
  return;
166
  }
167
 
@@ -238,6 +388,15 @@ class MyStickyMenuBackend
238
  'my-stickymenu-new-welcomebar',
239
  array( $this, 'mystickystickymenu_admin_new_welcomebar_page' )
240
  );
 
 
 
 
 
 
 
 
 
241
 
242
  add_submenu_page(
243
  'my-stickymenu-welcomebar',
@@ -292,9 +451,7 @@ class MyStickyMenuBackend
292
  window.location.href = <?php echo "'".admin_url("admin.php?page=my-stickymenu-welcomebar")."'";?>;
293
  </script>
294
  <?php
295
-
296
  }
297
-
298
  echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Settings saved.','mystickymenu'). '</p></strong></div>';
299
  } else {
300
  wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
@@ -751,6 +908,8 @@ class MyStickyMenuBackend
751
  </div>
752
  </div>
753
 
 
 
754
  <div class="mystickymenu-action-popup new-center" id="mysticky-sticky-save-confirm" style="display:none;">
755
  <div class="mystickymenu-action-popup-header">
756
  <h3><?php esc_html_e("Turn on Sticky Menu","mystickymenu"); ?></h3>
@@ -766,6 +925,8 @@ class MyStickyMenuBackend
766
  </div>
767
  <div class="mystickymenupopup-overlay" id="stickymenu-option-overlay-popup"></div>
768
 
 
 
769
  <p class="submit">
770
  <input type="submit" name="submit" id="submit" class="button button-primary btn-save-stickymenu" value="<?php esc_attr_e('Save', 'mystickymenu');?>">
771
 
@@ -788,25 +949,30 @@ class MyStickyMenuBackend
788
 
789
 
790
  public function mystickystickymenu_admin_welcomebar_page() {
791
-
 
792
  $is_shown = get_option("mystickymenu_update_message");
793
  if($is_shown == 1) {
794
  include_once MYSTICKYMENU_PATH . '/update.php';
795
  return;
796
  }
797
 
798
- /* welcome bar save data */
 
 
 
799
 
800
  if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
801
  if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
 
 
802
  $widgets = get_option( 'mysticky_option_welcomebar' );
 
803
  $is_first_widget = 0;
804
  if( isset($widgets) && $widgets == '' ){
805
  $is_first_widget = 1;
806
  }
807
 
808
-
809
- //
810
  $welcomebars_widgets[0] = 'Welcome Bar #0';
811
  update_option( 'mystickymenu-welcomebars', $welcomebars_widgets );
812
 
@@ -859,7 +1025,7 @@ class MyStickyMenuBackend
859
 
860
  $mysticky_options = get_option( 'mysticky_option_name');
861
  $is_old = get_option("has_sticky_header_old_version");
862
- $is_old = ($is_old == "yes")?true:false;
863
  $nonce = wp_create_nonce('mysticky_option_backend_update');
864
  $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
865
 
@@ -891,8 +1057,6 @@ class MyStickyMenuBackend
891
  </div>
892
  <?php
893
  }else{
894
-
895
-
896
  mysticky_welcome_bar_backend();
897
  }
898
  ?>
@@ -924,8 +1088,6 @@ class MyStickyMenuBackend
924
  include_once 'recommended-plugins.php';
925
  }
926
 
927
-
928
-
929
  public function mystickymenu_admin_upgrade_to_pro() {
930
  $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
931
  ?>
@@ -1014,7 +1176,6 @@ class MyStickyMenuBackend
1014
  break;
1015
  }
1016
 
1017
-
1018
  $default = array(
1019
  'mysticky_class_id_selector' => $mysticky_class_id_selector,
1020
  'mysticky_class_selector' => $mystickyClass,
@@ -1248,15 +1409,159 @@ class MyStickyMenuBackend
1248
  );
1249
 
1250
  /* Sending message to Crisp API */
1251
- $crisp_response = wp_safe_remote_post("https://go.premio.io/crisp/crisp-send-message.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => true));
1252
 
1253
  if (is_wp_error($crisp_response)) {
1254
- wp_safe_remote_post("https://go.premio.io/crisp/crisp-send-message.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => false));
1255
  }
1256
  }
1257
  echo json_encode($response);
1258
  wp_die();
1259
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1260
  }
1261
 
1262
 
@@ -1268,6 +1573,9 @@ class MyStickyMenuFrontend
1268
  {
1269
  add_action( 'wp_head', array( $this, 'mysticky_build_stylesheet_content' ) );
1270
  add_action( 'wp_enqueue_scripts', array( $this, 'mysticky_disable_at' ) );
 
 
 
1271
  }
1272
 
1273
  public function mysticky_build_stylesheet_content() {
@@ -1586,19 +1894,123 @@ class MyStickyMenuFrontend
1586
 
1587
  }
1588
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1589
  }
1590
 
1591
  if( is_admin() ) {
1592
- new MyStickyMenuBackend();
1593
  require_once 'mystickymenu-affiliate.php';
1594
-
1595
- } else {
1596
- new MyStickyMenuFrontend();
1597
- }
1598
 
 
 
1599
 
1600
  register_activation_hook( __FILE__, 'mystickymenu_activate' );
1601
 
1602
  function mystickymenu_activate() {
1603
  update_option( 'update_mysticky_version_2_5_7', true );
1604
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  Plugin Name: myStickymenu
4
  Plugin URI: https://premio.io/
5
  Description: Simple sticky (fixed on top) menu implementation for navigation menu and Welcome bar for announcements and promotion. After install go to Settings / myStickymenu and change Sticky Class to .your_navbar_class or #your_navbar_id.
6
+ Version: 2.6
7
  Author: Premio
8
  Author URI: https://premio.io/downloads/mystickymenu/
9
  Text Domain: mystickymenu
12
  */
13
 
14
  defined('ABSPATH') or die("Cannot access pages directly.");
15
+ define( 'MYSTICKY_VERSION', '2.6' );
16
  define('MYSTICKYMENU_URL', plugins_url('/', __FILE__)); // Define Plugin URL
17
  define('MYSTICKYMENU_PATH', plugin_dir_path(__FILE__)); // Define Plugin Directory Path
18
 
32
  {
33
  add_action( 'admin_menu', array( $this, 'add_plugin_page' ) );
34
  add_action( 'admin_init', array( $this, 'mysticky_load_transl') );
 
35
  add_action( 'admin_init', array( $this, 'mysticky_default_options' ) );
36
  add_action( 'admin_enqueue_scripts', array( $this, 'mysticky_admin_script' ) );
 
37
  add_filter( 'plugin_action_links_mystickymenu/mystickymenu.php', array( $this, 'mystickymenu_settings_link' ) );
 
38
  add_action( 'activated_plugin', array( $this, 'mystickymenu_activation_redirect' ) );
39
+ add_action( "wp_ajax_sticky_menu_update_status", array($this, 'sticky_menu_update_status'));
40
+ add_action( "wp_ajax_mystickymenu_update_popup_status", array($this, 'mystickymenu_popup_status'));
 
 
 
41
  add_action( 'admin_footer', array( $this, 'mystickymenu_deactivate' ) );
42
  add_action( 'wp_ajax_mystickymenu_plugin_deactivate', array( $this, 'mystickymenu_plugin_deactivate' ) );
43
+ add_action( 'wp_ajax_stickymenu_widget_delete', array( $this, 'stickymenu_widget_delete' ) );
44
+ add_action( 'wp_ajax_mystickymenu_widget_status', array( $this, 'mystickymenu_widget_status' ) );
45
+ add_action( 'wp_ajax_stickymenu_status_update', array( $this, 'stickymenu_status_update' ) );
46
+ add_action( 'wp_ajax_mystickymenu_delete_contact_lead', array( $this, 'mystickymenu_delete_contact_lead' ) );
47
+ add_action( 'wp_ajax_my_sticky_menu_bulks', array( $this, 'my_sticky_menu_bulks' ) );
48
 
49
+ add_action( 'wp_ajax_mystickymenu_admin_send_message_to_owner', array( $this, 'mystickymenu_admin_send_message_to_owner' ) );
50
  }
51
 
52
 
53
 
54
+
55
  public function stickymenu_status_update(){
56
  check_ajax_referer( 'mystickymenu', 'wpnonce' );
57
  $mysticky_options = get_option( 'mysticky_option_name' );
98
  check_ajax_referer( 'mystickymenu', 'wpnonce' );
99
  if ( isset($_POST['widget_id']) && $_POST['widget_id'] != '' && isset($_POST['widget_delete']) && $_POST['widget_delete'] == 1 ) {
100
  $welcomebars_widgets = get_option( 'mystickymenu-welcomebars' );
101
+ $widget_id = $_POST['widget_id'];
102
+ foreach( $welcomebars_widgets as $key => $widget_value ){
103
+ $element_widget_no = '';
104
+ if ( $key != 0 ) {
105
+ $element_widget_no = '-' . $key;
106
+ }
107
+ delete_option( 'mysticky_option_welcomebar' . $element_widget_no );
108
+ }
109
+
110
+ delete_option( 'mystickymenu-welcomebars' );
111
  }
112
  wp_die();
113
  }
116
  if(!empty($_REQUEST['nonce']) && wp_verify_nonce($_REQUEST['nonce'], 'myStickymenu_update_nonce')) {
117
  $status = self::sanitize_options($_REQUEST['status']);
118
  $email = self::sanitize_options($_REQUEST['email']);
119
+
120
  update_option("mystickymenu_update_message", 2);
121
+
122
  if($status == 1) {
123
+ $url = 'https://premioapps.com/premio/signup/email.php';
124
+ $apiParams = [
125
+ 'plugin' => 'myStickymenu',
126
+ 'email' => $email,
127
+ ];
128
+
129
+ // Signup Email for Chaty
130
+ $apiResponse = wp_safe_remote_post($url, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => true]);
131
+
132
+ if (is_wp_error($apiResponse)) {
133
+ wp_safe_remote_post($url, ['body' => $apiParams, 'timeout' => 15, 'sslverify' => false]);
134
+ }
135
+
136
+ $response['status'] = 1;
137
  }
138
  }
 
139
  die;
140
  }
141
 
142
+
143
+ public function mystickymenu_delete_contact_lead(){
144
+ global $wpdb;
145
+ if ( ! current_user_can( 'manage_options' ) ) {
146
+ wp_die(0);
147
+ }
148
+ check_ajax_referer( 'mystickymenu', 'wpnonce' );
149
+
150
+ if ( isset($_POST['ID']) && $_POST['ID'] != '' ) {
151
+ $ID = sanitize_text_field($_POST['ID']);
152
+ $table = $wpdb->prefix . 'mystickymenu_contact_lists';
153
+ $delete_sql = $wpdb->prepare("DELETE FROM {$table} WHERE id = %d",$ID);
154
+ $delete = $wpdb->query($delete_sql);
155
+ }
156
+
157
+ if ( isset($_POST['all_leads']) && $_POST['all_leads'] == 1 ) {
158
+ $table = $wpdb->prefix . 'mystickymenu_contact_lists';
159
+ $delete = $wpdb->query("TRUNCATE TABLE $table");
160
+ }
161
+ wp_die();
162
+
163
+ }
164
+
165
+
166
+ public function my_sticky_menu_bulks(){
167
+ global $wpdb;
168
+ check_ajax_referer( 'mystickymenu', 'wpnonce' );
169
+ if( isset($_POST['wpnonce']) ){
170
+ $bulks = isset($_POST['bulks']) ? $_POST['bulks'] : array();
171
+ foreach( $bulks as $key => $bulk ){
172
+ $ID = sanitize_text_field($bulk);
173
+ $table = $wpdb->prefix . 'mystickymenu_contact_lists';
174
+ $delete_sql = $wpdb->prepare("DELETE FROM {$table} WHERE id = %d",$ID);
175
+ $delete = $wpdb->query($delete_sql);
176
+ }
177
+ }
178
+ wp_die();
179
+ }
180
+
181
+ public function mystickymenu_admin_send_message_to_owner() {
182
+ $response = array();
183
+ $response['status'] = 0;
184
+ $response['error'] = 0;
185
+ $response['errors'] = array();
186
+ $response['message'] = "";
187
+ $errorArray = [];
188
+ $errorMessage = __("%s is required", "mystickymenu");
189
+ $postData = $_POST;
190
+ if(!isset($postData['textarea_text']) || trim($postData['textarea_text']) == "") {
191
+ $error = array(
192
+ "key" => "textarea_text",
193
+ "message" => __("Please enter your message","wcp")
194
+ );
195
+ $errorArray[] = $error;
196
+ }
197
+ if(!isset($postData['user_email']) || trim($postData['user_email']) == "") {
198
+ $error = array(
199
+ "key" => "user_email",
200
+ "message" => sprintf($errorMessage,__("Email","wcp"))
201
+ );
202
+ $errorArray[] = $error;
203
+ } else if(!filter_var($postData['user_email'], FILTER_VALIDATE_EMAIL)) {
204
+ $error = array(
205
+ 'key' => "user_email",
206
+ "message" => "Email is not valid"
207
+ );
208
+ $errorArray[] = $error;
209
+ }
210
+ if(empty($errorArray)) {
211
+ if(!isset($_REQUEST['nonce']) || empty($_REQUEST['nonce'])) {
212
+ $error = array(
213
+ 'key' => "nonce",
214
+ "message" => "Your request is not valid"
215
+ );
216
+ $errorArray[] = $error;
217
+ } else if(!wp_verify_nonce($_REQUEST['nonce'], "mystickymenu_send_message_to_owner")) {
218
+ $error = array(
219
+ 'key' => "nonce",
220
+ "message" => "Your request is not valid"
221
+ );
222
+ $errorArray[] = $error;
223
+ }
224
+ }
225
+ if(empty($errorArray)) {
226
+ global $current_user;
227
+ $text_message = $postData['textarea_text'];
228
+ $email = $postData['user_email'];
229
+ $domain = site_url();
230
+ $user_name = $current_user->first_name." ".$current_user->last_name;
231
+
232
+ $response['status'] = 1;
233
+
234
+ /* sending message to Crisp */
235
+ $post_message = array();
236
+
237
+ $message_data = array();
238
+ $message_data['key'] = "Plugin";
239
+ $message_data['value'] = "My Sticky Menu";
240
+ $post_message[] = $message_data;
241
+
242
+ $message_data = array();
243
+ $message_data['key'] = "Domain";
244
+ $message_data['value'] = $domain;
245
+ $post_message[] = $message_data;
246
+
247
+ $message_data = array();
248
+ $message_data['key'] = "Email";
249
+ $message_data['value'] = $email;
250
+ $post_message[] = $message_data;
251
+
252
+ $message_data = array();
253
+ $message_data['key'] = "Message";
254
+ $message_data['value'] = $text_message;
255
+ $post_message[] = $message_data;
256
+
257
+ $api_params = array(
258
+ 'domain' => $domain,
259
+ 'email' => $email,
260
+ 'url' => site_url(),
261
+ 'name' => $user_name,
262
+ 'message' => $post_message,
263
+ 'plugin' => "MSE",
264
+ 'type' => "Need Help",
265
+ );
266
+
267
+ /* Sending message to Crisp API */
268
+
269
+ $crisp_response = wp_safe_remote_post("https://premioapps.com/premio/send-message-api.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => true));
270
+
271
+ if (is_wp_error($crisp_response)) {
272
+ wp_safe_remote_post("https://premioapps.com/premio/send-message-api.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => false));
273
+ }
274
+ } else {
275
+ $response['error'] = 1;
276
+ $response['errors'] = $errorArray;
277
+ }
278
+ echo json_encode($response);
279
+ wp_die();
280
+ }
281
+
282
 
283
  public function mystickymenu_settings_link($links){
284
  $settings_link = '<a href="admin.php?page=my-stickymenu-welcomebar">Settings</a>';
303
  wp_redirect( admin_url( 'admin.php?page=my-stickymenu-welcomebar' ) ) ;
304
  } else {
305
  wp_redirect( admin_url( 'admin.php?page=my-stickymenu-welcomebar&widget=0' ) ) ;
 
306
  }
307
 
308
  exit;
311
 
312
  public function mysticky_admin_script($hook) {
313
 
314
+ if ( !isset($_GET['page']) || ( isset($_GET['page']) && $_GET['page'] != 'my-stickymenu-settings' && $_GET['page'] != 'my-stickymenu-welcomebar' && $_GET['page'] != 'my-stickymenu-new-welcomebar' && $_GET['page'] != 'my-stickymenu-upgrade' && $_GET['page'] != 'msm-recommended-plugins' && $_GET['page'] != 'my-sticky-menu-leads' )) {
315
  return;
316
  }
317
 
388
  'my-stickymenu-new-welcomebar',
389
  array( $this, 'mystickystickymenu_admin_new_welcomebar_page' )
390
  );
391
+
392
+ add_submenu_page(
393
+ 'my-stickymenu-welcomebar',
394
+ 'Settings Admin',
395
+ 'Contact Form Leads',
396
+ 'manage_options',
397
+ 'my-sticky-menu-leads',
398
+ array( $this, 'mystickymenu_admin_leads_page' )
399
+ );
400
 
401
  add_submenu_page(
402
  'my-stickymenu-welcomebar',
451
  window.location.href = <?php echo "'".admin_url("admin.php?page=my-stickymenu-welcomebar")."'";?>;
452
  </script>
453
  <?php
 
454
  }
 
455
  echo '<div class="updated settings-error notice is-dismissible "><p><strong>' . esc_html__('Settings saved.','mystickymenu'). '</p></strong></div>';
456
  } else {
457
  wp_verify_nonce($_GET['nonce'], 'wporg_frontend_delete');
908
  </div>
909
  </div>
910
 
911
+ <!-- Mysticky Menu: Save & Save Dashbaord Submission Validation Popup -->
912
+
913
  <div class="mystickymenu-action-popup new-center" id="mysticky-sticky-save-confirm" style="display:none;">
914
  <div class="mystickymenu-action-popup-header">
915
  <h3><?php esc_html_e("Turn on Sticky Menu","mystickymenu"); ?></h3>
925
  </div>
926
  <div class="mystickymenupopup-overlay" id="stickymenu-option-overlay-popup"></div>
927
 
928
+ <!-- End Save & Save Dashbaord Submission Validation Popup -->
929
+
930
  <p class="submit">
931
  <input type="submit" name="submit" id="submit" class="button button-primary btn-save-stickymenu" value="<?php esc_attr_e('Save', 'mystickymenu');?>">
932
 
949
 
950
 
951
  public function mystickystickymenu_admin_welcomebar_page() {
952
+ //require_once MYSTICKYMENU_PATH . 'help.php';
953
+
954
  $is_shown = get_option("mystickymenu_update_message");
955
  if($is_shown == 1) {
956
  include_once MYSTICKYMENU_PATH . '/update.php';
957
  return;
958
  }
959
 
960
+ /*
961
+ DATE : 2022-08-04
962
+ Welcome bar save data function
963
+ */
964
 
965
  if (isset($_POST['mysticky_option_welcomebar']) && !empty($_POST['mysticky_option_welcomebar']) && isset($_POST['nonce'])) {
966
  if(!empty($_POST['nonce']) && wp_verify_nonce($_POST['nonce'], 'mysticky_option_welcomebar_update')) {
967
+
968
+
969
  $widgets = get_option( 'mysticky_option_welcomebar' );
970
+
971
  $is_first_widget = 0;
972
  if( isset($widgets) && $widgets == '' ){
973
  $is_first_widget = 1;
974
  }
975
 
 
 
976
  $welcomebars_widgets[0] = 'Welcome Bar #0';
977
  update_option( 'mystickymenu-welcomebars', $welcomebars_widgets );
978
 
1025
 
1026
  $mysticky_options = get_option( 'mysticky_option_name');
1027
  $is_old = get_option("has_sticky_header_old_version");
1028
+ $is_old = ($is_old == "yes") ? true : false;
1029
  $nonce = wp_create_nonce('mysticky_option_backend_update');
1030
  $pro_url = "https://go.premio.io/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
1031
 
1057
  </div>
1058
  <?php
1059
  }else{
 
 
1060
  mysticky_welcome_bar_backend();
1061
  }
1062
  ?>
1088
  include_once 'recommended-plugins.php';
1089
  }
1090
 
 
 
1091
  public function mystickymenu_admin_upgrade_to_pro() {
1092
  $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2199&edd_options[price_id]=";
1093
  ?>
1176
  break;
1177
  }
1178
 
 
1179
  $default = array(
1180
  'mysticky_class_id_selector' => $mysticky_class_id_selector,
1181
  'mysticky_class_selector' => $mystickyClass,
1409
  );
1410
 
1411
  /* Sending message to Crisp API */
1412
+ $crisp_response = wp_safe_remote_post("https://premioapps.com/premio/send-message-api.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => true));
1413
 
1414
  if (is_wp_error($crisp_response)) {
1415
+ wp_safe_remote_post("https://premioapps.com/premio/send-message-api.php", array('body' => $api_params, 'timeout' => 15, 'sslverify' => false));
1416
  }
1417
  }
1418
  echo json_encode($response);
1419
  wp_die();
1420
  }
1421
+
1422
+ /* *
1423
+ * Mysticky Menu : Contact Lead function for show all the lead which send by user.
1424
+ * DATE : 2022-08-04
1425
+ * */
1426
+
1427
+ public function mystickymenu_admin_leads_page(){
1428
+ global $wpdb;
1429
+ $where_search = '';
1430
+ $table_name = $wpdb->prefix . "mystickymenu_contact_lists";
1431
+ $elements_widgets = get_option( 'mystickymenu-welcomebars' );
1432
+
1433
+ $custom_fields = array();
1434
+ if ( !empty($elements_widgets)) {
1435
+ foreach( $elements_widgets as $key=>$value) {
1436
+ $widget_no = '-'.$key;
1437
+ if ( $key == 0 ) {
1438
+ $widget_no = '';
1439
+ }
1440
+ }
1441
+ }
1442
+ ?>
1443
+ <!-- /**/ */ -->
1444
+ <div class="wrap mystickymenu-contact-wrap">
1445
+ <h2><?php _e( 'Contact Form Leads', 'mystickymenu' ); ?></h2>
1446
+ <p class="description">
1447
+ <strong><?php esc_html_e("Contact's data is saved locally do make backup or export before uninstalling plugin", 'mystickymenu');?></strong>
1448
+ </p>
1449
+ <div>
1450
+ <div class="mystickymenu-btnmbox">
1451
+ <div class="mystickymenu-btnbx">
1452
+ <strong><?php esc_html_e('Download & Export All Subscriber to CSV file:','mystickymenu' );?> </strong>
1453
+ <a href="<?php echo plugins_url('mystickymenu-contact-leads.php?download_file=mystickymenu_contact_leads.csv',__FILE__); ?>" class="wpappp_buton" id="wpappp_export_to_csv" value="Export to CSV" href="#"><?php esc_html_e('Download & Export to CSV', 'mystickymenu' );?></a>
1454
+ </div>
1455
+ <div class="mystickymenu-btnbx">
1456
+ <strong><?php esc_html_e('Delete All Subscibers from Database:','mystickymenu');?> </strong>
1457
+
1458
+ <input type="button" class="wpappp_buton" id="mystickymenu_delete_all_leads" value="<?php esc_attr_e('Delete All Data', 'mystickymenu' );?>" />
1459
+ </div>
1460
+ </div>
1461
+ <input type="hidden" id="delete_nonce" name="delete_nonce" value="<?php echo wp_create_nonce("mysticky_menu_delete_nonce") ?>" />
1462
+ </div>
1463
+
1464
+ <?php
1465
+ if ( isset($_REQUEST['search-contact']) && $_REQUEST['search-contact'] != '' ) {
1466
+ $where_search = "WHERE contact_name like '%" . $_REQUEST['search-contact'] . "%' OR contact_email like '%".$_REQUEST['search-contact']."%' OR contact_phone like '%".$_REQUEST['search-contact']."%'";
1467
+ }
1468
+ ?>
1469
+ <div>
1470
+ <div class="tablenav top">
1471
+ <form action="<?php echo admin_url("admin.php?page=my-sticky-menu-leads");?>" method="post">
1472
+ <div class="alignleft actions bulkactions">
1473
+ <select name="action" id="bulk-action-selector-top">
1474
+ <option value="">Bulk Actions</option>
1475
+ <option value="delete_message">Delete</option>
1476
+ </select>
1477
+ <input type="submit" id="doaction" class="button action" value="Apply">
1478
+ <?php wp_nonce_field( 'stickyelement-contatc-submit', 'stickyelement-contatc-submit' ); ?>
1479
+ </div>
1480
+ </form>
1481
+ <form action="<?php echo admin_url("admin.php?page=my-sticky-menu-leads");?>" method='get'>
1482
+ <input type="hidden" name="page" value='my-sticky-menu-leads'/>
1483
+ <p class="search-box">
1484
+ <label class="screen-reader-text" for="post-search-input"><?php esc_html_e( 'Search', 'mystickymenu');?></label>
1485
+ <input type="search" id="post-search-input" name="search-contact" value="<?php echo (isset($_GET['search-contact']) && $_GET['search-contact'] != '') ? esc_attr($_GET['search-contact']) : ''; ?>">
1486
+ <input type="submit" id="search-submit" class="button" value="<?php esc_html_e( 'Search', 'mystickymenu');?>">
1487
+ </p>
1488
+ </form>
1489
+ </div>
1490
+
1491
+ <table border="1" class="responstable">
1492
+ <tr>
1493
+ <th style="width:1%"><?php esc_html_e( 'Bulk', 'mystickymenu' );?></th>
1494
+ <th><?php esc_html_e( 'ID', 'mystickymenu');?></th>
1495
+ <th><?php esc_html_e( 'Widget Name', 'mystickymenu');?></th>
1496
+ <th><?php esc_html_e( 'Name', 'mystickymenu');?></th>
1497
+ <th><?php esc_html_e( 'Email', 'mystickymenu');?></th>
1498
+ <th><?php esc_html_e( 'Phone', 'mystickymenu');?></th>
1499
+ <th><?php esc_html_e( 'Date', 'mystickymenu');?></th>
1500
+ <th><?php esc_html_e( 'URL', 'mystickymenu');?></th>
1501
+ <th style="width:11%"><?php esc_html_e( 'Delete', 'mystickymenu');?></th>
1502
+ </tr>
1503
+ <?php
1504
+ $customPagHTML = "";
1505
+ $total_query = "SELECT count(*) FROM ".$table_name ." {$where_search} ORDER BY ID DESC";
1506
+ $total = $wpdb->get_var( $total_query );
1507
+ $items_per_page = 20;
1508
+ $page = ( isset( $_GET['cpage'] ) ) ? abs( (int) $_GET['cpage'] ) : 1;
1509
+ $offset = ( $page * $items_per_page ) - $items_per_page;
1510
+ $query = "SELECT * FROM " . $table_name ." {$where_search} ORDER BY ID DESC LIMIT {$offset}, {$items_per_page}";
1511
+ $result = $wpdb->get_results( $query );
1512
+ $total_page = ceil($total / $items_per_page);
1513
+ if($result){
1514
+
1515
+ foreach ( $result as $res ) { ?>
1516
+ <tr>
1517
+ <td><input id="cb-select-80" class="cb-select-blk" type="checkbox" name="delete_message[]" value="<?php echo esc_attr($res->ID);?>"></td>
1518
+ <td><a href="<?php echo esc_url(admin_url( 'admin.php?page=my-sticky-menu-leads&id=' . $res->ID ));?>"><?php echo $res->ID;?></a></td>
1519
+ <td><a href="<?php echo esc_url(admin_url( 'admin.php?page=my-sticky-menu-leads&id=' . $res->ID ));?>"><?php echo $res->widget_name;?></a></td>
1520
+ <td><?php echo $res->contact_name;?></td>
1521
+ <td><?php echo $res->contact_email;?></td>
1522
+ <td><?php echo $res->contact_phone;?></td>
1523
+ <td><?php echo ( isset($res->message_date) ) ? $res->message_date : '-' ;?></td>
1524
+ <td>
1525
+ <?php if ( $res->page_link) :?>
1526
+ <a class="external-link" href="<?php echo esc_url($res->page_link);?>" target="_blank"><span class="dashicons dashicons-external"></span></a>
1527
+ <?php endif;?>
1528
+ </td>
1529
+
1530
+ <td>
1531
+ <input type="button" data-delete="<?php echo $res->ID;?>" class="mystickymenu-delete-entry" value="<?php esc_attr_e('Delete', 'mystickymenu');?>" />
1532
+ </td>
1533
+ </tr>
1534
+ <?php }
1535
+ } else { ?>
1536
+ <tr>
1537
+ <td colspan="8" align="center">
1538
+ <p class="mystickymenu-no-contact"> <?php esc_html_e('No Contact Form Leads Found!','mystickymenu');?>
1539
+ </p>
1540
+ </td>
1541
+ </tr>
1542
+ <?php } ?>
1543
+
1544
+ </table>
1545
+
1546
+ <?php if($total_page > 1){ ?>
1547
+ <div class="contactleads-pagination">
1548
+ <?php
1549
+ $big = 999999999; // need an unlikely integer
1550
+ echo paginate_links( array(
1551
+ 'base' => add_query_arg( 'cpage', '%#%' ),
1552
+ 'format' => '',
1553
+ 'current' => $page,
1554
+ 'total' => $total_page
1555
+ ) );?>
1556
+ </div>
1557
+ <?php }?>
1558
+ </form>
1559
+ </div>
1560
+ </div>
1561
+
1562
+ <!-- -->
1563
+ <?php
1564
+ }
1565
  }
1566
 
1567
 
1573
  {
1574
  add_action( 'wp_head', array( $this, 'mysticky_build_stylesheet_content' ) );
1575
  add_action( 'wp_enqueue_scripts', array( $this, 'mysticky_disable_at' ) );
1576
+
1577
+ add_action('wp_ajax_stickymenu_contact_lead_form', array($this, 'stickymenu_contact_lead_form'));
1578
+ add_action('wp_ajax_nopriv_stickymenu_contact_lead_form', array($this, 'stickymenu_contact_lead_form'));
1579
  }
1580
 
1581
  public function mysticky_build_stylesheet_content() {
1894
 
1895
  }
1896
 
1897
+ /**
1898
+ * Mysticky Menu: Contact Form Lead Submission Function
1899
+ * DATE : 2022-08-04
1900
+ * */
1901
+
1902
+ public function stickymenu_contact_lead_form(){
1903
+ global $wpdb;
1904
+ global $wp;
1905
+ $stickymenus_widgets = get_option( 'mystickymenu-welcomebars' );
1906
+ $errors = array();
1907
+ $element_widget_no = $_POST['widget_id'];
1908
+
1909
+ $element_widget_name = (isset($stickymenus_widgets[$element_widget_no]) && $stickymenus_widgets[$element_widget_no] != '' ) ? $stickymenus_widgets[$element_widget_no] : '';
1910
+
1911
+ $flag = true;
1912
+ if( isset($element_widget_name) && $element_widget_name != ''){
1913
+ if( !isset($_POST['contact_name']) || $_POST['contact_name'] == ''){
1914
+ $error = array(
1915
+ 'key' => "contact-form-name",
1916
+ 'message' => __( "This field is required", "mystickymenu" )
1917
+ );
1918
+ $errors[] = $error;
1919
+ $flag = false;
1920
+ }else{
1921
+ $contact_lists_table = $wpdb->prefix . 'mystickymenu_contact_lists';
1922
+ $postArr = $_POST;
1923
+
1924
+ if( $element_widget_no == 0 ){
1925
+ $element_widget_no = '';
1926
+ }
1927
+
1928
+ $welcomebar = get_option( 'mysticky_option_welcomebar' . $element_widget_no );
1929
+
1930
+ foreach( $postArr as $key => $val ){
1931
+ if( $key != 'action' && $key != 'widget_id' && $key != 'save_form_lead' && $key != 'wpnonce'){
1932
+ $params[$key] = (isset($val) && $val != '') ? esc_sql( sanitize_text_field($val) ) : '';
1933
+ }
1934
+ }
1935
+
1936
+ $params["widget_name"] = esc_sql( sanitize_text_field($element_widget_name));
1937
+ $params["message_date"] = date('Y-m-d H:i:s');
1938
+ $params["contact_email"] = (isset($params["contact_email"]) && $params["contact_email"] != '' ) ? $params["contact_email"] : '';
1939
+
1940
+ if( isset($params) && !empty($params) ){
1941
+ $wpdb->insert($contact_lists_table, $params);
1942
+ die;
1943
+ }
1944
+
1945
+
1946
+ }
1947
+ }
1948
+
1949
+ if( $flag != true ){
1950
+ echo json_encode(array("status" => 0, "error" => 1, "errors" => $errors, "message" => $errors['message']));
1951
+ }
1952
+ die;
1953
+ }
1954
+
1955
  }
1956
 
1957
  if( is_admin() ) {
 
1958
  require_once 'mystickymenu-affiliate.php';
1959
+ }
 
 
 
1960
 
1961
+ new MyStickyMenuBackend();
1962
+ new MyStickyMenuFrontend();
1963
 
1964
  register_activation_hook( __FILE__, 'mystickymenu_activate' );
1965
 
1966
  function mystickymenu_activate() {
1967
  update_option( 'update_mysticky_version_2_5_7', true );
1968
+
1969
+ global $wpdb;
1970
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php');
1971
+ $charset_collate = $wpdb->get_charset_collate();
1972
+
1973
+ $contact_lists_table = $wpdb->prefix . 'mystickymenu_contact_lists';
1974
+
1975
+ if ($wpdb->get_var("show tables like '$contact_lists_table'") != $contact_lists_table) {
1976
+
1977
+ $contact_lists_table_sql = "CREATE TABLE $contact_lists_table (
1978
+ ID int(11) NOT NULL AUTO_INCREMENT,
1979
+ contact_name varchar(255) NULL,
1980
+ contact_phone varchar(255) NULL,
1981
+ contact_email varchar(255) NULL,
1982
+ widget_name varchar(255) NULL,
1983
+ page_link varchar(522) NULL,
1984
+ message_date DATETIME NOT NULL default '0000-00-00 00:00:00',
1985
+ PRIMARY KEY (ID)
1986
+ ) $charset_collate;";
1987
+ dbDelta($contact_lists_table_sql);
1988
+ }
1989
+ }
1990
+
1991
+
1992
+ add_action( 'admin_init' , 'mystickymenu_admin_init' );
1993
+
1994
+ function mystickymenu_admin_init(){
1995
+
1996
+ global $wpdb;
1997
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php');
1998
+ $charset_collate = $wpdb->get_charset_collate();
1999
+
2000
+ $contact_lists_table = $wpdb->prefix . 'mystickymenu_contact_lists';
2001
+
2002
+ if ($wpdb->get_var("show tables like '$contact_lists_table'") != $contact_lists_table) {
2003
+
2004
+ $contact_lists_table_sql = "CREATE TABLE $contact_lists_table (
2005
+ ID int(11) NOT NULL AUTO_INCREMENT,
2006
+ contact_name varchar(255) NULL,
2007
+ contact_phone varchar(255) NULL,
2008
+ contact_email varchar(255) NULL,
2009
+ widget_name varchar(255) NULL,
2010
+ page_link varchar(522) NULL,
2011
+ message_date DATETIME NOT NULL default '0000-00-00 00:00:00',
2012
+ PRIMARY KEY (ID)
2013
+ ) $charset_collate;";
2014
+ dbDelta($contact_lists_table_sql);
2015
+ }
2016
+ }
readme.txt CHANGED
@@ -1,42 +1,55 @@
1
- ===Floating Notification Bar, Sticky Menu on Scroll, and Sticky Header for Any Theme - myStickymenu===
2
  Contributors: tomeraharon, galdub, premio
3
  Tags:floating bar, notification bar, menu, header, countdown, sticky menu, sticky header, floating menu, navigation menu, navigation, welcome bar, hello bar, top bar, sticky bar
4
  Requires at least: 3.5.1
5
  Tested up to: 6.0
6
- Stable tag: 2.5.9
7
  License: GPLv2 or later
8
 
 
9
  Create a beautiful welcome notification bar. This sticky menu plugin will also make your menu or header stick to the top of page, when scrolled down and up.
10
 
 
11
  == Description ==
12
  <strong>Use myStickymenu to create a beautiful notification bar for your website. You can also use this sticky menu plugin will make your menu or header sticky on top of page, after desired number of pixels when scrolled. You can use it also to create a Welcome bar for announcements, promotion and more. This lightweight plugin will help your visitors navigate easily and reach to the navigation menu without wasting time. Install My Sticky Menu and improve your website’s user experience! If you want to change the CSS style, disable on scroll down or disable on specific pages. check out the <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans">Pro version</a>.</strong>
13
 
 
14
  By default, myStickymenu should make your menu sticky without any adjustments on your end - which means your menu should become sticky right out of the box. Sticky menu is designed to use element class ".navbar" as "Sticky Class". That value should be modified in plugin settings for different themes to make it work. Sticky Class is actually nothing more than an element class (or id) of the element that should become sticky.
15
 
 
16
  [youtube https://www.youtube.com/watch?v=5sebFgUMpDA]
17
 
 
18
  <strong>📢 Welcome Bar:</strong> Use this powerful feature to create a beautiful floating sticky notification bar. No coding skill required, just turn it on, set up your announcement text and button, and voilà - your top notification bar is good to go!
19
 
 
20
  <strong>Let your visitors know about your company's Coronavirus COVID-19 updates</strong> - due to the latest Coronavirus COVID-19 outbreak, many of our users use the welcome bar to announce about their Coronavirus COVID-19 updates. You can use the notification bar as a Corona Virus - COVID-19 banner to make sure your visitors are up-to-date.
21
 
 
22
  With more than 80,000+ active installs and around 100 five-stars reviews, you can be sure that My Sticky Menu plugin is the right fit for your website.
23
 
24
- = BENEFITS =
 
25
  * Improve user experience by letting your visitors access the navigation menu and navigate to the pages they want when they want to.
26
  * Make your website look more modern with the sticky menu on desktop and mobile.
27
  * Increase number of pageviews and visitors' time on your website
28
  * Create your own floating Welcome Bar and let your visitors know about your latest deals, announcements, or any other important information
29
  * Our MSM dashboard makes it easy for you to manage your top bars and sticky menus in one place!
30
 
 
31
  The sticky header function is localized (multi-language support) and responsive (as far as your theme is). Also, there is the possibility to add custom CSS code which makes this plugin very flexible, customizable, and user-friendly. You can also use the notification bar in any language.
32
 
 
33
  My Sticky Menu plugin is originally designed for Twenty Thirteen template but should work on any theme, like OceanWP, Nirvana Template, Travelify, Twenty Sixteen, Twenty Ten, Twenty Eleven, Max Magazine, Graduate, Lawyer theme, Spacious, Suits, and more.
34
 
 
35
  My Sticky Menu is tested and compatible with Elementor website builder, Divi, WPBakery, Gutenberg, Visual composer, Beaver, and other WordPress website builders.
36
 
37
- = WITH WELCOME BAR FEATURES YOU CAN: =
 
38
  * Display your floating bar at the top position
39
  * When the user clicks on the welcome bar button you can close the bar, redirect to another URL, or launch a <a href="https://www.poptin.com/?utm_source=msm" target="_blank" title="Poptin pop up">Poptin pop up</a>
 
40
  * Change the background and button colors for your hello bar
41
  * Change display frequency after submission - show the announcement bar on every page, once a visit, or don't show the announcement bar after it's submitted
42
  * Add an attention effect to your button and increase conversion and CTR
@@ -47,7 +60,8 @@ My Sticky Menu is tested and compatible with Elementor website builder, Divi, WP
47
  * Show the call-to-action button in your top notification bar on desktop/mobile
48
  * Redirect your visitors to another URL on-click
49
 
50
- = WITH MY STICKY MENU YOU CAN: =
 
51
  * Show sticky header on scroll down/up
52
  * Fade or slide effect
53
  * Disable at a small screen
@@ -59,12 +73,15 @@ My Sticky Menu is tested and compatible with Elementor website builder, Divi, WP
59
  * Define the z-index of the sticky header
60
  * Set an entrance effect for your sticky menu
61
  * Write your notification bar announcements in different languages - we support both LTR and RTL formats
62
- * NEW! New and improved dashboard - The new MSM dashboard will help you manage your notification bars, top bars, and sticky menus better.
63
- * NEW! Disable the sticky menu - You now have the option to disable sticky menu features if you want to use only top bars or welcome bars.
 
64
 
65
- = Welcome Bar Pro Features =
66
  * Multi Welcome Bar - Create a separate notification bar for different pages based on page targeting rules (E.g. separate notification bar for different languages, different product categories, and much more)
67
- * NEW! Countdown timer ⏳ - Add a countdown timer in your notification bar for that much-needed sense of urgency. This new countdown timer notifications bar feature can really increase your conversion rate because it creates a sense of scarcity and urgency on your promotions.
 
 
68
  * Display your floating bar at the bottom position
69
  * Change the height of the sticky notification bar
70
  * Open redirect link in a new tab
@@ -75,121 +92,156 @@ My Sticky Menu is tested and compatible with Elementor website builder, Divi, WP
75
  * You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
76
  * Add a rel Attribute to your notification bar button
77
 
 
78
  But wait, there's more 😉
79
 
80
- = WHAT DO YOU GET IN THE PRO PLAN =
 
81
  * Disable floating menu on Desktop/Mobile
82
  * Disable floating menu on scroll down
83
  * Add CSS style to the floating header
84
  * Disable/enable floating header on specific pages
85
 
 
86
  <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here 🚀</strong></a>
87
 
 
88
  = Live Demo =
89
  A live demo for myStickymenu plugin and notification bar is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
90
 
91
- = myStickymenu IS GDPR COMPLAINT =
 
92
  We don’t store any local data about your visitors. Any time your menu or notification bar appears on your site, the plugin will not store any local data about it.
93
  <strong>Pro tip:</strong> You can the plugin's notification bar to let your website visitors know about your cookie policy :)
94
 
95
- = Testimonials =
 
 
96
 
97
  > "Works great.
98
  One of the key elements that I consider when choosing a theme is the sticky menu option. If the theme doesn't have it normally I don't use it. But now that’s not a problem for me anymore."<br><br>
99
 
 
100
  > "This plugin rocks!
101
  This plugin does exactly what it should. It is simple but powerful. I would suggest to anyone who wants to make their navigation menu sticky! I especially love the hide header on scroll down, show on scroll up feature that is built it. Great work!<br>
102
 
103
 
 
 
104
  == Installation ==
105
  After you activate the plugin, you should be able to create your first notification bar with ease, just customize the appearance and save it. If you want to create a sticky menu, in most cases the plugin should be able to find the class/ID for the menu, if not then change sticky class/id to .your_navbar_class or #your_navbar_id - you might need to purge the cache after saving.
106
 
 
107
  For example:
108
 
 
109
  Celestial-Lite (sticky header)
110
  ** Sticky Class => #branding
111
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed #site-navigation { margin-top:0px!important; } .myfixed #logo img {width: 200px;}
112
 
 
113
  Church Theme
114
  ** Sticky Class => #menu-hauptnavi
115
 
 
116
  Customizr Theme
117
  ** Sticky Class => .row-fluid (for header) or .nav (for menu)
118
 
 
119
  CyberChimps
120
  ** Sticky Class => .navbar-inner
121
 
 
122
  Decode
123
  ** Sticky Class => .header-menu
124
  ** Make visible when Scrolled after => 370
125
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; padding-top:5px; padding-bottom:5px; }
126
 
 
127
  Genesis / Dynamik Theme
128
  ** Sticky Class(sticky header) =>.site-header
129
  ** Sticky Class(sticky menu) =>.nav-primary
130
 
 
131
  Graduate
132
  ** Sticky Class => .main-navigation
133
 
 
134
  Graphene
135
  ** Sticky Class => #header-menu-wrap
136
 
 
137
  Illdy
138
  ** Sticky Class => .top-header
139
  ** Disable at Small Screen Sizes => 993
140
 
 
141
  Illdy (mobile support)
142
  ** Sticky Class => .header-blog
143
  ** CSS Style => #mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; } .myfixed .bottom-header {display:none;}
144
 
 
145
  Lawyer theme
146
  ** Sticky Class => .wrapper
147
  ** .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed { padding-left: 0px; padding-bottom: 0px; padding-top: 0px; } .wrapfixed { -webkit-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); -moz-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); } .myfixed .logo img { max-height: 45px; } .myfixed .quick-info { display: none; } .myfixed .mainmenu { margin: 0px } .myfixed .mainmenu { padding-top: 7px; }
148
 
 
149
  Max Magazine
150
  ** Sticky Class => #nav
151
  ** Make visible when Scrolled after => 250
152
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } #nav { min-height:40px!important; }
153
 
 
154
  Naturo Lite
155
  ** Sticky Class => .header-inner
156
 
 
157
  Nirvana Template
158
  ** Sticky Class => #access
159
 
 
160
  OceanWP
161
  ** Sticky Class => #site-header
162
 
 
163
  Responsive
164
  ** Sticky Class => .main-nav
165
  ** Make visible when Scrolled after => 250
166
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed .menu { background:none!important;}
167
 
 
168
  Spacious
169
  ** Sticky Class => #masthead (sticky header)
170
  ** Make visible when Scrolled after => 250
171
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed #site-description { display:none;} .myfixed #site-title a { font-size: 24px; } .myfixed #header-text { padding:0px!important;} .myfixed .main-navigation { padding-top: 0px!important; }
172
 
 
173
  Storefront
174
  ** Sticky Class => .main-navigation
175
 
 
176
  Suits
177
  ** Sticky Class => .navbar
178
 
 
179
  Tempera Template
180
  ** Sticky Class => .menu
181
 
 
182
  Travelify
183
  ** Sticky Class => #main-nav
184
 
 
185
  Twenty Sixteen
186
  ** Sticky Class => .site-header-main
187
 
 
188
  Twenty Ten
189
  ** Sticky Class => .menu
190
  ** Make visible when Scrolled after => 370
191
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .menu {min-height:38px;}
192
 
 
193
  Twenty Eleven
194
  ** Sticky Class => #access
195
  ** Make visible when Scrolled after => 600
@@ -197,73 +249,96 @@ Twenty Eleven
197
  .myfixed .menu { background-color:none; float:left; }
198
  .myfixed div { margin: 0px!important ; padding: 0px 7.6%; }
199
 
 
200
  Twenty Eleven (add search to sticky menu bar)
201
  ** Sticky Class => #branding
202
  ** Make visible when Scrolled after => 600
203
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed a {display:none;} #mysticky-wrap {min-height:500px;} .myfixed #site-title, .myfixed #site-description{display:none;} .myfixed #access { margin: 0px auto 0px; } .myfixed #searchform { top: 0.3em!important; }
204
 
 
205
  Twenty Twelve
206
  ** Sticky Class => .nav-menu
207
  ** Make visible when Scrolled after => 250
208
 
 
209
  Twenty Thirteen (sticky header – add your own custom logo image and edit to suite your needs)
210
  ** Sticky Class => #masthead
211
  ** .myfixed css class => .myfixed { margin:0 auto; max-width:1070px; width:100%!important;} .myfixed .search-form, .myfixed .site-description, .myfixed .site-title { display:none;} .myfixed .home-link { max-width: 55px; min-height: 38px; margin-left:20px; float:left; background-image: url('logo.png'); } .myfixed .navbar { max-width:645px; float:right;} .wrapfixed .navbar { background-color: transparent; } .wrapfixed ul { padding-right:0px; }
212
 
 
213
  Webnus netStudio theme
214
  ** Sticky Class =>.nav-wrap2
215
 
 
216
  Weblizar
217
  ** Sticky Class => .row
218
 
 
219
  Wrock Metro Theme (entire header)
220
  ** Sticky Class =>#navigation
221
 
222
 
 
 
223
  == Frequently Asked Questions ==
224
 
 
225
  = How to find Sticky Class, what should I enter here? =
226
  So this depends on what you want to make sticky and what theme do you use, but for example, if you want your menu to be sticky, then you can examine the code (in firefox right click and “View page source”) and find HTML element in which your menu is situated. This element has some class or id, and that’s the Sticky Class we need. If using class then don’t forget to ad dot (.) in front of the class name or hash (#) in front of id. Twenty Thirteen default working class is ".navbar" without of quotes.
227
 
 
228
  = Is there any way to restrict the width to the width of the header, rather than it being full width? =
229
  Yes, just leave the "Sticky Background Color" field blank (clear). Then if needed define a custom background color for a sticky header inside ".myfixed CSS class" field using .myfixed class.
230
 
 
231
  = Ho do I add a small logo to the menu? =
232
  That will depend on a theme you use, but if initially your menu and logo are in one div then you can use that div class or id in myStickymenu settings.
233
 
 
234
  If not you can change that in your header template file and add logo and menu divs inside new div with some custom class or id, then use that class or id in myStickymenu settings as a sticky class.
235
 
 
236
  In CSS you can style your custom class while not sticky using the custom class you added before. Furthermore, you can style your menu while sticky using .myfixed class which is added by js to your custom class while sticky is active.
237
 
 
238
  In some cases, you can use the whole header div and then just style it differently with .myfixed class, hide what you don’t need to use CSS display:none; property, and position logo and menu as you like.
239
 
 
240
  = Is there a time limit for the free plan? =
241
  No. you can use the free plan as long as you want.
242
 
 
243
  = Can I use My Sticky Menu plugin on more than 1 domain? =
244
  There 2 ways to do it:
245
  1. You can install the free Sticky Menu plugin on any website you want
246
  2. You can buy the Pro plan that includes licenses for 5 domains, or the Agency plan that includes licenses for 20 domains.
247
  Check out our <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">plans page</a>.
248
 
 
249
  = How long is my paid Sticky Menu plugin license valid for? =
250
  Once you purchase any <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">paid plan</a> of my sticky menu, you can use it forever. Support and updates are available for 1 year. You can renew your license each year to get another year of support and updates.
251
 
 
252
  = Will Sticky Menu plugin stop working if I don’t renew my license? =
253
  Of course NOT! 🙂
254
  Your Sticky Menu plugin and all your settings will continue to work as before; however, you will no longer receive plugin updates including feature additions, improvements, and support.
255
 
 
256
  = How do I activate my pro plan? =
257
  Just follow our <a href="https://premio.io/wordpress-premio-pro-version-installation-guide/" target="_blank" title="WordPress installation guide">pro installation guide</a>.
258
 
 
259
  = Is there a live demo formyStickymenu =
260
  A live demo for myStickymenu plugin is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
261
 
 
262
  = How does the Welcome Bar feature work and do I have to enable it? =
263
  After installing the plugin, you’ll have the option to turn on the welcome bar. You can create a floating bar that’ll appear on your site, and use it for promotion, announcements, and more. You don’t have to turn that feature on if you don’t want to :)
264
 
 
265
  == Screenshots ==
266
 
 
267
  1. Check out the welcome bar in action
268
  2. The notification bar and sticky menu dashboard
269
  3. Add a countdown timer to your notification bar to create an urgency sense
@@ -273,7 +348,13 @@ After installing the plugin, you’ll have the option to turn on the welcome bar
273
  7. You can change the background text, call-to-action text, fonts, and colors
274
  8. This is how myStickymenu will actually look on your site
275
 
 
276
  == Changelog ==
 
 
 
 
 
277
  = 2.5.9 =
278
  Fixed notification bar activation bug, fixed UI font bug, and added tooltips and improved the interface content
279
  = 2.5.8 =
@@ -286,6 +367,7 @@ Improvement: Disabling sticky menu features - you can now disable the sticky men
286
  Improvement:
287
  Fixed: Optimized the JS and fix “console.log” on mystickymenu.js bug
288
 
 
289
  For Pro plan users:
290
  Added: You can now put countdown timers on your sticky menu! Best used for promotions or launch announcements!
291
  = 2.5.6 =
@@ -394,6 +476,7 @@ Upgrade page change
394
  * Fixed: If user logged in but admin bar is not showing (error to calculate activation height)
395
  * Fixed: Admin style conflict with Scripts n Styles plugin
396
 
 
397
  = 2.0 =
398
  * Added: If Make visible on Scroll is set to 0 automatic activation and deactivation scroll height will be used (useful for responsive designs).
399
  * Added: Tabs for settings.
@@ -408,44 +491,59 @@ Upgrade page change
408
 
409
 
410
 
 
 
 
411
  = 1.9.1 =
412
  * Changed: admin bar is fixed as default, and menu goes under it.
413
 
 
414
  = 1.9 =
415
  * Fixed: enable / disable for search pages.
416
 
 
417
  = 1.8.9 =
418
  * Added: New option - Disable at certain posts and pages.
419
 
 
420
  = 1.8.8 =
421
  * Fixed: removed esc_attr for echo css, since input is already sanitized.
422
 
 
423
  = 1.8.7 =
424
  * Fixed: minor bug when browser resized.
425
 
 
426
  = 1.8.6 =
427
  * Fixed: minor bug.
428
 
 
429
  = 1.8.5 =
430
  * Improved: Improved performance and optimized scripts.
431
 
 
432
  = 1.8.4 =
433
  * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
434
 
 
435
  = 1.8.3 =
436
  * Change: minor cosmetic changes…
437
 
 
438
  = 1.8.2 =
439
  * Fixed: js load on https
440
 
 
441
  = 1.8.1 =
442
  * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
443
  * Minimized mystickymenu.js to improve performance.
444
 
 
445
  = 1.8 =
446
  * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
447
  * Added German language
448
 
 
449
  = 1.7 =
450
  * Added multi language support (localization).
451
  * Added languages - English (default), Spanish, Serbian and Croatian.
@@ -453,25 +551,30 @@ Upgrade page change
453
  * Fixed jumping of page on scroll while menu is activated (height is defined before scroll event).
454
  * mystickymenu.js moved to js folder
455
 
 
456
  = 1.6 =
457
  * Added: "Make visible when scroled" after number of pixels option.
458
  * Fixed opacity 100 bug.
459
 
 
460
  = 1.5 =
461
  * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
462
  * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style.
463
  * Fixed google adsense clash and undefined index notice.
464
  * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option
465
 
 
466
  = 1.4 =
467
  * Added fade in or slide down effect settings field for sticky class.
468
  * Added new wrapped div around selected sticky class with id mysticky_wrap which should make menu works smoother and extend theme support.
469
 
 
470
  = 1.3 =
471
  * Added "block direct access" to the mystickymenu plugin file (for security sake).
472
  * Added Enable / Disable at small screen sizes and Remove not necessary css for all themes without admin bar on front page.
473
  * Added “margin-top :0px” to .myfixed class in head which should extend theme support.
474
 
 
475
  = 1.2 =
476
  * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
477
 
@@ -479,53 +582,66 @@ Upgrade page change
479
  * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time.
480
  * Old mystickymenu.css file is deprecated and not in use anymore.
481
 
 
482
  = 1.0 =
483
  * First release of myStickymenu plugin
484
 
 
485
  == Upgrade Notice ==
486
 
 
487
  = 1.8.4 =
488
  * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
489
 
 
490
  = 1.8.3 =
491
  * Change: minor cosmetic changes…
492
 
 
493
  = 1.8.2 =
494
  * Fixed: js load on https
495
 
 
496
  = 1.8.1 =
497
  * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
498
  * Minimized mystickymenu.js to improve performance.
499
 
 
500
  = 1.8 =
501
  * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
502
 
 
503
  = 1.7 =
504
  * Added multi language support (localization).
505
  * Added Iris color picker script.
506
  * Fixed jumping of page on scroll while menu is activated (height defined before scroll event).
507
  * mystickymenu.js moved to js folder
508
 
 
509
  = 1.6 =
510
  * After plugin update go to mystickymenu plugin settings and save changes with desired value for a new parameters. Clear cache if some cache system used on your site.
511
  * Added: “Make visible when scroled” after number of pixels option.
512
  * Fixed opacity 100 bug.
513
 
 
514
  = 1.5 =
515
  * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
516
  * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style.
517
  * Fixed google adsense clash and undefined index notice.
518
  * is_user_logged_in instead of old "Remove CSS Rules for Static Admin Bar while Sticky" option
519
 
 
520
  = 1.4 =
521
  * Added fade in or slide down effect settings field for sticky class.
522
  * Added new wrapped div around selected sticky class with id mysticky_wrap.
523
 
 
524
  = 1.3 =
525
  * Added "block direct access" to the mystickymenu plugin file.
526
  * Added Enable / Disable at small screen sizes and Remove not necessary css.
527
  * Added "margin-top :0px" to .myfixed class in head which should extend theme support.
528
 
 
529
  = 1.2 =
530
  * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
531
 
1
+ ===Floating Notification Bar, Sticky Menu on Scroll, Announcement Banner, and Sticky Header for Any Theme - myStickymenu===
2
  Contributors: tomeraharon, galdub, premio
3
  Tags:floating bar, notification bar, menu, header, countdown, sticky menu, sticky header, floating menu, navigation menu, navigation, welcome bar, hello bar, top bar, sticky bar
4
  Requires at least: 3.5.1
5
  Tested up to: 6.0
6
+ Stable tag: 2.6
7
  License: GPLv2 or later
8
 
9
+
10
  Create a beautiful welcome notification bar. This sticky menu plugin will also make your menu or header stick to the top of page, when scrolled down and up.
11
 
12
+
13
  == Description ==
14
  <strong>Use myStickymenu to create a beautiful notification bar for your website. You can also use this sticky menu plugin will make your menu or header sticky on top of page, after desired number of pixels when scrolled. You can use it also to create a Welcome bar for announcements, promotion and more. This lightweight plugin will help your visitors navigate easily and reach to the navigation menu without wasting time. Install My Sticky Menu and improve your website’s user experience! If you want to change the CSS style, disable on scroll down or disable on specific pages. check out the <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans">Pro version</a>.</strong>
15
 
16
+
17
  By default, myStickymenu should make your menu sticky without any adjustments on your end - which means your menu should become sticky right out of the box. Sticky menu is designed to use element class ".navbar" as "Sticky Class". That value should be modified in plugin settings for different themes to make it work. Sticky Class is actually nothing more than an element class (or id) of the element that should become sticky.
18
 
19
+
20
  [youtube https://www.youtube.com/watch?v=5sebFgUMpDA]
21
 
22
+
23
  <strong>📢 Welcome Bar:</strong> Use this powerful feature to create a beautiful floating sticky notification bar. No coding skill required, just turn it on, set up your announcement text and button, and voilà - your top notification bar is good to go!
24
 
25
+
26
  <strong>Let your visitors know about your company's Coronavirus COVID-19 updates</strong> - due to the latest Coronavirus COVID-19 outbreak, many of our users use the welcome bar to announce about their Coronavirus COVID-19 updates. You can use the notification bar as a Corona Virus - COVID-19 banner to make sure your visitors are up-to-date.
27
 
28
+
29
  With more than 80,000+ active installs and around 100 five-stars reviews, you can be sure that My Sticky Menu plugin is the right fit for your website.
30
 
31
+
32
+ = 💪 BENEFITS =
33
  * Improve user experience by letting your visitors access the navigation menu and navigate to the pages they want when they want to.
34
  * Make your website look more modern with the sticky menu on desktop and mobile.
35
  * Increase number of pageviews and visitors' time on your website
36
  * Create your own floating Welcome Bar and let your visitors know about your latest deals, announcements, or any other important information
37
  * Our MSM dashboard makes it easy for you to manage your top bars and sticky menus in one place!
38
 
39
+
40
  The sticky header function is localized (multi-language support) and responsive (as far as your theme is). Also, there is the possibility to add custom CSS code which makes this plugin very flexible, customizable, and user-friendly. You can also use the notification bar in any language.
41
 
42
+
43
  My Sticky Menu plugin is originally designed for Twenty Thirteen template but should work on any theme, like OceanWP, Nirvana Template, Travelify, Twenty Sixteen, Twenty Ten, Twenty Eleven, Max Magazine, Graduate, Lawyer theme, Spacious, Suits, and more.
44
 
45
+
46
  My Sticky Menu is tested and compatible with Elementor website builder, Divi, WPBakery, Gutenberg, Visual composer, Beaver, and other WordPress website builders.
47
 
48
+
49
+ = 🚀 WITH WELCOME BAR FEATURES YOU CAN: =
50
  * Display your floating bar at the top position
51
  * When the user clicks on the welcome bar button you can close the bar, redirect to another URL, or launch a <a href="https://www.poptin.com/?utm_source=msm" target="_blank" title="Poptin pop up">Poptin pop up</a>
52
+ * New! Contact Form 📝 - Include a contact form in your notification bar to collect either name and email or name and phone number. This feature can improve lead generation on your website. You’ll be able to gather your users' details using a contact form and reach them directly.
53
  * Change the background and button colors for your hello bar
54
  * Change display frequency after submission - show the announcement bar on every page, once a visit, or don't show the announcement bar after it's submitted
55
  * Add an attention effect to your button and increase conversion and CTR
60
  * Show the call-to-action button in your top notification bar on desktop/mobile
61
  * Redirect your visitors to another URL on-click
62
 
63
+
64
+ = 📌 WITH MY STICKY MENU YOU CAN: =
65
  * Show sticky header on scroll down/up
66
  * Fade or slide effect
67
  * Disable at a small screen
73
  * Define the z-index of the sticky header
74
  * Set an entrance effect for your sticky menu
75
  * Write your notification bar announcements in different languages - we support both LTR and RTL formats
76
+ * New! New and improved dashboard - The new MSM dashboard will help you manage your notification bars, top bars, and sticky menus better.
77
+ * New! Disable the sticky menu - You now have the option to disable sticky menu features if you want to use only top bars or welcome bars
78
+
79
 
80
+ = 👌 Welcome Bar Pro Features =
81
  * Multi Welcome Bar - Create a separate notification bar for different pages based on page targeting rules (E.g. separate notification bar for different languages, different product categories, and much more)
82
+ * New! Countdown timer ⏳ - Add a countdown timer in your notification bar for that much-needed sense of urgency. This new countdown timer notifications bar feature can really increase your conversion rate because it creates a sense of scarcity and urgency on your promotions.
83
+ * New! Send contact form leads via email - you can get email notifications when a visitor fills our your notification bar contact form
84
+ * New! Add a discount coupon element 🎫 - This feature lets you add a discount code coupon to your notification bar. Reduce cart abandonment and improve sales by offering your users a coupon discount code when they need it.
85
  * Display your floating bar at the bottom position
86
  * Change the height of the sticky notification bar
87
  * Open redirect link in a new tab
92
  * You can set a thank you screen which appears after the button is clicked (can be used for coupons or any other message you want to show your visitors after they click on the button)
93
  * Add a rel Attribute to your notification bar button
94
 
95
+
96
  But wait, there's more 😉
97
 
98
+
99
+ = 🔥 WHAT DO YOU GET IN THE PRO PLAN =
100
  * Disable floating menu on Desktop/Mobile
101
  * Disable floating menu on scroll down
102
  * Add CSS style to the floating header
103
  * Disable/enable floating header on specific pages
104
 
105
+
106
  <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu pro plans"><strong>>>> See Pro plans here 🚀</strong></a>
107
 
108
+
109
  = Live Demo =
110
  A live demo for myStickymenu plugin and notification bar is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
111
 
112
+
113
+ = 🔒 myStickymenu IS GDPR COMPLAINT =
114
  We don’t store any local data about your visitors. Any time your menu or notification bar appears on your site, the plugin will not store any local data about it.
115
  <strong>Pro tip:</strong> You can the plugin's notification bar to let your website visitors know about your cookie policy :)
116
 
117
+
118
+ = 🤗 Testimonials =
119
+
120
 
121
  > "Works great.
122
  One of the key elements that I consider when choosing a theme is the sticky menu option. If the theme doesn't have it normally I don't use it. But now that’s not a problem for me anymore."<br><br>
123
 
124
+
125
  > "This plugin rocks!
126
  This plugin does exactly what it should. It is simple but powerful. I would suggest to anyone who wants to make their navigation menu sticky! I especially love the hide header on scroll down, show on scroll up feature that is built it. Great work!<br>
127
 
128
 
129
+
130
+
131
  == Installation ==
132
  After you activate the plugin, you should be able to create your first notification bar with ease, just customize the appearance and save it. If you want to create a sticky menu, in most cases the plugin should be able to find the class/ID for the menu, if not then change sticky class/id to .your_navbar_class or #your_navbar_id - you might need to purge the cache after saving.
133
 
134
+
135
  For example:
136
 
137
+
138
  Celestial-Lite (sticky header)
139
  ** Sticky Class => #branding
140
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed #site-navigation { margin-top:0px!important; } .myfixed #logo img {width: 200px;}
141
 
142
+
143
  Church Theme
144
  ** Sticky Class => #menu-hauptnavi
145
 
146
+
147
  Customizr Theme
148
  ** Sticky Class => .row-fluid (for header) or .nav (for menu)
149
 
150
+
151
  CyberChimps
152
  ** Sticky Class => .navbar-inner
153
 
154
+
155
  Decode
156
  ** Sticky Class => .header-menu
157
  ** Make visible when Scrolled after => 370
158
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; padding-top:5px; padding-bottom:5px; }
159
 
160
+
161
  Genesis / Dynamik Theme
162
  ** Sticky Class(sticky header) =>.site-header
163
  ** Sticky Class(sticky menu) =>.nav-primary
164
 
165
+
166
  Graduate
167
  ** Sticky Class => .main-navigation
168
 
169
+
170
  Graphene
171
  ** Sticky Class => #header-menu-wrap
172
 
173
+
174
  Illdy
175
  ** Sticky Class => .top-header
176
  ** Disable at Small Screen Sizes => 993
177
 
178
+
179
  Illdy (mobile support)
180
  ** Sticky Class => .header-blog
181
  ** CSS Style => #mysticky-nav .myfixed { margin:0 auto; float:none; border:0px; background:none; max-width:100%; } .myfixed .bottom-header {display:none;}
182
 
183
+
184
  Lawyer theme
185
  ** Sticky Class => .wrapper
186
  ** .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed { padding-left: 0px; padding-bottom: 0px; padding-top: 0px; } .wrapfixed { -webkit-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); -moz-box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); box-shadow: 0 8px 6px -6px rgba(68,68,68,0.6); } .myfixed .logo img { max-height: 45px; } .myfixed .quick-info { display: none; } .myfixed .mainmenu { margin: 0px } .myfixed .mainmenu { padding-top: 7px; }
187
 
188
+
189
  Max Magazine
190
  ** Sticky Class => #nav
191
  ** Make visible when Scrolled after => 250
192
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } #nav { min-height:40px!important; }
193
 
194
+
195
  Naturo Lite
196
  ** Sticky Class => .header-inner
197
 
198
+
199
  Nirvana Template
200
  ** Sticky Class => #access
201
 
202
+
203
  OceanWP
204
  ** Sticky Class => #site-header
205
 
206
+
207
  Responsive
208
  ** Sticky Class => .main-nav
209
  ** Make visible when Scrolled after => 250
210
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed .menu { background:none!important;}
211
 
212
+
213
  Spacious
214
  ** Sticky Class => #masthead (sticky header)
215
  ** Make visible when Scrolled after => 250
216
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; max-width:100%!important;} .myfixed #site-description { display:none;} .myfixed #site-title a { font-size: 24px; } .myfixed #header-text { padding:0px!important;} .myfixed .main-navigation { padding-top: 0px!important; }
217
 
218
+
219
  Storefront
220
  ** Sticky Class => .main-navigation
221
 
222
+
223
  Suits
224
  ** Sticky Class => .navbar
225
 
226
+
227
  Tempera Template
228
  ** Sticky Class => .menu
229
 
230
+
231
  Travelify
232
  ** Sticky Class => #main-nav
233
 
234
+
235
  Twenty Sixteen
236
  ** Sticky Class => .site-header-main
237
 
238
+
239
  Twenty Ten
240
  ** Sticky Class => .menu
241
  ** Make visible when Scrolled after => 370
242
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .menu {min-height:38px;}
243
 
244
+
245
  Twenty Eleven
246
  ** Sticky Class => #access
247
  ** Make visible when Scrolled after => 600
249
  .myfixed .menu { background-color:none; float:left; }
250
  .myfixed div { margin: 0px!important ; padding: 0px 7.6%; }
251
 
252
+
253
  Twenty Eleven (add search to sticky menu bar)
254
  ** Sticky Class => #branding
255
  ** Make visible when Scrolled after => 600
256
  ** .myfixed css class => .myfixed { margin:0 auto!important; float:none!important; border:0px!important; background:none!important; max-width:100%!important; } .myfixed a {display:none;} #mysticky-wrap {min-height:500px;} .myfixed #site-title, .myfixed #site-description{display:none;} .myfixed #access { margin: 0px auto 0px; } .myfixed #searchform { top: 0.3em!important; }
257
 
258
+
259
  Twenty Twelve
260
  ** Sticky Class => .nav-menu
261
  ** Make visible when Scrolled after => 250
262
 
263
+
264
  Twenty Thirteen (sticky header – add your own custom logo image and edit to suite your needs)
265
  ** Sticky Class => #masthead
266
  ** .myfixed css class => .myfixed { margin:0 auto; max-width:1070px; width:100%!important;} .myfixed .search-form, .myfixed .site-description, .myfixed .site-title { display:none;} .myfixed .home-link { max-width: 55px; min-height: 38px; margin-left:20px; float:left; background-image: url('logo.png'); } .myfixed .navbar { max-width:645px; float:right;} .wrapfixed .navbar { background-color: transparent; } .wrapfixed ul { padding-right:0px; }
267
 
268
+
269
  Webnus netStudio theme
270
  ** Sticky Class =>.nav-wrap2
271
 
272
+
273
  Weblizar
274
  ** Sticky Class => .row
275
 
276
+
277
  Wrock Metro Theme (entire header)
278
  ** Sticky Class =>#navigation
279
 
280
 
281
+
282
+
283
  == Frequently Asked Questions ==
284
 
285
+
286
  = How to find Sticky Class, what should I enter here? =
287
  So this depends on what you want to make sticky and what theme do you use, but for example, if you want your menu to be sticky, then you can examine the code (in firefox right click and “View page source”) and find HTML element in which your menu is situated. This element has some class or id, and that’s the Sticky Class we need. If using class then don’t forget to ad dot (.) in front of the class name or hash (#) in front of id. Twenty Thirteen default working class is ".navbar" without of quotes.
288
 
289
+
290
  = Is there any way to restrict the width to the width of the header, rather than it being full width? =
291
  Yes, just leave the "Sticky Background Color" field blank (clear). Then if needed define a custom background color for a sticky header inside ".myfixed CSS class" field using .myfixed class.
292
 
293
+
294
  = Ho do I add a small logo to the menu? =
295
  That will depend on a theme you use, but if initially your menu and logo are in one div then you can use that div class or id in myStickymenu settings.
296
 
297
+
298
  If not you can change that in your header template file and add logo and menu divs inside new div with some custom class or id, then use that class or id in myStickymenu settings as a sticky class.
299
 
300
+
301
  In CSS you can style your custom class while not sticky using the custom class you added before. Furthermore, you can style your menu while sticky using .myfixed class which is added by js to your custom class while sticky is active.
302
 
303
+
304
  In some cases, you can use the whole header div and then just style it differently with .myfixed class, hide what you don’t need to use CSS display:none; property, and position logo and menu as you like.
305
 
306
+
307
  = Is there a time limit for the free plan? =
308
  No. you can use the free plan as long as you want.
309
 
310
+
311
  = Can I use My Sticky Menu plugin on more than 1 domain? =
312
  There 2 ways to do it:
313
  1. You can install the free Sticky Menu plugin on any website you want
314
  2. You can buy the Pro plan that includes licenses for 5 domains, or the Agency plan that includes licenses for 20 domains.
315
  Check out our <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">plans page</a>.
316
 
317
+
318
  = How long is my paid Sticky Menu plugin license valid for? =
319
  Once you purchase any <a href="https://premio.io/downloads/mystickymenu/" target="_blank" title="mystickymenu plans page">paid plan</a> of my sticky menu, you can use it forever. Support and updates are available for 1 year. You can renew your license each year to get another year of support and updates.
320
 
321
+
322
  = Will Sticky Menu plugin stop working if I don’t renew my license? =
323
  Of course NOT! 🙂
324
  Your Sticky Menu plugin and all your settings will continue to work as before; however, you will no longer receive plugin updates including feature additions, improvements, and support.
325
 
326
+
327
  = How do I activate my pro plan? =
328
  Just follow our <a href="https://premio.io/wordpress-premio-pro-version-installation-guide/" target="_blank" title="WordPress installation guide">pro installation guide</a>.
329
 
330
+
331
  = Is there a live demo formyStickymenu =
332
  A live demo for myStickymenu plugin is available at <a href="https://demo.premio.io/mystickymenu/?utm_source=wordpressorg" target="_blank" title="Premio.io demo site">Premio's demo site</a>.
333
 
334
+
335
  = How does the Welcome Bar feature work and do I have to enable it? =
336
  After installing the plugin, you’ll have the option to turn on the welcome bar. You can create a floating bar that’ll appear on your site, and use it for promotion, announcements, and more. You don’t have to turn that feature on if you don’t want to :)
337
 
338
+
339
  == Screenshots ==
340
 
341
+
342
  1. Check out the welcome bar in action
343
  2. The notification bar and sticky menu dashboard
344
  3. Add a countdown timer to your notification bar to create an urgency sense
348
  7. You can change the background text, call-to-action text, fonts, and colors
349
  8. This is how myStickymenu will actually look on your site
350
 
351
+
352
  == Changelog ==
353
+ = 2.6 =
354
+ Add a contact form to your Welcome bar and collect your visitors’ contact information
355
+ Pro feature: add a discount coupon code element to your Welcome bar
356
+ Pro feature: get email notifications for contact form leads
357
+ We’ve also fixed some bugs
358
  = 2.5.9 =
359
  Fixed notification bar activation bug, fixed UI font bug, and added tooltips and improved the interface content
360
  = 2.5.8 =
367
  Improvement:
368
  Fixed: Optimized the JS and fix “console.log” on mystickymenu.js bug
369
 
370
+
371
  For Pro plan users:
372
  Added: You can now put countdown timers on your sticky menu! Best used for promotions or launch announcements!
373
  = 2.5.6 =
476
  * Fixed: If user logged in but admin bar is not showing (error to calculate activation height)
477
  * Fixed: Admin style conflict with Scripts n Styles plugin
478
 
479
+
480
  = 2.0 =
481
  * Added: If Make visible on Scroll is set to 0 automatic activation and deactivation scroll height will be used (useful for responsive designs).
482
  * Added: Tabs for settings.
491
 
492
 
493
 
494
+
495
+
496
+
497
  = 1.9.1 =
498
  * Changed: admin bar is fixed as default, and menu goes under it.
499
 
500
+
501
  = 1.9 =
502
  * Fixed: enable / disable for search pages.
503
 
504
+
505
  = 1.8.9 =
506
  * Added: New option - Disable at certain posts and pages.
507
 
508
+
509
  = 1.8.8 =
510
  * Fixed: removed esc_attr for echo css, since input is already sanitized.
511
 
512
+
513
  = 1.8.7 =
514
  * Fixed: minor bug when browser resized.
515
 
516
+
517
  = 1.8.6 =
518
  * Fixed: minor bug.
519
 
520
+
521
  = 1.8.5 =
522
  * Improved: Improved performance and optimized scripts.
523
 
524
+
525
  = 1.8.4 =
526
  * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
527
 
528
+
529
  = 1.8.3 =
530
  * Change: minor cosmetic changes…
531
 
532
+
533
  = 1.8.2 =
534
  * Fixed: js load on https
535
 
536
+
537
  = 1.8.1 =
538
  * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
539
  * Minimized mystickymenu.js to improve performance.
540
 
541
+
542
  = 1.8 =
543
  * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
544
  * Added German language
545
 
546
+
547
  = 1.7 =
548
  * Added multi language support (localization).
549
  * Added languages - English (default), Spanish, Serbian and Croatian.
551
  * Fixed jumping of page on scroll while menu is activated (height is defined before scroll event).
552
  * mystickymenu.js moved to js folder
553
 
554
+
555
  = 1.6 =
556
  * Added: "Make visible when scroled" after number of pixels option.
557
  * Fixed opacity 100 bug.
558
 
559
+
560
  = 1.5 =
561
  * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
562
  * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style.
563
  * Fixed google adsense clash and undefined index notice.
564
  * is_user_logged_in instead of old “Remove CSS Rules for Static Admin Bar while Sticky” option
565
 
566
+
567
  = 1.4 =
568
  * Added fade in or slide down effect settings field for sticky class.
569
  * Added new wrapped div around selected sticky class with id mysticky_wrap which should make menu works smoother and extend theme support.
570
 
571
+
572
  = 1.3 =
573
  * Added "block direct access" to the mystickymenu plugin file (for security sake).
574
  * Added Enable / Disable at small screen sizes and Remove not necessary css for all themes without admin bar on front page.
575
  * Added “margin-top :0px” to .myfixed class in head which should extend theme support.
576
 
577
+
578
  = 1.2 =
579
  * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
580
 
582
  * Added administration options, now available through Dashboard / Settings / myStickymenu. Options are as follows: Sticky Class, Sticky z-index, Sticky Width, Sticky Background Color, Sticky Opacity, Sticky Transition Time.
583
  * Old mystickymenu.css file is deprecated and not in use anymore.
584
 
585
+
586
  = 1.0 =
587
  * First release of myStickymenu plugin
588
 
589
+
590
  == Upgrade Notice ==
591
 
592
+
593
  = 1.8.4 =
594
  * Fixed: changed is_home() to is_front_page() for menu activation height on front page.
595
 
596
+
597
  = 1.8.3 =
598
  * Change: minor cosmetic changes…
599
 
600
+
601
  = 1.8.2 =
602
  * Fixed: js load on https
603
 
604
+
605
  = 1.8.1 =
606
  * Added: “Disable CSS“. If you plan to add style manually to your style.css in order to improve your site performance disable plugin CSS style printed by default in document head element.
607
  * Minimized mystickymenu.js to improve performance.
608
 
609
+
610
  = 1.8 =
611
  * Added: "Make visible when scrolled on Homepage" after number of pixels. Now it’s possible to have one activation height for home page and another for the rest of the pages.
612
 
613
+
614
  = 1.7 =
615
  * Added multi language support (localization).
616
  * Added Iris color picker script.
617
  * Fixed jumping of page on scroll while menu is activated (height defined before scroll event).
618
  * mystickymenu.js moved to js folder
619
 
620
+
621
  = 1.6 =
622
  * After plugin update go to mystickymenu plugin settings and save changes with desired value for a new parameters. Clear cache if some cache system used on your site.
623
  * Added: “Make visible when scroled” after number of pixels option.
624
  * Fixed opacity 100 bug.
625
 
626
+
627
  = 1.5 =
628
  * Added option to enter exact width in px when sticky menu should be disabled "Disable at Small Screen Sizes".
629
  * Added “.myfixed css class” setting field – edit .myfixed css style via plugin settings to create custom style.
630
  * Fixed google adsense clash and undefined index notice.
631
  * is_user_logged_in instead of old "Remove CSS Rules for Static Admin Bar while Sticky" option
632
 
633
+
634
  = 1.4 =
635
  * Added fade in or slide down effect settings field for sticky class.
636
  * Added new wrapped div around selected sticky class with id mysticky_wrap.
637
 
638
+
639
  = 1.3 =
640
  * Added "block direct access" to the mystickymenu plugin file.
641
  * Added Enable / Disable at small screen sizes and Remove not necessary css.
642
  * Added "margin-top :0px" to .myfixed class in head which should extend theme support.
643
 
644
+
645
  = 1.2 =
646
  * Fixed mystickymenu.js for IE browsers, so myStickymenu is now compatible with IE 10, 11
647
 
stickymenu-dashboard.php CHANGED
@@ -7,14 +7,23 @@
7
  $widget_status = $stickymenus_widgets['mysticky_welcomebar_enable'];
8
  }
9
  $mysticky_options = get_option( 'mysticky_option_name' );
 
 
 
 
 
 
 
 
 
 
10
  ?>
11
  <h1></h1>
12
  <!-- Updated design -->
13
  <div class="wrap mystickymenu-wrap">
14
  <div class="mystickymenu-dashboard">
 
15
  <?php if(isset($stickymenus_widgets) && !empty($stickymenus_widgets)) : ?>
16
-
17
-
18
  <div class="mystickymenu-dashboard welcomebars-list-table">
19
 
20
  <div class="mystickymenu-dashboard header-section">
@@ -116,16 +125,85 @@
116
  </div>
117
  </div>
118
  <?php endif; ?>
119
- <div class="mystickymenu-tab-boxs-wrap">
120
- <div class="mystickymenu-tab-stickymenu">
121
-
122
-
123
-
124
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
125
 
126
- <div class="stickymenu-tab-option msm-bgbox">
 
 
127
  <div class="stickymenubox-title-section"><h3><?php esc_html_e("Sticky menu","mystickymenu");?></h3></div>
128
- <div class="stickymenu-settings">
129
  <div class="settings-content">
130
  <?php
131
  if(isset($mysticky_options['stickymenu_enable']) && $mysticky_options['stickymenu_enable'] == 1){
@@ -135,7 +213,6 @@
135
  }
136
  ?>
137
  </div>
138
-
139
  <div class="stickymenu-box-button settings-buttons">
140
  <?php if(isset($mysticky_options['stickymenu_enable']) && $mysticky_options['stickymenu_enable'] == 1):
141
  ?>
@@ -145,71 +222,11 @@
145
  <a href="<?php echo admin_url("admin.php?page=my-stickymenu-settings");?>"><?php esc_html_e("Configure","mystickymenu"); ?></a>
146
  <?php endif; ?>
147
  </div>
148
-
149
- </div>
150
  </div>
151
-
152
-
153
-
154
-
155
- <!-- <div class="contactus-tab-option msm-bgbox">
156
- <div class="contactus-title">
157
- <h3>Contact Us</h3>
158
-
159
- <div class="contactus-contents-buttons"><span class="folous">Follow Us </span> <a href="https://www.facebook.com/groups/premioplugins/" class="facebook-link copyicon" target="_blank"><span class="dashicons dashicons-facebook-alt"></span></a>
160
- <a href="https://twitter.com/premioplugins" class="tweeter-link copyicon" target="_blank"><span class="dashicons dashicons-twitter"></span></a>
161
- </div>
162
-
163
- </div>
164
- <div class="premio-footer-option">
165
- <h3>
166
- <img src="<?php echo MYSTICKYMENU_URL . "images/Premio.svg"; ?>" />
167
- </h3>
168
- <div class="premio-content-list">
169
- <h4>There are a lot of stuff waiting for you 🎉</h4>
170
- <span>Be among the first to know about our latest features & what we're working on. Plus insider offers & flash sales</span>
171
- </div>
172
- <label><a class="copyicon1" href="https://premio.io/" target="_blank"><span class="dashicons dashicons-external"></span>Visit website</a></label>
173
- </div>
174
-
175
- </div> -->
176
-
177
-
178
-
179
-
180
- </div>
181
-
182
- <!-- Documantation -->
183
-
184
- <div class="mystickymenu-new302box">
185
-
186
- <div class="contactus-tab-option msm-bgbox">
187
- <div class="contactus-title">
188
- <h3>Contact Us</h3>
189
-
190
- <div class="contactus-contents-buttons"><span class="folous">Follow Us </span> <a href="https://www.facebook.com/groups/premioplugins/" class="facebook-link copyicon" target="_blank"><span class="dashicons dashicons-facebook-alt"></span></a>
191
- <a href="https://twitter.com/premioplugins" class="tweeter-link copyicon" target="_blank"><span class="dashicons dashicons-twitter"></span></a>
192
- </div>
193
-
194
- </div>
195
- <div class="premio-footer-option">
196
- <h3>
197
- <img src="<?php echo MYSTICKYMENU_URL . "images/Premio.svg"; ?>" />
198
- </h3>
199
- <div class="premio-content-list">
200
- <h4>There are a lot of stuff waiting for you 🎉</h4>
201
- <span>Be among the first to know about our latest features & what we're working on. Plus insider offers & flash sales</span>
202
- </div>
203
- <label><a class="copyicon1" href="https://premio.io/" target="_blank"><span class="dashicons dashicons-external"></span>Visit website</a></label>
204
- </div>
205
-
206
- </div>
207
-
208
-
209
-
210
-
211
  <div class="mystickymenu-tab-documentation msm-bgbox">
212
- <h3><?php esc_html_e("Documentation","mystickymenu"); ?></h3>
213
  <div class="stickymenu-box-container">
214
  <ul class="documents-wrap-list">
215
  <li><a href="https://premio.io/help/mystickymenu/how-to-use-my-sticky-menu/" target="_blank"><?php esc_html_e('How to use My Sticky Menu?','mystickymenu');?></a></li>
@@ -220,18 +237,15 @@
220
  </ul>
221
  </div>
222
  <div class="stickymenu-box-button">
223
- <span><?php esc_html_e("Need more help? Visit our ","mystickymenu");?></span>
224
- <a href="https://premio.io/help/mystickymenu/?utm_source=msmhelp" target="_blank"><?php esc_html_e("Help Center","mystickymenu"); ?></a>
225
  </div>
226
  </div>
227
 
228
-
229
  </div>
230
 
231
-
232
  </div>
233
 
234
-
235
 
236
  <div class="mystickymenu-action-popup new-center" id="stickymenu_status_popupbox" style="display:none;">
237
  <div class="mystickymenu-action-popup-header">
7
  $widget_status = $stickymenus_widgets['mysticky_welcomebar_enable'];
8
  }
9
  $mysticky_options = get_option( 'mysticky_option_name' );
10
+
11
+
12
+ function getRecentContactLead(){
13
+ global $wpdb;
14
+ $table_name = $wpdb->prefix . "mystickymenu_contact_lists";
15
+ $query = "SELECT * FROM {$table_name} ORDER BY ID DESC LIMIT 3";
16
+ $result = $wpdb->get_results( $query );
17
+
18
+ return $result;
19
+ }
20
  ?>
21
  <h1></h1>
22
  <!-- Updated design -->
23
  <div class="wrap mystickymenu-wrap">
24
  <div class="mystickymenu-dashboard">
25
+ <h2></h2>
26
  <?php if(isset($stickymenus_widgets) && !empty($stickymenus_widgets)) : ?>
 
 
27
  <div class="mystickymenu-dashboard welcomebars-list-table">
28
 
29
  <div class="mystickymenu-dashboard header-section">
125
  </div>
126
  </div>
127
  <?php endif; ?>
128
+ <!-- /**/ */ -->
129
+
130
+ <div class="mystickymenu-tab-boxs-wrap msmenu-flexbox">
131
+
132
+ <!--Main 1st -->
133
+
134
+ <div class="mystickymenu-tab-stickymenu msmenu-blockbox msmenu-box50">
135
+ <?php $result = getRecentContactLead(); ?>
136
+
137
+ <!-- 1 -->
138
+ <div class="contact-recent-lead msm-bgbox">
139
+ <div class="stickymenubox-title-section">
140
+ <h3><?php esc_html_e("Recent Leads","mystickymenu");?></h3>
141
+ <?php if(isset($result) && count($result) > 0) : ?>
142
+ <a class="msmenu-btn" href="<?php echo admin_url('admin.php?page=my-sticky-menu-leads');?>"><?php echo esc_html_e('View All','mystickymenu');?></a>
143
+ <?php endif; ?>
144
+ </div>
145
+ <?php
146
+ if( isset($result) && count($result) > 0 ){?>
147
+ <div class="stickymenu recent-lead-table">
148
+ <table>
149
+ <tr>
150
+ <th><?php esc_html_e('Name','mystickymenu');?></th>
151
+ <th><?php esc_html_e('Email','mystickymenu');?></th>
152
+ <th><?php esc_html_e('Phone','mystickymenu');?></th>
153
+ </tr>
154
+ <?php
155
+ foreach( $result as $key => $val ){
156
+ echo "<tr>";
157
+ echo "<td>".$val->contact_name." </td>";
158
+ echo "<td>".$val->contact_email." </td>";
159
+ echo "<td>".$val->contact_phone." </td>";
160
+ echo "</tr>";
161
+ }
162
+ ?>
163
+ </table>
164
+ </div>
165
+ <?php
166
+ }else{?>
167
+ <div class="stickymenu-no-lead">
168
+ <?php echo '<img src="'. MYSTICKYMENU_URL .'images/empty_lead.png" />'; ?>
169
+ <p><?php _e("Once you get a new lead, it’ll appear here","mystickymenu");?></p>
170
+ </div>
171
+ <?php
172
+ }
173
+ ?>
174
+
175
+ </div>
176
+ <!-- 2 -->
177
+ <div class="contactus-tab-option msm-bgbox">
178
+ <div class="contactus-title">
179
+ <h3>Contact Us</h3>
180
+
181
+ <div class="contactus-contents-buttons"><span class="folous">Follow Us </span> <a href="https://www.facebook.com/groups/premioplugins/" class="facebook-link copyicon" target="_blank"><span class="dashicons dashicons-facebook-alt"></span></a>
182
+ <a href="https://twitter.com/premioplugins" class="tweeter-link copyicon" target="_blank"><span class="dashicons dashicons-twitter"></span></a>
183
+ </div>
184
+ </div>
185
+
186
+ <div class="premio-footer-option">
187
+ <h3><img src="<?php echo MYSTICKYMENU_URL . "images/Premio.svg"; ?>" /></h3>
188
+ <div class="premio-content-list">
189
+ <h4>There are a lot of stuff waiting for you 🎉</h4>
190
+ <span>Be among the first to know about our latest features & what we're working on. Plus insider offers & flash sales</span>
191
+ </div>
192
+ <label><a class="copyicon1" href="https://premio.io/" target="_blank"><span class="dashicons dashicons-external"></span>Visit website</a></label>
193
+ </div>
194
+
195
+ </div>
196
+ <!-- -->
197
+
198
+ </div>
199
+
200
+ <!--Main 2nd -->
201
 
202
+ <div class="msmenu-blockbox msmenu-box50">
203
+ <!-- 1 -->
204
+ <div class="stickymenu-tab-option msm-bgbox">
205
  <div class="stickymenubox-title-section"><h3><?php esc_html_e("Sticky menu","mystickymenu");?></h3></div>
206
+ <dklllllllllllkiv class="stickymenu-settings">
207
  <div class="settings-content">
208
  <?php
209
  if(isset($mysticky_options['stickymenu_enable']) && $mysticky_options['stickymenu_enable'] == 1){
213
  }
214
  ?>
215
  </div>
 
216
  <div class="stickymenu-box-button settings-buttons">
217
  <?php if(isset($mysticky_options['stickymenu_enable']) && $mysticky_options['stickymenu_enable'] == 1):
218
  ?>
222
  <a href="<?php echo admin_url("admin.php?page=my-stickymenu-settings");?>"><?php esc_html_e("Configure","mystickymenu"); ?></a>
223
  <?php endif; ?>
224
  </div>
225
+ </dklllllllllllkiv>
 
226
  </div>
227
+ <!-- 2 -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  <div class="mystickymenu-tab-documentation msm-bgbox">
229
+ <h3>Documentation</h3>
230
  <div class="stickymenu-box-container">
231
  <ul class="documents-wrap-list">
232
  <li><a href="https://premio.io/help/mystickymenu/how-to-use-my-sticky-menu/" target="_blank"><?php esc_html_e('How to use My Sticky Menu?','mystickymenu');?></a></li>
237
  </ul>
238
  </div>
239
  <div class="stickymenu-box-button">
240
+ <span><?php esc_html_e("Need more help? Visit our ","mystickymenu");?></span><a href="https://premio.io/help/mystickymenu/?utm_source=msmhelp" target="_blank"><?php esc_html_e("Help Center","mystickymenu"); ?></a>
 
241
  </div>
242
  </div>
243
 
 
244
  </div>
245
 
 
246
  </div>
247
 
248
+ <!-- 00000 END -->
249
 
250
  <div class="mystickymenu-action-popup new-center" id="stickymenu_status_popupbox" style="display:none;">
251
  <div class="mystickymenu-action-popup-header">
upgrade-to-pro.php CHANGED
@@ -47,6 +47,8 @@ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2
47
  <li><a href="javascript:;" class="cus-tooltip">1 website <span class="has-tooltip">*</span><span class="tooltip__content">Use myStickyMenu on 1 domain</span></a></li>
48
  <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
49
  <li><a href="javascript:;" class="cus-tooltip">Countdown timer <span class="has-tooltip">*</span><span class="tooltip__content">Add a countdown timer element to your Welcome Bar to increase conversion rate, announce flash sales, and more<img src="<?php echo MYSTICKYMENU_URL ?>/images/countdown.gif" /></span></a></li>
 
 
50
  <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
51
  <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
52
  <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
@@ -94,6 +96,8 @@ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2
94
  <li><a href="javascript:;" class="cus-tooltip">5 websites <span class="has-tooltip">*</span><span class="tooltip__content">Use myStickyMenu on 5 domains</span></a></li>
95
  <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
96
  <li><a href="javascript:;" class="cus-tooltip">Countdown timer <span class="has-tooltip">*</span><span class="tooltip__content">Add a countdown timer element to your Welcome Bar to increase conversion rate, announce flash sales, and more<img src="<?php echo MYSTICKYMENU_URL ?>/images/countdown.gif" /></span></a></li>
 
 
97
  <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
98
  <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
99
  <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
@@ -149,6 +153,8 @@ $pro_url = "https://go.premio.io/checkount/?edd_action=add_to_cart&download_id=2
149
  </li>
150
  <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
151
  <li><a href="javascript:;" class="cus-tooltip">Countdown timer <span class="has-tooltip">*</span><span class="tooltip__content right_tooltip">Add a countdown timer element to your Welcome Bar to increase conversion rate, announce flash sales, and more<img src="<?php echo MYSTICKYMENU_URL ?>/images/countdown.gif" /></span></a></li>
 
 
152
  <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
153
  <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
154
  <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
47
  <li><a href="javascript:;" class="cus-tooltip">1 website <span class="has-tooltip">*</span><span class="tooltip__content">Use myStickyMenu on 1 domain</span></a></li>
48
  <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
49
  <li><a href="javascript:;" class="cus-tooltip">Countdown timer <span class="has-tooltip">*</span><span class="tooltip__content">Add a countdown timer element to your Welcome Bar to increase conversion rate, announce flash sales, and more<img src="<?php echo MYSTICKYMENU_URL ?>/images/countdown.gif" /></span></a></li>
50
+ <li><a href="javascript:;" class="cus-tooltip">Send contact form leads to email <span class="has-tooltip">*</span><span class="tooltip__content"> Send contact form leads to your email of choice<img src="<?php echo MYSTICKYMENU_URL ?>/images/contact-lead-ss-1.png" /></span></a></li>
51
+ <li><a href="javascript:;" class="cus-tooltip">Show coupons from the top bar <span class="has-tooltip">*</span><span class="tooltip__content">Show sale coupons for your website right from the top bar<img src="<?php echo MYSTICKYMENU_URL ?>/images/show-coupon-ss.png" /></span></a></li>
52
  <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
53
  <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
54
  <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
96
  <li><a href="javascript:;" class="cus-tooltip">5 websites <span class="has-tooltip">*</span><span class="tooltip__content">Use myStickyMenu on 5 domains</span></a></li>
97
  <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
98
  <li><a href="javascript:;" class="cus-tooltip">Countdown timer <span class="has-tooltip">*</span><span class="tooltip__content">Add a countdown timer element to your Welcome Bar to increase conversion rate, announce flash sales, and more<img src="<?php echo MYSTICKYMENU_URL ?>/images/countdown.gif" /></span></a></li>
99
+ <li><a href="javascript:;" class="cus-tooltip">Send contact form leads to email <span class="has-tooltip">*</span><span class="tooltip__content"> Send contact form leads to your email of choice<img src="<?php echo MYSTICKYMENU_URL ?>/images/contact-lead-ss-1.png" /></span></a></li>
100
+ <li><a href="javascript:;" class="cus-tooltip">Show coupons from the top bar <span class="has-tooltip">*</span><span class="tooltip__content">Show sale coupons for your website right from the top bar<img src="<?php echo MYSTICKYMENU_URL ?>/images/show-coupon-ss.png" /></span></a></li>
101
  <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
102
  <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
103
  <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
153
  </li>
154
  <li><a href="javascript:;" class="cus-tooltip">Multi Welcome bar <span class="has-tooltip">*</span><span class="tooltip__content">Create a separate welcome bar for different pages based on page targeting rules (E.g. for different languages, different product categories and much more)</span></a></li>
155
  <li><a href="javascript:;" class="cus-tooltip">Countdown timer <span class="has-tooltip">*</span><span class="tooltip__content right_tooltip">Add a countdown timer element to your Welcome Bar to increase conversion rate, announce flash sales, and more<img src="<?php echo MYSTICKYMENU_URL ?>/images/countdown.gif" /></span></a></li>
156
+ <li><a href="javascript:;" class="cus-tooltip">Send contact form leads to email <span class="has-tooltip">*</span><span class="tooltip__content right_tooltip"> Send contact form leads to your email of choice<img src="<?php echo MYSTICKYMENU_URL ?>/images/contact-lead-ss-1.png" /></span></a></li>
157
+ <li><a href="javascript:;" class="cus-tooltip">Show coupons from the top bar <span class="has-tooltip">*</span><span class="tooltip__content right_tooltip">Show sale coupons for your website right from the top bar<img src="<?php echo MYSTICKYMENU_URL ?>/images/show-coupon-ss.png" /></span></a></li>
158
  <li><a href="javascript:;" class="cus-tooltip">Show on scroll up/down <span class="has-tooltip">*</span><span class="tooltip__content">You can show the menu when scrolling up, down or both</span></a></li>
159
  <li><a href="javascript:;" class="cus-tooltip">Devices <span class="has-tooltip">*</span><span class="tooltip__content">You can disable the sticky effect on desktop or mobile</span></a></li>
160
  <li><a href="javascript:;" class="cus-tooltip">CSS style <span class="has-tooltip">*</span><span class="tooltip__content">Add CSS of your own to the sticky menu</span></a></li>
welcome-bar.php CHANGED
@@ -9,9 +9,10 @@ function mysticky_welcome_bar_backend() {
9
 
10
  if ( $welcomebar == '' || empty($welcomebar)) {
11
  $welcomebar = mysticky_welcomebar_pro_widget_default_fields();
12
- //$welcomebar['mysticky_welcomebar_enable'] = '1';
13
  }
14
-
 
 
15
  $welcomebar['mysticky_welcomebar_bgcolor'] = ( isset($welcomebar['mysticky_welcomebar_bgcolor']) && $welcomebar['mysticky_welcomebar_bgcolor'] != '' ) ? $welcomebar['mysticky_welcomebar_bgcolor'] : '#03ed96';
16
 
17
  $welcomebar['mysticky_welcomebar_bgtxtcolor'] = ( isset($welcomebar['mysticky_welcomebar_bgtxtcolor']) && $welcomebar['mysticky_welcomebar_bgtxtcolor'] != '' ) ? $welcomebar['mysticky_welcomebar_bgtxtcolor'] : '#000000';
@@ -20,8 +21,6 @@ function mysticky_welcome_bar_backend() {
20
 
21
  $welcomebar['mysticky_welcomebar_btntxtcolor'] = (isset($welcomebar['mysticky_welcomebar_btntxtcolor']) && $welcomebar['mysticky_welcomebar_btntxtcolor'] != '' ) ? $welcomebar['mysticky_welcomebar_btntxtcolor'] : '#ffffff';
22
 
23
-
24
-
25
  $welcomebar['mysticky_welcomebar_btncolor'] = (isset($welcomebar['mysticky_welcomebar_btncolor']) && $welcomebar['mysticky_welcomebar_btncolor'] != '' ) ? $welcomebar['mysticky_welcomebar_btncolor'] : '';
26
 
27
  $mysticky_welcomebar_showx_desktop = $mysticky_welcomebar_showx_mobile = '';
@@ -47,7 +46,18 @@ function mysticky_welcome_bar_backend() {
47
  $display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
48
  $welcomebar['mysticky_welcomebar_position'] = isset($welcomebar['mysticky_welcomebar_position']) ? $welcomebar['mysticky_welcomebar_position'] : 'top';
49
  $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $display . $display_entry_effect;
 
 
50
 
 
 
 
 
 
 
 
 
 
51
  ?>
52
  <form class="mysticky-welcomebar-form" id="mysticky_welcomebar_form" method="post" action="<?php echo admin_url('admin.php?page=my-stickymenu-welcomebar&save=1&widget=0');?>">
53
  <div class="mysticky-welcomebar-header-title">
@@ -78,7 +88,7 @@ function mysticky_welcome_bar_backend() {
78
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
79
  </div>
80
  </div>
81
- <div class="mysticky-welcomebar-setting-content">
82
  <label><?php _e('Height', 'myStickymenu'); ?>
83
  <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;">Choose the size of your welcome bar in pixels</p></span>
84
  </label>
@@ -167,6 +177,9 @@ function mysticky_welcome_bar_backend() {
167
  <input name="mysticky_option_welcomebar[mysticky_welcomebar_x_mobile]" value= "mobile" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_x_mobile'], 'mobile' );?> />
168
  <?php _e( 'Mobile', 'mystickymenu' );?>
169
  </label>
 
 
 
170
  </div>
171
  </div>
172
  <div class="mysticky-welcomebar-setting-content">
@@ -183,6 +196,105 @@ function mysticky_welcome_bar_backend() {
183
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
184
  </div>
185
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
186
  </div>
187
  <div class="mysticky-welcomebar-setting-block">
188
  <div class="mysticky-welcomebar-subheader-title">
@@ -217,8 +329,8 @@ function mysticky_welcome_bar_backend() {
217
  </div>
218
  <div class="mysticky-welcomebar-setting-content">
219
  <label><?php _e('Button Text', 'myStickymenu'); ?></label>
220
- <div class="mysticky-welcomebar-setting-content-right">
221
- <input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo stripslashes($welcomebar['mysticky_welcomebar_btn_text']);?>" />
222
  </div>
223
  </div>
224
  <!-- -->
@@ -249,7 +361,7 @@ function mysticky_welcome_bar_backend() {
249
  <option value="redirect_to_url" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'redirect_to_url' ); ?>><?php _e( 'Redirect the visitor to another URL', 'myStickymenu' );?></option>
250
  <option value="close_bar" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'close_bar' ); ?>><?php _e( 'Close the Welcome Bar', 'myStickymenu' );?></option>
251
  <option value="poptin_popup" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'poptin_popup' ); ?> ><?php _e( 'Launch a Poptin pop-up', 'myStickymenu' );?></option>
252
- <option value="thankyou_screen" data-href="<?php echo esc_url($upgarde_url); ?>"><?php _e( 'Show a thank-you screen', 'myStickymenu' );?></option>
253
  </select>
254
  </div>
255
 
@@ -271,10 +383,17 @@ function mysticky_welcome_bar_backend() {
271
  </div>
272
  <!-- -->
273
 
 
 
 
 
 
 
 
274
  <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] != 'redirect_to_url' ) : ?> style="display:none;" <?php endif;?>>
275
  <label><?php _e('Redirection link', 'myStickymenu'); ?></label>
276
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-action mysticky-welcomebar-redirect" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?> >
277
- <input type="text" id="mysticky_welcomebar_redirect" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect]" value="<?php echo esc_url($welcomebar['mysticky_welcomebar_redirect']);?>" placeholder="<?php echo esc_url("https://www.yourdomain.com"); ?>" />
278
  </div>
279
  </div>
280
  <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] != 'redirect_to_url' ) : ?> style="display:none;" <?php endif;?>>
@@ -291,18 +410,18 @@ function mysticky_welcome_bar_backend() {
291
  <label><?php _e('rel Attribute', 'myStickymenu'); ?>
292
  <span class="mysticky-custom-fields-tooltip">
293
  <a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a>
294
- <p>Add a "rel" attribute to the button link. You can use it to add a rel="nofollow", "sponsored", or any other "rel" attribute option</p>
295
  </span>
296
  </label>
297
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-newtab mysticky-welcomebar-redirect" >
298
- <input type="text" id="mysticky_welcomebar_redirect_rel" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect_rel]" value="" placeholder="" disabled />
299
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
300
  </div>
301
  </div>
302
  <!-- -->
303
  <div class="mysticky-welcomebar-setting-content">
304
  <label><?php _e('Welcome Bar Appearance After Button Click', 'myStickymenu'); ?>
305
- <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;">Choose welcome bar display settings after a visitor click on the button. The "Don't show the Welcome Bar again for the user" option is the preferable option if you don't want to annoy your visitors by showing the welcome bar over and over</p></span>
306
  </label>
307
  <div class="mysticky-welcomebar-setting-content-right">
308
  <div class="mysticky-welcomebar-setting-action">
@@ -317,11 +436,11 @@ function mysticky_welcome_bar_backend() {
317
  <!-- -->
318
  <div class="mysticky-welcomebar-setting-content">
319
  <label><?php _e('Close Welcome Bar Automatically After Click', 'myStickymenu'); ?>
320
- <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;">Choose if you'd like the welcome bar to be closed automatically after button submission</p></span>
321
  </label>
322
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-close-automatically-sec">
323
  <label for="mysticky-welcomebar-close-automatically-enabled" class="mysticky-welcomebar-switch">
324
- <input type="checkbox" id="mysticky-welcomebar-close-automatically-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable_automatical]" value="1" disabled />
325
  <span class="slider"></span>
326
  </label>
327
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
@@ -409,7 +528,8 @@ function mysticky_welcome_bar_backend() {
409
  </div>
410
  <div class="mysticky-welcomebar-setting-content show-on-apper">
411
  <label><?php _e('Page targeting', 'myStickymenu'); ?>
412
- <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;">Add a rule if you want to show or don't show the welcome bar on specific pages only. For example, you can show the welcome bar just on speicifc collections/products</p></span>
 
413
  </label>
414
  <div class="mysticky-welcomebar-setting-content-right">
415
  <a href="javascript:void(0);" class="create-rule" id="create-rule"><?php esc_html_e( "Add Rule", "mystickyelements" );?></a>
@@ -468,16 +588,39 @@ function mysticky_welcome_bar_backend() {
468
  <?php endif; ?>
469
  <div class="mysticky-welcomebar-fixed mysticky-welcomebar-display-desktop <?php echo esc_attr($display_main_class); ?>" >
470
  <div class="mysticky-welcomebar-fixed-wrap">
471
- <div class="mysticky-welcomebar-content">
 
 
 
472
  <?php echo wpautop(isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase");?>
473
  </div>
474
- <div class="mysticky-welcomebar-btn">
475
- <a href="#" ><?php echo isset($welcomebar['mysticky_welcomebar_btn_text']) ? stripslashes($welcomebar['mysticky_welcomebar_btn_text']) : "Got it!";?></a>
 
 
 
 
 
476
  </div>
477
- <a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
 
 
 
 
 
 
 
 
 
 
 
 
478
  </div>
479
  </div>
480
  </div>
 
 
 
481
  </div>
482
  </div>
483
  <div class="mysticky-welcomebar-submit">
@@ -486,6 +629,7 @@ function mysticky_welcome_bar_backend() {
486
  </div>
487
  <input type="hidden" name="nonce" value="<?php echo esc_attr($nonce); ?>">
488
  <input type="hidden" name="active_tab_element" value="1">
 
489
  <input type="hidden" id="save_welcome_bar" name="save_welcome_bar" >
490
 
491
  </form>
@@ -507,7 +651,7 @@ function mysticky_welcome_bar_backend() {
507
  </div>
508
  <div class="mystickymenu-action-popup-footer">
509
  <button type="button" class="btn-enable btn-nevermind-status" id="welcombar_sbmtbtn_off" ><?php esc_html_e("Just save and keep it off","mystickymenu"); ?></button>
510
- <button type="button" class="btn-disable-cancel btn-turnoff-status" id="welcomebar_yes_sbmtbtn" style="background:#00c67c;border-color:#00c67c;"><?php esc_html_e("Save & Turn on Welcome Bar","mystickymenu"); ?></button>
511
  </div>
512
  </div>
513
  <div class="mystickymenupopup-overlay" id="welcombar-sbmtvalidation-overlay-popup"></div>
@@ -536,7 +680,7 @@ function mysticky_welcome_bar_backend() {
536
  <style>
537
  .mysticky-welcomebar-fixed {
538
  background-color: <?php echo esc_attr($welcomebar['mysticky_welcomebar_bgcolor']); ?>;
539
- font-family: <?php echo esc_attr($welcomebar['mysticky_welcomebar_font']); ?>;
540
  position: absolute;
541
  left: 0;
542
  right: 0;
@@ -612,8 +756,9 @@ function mysticky_welcome_bar_backend() {
612
  margin: 0 30px;
613
  display: none;
614
  }*/
615
- .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
616
  display: block;
 
617
  }
618
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
619
  background-color: <?php echo esc_attr($welcomebar['mysticky_welcomebar_btncolor']); ?>;
@@ -626,8 +771,9 @@ function mysticky_welcome_bar_backend() {
626
  line-height: 1.2;
627
  font-size: <?php echo esc_attr($welcomebar['mysticky_welcomebar_fontsize']) ?>px;
628
  font-weight: 400;
629
- padding: 5px 20px;
630
  white-space: nowrap;
 
631
  }
632
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
633
  /*opacity: 0.7;*/
@@ -636,48 +782,10 @@ function mysticky_welcome_bar_backend() {
636
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
637
  }
638
 
639
-
640
- /*.mysticky-welcomebar-fixed .mysticky-welcomebar-close {
641
- display: none;
642
- vertical-align: top;
643
- width: 20px;
644
- height: 20px;
645
- text-align: center;
646
- text-decoration: none;
647
- line-height: 20px;
648
- border-radius: 5px;
649
- color: #000;
650
- position: absolute;
651
- font-family: Lato;
652
- top: 5px;
653
- left: 5px;/*
654
- text-shadow: 0 0 0px #fff;
655
- -webkit-transition: all 0.5s ease 0s;
656
- -moz-transition: all 0.5s ease 0s;
657
- transition: all 0.5s ease 0s;
658
- -webkit-transform-origin: 50% 50%;
659
- -moz-transform-origin: 50% 50%;
660
- transform-origin: 50% 50%;
661
- }*/
662
- /*.mysticky-welcomebar-fixed .mysticky-welcomebar-close:hover {
663
- opacity: 1;
664
- -webkit-transform: rotate(180deg);
665
- -moz-transform: rotate(180deg);
666
- transform: rotate(180deg);
667
- }
668
- .mysticky-welcomebar-fixed.mysticky-welcomebar-showx-desktop .mysticky-welcomebar-close {
669
- display: inline-block;
670
- }*/
671
  @media only screen and (max-width: 1024px) {
672
  .mysticky-welcomebar-fixed {
673
  padding: 0 10px 0 10px;
674
  }
675
- /*.mysticky-welcomebar-fixed .mysticky-welcomebar-close {
676
- width: 20px;
677
- height: 20px;
678
- line-height: 20px;
679
- right: 0px;
680
- }*/
681
  }
682
 
683
  /* Animated Buttons */
@@ -1053,10 +1161,15 @@ function mysticky_welcomebar_pro_widget_default_fields() {
1053
  'mysticky_welcomebar_timer_position' => 'left',
1054
  'mysticky_welcomebar_timer_bgcolor' => '#000000',
1055
  'mysticky_welcomebar_timer_textcolor' => '#ffffff',
 
 
 
 
1056
  );
1057
  }
1058
 
1059
  function mysticky_welcome_bar_frontend(){
 
1060
  $welcomebar = get_option( 'mysticky_option_welcomebar' );
1061
 
1062
  if ( ( isset($welcomebar['mysticky_welcomebar_expirydate']) && $welcomebar['mysticky_welcomebar_expirydate'] !='' && strtotime( date('m/d/Y')) > strtotime($welcomebar['mysticky_welcomebar_expirydate']) ) || !isset($welcomebar['mysticky_welcomebar_enable'] ) || (isset($welcomebar['mysticky_welcomebar_enable']) && $welcomebar['mysticky_welcomebar_enable'] == 0) ) {
@@ -1094,32 +1207,84 @@ function mysticky_welcome_bar_frontend(){
1094
 
1095
  $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $mysticky_welcomebar_display_desktop . $mysticky_welcomebar_display_mobile .$display . $display_entry_effect;
1096
 
 
 
 
 
 
1097
  if( isset($welcomebar['mysticky_welcomebar_actionselect']) ) {
1098
-
1099
  if( $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' ) {
1100
- $mysticky_welcomebar_actionselect_url = esc_url( $welcomebar['mysticky_welcomebar_redirect'] );
1101
- } else if( $welcomebar['mysticky_welcomebar_actionselect'] == 'poptin_popup'){
1102
- $mysticky_welcomebar_actionselect_url = esc_url( $welcomebar['mysticky_welcomebar_poptin_popup_link'] );
1103
- } else {
1104
- $mysticky_welcomebar_actionselect_url = 'javascript:void(0)';
1105
- }
1106
  }
1107
-
1108
-
1109
 
1110
  ?>
1111
- <div class="mysticky-welcomebar-fixed <?php echo esc_attr($display_main_class); ?>" data-after-triger="after_a_few_seconds" data-triger-sec="0" data-position="<?php echo esc_attr($welcomebar['mysticky_welcomebar_position']);?>" data-height="<?php echo esc_attr($welcomebar['mysticky_welcomebar_height']);?>" data-rediect="<?php echo esc_attr($welcomebar['mysticky_welcomebar_actionselect']);?>" data-aftersubmission="<?php echo esc_attr($welcomebar['mysticky_welcomebar_aftersubmission']);?>">
1112
  <div class="mysticky-welcomebar-fixed-wrap">
1113
  <div class="mysticky-welcomebar-content">
1114
  <?php echo wpautop( isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase" );?>
 
 
1115
  </div>
1116
- <div class="mysticky-welcomebar-btn">
1117
- <a href="<?php echo esc_url($mysticky_welcomebar_actionselect_url); ?>" <?php if( isset($welcomebar['mysticky_welcomebar_redirect_newtab']) && $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' && $welcomebar['mysticky_welcomebar_redirect_newtab']== 1):?> target="_blank" <?php endif;?>><?php echo isset($welcomebar['mysticky_welcomebar_btn_text'])? stripslashes($welcomebar['mysticky_welcomebar_btn_text']) :"Got it!";?></a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1118
  </div>
1119
- <a href="javascript:void(0)" class="mysticky-welcomebar-close">X</a>
 
 
 
 
1120
  </div>
1121
  </div>
1122
  <script>
 
 
 
 
 
 
 
 
1123
 
1124
  jQuery(document).ready(function($){
1125
  var adminBarHeight = 0;
@@ -1352,37 +1517,145 @@ function mysticky_welcome_bar_frontend(){
1352
  });
1353
 
1354
  jQuery( '.mysticky-welcomebar-close, .mysticky-welcomebar-btn a' ).on( 'click', function(){
1355
- if( welcombar_aftersubmission != 'show_welcomebar_every_page' ){
1356
- if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1357
- sessionStorage.removeItem('welcomebar_close');
1358
- localStorage.setItem('welcomebar_close', 'close');
1359
- } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1360
- localStorage.removeItem('welcomebar_close');
1361
- sessionStorage.setItem('welcomebar_close', 'close');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1362
  }
 
1363
  }
1364
- var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1365
- var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1366
- jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-notapper' );
1367
- jQuery( 'body' ).removeClass( 'mysticky-welcomebar-apper' );
1368
- jQuery( '.mysticky-welcomebar-fixed' ).slideUp( 'slow' );
1369
- if ( welcombar_position == 'top' ) {
1370
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '-' + mysticky_welcomebar_height + 'px' );
1371
- } else {
1372
- jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '-' + mysticky_welcomebar_height + 'px' );
1373
- }
1374
- jQuery( '#mysticky_divi_style' ).remove();
1375
- jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1376
- jQuery( 'html' ).css( 'margin-top', '' );
1377
- jQuery( 'html' ).css( 'margin-bottom', '' );
1378
- $( '#mysticky-nav' ).css( 'top', '0px' );
1379
- /*if mystickyelements show*/
1380
- var mystickyelements_show = $( '.mystickyelements-fixed' ).length;
1381
- if( mystickyelements_show && $( window ).width() <= 1024 && $( '.mystickyelements-fixed' ).hasClass( 'mystickyelements-position-mobile-top' ) && welcombar_position == 'top' ) {
1382
- var mystickyelements_height = $( '.mystickyelements-fixed' ).height();
1383
- $( '.mystickyelements-fixed' ).css( 'top', '' );
1384
- $( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_height + 'px !important' );
1385
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1386
  } );
1387
  });
1388
  function mystickyelements_present() {
@@ -1460,7 +1733,28 @@ function mysticky_welcome_bar_frontend(){
1460
  container.addClass("animation-start");
1461
  }, 3500);
1462
  });
1463
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1464
  </script>
1465
 
1466
  <?php
@@ -1485,13 +1779,14 @@ function mysticky_welcome_bar_frontend(){
1485
  }
1486
  .mysticky-welcomebar-fixed {
1487
  background-color: <?php echo esc_attr($welcomebar['mysticky_welcomebar_bgcolor']) ?>;
1488
- font-family: <?php echo esc_attr($welcomebar['mysticky_welcomebar_font']) ?>;
1489
  position: fixed;
1490
  left: 0;
1491
  right: 0;
1492
  z-index: 9999999;
1493
  opacity: 0;
1494
  }
 
1495
  .mysticky-welcomebar-fixed-wrap {
1496
  min-height: 60px;
1497
  padding: 20px 50px;
@@ -1539,12 +1834,13 @@ function mysticky_welcome_bar_frontend(){
1539
  padding: 0;
1540
  line-height: 1.2;
1541
  font-weight: 400;
1542
- font-family:<?php echo esc_attr($welcomebar['mysticky_welcomebar_font']); ?>
1543
  }
1544
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1545
- padding-left: 30px;
1546
  display: none;
1547
  line-height: 1;
 
1548
  }
1549
  .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
1550
  display: block;
@@ -1988,23 +2284,62 @@ function mysticky_welcome_bar_frontend(){
1988
  }
1989
  .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-mobile .mysticky-welcomebar-btn {
1990
  display: block;
 
1991
  }
1992
  }
1993
  @media only screen and (max-width: 480px) {
1994
- .mysticky-welcomebar-fixed-wrap {
1995
- padding: 15px 36px 35px 10px;
1996
- }
 
 
 
1997
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1998
  padding-left: 10px;
1999
  }
2000
- /*.mysticky-welcomebar-fixed .mysticky-welcomebar-close {
2001
- right: 7px;
2002
- }*/
2003
  }
 
 
2004
  body.mysticky-welcomebar-apper #wpadminbar{
2005
  z-index:99999999;
2006
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2007
  </style>
2008
  <?php
2009
  }
2010
- add_action( 'wp_footer', 'mysticky_welcome_bar_frontend' );
 
 
9
 
10
  if ( $welcomebar == '' || empty($welcomebar)) {
11
  $welcomebar = mysticky_welcomebar_pro_widget_default_fields();
 
12
  }
13
+
14
+ $welcomebar["mysticky_welcomebar_x_color"] = isset($welcomebar["mysticky_welcomebar_x_color"]) ? $welcomebar["mysticky_welcomebar_x_color"] : '#000000';
15
+
16
  $welcomebar['mysticky_welcomebar_bgcolor'] = ( isset($welcomebar['mysticky_welcomebar_bgcolor']) && $welcomebar['mysticky_welcomebar_bgcolor'] != '' ) ? $welcomebar['mysticky_welcomebar_bgcolor'] : '#03ed96';
17
 
18
  $welcomebar['mysticky_welcomebar_bgtxtcolor'] = ( isset($welcomebar['mysticky_welcomebar_bgtxtcolor']) && $welcomebar['mysticky_welcomebar_bgtxtcolor'] != '' ) ? $welcomebar['mysticky_welcomebar_bgtxtcolor'] : '#000000';
21
 
22
  $welcomebar['mysticky_welcomebar_btntxtcolor'] = (isset($welcomebar['mysticky_welcomebar_btntxtcolor']) && $welcomebar['mysticky_welcomebar_btntxtcolor'] != '' ) ? $welcomebar['mysticky_welcomebar_btntxtcolor'] : '#ffffff';
23
 
 
 
24
  $welcomebar['mysticky_welcomebar_btncolor'] = (isset($welcomebar['mysticky_welcomebar_btncolor']) && $welcomebar['mysticky_welcomebar_btncolor'] != '' ) ? $welcomebar['mysticky_welcomebar_btncolor'] : '';
25
 
26
  $mysticky_welcomebar_showx_desktop = $mysticky_welcomebar_showx_mobile = '';
46
  $display_entry_effect = (isset($welcomebar['mysticky_welcomebar_entry_effect'])) ? ' mysticky-welcomebar-entry-effect-'.$welcomebar['mysticky_welcomebar_entry_effect'] : ' mysticky-welcomebar-entry-effect-slide-in';
47
  $welcomebar['mysticky_welcomebar_position'] = isset($welcomebar['mysticky_welcomebar_position']) ? $welcomebar['mysticky_welcomebar_position'] : 'top';
48
  $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $display . $display_entry_effect;
49
+
50
+ $welcomebar['mysticky_welcomebar_lead_input'] = (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] != '' ) ? $welcomebar['mysticky_welcomebar_lead_input'] : "email_address";
51
 
52
+
53
+ $welcomebar['lead_name_placeholder'] = (isset($welcomebar['lead_name_placeholder']) && $welcomebar['lead_name_placeholder'] != '' ) ? stripslashes($welcomebar['lead_name_placeholder']) : "Name";
54
+
55
+ $welcomebar['lead_email_placeholder'] = (isset($welcomebar['lead_email_placeholder']) &&$welcomebar['lead_email_placeholder'] != '' ) ? stripslashes($welcomebar['lead_email_placeholder']) : "Email";
56
+
57
+ $welcomebar['lead_phone_placeholder'] = (isset($welcomebar['lead_phone_placeholder']) &&$welcomebar['lead_phone_placeholder'] != '' ) ? stripslashes($welcomebar['lead_phone_placeholder']) : "Phone";
58
+
59
+ $welcomebar['mysticky_welcomebar_enable_lead'] = (isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] != '' ) ? $welcomebar['mysticky_welcomebar_enable_lead'] : 0;
60
+
61
  ?>
62
  <form class="mysticky-welcomebar-form" id="mysticky_welcomebar_form" method="post" action="<?php echo admin_url('admin.php?page=my-stickymenu-welcomebar&save=1&widget=0');?>">
63
  <div class="mysticky-welcomebar-header-title">
88
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
89
  </div>
90
  </div>
91
+ <div class="mysticky-welcomebar-setting-content height-setting" <?php if(isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] == 1):?> style="display:none;"<?php endif;?>>
92
  <label><?php _e('Height', 'myStickymenu'); ?>
93
  <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;">Choose the size of your welcome bar in pixels</p></span>
94
  </label>
177
  <input name="mysticky_option_welcomebar[mysticky_welcomebar_x_mobile]" value= "mobile" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_x_mobile'], 'mobile' );?> />
178
  <?php _e( 'Mobile', 'mystickymenu' );?>
179
  </label>
180
+ <div class="x-color-wrap"><label>X Color</label>
181
+ <div class="mysticky-welcomebar-colorpicker color-x-input">
182
+ <input type="text" id="mysticky_welcomebar_xcolor" name="mysticky_option_welcomebar[mysticky_welcomebar_x_color]" class="my-color-field" data-alpha="true" value="<?php echo isset($welcomebar['mysticky_welcomebar_x_color']) ? $welcomebar['mysticky_welcomebar_x_color'] : ''; ?>"></div></div>
183
  </div>
184
  </div>
185
  <div class="mysticky-welcomebar-setting-content">
196
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
197
  </div>
198
  </div>
199
+ <!-- Collect lead Section -->
200
+ <div class="mysticky-welcomebar-setting-content">
201
+ <label style="position:relative;"><?php _e('Collect leads', 'myStickymenu'); ?>&nbsp;<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-envelope" viewBox="0 0 16 16" style="fill: #a8aeaf;position: absolute;top: 3px;margin-left: 5px;"><path d="M0 4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm2-1a1 1 0 0 0-1 1v.217l7 4.2 7-4.2V4a1 1 0 0 0-1-1H2Zm13 2.383-4.708 2.825L15 11.105V5.383Zm-.034 6.876-5.64-3.471L8 9.583l-1.326-.795-5.64 3.47A1 1 0 0 0 2 13h12a1 1 0 0 0 .966-.741ZM1 11.105l4.708-2.897L1 5.383v5.722Z"></path></svg>
202
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
203
+ <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;"><?php echo sprintf(__(" Collect the visitor's details such as Name, email address or phone number from the welcome bar. Collected visitor details can be viewed on the %s page","mystickymenu"), '<a href="' .admin_url("admin.php?page=my-sticky-menu-leads"). '" target="_blank">' .__( 'Contact Form Leads', 'mystickymenu') .'</a>');?></p></span>
204
+ </label>
205
+ <div class="mysticky-welcomebar-setting-content-right">
206
+ <label for="mysticky-welcomebar-collectlead-enabled" class="mysticky-welcomebar-switch collect-lead-switch">
207
+ <input type="checkbox" id="mysticky-welcomebar-collectlead-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable_lead]" data-button-text= "<?php echo $welcomebar["mysticky_welcomebar_btn_text"]; ?>" value="1" <?php checked( @$welcomebar['mysticky_welcomebar_enable_lead'], '1' );?>/>
208
+ <span class="slider"></span>
209
+ </label>
210
+ </div>
211
+ </div>
212
+ <div class="mysticky-collect-lead" <?php if( isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] != 1 ):?> style="display:none;" <?php endif;?>>
213
+ <div class="mysticky-welcomebar-setting-content">
214
+ <label><?php _e('Select inputs', 'myStickymenu'); ?></label>
215
+ <div class="mysticky-welcomebar-setting-content-right lead_inputs">
216
+ <label>
217
+ <input id="mysticky_lead_input_email" name="mysticky_option_welcomebar[mysticky_welcomebar_lead_input]" value= "email_address" type="radio" <?php checked( @$welcomebar['mysticky_welcomebar_lead_input'], 'email_address' );?> />
218
+ <span><?php _e("Name & email address", 'mystickymenu'); ?></span>
219
+ </label>
220
+ <label>
221
+ <input id="mysticky_lead_input_phone" class="mysticky_lead_input_phone" name="mysticky_option_welcomebar[mysticky_welcomebar_lead_input]" value="phone" type="radio" <?php checked( @$welcomebar['mysticky_welcomebar_lead_input'], 'phone' );?> />
222
+ <span><?php _e("Name & phone number", 'mystickymenu'); ?></span>
223
+ </label>
224
+ </div>
225
+ </div>
226
+
227
+ <div class="mysticky-welcomebar-setting-content">
228
+ <label><?php _e('Placeholder for Name', 'myStickymenu'); ?></label>
229
+ <div class="mysticky-welcomebar-setting-content-right">
230
+ <input type="text" class="mysticky_welcome_lead_name_placeholder" autocomplete="off" value="<?php echo isset($welcomebar['lead_name_placeholder']) ? $welcomebar['lead_name_placeholder'] : ''; ?>" name="mysticky_option_welcomebar[lead_name_placeholder]" id="lead-name-placeholder" />
231
+ </div>
232
+ </div>
233
+
234
+ <div class="mysticky-welcomebar-setting-content" id="lead-email-content" style="display:<?php echo (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] == 'email_address') ? 'flex' : 'none'; ?>">
235
+ <label><?php _e('Placeholder for Email', 'myStickymenu'); ?></label>
236
+ <div class="mysticky-welcomebar-setting-content-right">
237
+ <input type="text" class="mysticky_welcome_lead_email_placeholder" autocomplete="off" value="<?php echo isset($welcomebar['lead_email_placeholder']) ? $welcomebar['lead_email_placeholder'] : ''; ?>" name="mysticky_option_welcomebar[lead_email_placeholder]" id="lead-email-placeholder" />
238
+ </div>
239
+ </div>
240
+
241
+ <div class="mysticky-welcomebar-setting-content" id="lead-phone-content" style="display:<?php echo (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] == 'phone') ? 'flex' : 'none'; ?>">
242
+ <label><?php _e('Placeholder for Phone', 'myStickymenu'); ?></label>
243
+ <div class="mysticky-welcomebar-setting-content-right">
244
+ <input type="text" class="mysticky_welcome_lead_phone_placeholder" autocomplete="off" value="<?php echo isset($welcomebar['lead_phone_placeholder']) ? $welcomebar['lead_phone_placeholder'] : ''; ?>" name="mysticky_option_welcomebar[lead_phone_placeholder]" id="lead-phone-placeholder" />
245
+ </div>
246
+ </div>
247
+
248
+ <div class="mysticky-welcomebar-setting-content">
249
+ <label for="mysticky_welcomebar_show_success_message">
250
+ <?php _e( 'Show success message', 'mystickymenu');?>
251
+ </label>
252
+ <div class="mysticky-welcomebar-setting-content-right" style="margin-top: 8px;">
253
+ <label for="mysticky_welcomebar_show_success_message" class="mysticky-welcomebar-switch">
254
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_show_success_message]" id="mysticky_welcomebar_show_success_message" value= "1" type="checkbox" <?php checked( @$welcomebar['mysticky_welcomebar_show_success_message'], '1' );?> />
255
+ <span class="slider"></span>
256
+ </label>
257
+ </div>
258
+ </div>
259
+ <div id="mysticky-welcomebar-thankyou-wrap" class="mysticky-welcomebar-setting-content" <?php if ( !isset($welcomebar['mysticky_welcomebar_show_success_message']) ) : ?> style="display:none;" <?php endif;?>>
260
+ <label><?php _e('Thank You Text', 'myStickymenu'); ?></label>
261
+
262
+ <?php $mysticky_welcomebar_thankyou_screen_text = (isset($welcomebar['mysticky_welcomebar_thankyou_screen_text'])) ? $welcomebar['mysticky_welcomebar_thankyou_screen_text'] : 'Thank you for submitting the form' ; ?>
263
+ <div class="mysticky-welcomebar-setting-content-right">
264
+ <?php
265
+ $settings = array(
266
+ 'media_buttons' => false,
267
+ 'textarea_name' => 'mysticky_option_welcomebar[mysticky_welcomebar_thankyou_screen_text]',
268
+ 'tinymce' => false,
269
+ 'quicktags' => array(
270
+ 'buttons' => 'strong,em,link'
271
+ )
272
+ );
273
+ wp_editor( stripslashes($mysticky_welcomebar_thankyou_screen_text), 'mysticky_thankyou_screen_text', $settings );
274
+ ?>
275
+ </div>
276
+ </div>
277
+
278
+ <div class="mysticky-welcomebar-setting-content">
279
+ <label style="width:351px;">
280
+ <input name="mysticky_option_welcomebar[mysticky_welcomebar_send_email_lead]" id="send_lead_email_enable" data-url="<?php echo esc_url($upgarde_url); ?>" value= "1" type="checkbox" /><?php _e( 'Send leads to email', 'mystickymenu');?>
281
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
282
+ </label>
283
+ </div>
284
+ </div>
285
+ <!-- Coupon Section Start -->
286
+ <div class="mysticky-welcomebar-setting-content">
287
+ <label class="bagicon"><?php _e('Show Coupons', 'myStickymenu'); ?> &nbsp;<img src="<?php echo MYSTICKYMENU_URL; ?>/images/shopyicon.svg" />
288
+ <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;"><?php _e("Add a coupon to your welcome bar. Users can click on the coupon, copy it and use it on your website","mystickymenu");?><br><img src="<?php echo MYSTICKYMENU_URL ?>/images/show-coupon-ss.png" style="width:100%;"/></p></span>
289
+ </label>
290
+ <div class="mysticky-welcomebar-setting-content-right" style="margin-top: 8px;">
291
+ <label for="mysticky-welcomebar-showcoupon-enabled" class="mysticky-welcomebar-switch showcoupon-switch">
292
+ <input type="checkbox" id="mysticky-welcomebar-showcoupon-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable_coupon]" data-url="<?php echo esc_url($upgarde_url); ?>" value="1"/>
293
+ <span class="slider"></span>
294
+ </label>
295
+ <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
296
+ </div>
297
+ </div>
298
  </div>
299
  <div class="mysticky-welcomebar-setting-block">
300
  <div class="mysticky-welcomebar-subheader-title">
329
  </div>
330
  <div class="mysticky-welcomebar-setting-content">
331
  <label><?php _e('Button Text', 'myStickymenu'); ?></label>
332
+ <div class="mysticky-welcomebar-setting-content-right welcomebar-text-button">
333
+ <input type="text" id="mysticky_welcomebar_btn_text" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_btn_text]" value="<?php echo stripslashes($welcomebar['mysticky_welcomebar_btn_text']);?>" maxlength="9" />
334
  </div>
335
  </div>
336
  <!-- -->
361
  <option value="redirect_to_url" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'redirect_to_url' ); ?>><?php _e( 'Redirect the visitor to another URL', 'myStickymenu' );?></option>
362
  <option value="close_bar" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'close_bar' ); ?>><?php _e( 'Close the Welcome Bar', 'myStickymenu' );?></option>
363
  <option value="poptin_popup" <?php selected( @$welcomebar['mysticky_welcomebar_actionselect'], 'poptin_popup' ); ?> ><?php _e( 'Launch a Poptin pop-up', 'myStickymenu' );?></option>
364
+ <option value="thankyou_screen" data-href="<?php echo esc_url($upgarde_url); ?>"><?php _e( 'Show a thank-you screen (Pro Feature)', 'myStickymenu' );?></option>
365
  </select>
366
  </div>
367
 
383
  </div>
384
  <!-- -->
385
 
386
+ <?php
387
+ if( is_email($welcomebar['mysticky_welcomebar_redirect']) ){
388
+ if( strpos($welcomebar['mysticky_welcomebar_redirect'], 'mailto:') === false ){
389
+ $welcomebar['mysticky_welcomebar_redirect'] = "mailto:".$welcomebar['mysticky_welcomebar_redirect'];
390
+ }
391
+ }
392
+ ?>
393
  <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] != 'redirect_to_url' ) : ?> style="display:none;" <?php endif;?>>
394
  <label><?php _e('Redirection link', 'myStickymenu'); ?></label>
395
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-action mysticky-welcomebar-redirect" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] == 'close_bar' ) : ?> style="display:none;" <?php endif;?> >
396
+ <input type="text" id="mysticky_welcomebar_redirect" class="mystickyinput mysticky_welcomebar_disable" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect]" value="<?php echo (is_email($welcomebar['mysticky_welcomebar_redirect'])) ? $welcomebar['mysticky_welcomebar_redirect'] : esc_url($welcomebar['mysticky_welcomebar_redirect']);?>" placeholder="<?php echo esc_url("https://www.yourdomain.com"); ?>" />
397
  </div>
398
  </div>
399
  <div class="mysticky-welcomebar-setting-content mysticky-welcomebar-redirect-container" <?php if ( $welcomebar['mysticky_welcomebar_actionselect'] != 'redirect_to_url' ) : ?> style="display:none;" <?php endif;?>>
410
  <label><?php _e('rel Attribute', 'myStickymenu'); ?>
411
  <span class="mysticky-custom-fields-tooltip">
412
  <a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a>
413
+ <p><?php _e("Add a \"rel\" attribute to the button link. You can use it to add a rel=\"nofollow\", \"sponsored\", or any other \"rel\" attribute option","mystickymenu");?></p>
414
  </span>
415
  </label>
416
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-setting-newtab mysticky-welcomebar-redirect" >
417
+ <input type="text" id="mysticky_welcomebar_redirect_rel" class="mystickyinput mysticky_welcomebar_disable unactive_rel_input" name="mysticky_option_welcomebar[mysticky_welcomebar_redirect_rel]" value="" placeholder="" disabled />
418
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
419
  </div>
420
  </div>
421
  <!-- -->
422
  <div class="mysticky-welcomebar-setting-content">
423
  <label><?php _e('Welcome Bar Appearance After Button Click', 'myStickymenu'); ?>
424
+ <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;"><?php _e("Choose welcome bar display settings after a visitor click on the button. The \"Don't show the Welcome Bar again for the user\" option is the preferable option if you don't want to annoy your visitors by showing the welcome bar over and over","mystickymenu");?></p></span>
425
  </label>
426
  <div class="mysticky-welcomebar-setting-content-right">
427
  <div class="mysticky-welcomebar-setting-action">
436
  <!-- -->
437
  <div class="mysticky-welcomebar-setting-content">
438
  <label><?php _e('Close Welcome Bar Automatically After Click', 'myStickymenu'); ?>
439
+ <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;"><?php _e("Choose if you'd like the welcome bar to be closed automatically after button submission",'mystickymenu');?></p></span>
440
  </label>
441
  <div class="mysticky-welcomebar-setting-content-right mysticky-welcomebar-close-automatically-sec">
442
  <label for="mysticky-welcomebar-close-automatically-enabled" class="mysticky-welcomebar-switch">
443
+ <input type="checkbox" id="mysticky-welcomebar-close-automatically-enabled" name="mysticky_option_welcomebar[mysticky_welcomebar_enable_automatical]" value="1" data-url="<?php echo esc_url($upgarde_url); ?>"/>
444
  <span class="slider"></span>
445
  </label>
446
  <span class="myStickymenu-upgrade"><a class="sticky-header-upgrade-now" href="<?php echo esc_url($upgarde_url); ?>" target="_blank"><?php _e( 'Upgrade Now', 'mystickymenu' );?></a></span>
528
  </div>
529
  <div class="mysticky-welcomebar-setting-content show-on-apper">
530
  <label><?php _e('Page targeting', 'myStickymenu'); ?>
531
+ <span class="mysticky-custom-fields-tooltip"><a href="javascript:void(0);" class="mysticky-tooltip mysticky-new-custom-btn"><i class="dashicons dashicons-editor-help"></i></a><p style="z-index: 99999;">
532
+ <?php esc_html_e("Add a rule if you want to show or don't show the welcome bar on specific pages only. For example, you can show the welcome bar just on speicifc collections/products","mystickymenu");?></p></span>
533
  </label>
534
  <div class="mysticky-welcomebar-setting-content-right">
535
  <a href="javascript:void(0);" class="create-rule" id="create-rule"><?php esc_html_e( "Add Rule", "mystickyelements" );?></a>
588
  <?php endif; ?>
589
  <div class="mysticky-welcomebar-fixed mysticky-welcomebar-display-desktop <?php echo esc_attr($display_main_class); ?>" >
590
  <div class="mysticky-welcomebar-fixed-wrap">
591
+ <?php
592
+ $content_width = (isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] === '1') ? '90%' : '75%';
593
+ ?>
594
+ <div class="mysticky-welcomebar-content" style="width:<?php echo $content_width; ?>">
595
  <?php echo wpautop(isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase");?>
596
  </div>
597
+
598
+ <div class="mysticky-welcomebar-lead-content" <?php if((isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] != 1)) :?> style="display:none;" <?php endif; ?>>
599
+
600
+ <input type="text" class="preview-lead-name" placeholder="<?php echo $welcomebar['lead_name_placeholder'];?>"/>
601
+ <input type="text" class="preview-lead-email" placeholder="<?php echo $welcomebar['lead_email_placeholder'];?>" style="display:<?php echo (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] == 'email_address') ? 'flex' : 'none';?>"/>
602
+ <input type="text" class="preview-lead-phone" placeholder="<?php echo $welcomebar['lead_phone_placeholder'];?>" style="display:<?php echo (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] == 'phone') ? 'flex' : 'none';?>"/>
603
+
604
  </div>
605
+
606
+ <div class="mysticky-welcomebar-btn <?php if(isset( $welcomebar['mysticky_welcomebar_enable_lead'] ) && $welcomebar['mysticky_welcomebar_enable_lead'] == 1): ?>collect-lead<?php endif; ?>">
607
+ <?php
608
+ $mysticky_welcomebar_btn_text = isset($welcomebar['mysticky_welcomebar_btn_text']) ? stripslashes($welcomebar['mysticky_welcomebar_btn_text']) : "Got it!";
609
+ ?>
610
+
611
+ <a href="javascript:void(0)"><?php echo stripslashes($mysticky_welcomebar_btn_text);?></a>
612
+ </div>
613
+
614
+ <?php
615
+ $x_color = (isset($welcomebar['mysticky_welcomebar_x_color']) && $welcomebar['mysticky_welcomebar_x_color'] != '') ? $welcomebar['mysticky_welcomebar_x_color'] : '#000000';
616
+ ?>
617
+ <a href="javascript:void(0)" class="mysticky-welcomebar-close" style="color:<?php echo $x_color;?>">X</a>
618
  </div>
619
  </div>
620
  </div>
621
+ <div class="timer-message" <?php if(isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] != 1):?> style="display:none;"<?php endif;?>>
622
+ <p><span class="dashicons dashicons-info"></span> The elements will be displayed in 1-line on your actual website. <a class="save_change" href="javascript:void(0);">Save changes</a> and <a href="<?php echo site_url();?>" target="_blank" class="visit_site_link"><span class="dashicons dashicons-migrate" style="color: #2271b1 !important;"></span> visit your website</a> to check how it’d look like</p>
623
+ </div>
624
  </div>
625
  </div>
626
  <div class="mysticky-welcomebar-submit">
629
  </div>
630
  <input type="hidden" name="nonce" value="<?php echo esc_attr($nonce); ?>">
631
  <input type="hidden" name="active_tab_element" value="1">
632
+ <input type="hidden" name="widget_no" value="0">
633
  <input type="hidden" id="save_welcome_bar" name="save_welcome_bar" >
634
 
635
  </form>
651
  </div>
652
  <div class="mystickymenu-action-popup-footer">
653
  <button type="button" class="btn-enable btn-nevermind-status" id="welcombar_sbmtbtn_off" ><?php esc_html_e("Just save and keep it off","mystickymenu"); ?></button>
654
+ <button type="button" class="btn-disable-cancel btn-turnoff-status button-save-turnon" id="welcomebar_yes_sbmtbtn" style="background:#00c67c;border-color:#00c67c;"><?php esc_html_e("Save & Turn on Welcome Bar","mystickymenu"); ?></button>
655
  </div>
656
  </div>
657
  <div class="mystickymenupopup-overlay" id="welcombar-sbmtvalidation-overlay-popup"></div>
680
  <style>
681
  .mysticky-welcomebar-fixed {
682
  background-color: <?php echo esc_attr($welcomebar['mysticky_welcomebar_bgcolor']); ?>;
683
+ font-family: <?php echo ($welcomebar['mysticky_welcomebar_font']); ?>;
684
  position: absolute;
685
  left: 0;
686
  right: 0;
756
  margin: 0 30px;
757
  display: none;
758
  }*/
759
+ .mysticky-welcomebar-fixed.mysticky-site-front.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
760
  display: block;
761
+ margin-left:5px;
762
  }
763
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a {
764
  background-color: <?php echo esc_attr($welcomebar['mysticky_welcomebar_btncolor']); ?>;
771
  line-height: 1.2;
772
  font-size: <?php echo esc_attr($welcomebar['mysticky_welcomebar_fontsize']) ?>px;
773
  font-weight: 400;
774
+ padding: 5px 15px;
775
  white-space: nowrap;
776
+ text-align: center;
777
  }
778
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn a:hover {
779
  /*opacity: 0.7;*/
782
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
783
  }
784
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
785
  @media only screen and (max-width: 1024px) {
786
  .mysticky-welcomebar-fixed {
787
  padding: 0 10px 0 10px;
788
  }
 
 
 
 
 
 
789
  }
790
 
791
  /* Animated Buttons */
1161
  'mysticky_welcomebar_timer_position' => 'left',
1162
  'mysticky_welcomebar_timer_bgcolor' => '#000000',
1163
  'mysticky_welcomebar_timer_textcolor' => '#ffffff',
1164
+ 'lead_name_placeholder' => 'Name',
1165
+ 'lead_email_placeholder' => 'Email',
1166
+ 'lead_phone_placeholder' => 'Phone',
1167
+ 'mysticky_welcomebar_enable_lead' => '0',
1168
  );
1169
  }
1170
 
1171
  function mysticky_welcome_bar_frontend(){
1172
+ global $wp;
1173
  $welcomebar = get_option( 'mysticky_option_welcomebar' );
1174
 
1175
  if ( ( isset($welcomebar['mysticky_welcomebar_expirydate']) && $welcomebar['mysticky_welcomebar_expirydate'] !='' && strtotime( date('m/d/Y')) > strtotime($welcomebar['mysticky_welcomebar_expirydate']) ) || !isset($welcomebar['mysticky_welcomebar_enable'] ) || (isset($welcomebar['mysticky_welcomebar_enable']) && $welcomebar['mysticky_welcomebar_enable'] == 0) ) {
1207
 
1208
  $display_main_class = "mysticky-welcomebar-position-" . $welcomebar['mysticky_welcomebar_position'] . $mysticky_welcomebar_showx_desktop . $mysticky_welcomebar_showx_mobile . $mysticky_welcomebar_btn_desktop . $mysticky_welcomebar_btn_mobile . $mysticky_welcomebar_display_desktop . $mysticky_welcomebar_display_mobile .$display . $display_entry_effect;
1209
 
1210
+
1211
+ if( isset($welcomebar['mysticky_welcomebar_enable_lead']) && $welcomebar['mysticky_welcomebar_enable_lead'] == 1 ):
1212
+ $display_main_class .= ' welcombar-contact-lead ';
1213
+ endif;
1214
+
1215
  if( isset($welcomebar['mysticky_welcomebar_actionselect']) ) {
 
1216
  if( $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' ) {
1217
+ $mysticky_welcomebar_actionselect_url = ( is_email($welcomebar['mysticky_welcomebar_redirect']) ) ? $welcomebar['mysticky_welcomebar_redirect'] : esc_url( $welcomebar['mysticky_welcomebar_redirect'] );
1218
+ } else if( $welcomebar['mysticky_welcomebar_actionselect'] == 'poptin_popup'){
1219
+ $mysticky_welcomebar_actionselect_url = esc_url( $welcomebar['mysticky_welcomebar_poptin_popup_link'] );
1220
+ } else {
1221
+ $mysticky_welcomebar_actionselect_url = 'javascript:void(0)';
1222
+ }
1223
  }
 
 
1224
 
1225
  ?>
1226
+ <div class="mysticky-welcomebar-fixed mysticky-site-front <?php echo esc_attr($display_main_class); ?>" data-after-triger="after_a_few_seconds" data-triger-sec="0" data-position="<?php echo esc_attr($welcomebar['mysticky_welcomebar_position']);?>" data-height="<?php echo esc_attr($welcomebar['mysticky_welcomebar_height']);?>" data-rediect="<?php echo esc_attr($welcomebar['mysticky_welcomebar_actionselect']);?>" data-aftersubmission="<?php echo esc_attr($welcomebar['mysticky_welcomebar_aftersubmission']);?>">
1227
  <div class="mysticky-welcomebar-fixed-wrap">
1228
  <div class="mysticky-welcomebar-content">
1229
  <?php echo wpautop( isset($welcomebar['mysticky_welcomebar_bar_text'])? stripslashes($welcomebar['mysticky_welcomebar_bar_text']) :"Get 30% off your first purchase" );?>
1230
+
1231
+
1232
  </div>
1233
+
1234
+ <?php if( isset( $welcomebar['mysticky_welcomebar_enable_lead'] ) && $welcomebar['mysticky_welcomebar_enable_lead'] == 1 ): ?>
1235
+ <div class="mystickymenu-front mysticky-welcomebar-lead-content">
1236
+ <div>
1237
+ <input type="text" class="contact-lead-name" id="contact-lead-name-0" name="contact_lead_name" placeholder="<?php echo $welcomebar['lead_name_placeholder'];?>" style="display: flex;"/>
1238
+ </div>
1239
+
1240
+ <div>
1241
+ <input type="text" class="contact-lead-email" id="contact-lead-email-0" name="contact_lead_email" placeholder="<?php echo $welcomebar['lead_email_placeholder'];?>" style="display:<?php echo (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] == 'email_address') ? 'flex' : 'none';?>"/>
1242
+ </div>
1243
+ <div>
1244
+ <input type="text" class="contact-lead-phone" id="contact-lead-phone-0" name="contact_lead_phone" placeholder="<?php echo $welcomebar['lead_phone_placeholder'];?>" style="display:<?php echo (isset($welcomebar['mysticky_welcomebar_lead_input']) && $welcomebar['mysticky_welcomebar_lead_input'] == 'phone') ? 'flex' : 'none';?>"/>
1245
+ </div>
1246
+
1247
+
1248
+
1249
+ <input type="hidden" id="contact-lead-pagelink-0" name="contact-page-link" value=" <?php echo esc_url(home_url( $wp->request ));?>">
1250
+
1251
+ <input type="hidden" id="send-lead-email-0" value="<?php echo (isset($welcomebar['mysticky_welcomebar_send_email_lead']) && $welcomebar['mysticky_welcomebar_send_email_lead'] == 1) ? 1 : 0;?>">
1252
+ </div>
1253
+
1254
+ <div class="mysticky-welcomebar-thankyou-content mysticky-welcomebar-content" style="display: none;">
1255
+ <?php echo wpautop( isset( $welcomebar['mysticky_welcomebar_thankyou_screen_text'] )? stripslashes( $welcomebar['mysticky_welcomebar_thankyou_screen_text'] ):"Thank you for submitting the form" );?>
1256
+ </div>
1257
+ <?php endif; ?>
1258
+
1259
+ <div class="mysticky-welcomebar-btn <?php if( isset( $welcomebar['mysticky_welcomebar_enable_lead'] ) && $welcomebar['mysticky_welcomebar_enable_lead'] == 1 ): ?> contact-lead-button<?php endif; ?>" >
1260
+ <?php
1261
+ $mysticky_welcomebar_btn_text = isset($welcomebar['mysticky_welcomebar_btn_text']) ? stripslashes($welcomebar['mysticky_welcomebar_btn_text']) : stripslashes("Got it!");
1262
+ if( is_email($mysticky_welcomebar_actionselect_url) ){
1263
+ if( strpos($mysticky_welcomebar_actionselect_url, 'mailto:') === false ){
1264
+ $mysticky_welcomebar_actionselect_url = "mailto:".$mysticky_welcomebar_actionselect_url;
1265
+ }
1266
+ }
1267
+ ?>
1268
+
1269
+ <a href="<?php echo $mysticky_welcomebar_actionselect_url; ?>" <?php if( isset($welcomebar['mysticky_welcomebar_redirect_newtab']) && $welcomebar['mysticky_welcomebar_actionselect'] == 'redirect_to_url' && $welcomebar['mysticky_welcomebar_redirect_newtab']== 1):?> target="_blank" <?php endif;?>><?php echo stripslashes($mysticky_welcomebar_btn_text);?>
1270
+ </a>
1271
  </div>
1272
+
1273
+ <?php
1274
+ $x_color = (isset($welcomebar['mysticky_welcomebar_x_color']) && $welcomebar['mysticky_welcomebar_x_color'] != '') ? $welcomebar['mysticky_welcomebar_x_color'] : '#000000';
1275
+ ?>
1276
+ <a href="javascript:void(0)" class="mysticky-welcomebar-close" style="color:<?php echo $x_color; ?>">X</a>
1277
  </div>
1278
  </div>
1279
  <script>
1280
+ var welcomebar_frontjs = {
1281
+ 'ajaxurl' : '<?php echo admin_url( 'admin-ajax.php' )?>',
1282
+ 'days' : '<?php echo __( 'Days', 'mystickymenu' ) ?>',
1283
+ 'hours' : '<?php echo __( 'Hours', 'mystickymenu' ) ?>',
1284
+ 'minutes' : '<?php echo __( 'Minutes', 'mystickymenu' ) ?>',
1285
+ 'seconds' : '<?php echo __( 'Seconds', 'mystickymenu' ) ?>',
1286
+ 'ajax_nonce' :'<?php echo wp_create_nonce('mystickymenu') ?>',
1287
+ };
1288
 
1289
  jQuery(document).ready(function($){
1290
  var adminBarHeight = 0;
1517
  });
1518
 
1519
  jQuery( '.mysticky-welcomebar-close, .mysticky-welcomebar-btn a' ).on( 'click', function(){
1520
+
1521
+
1522
+ /* Submit contact lead form */
1523
+
1524
+ var flag=true;
1525
+ var trigger_sec = 100;
1526
+ var welcomebar_widget = 0;
1527
+ if( jQuery(".mysticky-welcomebar-lead-content").length > 0 && !$(this).hasClass("mysticky-welcomebar-close")){
1528
+
1529
+ if( jQuery('#contact-lead-name-'+welcomebar_widget).val() != '' && ( jQuery('#contact-lead-phone-'+welcomebar_widget).val() != '' || jQuery('#contact-lead-email-'+welcomebar_widget).val() != '' )){
1530
+
1531
+ if( jQuery('#contact-lead-email-'+welcomebar_widget).css("display") != 'none' && IsEmail(jQuery('#contact-lead-email-'+welcomebar_widget).val()) != true ){
1532
+
1533
+ if( $(".input-error").length ){
1534
+ $(".input-error").remove();
1535
+ }
1536
+
1537
+ $( '<div class="input-error"><span>Please, enter valid email</span></div>' ).insertAfter( jQuery('#contact-lead-email-' + welcomebar_widget) );
1538
+ flag = false;
1539
+ }
1540
+
1541
+
1542
+ if( jQuery('#contact-lead-phone-'+welcomebar_widget).css("display") != 'none' && validatePhone(jQuery('#contact-lead-phone-'+welcomebar_widget).val()) != true ){
1543
+ if( $(".input-error").length ){
1544
+ $(".input-error").remove();
1545
+ }
1546
+ $( '<div class="input-error"><span>Please, enter valid phone</span></div>' ).insertAfter( jQuery('#contact-lead-phone-'+welcomebar_widget) );
1547
+ flag=false;
1548
+ }
1549
+
1550
+ if (flag == true) {
1551
+ var data = [];
1552
+ data["contact_name"] = jQuery('#contact-lead-name-'+welcomebar_widget).val();
1553
+ data["contact_email"] = jQuery('#contact-lead-email-'+welcomebar_widget).val();
1554
+ data["contact_phone"] = jQuery('#contact-lead-phone-'+welcomebar_widget).val();
1555
+ data["contact_page_link"] = jQuery('#contact-lead-pagelink-'+welcomebar_widget).val();
1556
+
1557
+ $(".mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content").hide();
1558
+ $(".mysticky-welcomebar-fixed .mysticky-welcomebar-content p").hide();
1559
+ $(".mysticky-welcomebar-fixed .mysticky-welcomebar-btn.contact-lead-button").hide();
1560
+ $(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content").show();
1561
+ $(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content p").show();
1562
+ var trigger_sec = 2000;
1563
+ jQuery.ajax({
1564
+ url: welcomebar_frontjs.ajaxurl,
1565
+ type:'post',
1566
+ data: 'contact_name='+data["contact_name"]+'&contact_email='+data["contact_email"]+'&contact_phone='+data["contact_phone"]+'&action=stickymenu_contact_lead_form&widget_id=' + welcomebar_widget + '&page_link='+ data["contact_page_link"]+'&save_form_lead=1&wpnonce=' + welcomebar_frontjs.ajax_nonce,
1567
+ success: function( data ){
1568
+ $(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0");
1569
+ },
1570
+ });
1571
+ }else{
1572
+ $(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px");
1573
+ return false;
1574
+ }
1575
+
1576
+
1577
+ }else{
1578
+ localStorage.removeItem('welcomebar_close_' + welcomebar_widget);
1579
+ sessionStorage.removeItem('welcomebar_close_' + welcomebar_widget);
1580
+
1581
+ if($(".input-error").length){
1582
+ $(".input-error").remove();
1583
+ }
1584
+
1585
+ if( jQuery('#contact-lead-name-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-name-'+welcomebar_widget).val() == '' && jQuery('#contact-lead-email-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-email-'+welcomebar_widget).val() == '' ){
1586
+
1587
+ $( '<div class="input-error"><span>Please enter your name and email</span></div>' ).insertAfter( jQuery('#contact-lead-name-'+welcomebar_widget) );
1588
+ flag=false;
1589
+
1590
+ }else if( jQuery('#contact-lead-name-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-name-'+welcomebar_widget).val() == '' && jQuery('#contact-lead-phone-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-phone-'+welcomebar_widget).val() == '' ){
1591
+
1592
+ $( '<div class="input-error"><span>Please enter your name and phone</span></div>' ).insertAfter( jQuery('#contact-lead-name-'+welcomebar_widget) );
1593
+ flag=false;
1594
+
1595
+ }else if( jQuery('#contact-lead-name-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-name-'+welcomebar_widget).val() == '' ){
1596
+
1597
+ $( '<div class="input-error"><span>Please enter your name</span></div>' ).insertAfter( jQuery('#contact-lead-name-'+welcomebar_widget) );
1598
+ flag=false;
1599
+
1600
+ }else if( jQuery('#contact-lead-email-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-email-'+welcomebar_widget).val() == '' ){
1601
+
1602
+ $( '<div class="input-error"><span>Please, enter your email</span></div>' ).insertAfter( jQuery('#contact-lead-email-'+welcomebar_widget) );
1603
+ flag=false;
1604
+
1605
+ }else if( jQuery('#contact-lead-phone-'+welcomebar_widget).css("display") != 'none' && jQuery('#contact-lead-phone-'+welcomebar_widget).val() == '' ){
1606
+
1607
+ $( '<div class="input-error"><span>Please, enter your phone</span></div>' ).insertAfter( jQuery('#contact-lead-phone-'+welcomebar_widget) );
1608
+ flag=false;
1609
+
1610
+ }
1611
+
1612
+ if(flag==false){
1613
+
1614
+ $(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px");
1615
+ } else{
1616
+ $(".mysticky-welcomebar-widget-"+welcomebar_widget+" .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0");
1617
  }
1618
+ return false;
1619
  }
1620
+ }else{
1621
+ if( $(this).hasClass("mysticky-welcomebar-close") ){
1622
+ localStorage.setItem('is_close_trigger_' + welcomebar_widget, 'yes');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1623
  }
1624
+ }
1625
+
1626
+ setTimeout(function(){
1627
+ if( welcombar_aftersubmission != 'show_welcomebar_every_page' ){
1628
+ if( welcombar_aftersubmission == 'dont_show_welcomebar' ){
1629
+ sessionStorage.removeItem('welcomebar_close');
1630
+ localStorage.setItem('welcomebar_close', 'close');
1631
+ } else if( welcombar_aftersubmission == 'show_welcomebar_next_visit' ) {
1632
+ localStorage.removeItem('welcomebar_close');
1633
+ sessionStorage.setItem('welcomebar_close', 'close');
1634
+ }
1635
+ }
1636
+ var welcombar_position = $( '.mysticky-welcomebar-fixed' ).data('position');
1637
+ var welcombar_height = $( '.mysticky-welcomebar-fixed' ).outerHeight();
1638
+ jQuery( '.mysticky-welcomebar-fixed' ).addClass( 'mysticky-welcomebar-notapper' );
1639
+ jQuery( 'body' ).removeClass( 'mysticky-welcomebar-apper' );
1640
+ jQuery( '.mysticky-welcomebar-fixed' ).slideUp( 'slow' );
1641
+ if ( welcombar_position == 'top' ) {
1642
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'top', '-' + mysticky_welcomebar_height + 'px' );
1643
+ } else {
1644
+ jQuery( '.mysticky-welcomebar-fixed' ).css( 'bottom', '-' + mysticky_welcomebar_height + 'px' );
1645
+ }
1646
+ jQuery( '#mysticky_divi_style' ).remove();
1647
+ jQuery( '.et_fixed_nav #top-header' ).css( 'top', '' );
1648
+ jQuery( 'html' ).css( 'margin-top', '' );
1649
+ jQuery( 'html' ).css( 'margin-bottom', '' );
1650
+ $( '#mysticky-nav' ).css( 'top', '0px' );
1651
+ /*if mystickyelements show*/
1652
+ var mystickyelements_show = $( '.mystickyelements-fixed' ).length;
1653
+ if( mystickyelements_show && $( window ).width() <= 1024 && $( '.mystickyelements-fixed' ).hasClass( 'mystickyelements-position-mobile-top' ) && welcombar_position == 'top' ) {
1654
+ var mystickyelements_height = $( '.mystickyelements-fixed' ).height();
1655
+ $( '.mystickyelements-fixed' ).css( 'top', '' );
1656
+ $( 'html' ).attr( 'style', 'margin-top: ' + mystickyelements_height + 'px !important' );
1657
+ }
1658
+ }, trigger_sec );
1659
  } );
1660
  });
1661
  function mystickyelements_present() {
1733
  container.addClass("animation-start");
1734
  }, 3500);
1735
  });
1736
+
1737
+ function IsEmail(email) {
1738
+ var regex =
1739
+ /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
1740
+ if (!regex.test(email)) {
1741
+ return false;
1742
+ }
1743
+ else {
1744
+ return true;
1745
+ }
1746
+ }
1747
+
1748
+ function validatePhone(txtPhone) {
1749
+ var a = txtPhone;
1750
+ var filter = /^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/;
1751
+ if (filter.test(a)) {
1752
+ return true;
1753
+ }
1754
+ else {
1755
+ return false;
1756
+ }
1757
+ }
1758
  </script>
1759
 
1760
  <?php
1779
  }
1780
  .mysticky-welcomebar-fixed {
1781
  background-color: <?php echo esc_attr($welcomebar['mysticky_welcomebar_bgcolor']) ?>;
1782
+ font-family: <?php echo $welcomebar['mysticky_welcomebar_font'] ?>;
1783
  position: fixed;
1784
  left: 0;
1785
  right: 0;
1786
  z-index: 9999999;
1787
  opacity: 0;
1788
  }
1789
+
1790
  .mysticky-welcomebar-fixed-wrap {
1791
  min-height: 60px;
1792
  padding: 20px 50px;
1834
  padding: 0;
1835
  line-height: 1.2;
1836
  font-weight: 400;
1837
+ font-family:<?php echo ($welcomebar['mysticky_welcomebar_font']); ?>
1838
  }
1839
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
1840
+ /*padding-left: 30px;*/
1841
  display: none;
1842
  line-height: 1;
1843
+ margin-left: 10px;
1844
  }
1845
  .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-desktop .mysticky-welcomebar-btn {
1846
  display: block;
2284
  }
2285
  .mysticky-welcomebar-fixed.mysticky-welcomebar-btn-mobile .mysticky-welcomebar-btn {
2286
  display: block;
2287
+ margin-top: 10px;
2288
  }
2289
  }
2290
  @media only screen and (max-width: 480px) {
2291
+
2292
+ .mysticky-welcomebar-fixed-wrap {padding: 15px 35px 10px 10px; flex-wrap:wrap;}
2293
+ /*.welcombar-contact-lead .mysticky-welcomebar-fixed-wrap {flex-wrap: wrap; justify-content: center;}*/
2294
+
2295
+ .mysticky-welcomebar-fixed .mystickymenu-front.mysticky-welcomebar-lead-content {margin: 10px 0 10px 20px !important;}
2296
+
2297
  .mysticky-welcomebar-fixed .mysticky-welcomebar-btn {
2298
  padding-left: 10px;
2299
  }
 
 
 
2300
  }
2301
+
2302
+
2303
  body.mysticky-welcomebar-apper #wpadminbar{
2304
  z-index:99999999;
2305
  }
2306
+
2307
+ .mysticky-welcomebar-fixed .mystickymenu-front.mysticky-welcomebar-lead-content {
2308
+ display: flex;
2309
+ width: auto;
2310
+ margin: 0 0px 0 10px;
2311
+ }
2312
+
2313
+ .mystickymenu-front.mysticky-welcomebar-lead-content input[type="text"] {
2314
+ font-size: 12px;
2315
+ padding: 7px 5px;
2316
+ margin-right: 10px;
2317
+ min-width: 50%;
2318
+ border: 0;
2319
+ width:auto;
2320
+ }
2321
+
2322
+ .mystickymenu-front.mysticky-welcomebar-lead-content input[type="text"]:focus {
2323
+ outline: unset;
2324
+ box-shadow: unset;
2325
+ }
2326
+
2327
+ .input-error {
2328
+ color: #ff0000;
2329
+ font-style: normal;
2330
+ font-family: inherit;
2331
+ font-size: 13px;
2332
+ display: block;
2333
+ position: absolute;
2334
+ bottom: 0px;
2335
+ }
2336
+
2337
+ .mysticky-welcomebar-fixed.mysticky-site-front .mysticky-welcomebar-btn.contact-lead-button {
2338
+ margin-left: 0;
2339
+ }
2340
  </style>
2341
  <?php
2342
  }
2343
+ add_action( 'wp_footer', 'mysticky_welcome_bar_frontend' );
2344
+
2345
+ // .welcombar-contact-lead