| @@ -823,8 +823,16 @@ | ||
| 823 | 823 | .ays-survey-container .ays-survey-section .ays-survey-question-box.ays-survey-question-date-time-box { |
| 824 | 824 | width: 100%; |
| 825 | 825 | } |
| 826 | 826 | |
| 827 | +.ays-survey-container .ays-survey-section .ays-survey-question[data-type="date"] .ays-survey-answer { | |
| 828 | + width: 100%; | |
| 829 | +} | |
| 830 | + | |
| 831 | +.ays-survey-container .ays-survey-section .ays-survey-question-box.ays-survey-question-date-box { | |
| 832 | + width: 100%; | |
| 833 | +} | |
| 834 | + | |
| 827 | 835 | .ays-survey-container .ays-survey-section .ays-survey-question-type-text-box { |
| 828 | 836 | width: 100%; |
| 829 | 837 | } |
| 830 | 838 | |
| @@ -903,8 +911,16 @@ | ||
| 903 | 911 | .ays-survey-container .ays-survey-section .ays-survey-question.ays-has-error { |
| 904 | 912 | border-color: #d93025; |
| 905 | 913 | } |
| 906 | 914 | |
| 915 | +.ays-survey-container .ays-survey-section-terms-and-conditions-content .ays-has-error{ | |
| 916 | + border: 1px solid #d93025; | |
| 917 | +} | |
| 918 | + | |
| 919 | +.ays-survey-container .ays-survey-is-checked-terms-and-conditions:checked + span{ | |
| 920 | + border-color: black; | |
| 921 | +} | |
| 922 | + | |
| 907 | 923 | .ays-survey-container .ays-survey-section .ays-survey-question.ays-has-error .ays-survey-question-validation-error , |
| 908 | 924 | .ays-survey-container .ays-survey-section .ays-survey-question.ays-has-error .ays-survey-votes-count-validation-error { |
| 909 | 925 | -webkit-box-align: center; |
| 910 | 926 | box-align: center; |
| @@ -1392,8 +1408,88 @@ | ||
| 1392 | 1408 | button.ays-survey-links-by-category-link-button:disabled{ |
| 1393 | 1409 | background: #afb0b0; |
| 1394 | 1410 | } |
| 1395 | 1411 | |
| 1412 | +/* Popup Animations */ | |
| 1413 | +@keyframes ays-popup-fade-in { | |
| 1414 | + from { | |
| 1415 | + opacity: 0; | |
| 1416 | + } | |
| 1417 | + to { | |
| 1418 | + opacity: 1; | |
| 1419 | + } | |
| 1420 | +} | |
| 1421 | + | |
| 1422 | +@keyframes ays-popup-slide-down { | |
| 1423 | + from { | |
| 1424 | + opacity: 0; | |
| 1425 | + transform: translateY(-50px); | |
| 1426 | + } | |
| 1427 | + to { | |
| 1428 | + opacity: 1; | |
| 1429 | + transform: translateY(0); | |
| 1430 | + } | |
| 1431 | +} | |
| 1432 | + | |
| 1433 | +@keyframes ays-popup-slide-up { | |
| 1434 | + from { | |
| 1435 | + opacity: 0; | |
| 1436 | + transform: translateY(50px); | |
| 1437 | + } | |
| 1438 | + to { | |
| 1439 | + opacity: 1; | |
| 1440 | + transform: translateY(0); | |
| 1441 | + } | |
| 1442 | +} | |
| 1443 | + | |
| 1444 | +@keyframes ays-popup-zoom-in { | |
| 1445 | + from { | |
| 1446 | + opacity: 0; | |
| 1447 | + transform: scale(0.8); | |
| 1448 | + } | |
| 1449 | + to { | |
| 1450 | + opacity: 1; | |
| 1451 | + transform: scale(1); | |
| 1452 | + } | |
| 1453 | +} | |
| 1454 | + | |
| 1455 | +@keyframes ays-popup-bounce { | |
| 1456 | + 0% { | |
| 1457 | + opacity: 0; | |
| 1458 | + transform: scale(0.3); | |
| 1459 | + } | |
| 1460 | + 50% { | |
| 1461 | + opacity: 1; | |
| 1462 | + transform: scale(1.05); | |
| 1463 | + } | |
| 1464 | + 70% { | |
| 1465 | + transform: scale(0.9); | |
| 1466 | + } | |
| 1467 | + 100% { | |
| 1468 | + transform: scale(1); | |
| 1469 | + } | |
| 1470 | +} | |
| 1471 | + | |
| 1472 | +.ays-survey-popup-survey-window.ays-popup-animation-fade { | |
| 1473 | + animation: ays-popup-fade-in 0.3s ease-in-out; | |
| 1474 | +} | |
| 1475 | + | |
| 1476 | +.ays-survey-popup-survey-window.ays-popup-animation-slide-down { | |
| 1477 | + animation: ays-popup-slide-down 0.4s ease-out; | |
| 1478 | +} | |
| 1479 | + | |
| 1480 | +.ays-survey-popup-survey-window.ays-popup-animation-slide-up { | |
| 1481 | + animation: ays-popup-slide-up 0.4s ease-out; | |
| 1482 | +} | |
| 1483 | + | |
| 1484 | +.ays-survey-popup-survey-window.ays-popup-animation-zoom-in { | |
| 1485 | + animation: ays-popup-zoom-in 0.3s ease-out; | |
| 1486 | +} | |
| 1487 | + | |
| 1488 | +.ays-survey-popup-survey-window.ays-popup-animation-bounce { | |
| 1489 | + animation: ays-popup-bounce 0.5s ease-out; | |
| 1490 | +} | |
| 1491 | + | |
| 1396 | 1492 | .ays-survey-container .ays-survey-sections .ays-survey-question sup{ |
| 1397 | 1493 | position: static; |
| 1398 | 1494 | padding-left: 5px; |
| 1399 | 1495 | } |
| @@ -1654,5 +1750,285 @@ | ||
| 1654 | 1750 | letter-spacing: .2px; |
| 1655 | 1751 | padding: 10px; |
| 1656 | 1752 | box-sizing: border-box; |
| 1657 | 1753 | } |
| 1658 | -/* Date question type END */ | |
| 1754 | +/* Date question type END */ | |
| 1755 | + | |
| 1756 | +.ays-survey-container input.ays-survey-password[type="password"] { | |
| 1757 | + padding: 15px; | |
| 1758 | + border: 1px solid #ccc; | |
| 1759 | + margin: 0; | |
| 1760 | + border-radius: 3px!important; | |
| 1761 | + width: 100%; | |
| 1762 | + box-sizing: border-box; | |
| 1763 | + color: #2C3E50; | |
| 1764 | + font-size: 13px; | |
| 1765 | + height: auto; | |
| 1766 | +} | |
| 1767 | + | |
| 1768 | +.ays-survey-container .ays-survey-sections .ays-survey-section input.ays-survey-section-button.ays-check-survey-password { | |
| 1769 | + display: inline-block; | |
| 1770 | + margin: 0; | |
| 1771 | + padding: 0 24px; | |
| 1772 | + font-family: 'Google Sans',Roboto, Arial,sans-serif; | |
| 1773 | + font-size: 14px; | |
| 1774 | + font-weight: 500; | |
| 1775 | + letter-spacing: .25px; | |
| 1776 | + line-height: 36px; | |
| 1777 | + text-decoration: none; | |
| 1778 | + text-transform: none; | |
| 1779 | + min-width: auto; | |
| 1780 | + outline: none; | |
| 1781 | + transition: all 280ms cubic-bezier(0.4,0.0,0.2,1); | |
| 1782 | + -webkit-font-smoothing: antialiased; | |
| 1783 | + -webkit-user-select: none; | |
| 1784 | + user-select: none; | |
| 1785 | + -webkit-transition: background .2s .1s; | |
| 1786 | + transition: background .2s .1s; | |
| 1787 | + border: 0; | |
| 1788 | + cursor: pointer; | |
| 1789 | +} | |
| 1790 | + | |
| 1791 | +/* Survey Preview page Notice style | Start */ | |
| 1792 | + | |
| 1793 | +#ays-survey-preview-notice-main-container.ays-survey-preview-notice-wrap { | |
| 1794 | + box-sizing: border-box; | |
| 1795 | + width: 100%; | |
| 1796 | + max-width: 700px; | |
| 1797 | + /* margin: 0 auto 32px; */ | |
| 1798 | + margin: 0; | |
| 1799 | + padding-top: 8px; | |
| 1800 | +} | |
| 1801 | + | |
| 1802 | +#ays-survey-preview-notice-main-container .ays-survey-preview-notice { | |
| 1803 | + box-sizing: border-box; | |
| 1804 | + display: flex; | |
| 1805 | + align-items: flex-start; | |
| 1806 | + gap: 12px; | |
| 1807 | + width: 100%; | |
| 1808 | + padding: 12px 16px; | |
| 1809 | + border: 1px solid #e5d3a6; | |
| 1810 | + border-radius: 12px; | |
| 1811 | + background: #fff9e8; | |
| 1812 | + box-shadow: | |
| 1813 | + 0 1px 2px rgba(15, 23, 42, 0.06), | |
| 1814 | + 0 1px 8px rgba(120, 88, 28, 0.12); | |
| 1815 | + color: #45351f; | |
| 1816 | + font-family: | |
| 1817 | + ui-sans-serif, | |
| 1818 | + system-ui, | |
| 1819 | + -apple-system, | |
| 1820 | + BlinkMacSystemFont, | |
| 1821 | + "Segoe UI", | |
| 1822 | + sans-serif; | |
| 1823 | +} | |
| 1824 | + | |
| 1825 | +#ays-survey-preview-notice-main-container .ays-survey-preview-notice-icon { | |
| 1826 | + display: flex; | |
| 1827 | + flex: 0 0 auto; | |
| 1828 | + align-items: center; | |
| 1829 | + justify-content: center; | |
| 1830 | + width: 28px; | |
| 1831 | + height: 28px; | |
| 1832 | + margin-top: 2px; | |
| 1833 | + border-radius: 50%; | |
| 1834 | + background: #ffedbf; | |
| 1835 | + color: #9a6a10; | |
| 1836 | +} | |
| 1837 | + | |
| 1838 | +#ays-survey-preview-notice-main-container .ays-survey-preview-notice-text { | |
| 1839 | + flex: 1 1 auto; | |
| 1840 | + margin: 0; | |
| 1841 | + color: #45351f; | |
| 1842 | + font-size: 14px; | |
| 1843 | + line-height: 1.625; | |
| 1844 | +} | |
| 1845 | + | |
| 1846 | +#ays-survey-preview-notice-main-container .ays-survey-preview-notice-text strong { | |
| 1847 | + color: #2f2619; | |
| 1848 | + font-weight: 600; | |
| 1849 | +} | |
| 1850 | + | |
| 1851 | +#ays-survey-preview-notice-main-container .ays-survey-preview-shortcode-actions { | |
| 1852 | + display: inline-flex; | |
| 1853 | + flex: 0 0 auto; | |
| 1854 | + flex-direction: column; | |
| 1855 | + align-items: stretch; | |
| 1856 | + gap: 4px; | |
| 1857 | +} | |
| 1858 | + | |
| 1859 | +#ays-survey-preview-notice-main-container .ays-survey-preview-copy-shortcode { | |
| 1860 | + display: inline-flex; | |
| 1861 | + align-items: center; | |
| 1862 | + justify-content: center; | |
| 1863 | + gap: 6px; | |
| 1864 | + margin: 0; | |
| 1865 | + padding: 6px 10px; | |
| 1866 | + border: 1px solid #d9c394; | |
| 1867 | + border-radius: 6px; | |
| 1868 | + background: rgba(255, 255, 255, 0.7); | |
| 1869 | + color: #3f321f; | |
| 1870 | + font-size: 12px; | |
| 1871 | + font-weight: 600; | |
| 1872 | + line-height: 1.2; | |
| 1873 | + cursor: pointer; | |
| 1874 | + transition: | |
| 1875 | + background-color 0.15s ease, | |
| 1876 | + color 0.15s ease, | |
| 1877 | + border-color 0.15s ease; | |
| 1878 | + white-space: nowrap; | |
| 1879 | +} | |
| 1880 | + | |
| 1881 | +#ays-survey-preview-notice-main-container .ays-survey-preview-shortcode-text { | |
| 1882 | + display: block; | |
| 1883 | + padding: 2px 6px; | |
| 1884 | + border: 1px solid rgba(217, 195, 148, 0.75); | |
| 1885 | + border-radius: 4px; | |
| 1886 | + background: rgba(255, 255, 255, 0.56); | |
| 1887 | + color: #5a4526; | |
| 1888 | + font-family: "Courier New", Courier, monospace; | |
| 1889 | + font-size: 11px; | |
| 1890 | + font-style: normal; | |
| 1891 | + font-weight: 600; | |
| 1892 | + line-height: 1.45; | |
| 1893 | + text-align: center; | |
| 1894 | + white-space: nowrap; | |
| 1895 | +} | |
| 1896 | + | |
| 1897 | +#ays-survey-preview-notice-main-container .ays-survey-preview-copy-shortcode:hover, | |
| 1898 | +#ays-survey-preview-notice-main-container .ays-survey-preview-copy-shortcode:focus { | |
| 1899 | + border-color: #c7aa69; | |
| 1900 | + background: #fff; | |
| 1901 | + color: #2f2619; | |
| 1902 | + outline: none; | |
| 1903 | +} | |
| 1904 | + | |
| 1905 | +#ays-survey-preview-notice-main-container .ays-survey-preview-copy-shortcode:focus { | |
| 1906 | + box-shadow: 0 0 0 2px rgba(195, 145, 36, 0.28); | |
| 1907 | +} | |
| 1908 | + | |
| 1909 | +#ays-survey-preview-notice-main-container p { | |
| 1910 | + margin: 0; | |
| 1911 | +} | |
| 1912 | + | |
| 1913 | +@media screen and (min-width: 640px) { | |
| 1914 | + #ays-survey-preview-notice-main-container .ays-survey-preview-notice { | |
| 1915 | + align-items: center; | |
| 1916 | + } | |
| 1917 | + | |
| 1918 | + #ays-survey-preview-notice-main-container .ays-survey-preview-notice-icon { | |
| 1919 | + margin-top: 0; | |
| 1920 | + } | |
| 1921 | +} | |
| 1922 | + | |
| 1923 | +@media screen and (max-width: 600px) { | |
| 1924 | + #ays-survey-preview-notice-main-container .ays-survey-preview-notice { | |
| 1925 | + flex-wrap: wrap; | |
| 1926 | + justify-content: center; | |
| 1927 | + text-align: center; | |
| 1928 | + } | |
| 1929 | + | |
| 1930 | + #ays-survey-preview-notice-main-container .ays-survey-preview-shortcode-actions { | |
| 1931 | + width: 100%; | |
| 1932 | + align-items: center; | |
| 1933 | + } | |
| 1934 | +} | |
| 1935 | + | |
| 1936 | +/* Survey Preview page Notice style | End */ | |
| 1937 | + | |
| 1938 | +/* Terms and conditions start */ | |
| 1939 | + | |
| 1940 | +div.ays-survey-section-terms-and-conditions-content .ays-survey-section-terms-and-conditions { | |
| 1941 | + margin-left: 0.40em; | |
| 1942 | + } | |
| 1943 | + | |
| 1944 | + div.ays-survey-section-terms-and-conditions-content .ays-survey-section-terms-and-conditions span { | |
| 1945 | + font-size: 15px; | |
| 1946 | + line-height: 1; | |
| 1947 | + font-family: Roboto,Arial,sans-serif;; | |
| 1948 | + font-weight: 400; | |
| 1949 | + letter-spacing: .2px; | |
| 1950 | + /* color: #333; */ | |
| 1951 | + min-width: 1px; | |
| 1952 | + } | |
| 1953 | + | |
| 1954 | + div.ays-survey-section-terms-and-conditions-container { | |
| 1955 | + padding: 10px; | |
| 1956 | + border-radius: 8px; | |
| 1957 | + width: 100%; | |
| 1958 | + margin-bottom: 10px; | |
| 1959 | + box-sizing: border-box; | |
| 1960 | + } | |
| 1961 | + | |
| 1962 | +div.ays-survey-section-terms-and-conditions-content .ays-survey-answer-label-terms-conditions{ | |
| 1963 | + margin: 0; | |
| 1964 | +} | |
| 1965 | + | |
| 1966 | +div.ays-survey-section-terms-and-conditions-content .ays-survey-answer-label-content{ | |
| 1967 | + padding: 5px; | |
| 1968 | + border-radius: 3px; | |
| 1969 | + width: 100%; | |
| 1970 | +} | |
| 1971 | + | |
| 1972 | +div.ays-survey-terms-and-conditions-content-box{ | |
| 1973 | + margin-bottom: 10px; | |
| 1974 | +} | |
| 1975 | + | |
| 1976 | +.ays-survey-answer-matrix-scale-column-row-header-scrolled{ | |
| 1977 | + position: sticky; | |
| 1978 | + left: 0; | |
| 1979 | + background-color: #f7f7f7; | |
| 1980 | + border: 0; | |
| 1981 | + box-shadow: inset -3px 0 5px -5px rgb(8 8 8 / 97%) !important; | |
| 1982 | + border-radius: 0 2px 2px 0; | |
| 1983 | + z-index: 1; | |
| 1984 | +} | |
| 1985 | + | |
| 1986 | +div.ays-survey-category-container-flex { | |
| 1987 | + display: flex; | |
| 1988 | + flex-wrap: wrap; | |
| 1989 | + justify-content: space-around; | |
| 1990 | +} | |
| 1991 | + | |
| 1992 | +div.ays-survey-section-terms-and-conditions-required-message-content > p.ays-survey-section-terms-and-conditions-required-message { | |
| 1993 | + font-size: 12px; | |
| 1994 | + padding: 0 5px; | |
| 1995 | + color: #d93025; | |
| 1996 | +} | |
| 1997 | + | |
| 1998 | +/* Terms and conditions end */ | |
| 1999 | + | |
| 2000 | + | |
| 2001 | +div.ays-survey-container .ays-survey-answer.ays-survey-answer-box-text-types-prefix-suffix { | |
| 2002 | + display: block; | |
| 2003 | +} | |
| 2004 | + | |
| 2005 | +@media screen and (max-width: 580px) { | |
| 2006 | + | |
| 2007 | + /* Prefix suffix mobile */ | |
| 2008 | + div.ays-survey-container .ays-survey-question-box.ays-survey-question-box-text-types-prefix-suffix .ays-survey-question-input-box { | |
| 2009 | + width: 60%; | |
| 2010 | + } | |
| 2011 | +} | |
| 2012 | + | |
| 2013 | +.ays-survey-container .ays-survey-question-box.ays-survey-question-box-text-types-prefix-suffix { | |
| 2014 | + display: flex; | |
| 2015 | + justify-content: flex-start; | |
| 2016 | + align-items: center; | |
| 2017 | + flex-wrap: wrap; | |
| 2018 | + max-width: 100%; | |
| 2019 | +} | |
| 2020 | + | |
| 2021 | +.ays-survey-container .ays-survey-question-box.ays-survey-question-box-text-types-prefix-suffix .ays-survey-question-answer-suffix, | |
| 2022 | +.ays-survey-container .ays-survey-question-box.ays-survey-question-box-text-types-prefix-suffix .ays-survey-question-answer-prefix { | |
| 2023 | + padding: 10px 16px; | |
| 2024 | + background: #F8F9FA; | |
| 2025 | + border-bottom: 1px solid rgba(211, 211, 211, 1); | |
| 2026 | + border-radius: 4px 4px 0 0; | |
| 2027 | + font-size: 15px; | |
| 2028 | +} | |
| 2029 | + | |
| 2030 | +.ays-survey-container .ays-survey-question-box.ays-survey-question-box-text-types-prefix-suffix .ays-survey-question-input-box { | |
| 2031 | + width: 230px; | |
| 2032 | + max-width: 100%; | |
| 2033 | + margin: 0 5px; | |
| 2034 | +} | |