Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page - Version 19.8.11

Version Description

  • new tutorials & help experience
    • new getting started experience
    • internal code improvements
Download this release

Release Info

Developer artemopinionstage
Plugin Icon 128x128 Poll, Survey, Quiz, Slideshow, Form, Story & Landing Page
Version 19.8.11
Comparing to
See all releases

Code changes from version 19.8.10 to 19.8.11

admin/css/menu-page.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:'os-icon-plugin-plugin-font';src:url("fonts/os-icon-font.eot?frvqyp");src:url("fonts/os-icon-font.eot?frvqyp#iefix") format("embedded-opentype"),url("fonts/os-icon-font.ttf?frvqyp") format("truetype"),url("fonts/os-icon-font.woff?frvqyp") format("woff"),url("fonts/os-icon-font.svg?frvqyp#os-iconn-font") format("svg");font-weight:normal;font-style:normal}.opinionstage-content-popup-contents [class^="icon-"],.opinionstage-content-popup-contents [class*=" icon-"],#wpwrap [class^="icon-"],#wpwrap [class*=" icon-"]{font-family:'os-icon-plugin-plugin-font' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-common-date:before{content:"\E91A"}.icon-os-status-closed:before{content:"\e95f"}.icon-os-status-open:before{content:"\e961"}.icon-os-plugin-form-address:before{content:"\e900"}.icon-os-plugin-form-email:before{content:"\e901"}.icon-os-plugin-form-name:before{content:"\e902"}.icon-os-plugin-form-phone:before{content:"\e903"}.icon-os-plugin-common-arrow-left2:before{content:"\e904"}.icon-os-plugin-common-arrow-right2:before{content:"\e905"}.icon-os-plugin-reports-list:before{content:"\e906"}.icon-os-plugin-reports-personality:before{content:"\e907"}.icon-os-plugin-reports-poll:before{content:"\e908"}.icon-os-plugin-reports-set:before{content:"\e909"}.icon-os-plugin-widget-slideshow:before{content:"\e90a"}.icon-os-plugin-reports-trivia:before{content:"\e90b"}.icon-os-plugin-common-up:before{content:"\e90c"}.icon-os-plugin-layout-image-poll:before{content:"\e90d"}.icon-os-plugin-common-arrow-left:before{content:"\e90e"}.icon-os-plugin-common-arrow-right:before{content:"\e90f"}.icon-os-plugin-form-user:before{content:"\e910"}.icon-os-plugin-sn-pinterest:before{content:"\e911"}.icon-os-plugin-sn-reddit:before{content:"\e912"}.icon-os-plugin-sn-whatsapp:before{content:"\e913"}.icon-os-plugin-brand-logo-small:before{content:"\e914"}.icon-os-plugin-brand-logo:before{content:"\e915"}.icon-os-plugin-common-addnew:before{content:"\e916"}.icon-os-plugin-common-checkbox-blank:before{content:"\e917"}.icon-os-plugin-common-checkbox-checked:before{content:"\e918"}.icon-os-plugin-common-close:before{content:"\e919"}.icon-os-plugin-common-date:before{content:"\e91a"}.icon-os-plugin-common-dot:before{content:"\e91b"}.icon-os-plugin-common-down:before{content:"\e91c"}.icon-os-plugin-common-help:before{content:"\e91d"}.icon-os-plugin-common-link:before{content:"\e91e"}.icon-os-plugin-common-menu-dd-closed:before{content:"\e91f"}.icon-os-plugin-common-menu-dd-open:before{content:"\e920"}.icon-os-plugin-common-menu-medium:before{content:"\e921"}.icon-os-plugin-common-menu:before{content:"\e922"}.icon-os-plugin-common-minimize:before{content:"\e923"}.icon-os-plugin-common-more:before{content:"\e924"}.icon-os-plugin-common-plus:before{content:"\e925"}.icon-os-plugin-common-poll:before{content:"\e926"}.icon-os-plugin-common-search:before{content:"\e927"}.icon-os-plugin-common-settings:before{content:"\e928"}.icon-os-plugin-common-tip:before{content:"\e929"}.icon-os-plugin-filter-all:before{content:"\e92a"}.icon-os-plugin-filter-facebook:before{content:"\e92b"}.icon-os-plugin-filter-female:before{content:"\e92c"}.icon-os-plugin-filter-friends:before{content:"\e92d"}.icon-os-plugin-filter-gplus:before{content:"\e92e"}.icon-os-plugin-filter-hidden:before{content:"\e92f"}.icon-os-plugin-filter-male:before{content:"\e930"}.icon-os-plugin-filter-public:before{content:"\e931"}.icon-os-plugin-filter-seperator:before{content:"\e932"}.icon-os-plugin-filter-twitter:before{content:"\e933"}.icon-os-plugin-form-check:before{content:"\e934"}.icon-os-plugin-form-drag:before{content:"\e935"}.icon-os-plugin-form-error:before{content:"\e936"}.icon-os-plugin-form-image:before{content:"\e937"}.icon-os-plugin-form-success:before{content:"\e938"}.icon-os-plugin-form-video:before{content:"\e939"}.icon-os-plugin-hp-engagement:before{content:"\e93a"}.icon-os-plugin-hp-insights:before{content:"\e93b"}.icon-os-plugin-hp-revenue:before{content:"\e93c"}.icon-os-plugin-hp-traffic:before{content:"\e93d"}.icon-os-plugin-layout-h2h:before{content:"\e93e"}.icon-os-plugin-layout-mc:before{content:"\e93f"}.icon-os-plugin-layout-thumbnails:before{content:"\e940"}.icon-os-plugin-menu-content:before{content:"\e941"}.icon-os-plugin-menu-placements:before{content:"\e942"}.icon-os-plugin-menu-reports:before{content:"\e943"}.icon-os-plugin-menu-revenue:before{content:"\e944"}.icon-os-plugin-pinterest:before{content:"\e945"}.icon-os-plugin-poll-client:before{content:"\e946"}.icon-os-plugin-poll-voter:before{content:"\e947"}.icon-os-plugin-quiz-correct:before{content:"\e948"}.icon-os-plugin-quiz-restart:before{content:"\e949"}.icon-os-plugin-quiz-wrong:before{content:"\e94a"}.icon-os-plugin-report-contacts:before{content:"\e94b"}.icon-os-plugin-report-discovery:before{content:"\e94c"}.icon-os-plugin-report-revenue:before{content:"\e94d"}.icon-os-plugin-report-stats:before{content:"\e94e"}.icon-os-plugin-report-time:before{content:"\e94f"}.icon-os-plugin-report-views:before{content:"\e950"}.icon-os-plugin-reports-emails:before{content:"\e951"}.icon-os-plugin-reports-polls:before{content:"\e952"}.icon-os-plugin-reports-revenue:before{content:"\e953"}.icon-os-plugin-reports-sets:before{content:"\e954"}.icon-os-plugin-reports-time:before{content:"\e955"}.icon-os-plugin-reports-traffic:before{content:"\e956"}.icon-os-plugin-reports-votes:before{content:"\e957"}.icon-os-plugin-set-arrow-left:before{content:"\e958"}.icon-os-plugin-set-arrow-right:before{content:"\e959"}.icon-os-plugin-sn-embed:before{content:"\e95a"}.icon-os-plugin-sn-facebook:before{content:"\e95b"}.icon-os-plugin-sn-gplus:before{content:"\e95c"}.icon-os-plugin-sn-tumblr:before{content:"\e95d"}.icon-os-plugin-sn-twitter:before{content:"\e95e"}.icon-os-plugin-status-closed:before{content:"\e95f"}.icon-os-plugin-status-draft:before{content:"\e960"}.icon-os-plugin-status-open:before{content:"\e961"}.icon-os-plugin-status-published:before{content:"\e962"}.icon-os-plugin-widget-form:before{content:"\e963"}.icon-os-icon-plugin-story:before{content:"\e964"}.opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__blue{background-color:#32adbc}.opinionstage-button__white{background-color:#fff;border:1px solid #DDDDDD;color:#32373c}.opinionstage-button__white:hover{color:#32373c}.opinionstage-button__uppercase{text-transform:uppercase}#opinionstage-content{height:auto;margin:0;min-height:100%;overflow:hidden;padding-top:20px;width:100%}#opinionstage-content .opinionstage-header-wrapper{background:#232121;margin-right:20px;overflow:hidden;position:relative}#opinionstage-content .opinionstage-logo-wrapper{padding:10px 30px;max-width:780px}#opinionstage-content .opinionstage-logo{background:url("../images/os-logo-header.png") no-repeat 0 0;background-size:contain;display:inline-block;height:30px;width:150px}#opinionstage-content .opinionstage-logo__dark{background:url("../images/logo-dark-font.svg") no-repeat 0 0;background-size:contain}#opinionstage-content .opinionstage-status-content{background-color:#fff;border-bottom:3px solid #32adbc;color:#000;height:109px;padding:20px 35px 0}#opinionstage-content .opinionstage-status-content-connected{color:#fff;height:115px;padding:30px 30px 0}#opinionstage-content .opinionstage-connect-form{display:inline-block}#opinionstage-content .opinionstage-status-title{font-size:24px;font-weight:bold;line-height:25px;margin-bottom:14px}#opinionstage-content .opinionstage-status-title .opinionstage-title{font-size:20px}#opinionstage-content .opinionstage-status-content .os-icon-plugin{font-size:19px;margin-right:7px}#opinionstage-content .opinionstage-blue-btn{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#ffffff;display:inline-block;font-size:15px;font-weight:600;min-width:130px;padding:11px 10px;text-decoration:none;text-align:center;transition:0.2s ease;margin-right:0}#opinionstage-content .opinionstage-blue-btn:hover{background-color:#2f9fad}#opinionstage-content .opinionstage-blue-btn.border{background:#fff;color:#32adbc;border:1px solid #32adbc}#opinionstage-content .opinionstage-blue-btn.border:hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:block;padding:10px 5px;text-align:center;text-decoration:none}#opinionstage-content .opinionstage-dashboard-right a.opinionstage-blue-bordered-btn{float:left;margin-right:5px}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled{color:#cacac8;border:1px solid #cacac8}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled:hover{background-color:#f9f9f9;color:#cacac8;cursor:default}#opinionstage-content .opinionstage-dashboard{background-color:#fff;margin-right:20px;min-height:800px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-left{margin:30px}#opinionstage-content .opinionstage-dashboard-left .opinionstage-section-header .opinionstage-section-title{float:left;font-size:30px;padding:0;line-height:1}#opinionstage-content #opinionstage-section-create .opinionstage-section-content{height:435px;display:table;border-collapse:collapse;width:100%;max-width:960px}#opinionstage-content #opinionstage-section-create .opinionstage-section-raw{border:1px solid #c8c8c9;display:table-row;border-left:none;border-right:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell{display:table-cell;padding:20px 0;vertical-align:middle}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-icon-cell{color:#3499c2;font-size:35px;text-align:center;width:7%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell{text-align:right;width:36%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell a:last-child{margin-right:0}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell{width:57%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .title{font-size:22px;font-weight:600;margin-bottom:5px;color:#3c434a;text-decoration:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .example{color:#b1b1b1;font-size:14px;line-height:normal}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{padding:12px 10px;text-transform:capitalize;min-width:150px}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:10px}@media (max-width: 1230px){#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{display:block;width:auto}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:0;margin-bottom:10px}}#opinionstage-content .opinionstage-help-row{border-bottom:1px solid #c8c8c9;margin:0 10px;padding:25px 0 25px 10px}#opinionstage-content .opinionstage-help-row:last-child{border-bottom:none}#opinionstage-content .content__list{overflow-y:visible;height:auto;min-height:calc(92vh - 160px)}#opinionstage-content a.opinionstage-blue-bordered-btn :hover,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn :hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn:focus,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}p.failed-load-items-request{text-align:center;font-size:16px;padding:15px 0;max-width:1000px}.toplevel_page_opinionstage-getting-started{background:#F5F7FA}.toplevel_page_opinionstage-getting-started #wpcontent{padding-left:0}.opinionstage-getting-started-section{padding:25px;max-width:950px;color:#6E6E6E;margin-left:170px}@media (max-width: 1024px){.opinionstage-getting-started-section{margin-left:30px}}@media (max-width: 768px){.opinionstage-getting-started-section{margin-left:0}}.opinionstage-getting-started-section__no-padding{padding:0 !important}.opinionstage-getting-started-section .opinionstage-connect-form .opinionstage-button{font-weight:400}.opinionstage-getting-started-section .opinionstage-logo{margin-left:25px;margin-top:25px}.opinionstage-getting-started-section .opinionstage-button{border-radius:0;margin-right:.5em;min-width:165px}.opinionstage-two-columns{color:#6E6E6E;display:flex;flex-wrap:wrap;padding-bottom:85px}@media (max-width: 768px){.opinionstage-two-columns{text-align:center}}.opinionstage-two-columns__title{font-size:30px;line-height:1.3;font-weight:600;margin-top:-5px}.opinionstage-two-columns__text{width:47%}@media (max-width: 768px){.opinionstage-two-columns__text{width:100%;margin-bottom:55px}}.opinionstage-two-columns__text p{color:#25282B;font-size:18px;margin-bottom:42px}.opinionstage-two-columns__img{padding-left:30px;width:53%;box-sizing:border-box}@media (max-width: 768px){.opinionstage-two-columns__img{width:100%}}.opinionstage-two-columns__img img{width:100%}.opinionstage-bg-white{background:#fff}.opinionstage-getting-started-footer{background-color:#F5F7FA}.opinionstage-getting-started-footer__title{text-align:center;font-size:18px;font-weight:600}@media (max-width: 500px){.opinionstage-getting-started-footer__title{text-align:left}}.opinionstage-getting-started-footer__items{display:flex;padding-top:25px;justify-content:space-between}@media (max-width: 500px){.opinionstage-getting-started-footer__items{flex-direction:column}}.opinionstage-getting-started-footer__item__title{font-size:14px;line-height:20px}.opinionstage-getting-started-footer__list{font-size:14px;line-height:30px}.opinionstage-getting-started-footer__list a{color:#25282B}.opinionstage-connect-form .opinionstage-button{min-height:50px}.opinionstage-connect-form__disconnect button[type=submit]{margin-bottom:0;min-height:auto}.gettingStartedSection{background:#fff;margin-right:20px;min-height:500px;overflow:hidden;padding:30px}.gettingStartedSection p{font-size:20px;margin:0;margin-bottom:20px}h1.gettingStartedHeading{font-size:30px;letter-spacing:1px;line-height:35px;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:100%}#opinionstage-content a.gettingStartedCreate.button{background:#3499c2;box-shadow:0 0 0 0;color:#ffffff;display:block;font-size:20px;height:auto;letter-spacing:1px;margin-top:20px;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:11px 10px;width:100%}@media only screen and (max-width: 375px){.gettingStartedSection{padding-left:0 !important;padding-right:0 !important;padding-top:20px !important}#opinionstage-content .opinionstage-status-content{height:160px !important}#opinionstage-content .opinionstage-status-content-connected{height:162px !important}.gettingStartedSection p{text-align:center}#opinionstage-content .opinionstage-blue-btn{margin-left:30px;margin-top:15px}#opinionstage-content a.gettingStartedCreate.button{margin:20px auto 0 !important}.text-section-getting-stared-os p{text-align:left}}.opinionstage-dashboard-left .os_use_template_btn{margin:0;padding:12px 15px !important}td.long{padding-left:10px;width:48%}td.long>div{position:relative;width:90%;height:85px}td.long table{bottom:0;color:#b1b1b1;line-height:normal;position:absolute;width:100%}td.long table td{max-width:300px}td.long a{color:#212120;display:block;font-size:16px;font-weight:normal;line-height:normal;max-height:3.6em;max-width:100%;overflow:hidden;position:absolute;text-decoration:none;text-overflow:ellipsis;word-wrap:break-word;white-space:nowrap}td.action{width:30%}td.action a.opinionstage-blue-bordered-btn{font-size:15px;margin-right:9px}span.os-icon-plugin.icon-os-common-date{float:left;margin-right:4px}.label{line-height:15px}.content-item-label{background-color:#222120;color:#fff;font-size:12px;padding:2px 4px}a.opinionstage-blue-bordered-btn{float:left;margin-right:5px;border:1px solid #3aaebd;border-radius:3px;color:#3aaebd;display:block;font-size:14px;padding:10px 30px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.2s ease}.content-item-label{background-color:#222120;color:white;font-size:12px;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;top:0}.opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-section-header{font-size:23px;height:40px;overflow:visible}.opinionstage-anchors-list{position:absolute;z-index:10;top:100%;left:0;width:100%;background:white;border:1px solid #e5e5e5;opacity:0;visibility:hidden;transition:all .5s ease;margin-top:17px;margin-bottom:0}.opinionstage-anchors-list.opened{opacity:1;visibility:visible}.opinionstage-anchors-list a{width:100%}div#container .opinionstage-section-header{width:100%}.opinionstage-section-title{float:left;font-size:30px;padding:10px 0}.opinionstage-need-help-link{float:right !important}.opinionstage-section-header a{color:#32adbc;float:right;font-size:14px;font-weight:600;line-height:normal;margin:10px 25px;margin-right:0;text-decoration:none}.opinionstage-connectivity-status{color:#fff !important;float:right;font-size:15px;margin:5px 0}.opinionstage-disconnect{background-color:transparent;border:none;color:#32adbc !important;cursor:pointer}.opinionstage-disconnect:focus{border:none}.opinionstage-disconnect:focus{outline:0 none}.opinionstage-title{font-weight:bold}#overlay{background-color:#fdfdfdc7;display:block;height:100%;filter:alpha(opacity=70);opacity:0.7;position:absolute;width:100%;z-index:100;top:0}.opinionstage-item-view-dashboard{margin:30px;width:1000px}.opinionstage-header-inner-container{float:right}.opinionstage-header-inner-container .select-wrapper{padding:0 9px;display:inline-block}.opinionstage-header-inner-container .select-wrapper:last-child{padding-right:0}.opinionstage-header-inner-container .opinionstage-header-inner-section{border-right:1px solid #f3f3f3;float:left;padding-right:4px}.opinionstage-header-inner-section a,.os-long-text a{text-decoration:none}.search-container{background-color:transparent;display:inline-block;width:150px}.opinionstage-section-header #itemList{font-size:12px;font-weight:bold;height:auto;padding:10px;width:100%}.opinionstage-section-header #opinionstage-my-items-search-field{color:#797979;height:auto;padding:8.5px 10px;width:100%}.opinionstage-item-action-container{float:right}.opinionstage-item-action-container .opinionstage-edit-content{padding:13px 17px !important}div#opinionstage-load-more{background-color:#f1f1f1;border-color:#f1f1f1;color:#444;margin:0}.gettingStartedContainer{background:url(../images/bitmap_top.png) no-repeat 0 0;background-color:#32adbc;background-position:right;height:170px;width:760px}.opinionstage-resources-title{padding:40px 0}.gettingBlockContainer{width:760px}.gettingTemplateTutorial{margin-right:10px}.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{border:2px solid #32adbc;color:#32adbc;font-size:15px;font-weight:bold;margin-top:10px;padding:20px 0;text-align:center;text-decoration:none;width:100%;float:left}.gettingTemplateGallery:hover,.gettingTemplateTutorial:hover,a.help-center-os:hover{background-color:rgba(49,174,190,0.1);color:#32adbc}.gettingTemplateGallery:focus,.gettingTemplateTutorial:focus,a.help-center-os:focus{background-color:rgba(49,174,190,0.1);box-shadow:none;color:#32adbc}@media (min-width: 769px){.gettingTemplateGallery,.gettingTemplateTutorial,a.help-center-os{max-width:370px}}a.help-center-os{padding:29px 0}.opinionstage-item-view-dashboard #opinionstage-items-table{width:100%}.opinionstage-item-view-dashboard #opinionstage-items-table div.label{font-size:13px}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin-bottom:5px}#opinionistage-my-items-page-modal-wrapper{display:none;position:fixed;height:100%;width:100%;bottom:0;left:0;border-radius:6px / 6px;background-color:rgba(0,0,0,0.8);z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#opinionistage-my-items-page-modal-wrapper .inner{background:#f5f5f5;padding:1px 15px 10px 15px;margin-top:20px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:6px;overflow:hidden;width:650px;padding:25px 35px;font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a{color:#32adbc}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a:focus{outline:none;box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a.no-text-decoration{text-decoration:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal p{font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper{display:flex;align-items:center}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea{resize:none;margin:10px 10px 10px 0;padding:10px;width:500px;border-radius:0 0 3px 3px;border:1px solid #3aaebd;background:#fff}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea:focus{box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before,#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{position:absolute;left:15px;content:' ';height:17px;width:2px;background-color:#b1b1b1}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{transform:rotate(-45deg)}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before{transform:rotate(45deg)}#opinionistage-my-items-page-modal-wrapper ul{margin-left:17px;list-style:disc}#opinionistage-my-items-page-modal-wrapper ul li{margin-bottom:15px}.toplevel_page_opinionstage-settings .selected-draft__container{position:fixed !important}@media only screen and (max-width: 1230px){#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{float:none;width:auto}#opinionstage-content .opinionstage-dashboard{overflow-y:scroll}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-section-header .opinionstage-section-title{padding:25px 0}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section .opinionstage-section-header{height:95px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header .opinionstage-header-inner-section a{display:block;float:none}.opinionstage-create-btn{margin-bottom:10px;margin-right:0}.opinionstage-item-action-container{float:none}#opinionstage-items-table .action .opinionstage-item-action-container a{display:block;float:none;margin-bottom:10px;width:80%}.opinionstage-item-view-dashboard{width:auto}}.opinionstage-no-items{font-weight:600;font-size:15px;color:#212120}a.opinionstage-add-our-first-item{font-weight:600;font-size:15px;color:#3499c2}@media only screen and (max-width: 768px){.gettingStartedSection{width:auto}.gettingStartedContainer,.gettingBlockContainer{width:100%}.gettingBlockContainer .gettingTemplateGallery,.gettingBlockContainer .gettingTemplateTutorial{display:block;float:none;width:100%}}
1
+ @font-face{font-family:'os-icon-plugin-plugin-font';src:url("fonts/os-icon-font.eot?frvqyp");src:url("fonts/os-icon-font.eot?frvqyp#iefix") format("embedded-opentype"),url("fonts/os-icon-font.ttf?frvqyp") format("truetype"),url("fonts/os-icon-font.woff?frvqyp") format("woff"),url("fonts/os-icon-font.svg?frvqyp#os-iconn-font") format("svg");font-weight:normal;font-style:normal}.opinionstage-content-popup-contents [class^="icon-"],.opinionstage-content-popup-contents [class*=" icon-"],#wpwrap [class^="icon-"],#wpwrap [class*=" icon-"]{font-family:'os-icon-plugin-plugin-font' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-os-common-date:before{content:"\E91A"}.icon-os-status-closed:before{content:"\e95f"}.icon-os-status-open:before{content:"\e961"}.icon-os-plugin-form-address:before{content:"\e900"}.icon-os-plugin-form-email:before{content:"\e901"}.icon-os-plugin-form-name:before{content:"\e902"}.icon-os-plugin-form-phone:before{content:"\e903"}.icon-os-plugin-common-arrow-left2:before{content:"\e904"}.icon-os-plugin-common-arrow-right2:before{content:"\e905"}.icon-os-plugin-reports-list:before{content:"\e906"}.icon-os-plugin-reports-personality:before{content:"\e907"}.icon-os-plugin-reports-poll:before{content:"\e908"}.icon-os-plugin-reports-set:before{content:"\e909"}.icon-os-plugin-widget-slideshow:before{content:"\e90a"}.icon-os-plugin-reports-trivia:before{content:"\e90b"}.icon-os-plugin-common-up:before{content:"\e90c"}.icon-os-plugin-layout-image-poll:before{content:"\e90d"}.icon-os-plugin-common-arrow-left:before{content:"\e90e"}.icon-os-plugin-common-arrow-right:before{content:"\e90f"}.icon-os-plugin-form-user:before{content:"\e910"}.icon-os-plugin-sn-pinterest:before{content:"\e911"}.icon-os-plugin-sn-reddit:before{content:"\e912"}.icon-os-plugin-sn-whatsapp:before{content:"\e913"}.icon-os-plugin-brand-logo-small:before{content:"\e914"}.icon-os-plugin-brand-logo:before{content:"\e915"}.icon-os-plugin-common-addnew:before{content:"\e916"}.icon-os-plugin-common-checkbox-blank:before{content:"\e917"}.icon-os-plugin-common-checkbox-checked:before{content:"\e918"}.icon-os-plugin-common-close:before{content:"\e919"}.icon-os-plugin-common-date:before{content:"\e91a"}.icon-os-plugin-common-dot:before{content:"\e91b"}.icon-os-plugin-common-down:before{content:"\e91c"}.icon-os-plugin-common-help:before{content:"\e91d"}.icon-os-plugin-common-link:before{content:"\e91e"}.icon-os-plugin-common-menu-dd-closed:before{content:"\e91f"}.icon-os-plugin-common-menu-dd-open:before{content:"\e920"}.icon-os-plugin-common-menu-medium:before{content:"\e921"}.icon-os-plugin-common-menu:before{content:"\e922"}.icon-os-plugin-common-minimize:before{content:"\e923"}.icon-os-plugin-common-more:before{content:"\e924"}.icon-os-plugin-common-plus:before{content:"\e925"}.icon-os-plugin-common-poll:before{content:"\e926"}.icon-os-plugin-common-search:before{content:"\e927"}.icon-os-plugin-common-settings:before{content:"\e928"}.icon-os-plugin-common-tip:before{content:"\e929"}.icon-os-plugin-filter-all:before{content:"\e92a"}.icon-os-plugin-filter-facebook:before{content:"\e92b"}.icon-os-plugin-filter-female:before{content:"\e92c"}.icon-os-plugin-filter-friends:before{content:"\e92d"}.icon-os-plugin-filter-gplus:before{content:"\e92e"}.icon-os-plugin-filter-hidden:before{content:"\e92f"}.icon-os-plugin-filter-male:before{content:"\e930"}.icon-os-plugin-filter-public:before{content:"\e931"}.icon-os-plugin-filter-seperator:before{content:"\e932"}.icon-os-plugin-filter-twitter:before{content:"\e933"}.icon-os-plugin-form-check:before{content:"\e934"}.icon-os-plugin-form-drag:before{content:"\e935"}.icon-os-plugin-form-error:before{content:"\e936"}.icon-os-plugin-form-image:before{content:"\e937"}.icon-os-plugin-form-success:before{content:"\e938"}.icon-os-plugin-form-video:before{content:"\e939"}.icon-os-plugin-hp-engagement:before{content:"\e93a"}.icon-os-plugin-hp-insights:before{content:"\e93b"}.icon-os-plugin-hp-revenue:before{content:"\e93c"}.icon-os-plugin-hp-traffic:before{content:"\e93d"}.icon-os-plugin-layout-h2h:before{content:"\e93e"}.icon-os-plugin-layout-mc:before{content:"\e93f"}.icon-os-plugin-layout-thumbnails:before{content:"\e940"}.icon-os-plugin-menu-content:before{content:"\e941"}.icon-os-plugin-menu-placements:before{content:"\e942"}.icon-os-plugin-menu-reports:before{content:"\e943"}.icon-os-plugin-menu-revenue:before{content:"\e944"}.icon-os-plugin-pinterest:before{content:"\e945"}.icon-os-plugin-poll-client:before{content:"\e946"}.icon-os-plugin-poll-voter:before{content:"\e947"}.icon-os-plugin-quiz-correct:before{content:"\e948"}.icon-os-plugin-quiz-restart:before{content:"\e949"}.icon-os-plugin-quiz-wrong:before{content:"\e94a"}.icon-os-plugin-report-contacts:before{content:"\e94b"}.icon-os-plugin-report-discovery:before{content:"\e94c"}.icon-os-plugin-report-revenue:before{content:"\e94d"}.icon-os-plugin-report-stats:before{content:"\e94e"}.icon-os-plugin-report-time:before{content:"\e94f"}.icon-os-plugin-report-views:before{content:"\e950"}.icon-os-plugin-reports-emails:before{content:"\e951"}.icon-os-plugin-reports-polls:before{content:"\e952"}.icon-os-plugin-reports-revenue:before{content:"\e953"}.icon-os-plugin-reports-sets:before{content:"\e954"}.icon-os-plugin-reports-time:before{content:"\e955"}.icon-os-plugin-reports-traffic:before{content:"\e956"}.icon-os-plugin-reports-votes:before{content:"\e957"}.icon-os-plugin-set-arrow-left:before{content:"\e958"}.icon-os-plugin-set-arrow-right:before{content:"\e959"}.icon-os-plugin-sn-embed:before{content:"\e95a"}.icon-os-plugin-sn-facebook:before{content:"\e95b"}.icon-os-plugin-sn-gplus:before{content:"\e95c"}.icon-os-plugin-sn-tumblr:before{content:"\e95d"}.icon-os-plugin-sn-twitter:before{content:"\e95e"}.icon-os-plugin-status-closed:before{content:"\e95f"}.icon-os-plugin-status-draft:before{content:"\e960"}.icon-os-plugin-status-open:before{content:"\e961"}.icon-os-plugin-status-published:before{content:"\e962"}.icon-os-plugin-widget-form:before{content:"\e963"}.icon-os-icon-plugin-story:before{content:"\e964"}.opinionstage-button{border-radius:3px;display:inline-block;border-style:hidden;color:#fff;font-size:15px;font-weight:600;min-width:100px;padding:9px 10px;text-decoration:none;text-align:center;transition:0.2s ease;cursor:pointer}.opinionstage-button:hover{color:#fff}.opinionstage-button__pink{background-color:#F46368}.opinionstage-button__blue{background-color:#32adbc}.opinionstage-button__white{background-color:#fff;border:1px solid #DDDDDD;color:#32373c}.opinionstage-button__white:hover{color:#32373c}.opinionstage-button__uppercase{text-transform:uppercase}#opinionstage-content{height:auto;margin:0;min-height:100%;overflow:hidden;padding-top:20px;width:100%}#opinionstage-content .opinionstage-header-wrapper{background:#232121;margin-right:20px;overflow:hidden;position:relative}#opinionstage-content .opinionstage-logo-wrapper{padding:10px 30px;max-width:780px}#opinionstage-content .opinionstage-logo{background:url("../images/os-logo-header.png") no-repeat 0 0;background-size:contain;display:inline-block;height:30px;width:150px}#opinionstage-content .opinionstage-logo__dark{background:url("../images/logo-dark-font.svg") no-repeat 0 0;background-size:contain}#opinionstage-content .opinionstage-connect-form{display:inline-block}#opinionstage-content .opinionstage-blue-btn{background-color:#32adbc;border-radius:3px;border-style:hidden;color:#ffffff;display:inline-block;font-size:15px;font-weight:600;min-width:130px;padding:11px 10px;text-decoration:none;text-align:center;transition:0.2s ease;margin-right:0}#opinionstage-content .opinionstage-blue-btn:hover{background-color:#2f9fad}#opinionstage-content .opinionstage-blue-btn.border{background:#fff;color:#32adbc;border:1px solid #32adbc}#opinionstage-content .opinionstage-blue-btn.border:hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn{border:1px solid #32adbc;border-radius:2px;color:#32adbc;display:block;padding:10px 5px;text-align:center;text-decoration:none}#opinionstage-content .opinionstage-dashboard-right a.opinionstage-blue-bordered-btn{float:left;margin-right:5px}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled{color:#cacac8;border:1px solid #cacac8}#opinionstage-content a.opinionstage-blue-bordered-btn.disabled:hover{background-color:#f9f9f9;color:#cacac8;cursor:default}#opinionstage-content .opinionstage-dashboard{background-color:#fff;margin-right:20px;min-height:800px;overflow:hidden}#opinionstage-content .opinionstage-dashboard-left{margin:30px}#opinionstage-content .opinionstage-dashboard-left .opinionstage-section-header .opinionstage-section-title{float:left;font-size:30px;padding:0;line-height:1}#opinionstage-content #opinionstage-section-create .opinionstage-section-content{height:435px;display:table;border-collapse:collapse;width:100%;max-width:960px}#opinionstage-content #opinionstage-section-create .opinionstage-section-raw{border:1px solid #c8c8c9;display:table-row;border-left:none;border-right:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell{display:table-cell;padding:20px 0;vertical-align:middle}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-icon-cell{color:#3499c2;font-size:35px;text-align:center;width:7%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell{text-align:right;width:36%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-btn-cell a:last-child{margin-right:0}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell{width:57%}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .title{font-size:22px;font-weight:600;margin-bottom:5px;color:#3c434a;text-decoration:none}#opinionstage-content #opinionstage-section-create .opinionstage-section-cell.opinionstage-description-cell .example{color:#b1b1b1;font-size:14px;line-height:normal}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{padding:12px 10px;text-transform:capitalize;min-width:150px}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:10px}@media (max-width: 1230px){#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn{display:block;width:auto}#opinionstage-content #opinionstage-section-create .opinionstage-blue-btn:not(:last-child){margin-right:0;margin-bottom:10px}}#opinionstage-content .opinionstage-help-row{border-bottom:1px solid #c8c8c9;margin:0 10px;padding:25px 0 25px 10px}#opinionstage-content .opinionstage-help-row:last-child{border-bottom:none}#opinionstage-content .content__list{overflow-y:visible;height:auto;min-height:calc(92vh - 160px)}#opinionstage-content .opinionstage-trusted{text-align:center;font-size:18px;line-height:50px;color:#85858A}#opinionstage-content .opinionstage-trusted span{color:#000}#opinionstage-content a.opinionstage-blue-bordered-btn :hover,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn :hover{background-color:rgba(49,174,190,0.1)}#opinionstage-content a.opinionstage-blue-bordered-btn:focus,.opinionstage-sidebar-widget a.opinionstage-blue-bordered-btn:focus{box-shadow:none}p.failed-load-items-request{text-align:center;font-size:16px;padding:15px 0;max-width:1000px}.toplevel_page_opinionstage-getting-started{background:#F5F7FA}.toplevel_page_opinionstage-getting-started #wpcontent{padding-left:0}.opinionstage-getting-started-section{padding:25px;max-width:950px;color:#6E6E6E;margin-left:170px}@media (max-width: 1024px){.opinionstage-getting-started-section{margin-left:30px}}@media (max-width: 768px){.opinionstage-getting-started-section{margin-left:0}}.opinionstage-getting-started-section__no-padding{padding:0 !important}.opinionstage-getting-started-section .opinionstage-connect-form .opinionstage-button{font-weight:500;font-size:18px}.opinionstage-getting-started-section .opinionstage-logo{margin-left:25px;margin-top:25px}.opinionstage-getting-started-section .opinionstage-button{border-radius:0;margin-right:.5em;min-width:165px}.opinionstage-getting-started-section .opinionstage-clients{display:flex;justify-content:space-between}.opinionstage-getting-started-section .opinionstage-clients li{display:flex}.opinionstage-getting-started-section .opinionstage-clients img{margin-top:auto;margin-bottom:auto}.opinionstage-two-columns{color:#6E6E6E;display:flex;flex-wrap:wrap;padding-bottom:85px}@media (max-width: 768px){.opinionstage-two-columns{text-align:center}}.opinionstage-two-columns__title{font-size:30px;line-height:1.3;font-weight:600;margin-top:-5px}.opinionstage-two-columns__text{width:47%}@media (max-width: 768px){.opinionstage-two-columns__text{width:100%;margin-bottom:55px}}.opinionstage-two-columns__text p{color:#25282B;font-size:18px;margin-bottom:42px}.opinionstage-two-columns__img{padding-left:30px;width:53%;box-sizing:border-box}@media (max-width: 768px){.opinionstage-two-columns__img{width:100%}}.opinionstage-two-columns__img img{width:100%}.opinionstage-bg-white{background:#fff}.opinionstage-bg-blue{background-color:#F5F7FA}.opinionstage-getting-started-examples{margin-bottom:80px}.opinionstage-getting-started-examples__title{text-align:center;font-weight:600;font-size:26px;line-height:32px;margin-top:85px}@media (max-width: 500px){.opinionstage-getting-started-examples__title{text-align:left}}.opinionstage-getting-started-examples__items{display:flex;padding-top:25px;justify-content:space-between}@media (max-width: 500px){.opinionstage-getting-started-examples__items{flex-direction:column}}.opinionstage-getting-started-examples__item__title{font-size:14px;line-height:20px}.opinionstage-getting-started-examples__list{font-size:15px;line-height:30px}.opinionstage-getting-started-examples__list a{color:#25282B}.opinionstage-getting-started-video{display:flex;flex-direction:column}.opinionstage-getting-started-video .opinionstage-getting-started-examples__title{margin-top:75px}.opinionstage-getting-started-video__description{text-align:center;font-size:15px;line-height:20px}.opinionstage-getting-started-video iframe{margin-left:auto;margin-right:auto;border:20px solid #fff;margin-top:30px;box-shadow:5px 5px rgba(0,0,0,0.04)}.opinionstage-connect-form .opinionstage-button{min-height:50px}.opinionstage-connect-form__disconnect button[type=submit]{margin-bottom:0;min-height:auto}h1.gettingStartedHeading{font-size:30px;letter-spacing:1px;line-height:35px;margin:0 auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;width:100%}#opinionstage-content a.gettingStartedCreate.button{background:#3499c2;box-shadow:0 0 0 0;color:#ffffff;display:block;font-size:20px;height:auto;letter-spacing:1px;margin-top:20px;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;padding:11px 10px;width:100%}@media only screen and (max-width: 375px){#opinionstage-content .opinionstage-blue-btn{margin-left:30px;margin-top:15px}#opinionstage-content a.gettingStartedCreate.button{margin:20px auto 0 !important}.text-section-getting-stared-os p{text-align:left}}.opinionstage-dashboard-left .os_use_template_btn{margin:0;padding:12px 15px !important}td.long{padding-left:10px;width:48%}td.long>div{position:relative;width:90%;height:85px}td.long table{bottom:0;color:#b1b1b1;line-height:normal;position:absolute;width:100%}td.long table td{max-width:300px}td.long a{color:#212120;display:block;font-size:16px;font-weight:normal;line-height:normal;max-height:3.6em;max-width:100%;overflow:hidden;position:absolute;text-decoration:none;text-overflow:ellipsis;word-wrap:break-word;white-space:nowrap}td.action{width:30%}td.action a.opinionstage-blue-bordered-btn{font-size:15px;margin-right:9px}span.os-icon-plugin.icon-os-common-date{float:left;margin-right:4px}.label{line-height:15px}.content-item-label{background-color:#222120;color:#fff;font-size:12px;padding:2px 4px}a.opinionstage-blue-bordered-btn{float:left;margin-right:5px;border:1px solid #3aaebd;border-radius:3px;color:#3aaebd;display:block;font-size:14px;padding:10px 30px;text-align:center;text-decoration:none;text-transform:uppercase;transition:.2s ease}.content-item-label{background-color:#222120;color:white;font-size:12px;left:0;padding:1px 5px;position:absolute;text-transform:uppercase;top:0}.opinionstage-with-separator:before{content:"";margin:0 10px;height:100%;border-left:1px solid #b1b1b1}.opinionstage-section-header{font-size:23px;height:40px;overflow:visible}.opinionstage-anchors-list{position:absolute;z-index:10;top:100%;left:0;width:100%;background:white;border:1px solid #e5e5e5;opacity:0;visibility:hidden;transition:all .5s ease;margin-top:17px;margin-bottom:0}.opinionstage-anchors-list.opened{opacity:1;visibility:visible}.opinionstage-anchors-list a{width:100%}div#container .opinionstage-section-header{width:100%}.opinionstage-section-title{float:left;font-size:30px;padding:10px 0}.opinionstage-need-help-link{float:right !important}.opinionstage-section-header a{color:#32adbc;float:right;font-size:14px;font-weight:600;line-height:normal;margin:10px 25px;margin-right:0;text-decoration:none}.opinionstage-connectivity-status{color:#fff !important;float:right;font-size:15px;margin:5px 0}.opinionstage-disconnect{background-color:transparent;border:none;color:#32adbc !important;cursor:pointer}.opinionstage-disconnect:focus{border:none}.opinionstage-disconnect:focus{outline:0 none}.opinionstage-title{font-weight:bold}#overlay{background-color:#fdfdfdc7;display:block;height:100%;filter:alpha(opacity=70);opacity:0.7;position:absolute;width:100%;z-index:100;top:0}.opinionstage-item-view-dashboard{margin:30px;width:1000px}.opinionstage-header-inner-container{float:right}.opinionstage-header-inner-container .select-wrapper{padding:0 9px;display:inline-block}.opinionstage-header-inner-container .select-wrapper:last-child{padding-right:0}.opinionstage-header-inner-container .opinionstage-header-inner-section{border-right:1px solid #f3f3f3;float:left;padding-right:4px}.opinionstage-header-inner-section a,.os-long-text a{text-decoration:none}.search-container{background-color:transparent;display:inline-block;width:150px}.opinionstage-section-header #itemList{font-size:12px;font-weight:bold;height:auto;padding:10px;width:100%}.opinionstage-section-header #opinionstage-my-items-search-field{color:#797979;height:auto;padding:8.5px 10px;width:100%}.opinionstage-item-action-container{float:right}.opinionstage-item-action-container .opinionstage-edit-content{padding:13px 17px !important}div#opinionstage-load-more{background-color:#f1f1f1;border-color:#f1f1f1;color:#444;margin:0}.opinionstage-item-view-dashboard #opinionstage-items-table{width:100%}.opinionstage-item-view-dashboard #opinionstage-items-table div.label{font-size:13px}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section{margin-bottom:5px}#opinionistage-my-items-page-modal-wrapper{display:none;position:fixed;height:100%;width:100%;bottom:0;left:0;border-radius:6px / 6px;background-color:rgba(0,0,0,0.8);z-index:9999;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}#opinionistage-my-items-page-modal-wrapper .inner{background:#f5f5f5;padding:1px 15px 10px 15px;margin-top:20px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal{background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:6px;overflow:hidden;width:650px;padding:25px 35px;font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a{color:#32adbc}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a:focus{outline:none;box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal a.no-text-decoration{text-decoration:none}#opinionistage-my-items-page-modal-wrapper .opinionistage-my-items-page-modal p{font-size:16px}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper{display:flex;align-items:center}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea{resize:none;margin:10px 10px 10px 0;padding:10px;width:500px;border-radius:0 0 3px 3px;border:1px solid #3aaebd;background:#fff}#opinionistage-my-items-page-modal-wrapper .opinionstage-textarea-wrapper textarea:focus{box-shadow:none}#opinionistage-my-items-page-modal-wrapper .opinionstage-close{position:absolute;right:16px;top:12px;width:20px;height:20px;cursor:pointer}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before,#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{position:absolute;left:15px;content:' ';height:17px;width:2px;background-color:#b1b1b1}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:after{transform:rotate(-45deg)}#opinionistage-my-items-page-modal-wrapper .opinionstage-close:before{transform:rotate(45deg)}#opinionistage-my-items-page-modal-wrapper ul{margin-left:17px;list-style:disc}#opinionistage-my-items-page-modal-wrapper ul li{margin-bottom:15px}.toplevel_page_opinionstage-settings .selected-draft__container{position:fixed !important}@media only screen and (max-width: 1230px){#opinionstage-content .opinionstage-dashboard-left,#opinionstage-content .opinionstage-dashboard-right{float:none;width:auto}#opinionstage-content .opinionstage-dashboard{overflow-y:scroll}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-section-header .opinionstage-section-title{padding:25px 0}#opinionstage-content .opinionstage-item-view-dashboard .opinionstage-dashboard-section .opinionstage-section-header{height:95px}#opinionstage-content .opinionstage-dashboard-section .opinionstage-section-header .opinionstage-header-inner-section a{display:block;float:none}.opinionstage-create-btn{margin-bottom:10px;margin-right:0}.opinionstage-item-action-container{float:none}#opinionstage-items-table .action .opinionstage-item-action-container a{display:block;float:none;margin-bottom:10px;width:80%}.opinionstage-item-view-dashboard{width:auto}}.opinionstage-no-items{font-weight:600;font-size:15px;color:#212120}a.opinionstage-add-our-first-item{font-weight:600;font-size:15px;color:#3499c2}#opinionstage-content .opinionstage-tutorials-and-help__hero{padding:60px 0 100px 0}@media (max-width: 720px){#opinionstage-content .opinionstage-tutorials-and-help__hero{padding-bottom:0;background-color:#fff}}#opinionstage-content .opinionstage-tutorials-and-help__hero__header{font-size:40px;line-height:54px;color:#25282B;text-align:center;margin:0}#opinionstage-content .opinionstage-tutorials-and-help__buttons{margin-top:60px;text-align:center}#opinionstage-content .opinionstage-tutorials-and-help__button{font-size:14px;font-weight:300;padding:16px 30px 16px 50px;border-radius:0;display:inline-block;position:relative;box-sizing:border-box}#opinionstage-content .opinionstage-tutorials-and-help__button:nth-child(2n){margin:0 20px}@media (max-width: 720px){#opinionstage-content .opinionstage-tutorials-and-help__button{width:100%;margin:10px 0 0 0 !important;text-align:left;padding-left:60px}}#opinionstage-content .opinionstage-tutorials-and-help__button svg{position:absolute;left:15px;top:50%;transform:translateY(-50%)}#opinionstage-content .opinionstage-tutorials-and-help__container{max-width:720px;margin-left:auto;margin-right:auto}@media (max-width: 720px){#opinionstage-content .opinionstage-tutorials-and-help__container{padding-right:20px}}#opinionstage-content .opinionstage-tutorials-and-help__videos{margin-top:20px}#opinionstage-content .opinionstage-tutorials-and-help__video{text-align:center}#opinionstage-content .opinionstage-tutorials-and-help__video__title{font-size:26px;line-height:35px;text-align:center;margin-top:80px;font-weight:400}#opinionstage-content .opinionstage-tutorials-and-help__video__title__link{-webkit-text-decoration-color:#25282B;text-decoration-color:#25282B}@media (max-width: 720px){#opinionstage-content .opinionstage-tutorials-and-help__video__title{margin-top:40px;margin-bottom:30px;font-size:16px;line-height:22px}}body.opinion-stage_page_opinionstage-help-resource{background-color:#fff}body.opinion-stage_page_opinionstage-help-resource .opinionstage-logo-wrapper{max-width:none !important}
admin/images/bitmap_top.png DELETED
Binary file
admin/images/bitmap_top_2x.png DELETED
Binary file
admin/images/bitmap_top_3x.png DELETED
Binary file
admin/images/logos/bbdo.png ADDED
Binary file
admin/images/logos/harvard.png ADDED
Binary file
admin/images/logos/ipg.png ADDED
Binary file
admin/images/logos/nbc.png ADDED
Binary file
admin/images/logos/pepsico.png ADDED
Binary file
admin/images/logos/uber.png ADDED
Binary file
admin/images/logos/virgin.png ADDED
Binary file
admin/images/logos/wb.png ADDED
Binary file
admin/init.php CHANGED
@@ -5,10 +5,9 @@
5
  * @package OpinionStageWordPressPlugin
6
  */
7
 
8
- defined( 'ABSPATH' ) || die(); // block direct access to plugin PHP files.
9
 
10
  require plugin_dir_path( __FILE__ ) . 'opinionstage-login-callback.php';
11
  require plugin_dir_path( __FILE__ ) . 'opinionstage-disconnect.php';
12
  require plugin_dir_path( __FILE__ ) . 'menu-page.php';
13
  require plugin_dir_path( __FILE__ ) . 'admin-page-loader.php';
14
- require plugin_dir_path( __FILE__ ) . 'message-handler.php';
5
  * @package OpinionStageWordPressPlugin
6
  */
7
 
8
+ defined( 'ABSPATH' ) || die();
9
 
10
  require plugin_dir_path( __FILE__ ) . 'opinionstage-login-callback.php';
11
  require plugin_dir_path( __FILE__ ) . 'opinionstage-disconnect.php';
12
  require plugin_dir_path( __FILE__ ) . 'menu-page.php';
13
  require plugin_dir_path( __FILE__ ) . 'admin-page-loader.php';
 
admin/menu-page.php CHANGED
@@ -26,7 +26,7 @@ function opinionstage_register_menu_page() {
26
  '25.234323221'
27
  );
28
  add_submenu_page( OPINIONSTAGE_MENU_SLUG, 'View My Items', 'My Items', 'edit_posts', OPINIONSTAGE_MENU_SLUG );
29
- add_submenu_page( OPINIONSTAGE_MENU_SLUG, 'Get Help', 'Get Help', 'edit_posts', OPINIONSTAGE_HELP_RESOURCE_SLUG, 'opinionstage_load_template' );
30
  } else {
31
  add_menu_page(
32
  __( 'Opinion Stage', 'social-polls-by-opinionstage' ),
26
  '25.234323221'
27
  );
28
  add_submenu_page( OPINIONSTAGE_MENU_SLUG, 'View My Items', 'My Items', 'edit_posts', OPINIONSTAGE_MENU_SLUG );
29
+ add_submenu_page( OPINIONSTAGE_MENU_SLUG, 'Tutorials & Help', 'Tutorials & Help', 'edit_posts', OPINIONSTAGE_HELP_RESOURCE_SLUG, 'opinionstage_load_template' );
30
  } else {
31
  add_menu_page(
32
  __( 'Opinion Stage', 'social-polls-by-opinionstage' ),
admin/message-handler.php DELETED
@@ -1,71 +0,0 @@
1
- <?php
2
- // block direct access to plugin PHP files:
3
- defined( 'ABSPATH' ) or die();
4
- if ( function_exists('curl_init') ) {
5
-
6
- add_action( 'admin_init', 'opinionstage_message_handler' );
7
- function opinionstage_message_handler(){
8
- $last_api_call_time = get_option('oswp_message_last_call_time'); // last api call time
9
- $last_activity_time = get_option('oswp_message_activity_time'); // last activity time
10
- if($last_activity_time == false){
11
- $last_activity_time = 1;
12
- }
13
-
14
- if(
15
- $last_api_call_time == false ||
16
- ($last_api_call_time != false && strtotime("+6 hours", $last_api_call_time) < time() )
17
- ){
18
- opinionstage_message_api_call($last_activity_time);
19
- }
20
-
21
- $message_title = get_option('oswp_message_title');
22
- $message_content = get_option('oswp_message_content');
23
-
24
- // display message if available
25
- if( $message_title != false && $message_content != false ){
26
- add_action( 'admin_notices', 'opinionstage_display_wp_message');
27
- }
28
- }
29
-
30
- function opinionstage_message_api_call($last_activity_time){
31
- $api_url = OPINIONSTAGE_MESSAGE_API."?api_call_time=".$last_activity_time;
32
- $response = wp_remote_get($api_url);
33
- $response = wp_remote_retrieve_body($response);
34
- $result = json_decode($response);
35
- update_option('oswp_message_last_call_time', time());
36
- // save if message is available
37
- if( isset($result->message) && isset($result->message->title) && isset($result->message->content) ){
38
- update_option('oswp_message_title', $result->message->title);
39
- update_option('oswp_message_content', $result->message->content);
40
- }
41
- }
42
-
43
- function opinionstage_display_wp_message(){
44
- $message_title_display = get_option('oswp_message_title');
45
- $message_content_display = get_option('oswp_message_content');
46
- $message_content_display = str_replace('\\','',htmlspecialchars_decode($message_content_display));
47
- echo '<div class="notice notice-success" id="oswp_hide_div" style="overflow: hidden; position: relative;padding-top: 10px; padding-bottom: 20px;"><h3 style="margin-bottom:0px;margin-top: 10px;margin-left: 10px;float: none;">'.$message_title_display.'</h3><p> '.$message_content_display.'</p><div style="clear:both;"></div><button id="read_message" type="submit" class="button button-primary button-large" style="margin-left: 90px;margin-top: 10px;">Mark as Read</button><button type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>';
48
- }
49
-
50
- add_action( 'admin_footer', 'opinionstage_message_handler_javascript' );
51
-
52
- function opinionstage_message_handler_javascript() { ?>
53
- <script type="text/javascript">
54
- jQuery(document).ready(function($){
55
- $('button#read_message , button.notice-dismiss').on('click', function(event) {
56
- event.preventDefault();
57
- var data = {
58
- 'action': 'osa_message_delete',
59
- 'delete_options_oswp' : true
60
- };
61
- jQuery.post(ajaxurl, data, function(response) {
62
- if(response){
63
- $('#oswp_hide_div').hide(800);
64
- }
65
- });
66
- });
67
- });
68
-
69
- </script>
70
- <?php }
71
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/views/getting_started.php CHANGED
@@ -6,7 +6,7 @@
6
 
7
  defined( 'ABSPATH' ) || die();
8
 
9
- $footer_col_items = array(
10
  array(
11
  'title' => __( 'Quiz Templates', 'social-polls-by-opinionstage' ),
12
  'items' => array(
@@ -52,8 +52,8 @@ $footer_col_items = array(
52
  'title' => __( 'Head to Head poll', 'social-polls-by-opinionstage' ),
53
  ),
54
  array(
55
- 'path' => 'c/polls/layouts',
56
- 'title' => __( 'All Poll Layouts', 'social-polls-by-opinionstage' ),
57
  ),
58
  ),
59
  ),
@@ -84,6 +84,52 @@ $footer_col_items = array(
84
  ),
85
  );
86
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
87
  /**
88
  * Generates template preview url.
89
  *
@@ -106,7 +152,7 @@ function opinionstage_generate_template_url( $path ) {
106
  <div class="opinionstage-two-columns__text">
107
  <h1 class="opinionstage-two-columns__title"><?php esc_html_e( 'Add Quizzes, Polls & Surveys to Your Website in Seconds', 'social-polls-by-opinionstage' ); ?></h1>
108
  <div>
109
- <p><?php esc_html_e( 'Join 100,000+ sites, from small blogs to top publishers, brands & businesses such as NBC, Warner Brothers, Uber & Pepsico.', 'social-polls-by-opinionstage' ); ?></p>
110
  </div>
111
 
112
  <?php require_once plugin_dir_path( dirname( __FILE__ ) ) . 'template-parts/signup-form.php'; ?>
@@ -117,33 +163,62 @@ function opinionstage_generate_template_url( $path ) {
117
  <img src="<?php echo esc_url( plugins_url( 'images/welcome-to-opinionstage.jpg', dirname( __FILE__ ) ) ); ?>" alt="<?php esc_html_e( 'Welcome to Opinion Stage', 'social-polls-by-opinionstage' ); ?>">
118
  </div>
119
  </div>
120
- </div>
121
 
122
- <div class="opinionstage-getting-started-section">
123
- <div class="opinionstage-getting-started-footer">
124
- <h2 class="opinionstage-getting-started-footer__title"><?php esc_html_e( 'Check out these examples:', 'social-polls-by-opinionstage' ); ?></h2>
125
- <div class="opinionstage-getting-started-footer__items">
126
  <?php
127
- foreach ( $footer_col_items as $col ) {
128
  ?>
129
- <div class="opinionstage-getting-started-footer__item">
130
- <h3 class="opinionstage-getting-started-footer__item__title"><?php echo esc_html( $col['title'] ); ?></h3>
131
- <ul class="opinionstage-getting-started-footer__list">
132
- <?php
133
- foreach ( $col['items'] as $anchor ) {
134
- ?>
135
- <li>
136
- <a href="<?php echo esc_url( opinionstage_generate_template_url( $anchor['path'] ) ); ?>" target="_blank"><?php echo esc_html( $anchor['title'] ); ?></a>
137
- </li>
138
- <?php
139
- }
140
- ?>
141
- </ul>
142
- </div>
143
  <?php
144
  }
145
  ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
146
  </div>
147
  </div>
148
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  </div>
6
 
7
  defined( 'ABSPATH' ) || die();
8
 
9
+ $links_columns_items = array(
10
  array(
11
  'title' => __( 'Quiz Templates', 'social-polls-by-opinionstage' ),
12
  'items' => array(
52
  'title' => __( 'Head to Head poll', 'social-polls-by-opinionstage' ),
53
  ),
54
  array(
55
+ 'path' => 't/rounded-image-poll',
56
+ 'title' => __( 'Rounded-Image Poll', 'social-polls-by-opinionstage' ),
57
  ),
58
  ),
59
  ),
84
  ),
85
  );
86
 
87
+ $plugin_logos_path_url = plugin_dir_url( OPINIONSTAGE_PLUGIN_FILE ) . 'admin/images/logos/';
88
+ $client_logos = array(
89
+ array(
90
+ 'url' => $plugin_logos_path_url . 'nbc.png',
91
+ 'alt' => __( 'NBC', 'social-polls-by-opinionstage' ),
92
+ 'width' => 73.5,
93
+ ),
94
+ array(
95
+ 'url' => $plugin_logos_path_url . 'wb.png',
96
+ 'alt' => __( 'WP', 'social-polls-by-opinionstage' ),
97
+ 'width' => 28.5,
98
+ ),
99
+ array(
100
+ 'url' => $plugin_logos_path_url . 'uber.png',
101
+ 'alt' => __( 'Uber', 'social-polls-by-opinionstage' ),
102
+ 'width' => 54.5,
103
+ ),
104
+ array(
105
+ 'url' => $plugin_logos_path_url . 'ipg.png',
106
+ 'alt' => __( 'IPG', 'social-polls-by-opinionstage' ),
107
+ 'width' => 38.5,
108
+ ),
109
+ array(
110
+ 'url' => $plugin_logos_path_url . 'bbdo.png',
111
+ 'alt' => __( 'BBDO', 'social-polls-by-opinionstage' ),
112
+ 'width' => 57,
113
+ ),
114
+ array(
115
+ 'url' => $plugin_logos_path_url . 'harvard.png',
116
+ 'alt' => __( 'Harvard Law School Wordmark', 'social-polls-by-opinionstage' ),
117
+ 'width' => 103,
118
+ ),
119
+ array(
120
+ 'url' => $plugin_logos_path_url . 'virgin.png',
121
+ 'alt' => __( 'Virgin Group', 'social-polls-by-opinionstage' ),
122
+ 'width' => 49,
123
+ ),
124
+ array(
125
+ 'url' => $plugin_logos_path_url . 'pepsico.png',
126
+ 'alt' => __( 'Pepsico', 'social-polls-by-opinionstage' ),
127
+ 'width' => 129,
128
+ ),
129
+ );
130
+
131
+
132
+
133
  /**
134
  * Generates template preview url.
135
  *
152
  <div class="opinionstage-two-columns__text">
153
  <h1 class="opinionstage-two-columns__title"><?php esc_html_e( 'Add Quizzes, Polls & Surveys to Your Website in Seconds', 'social-polls-by-opinionstage' ); ?></h1>
154
  <div>
155
+ <p><?php esc_html_e( 'Drive engagement and traffic to your site, gather leads, and collect reliable data. Beautiful designs. Fully customizable. Easy to set up, manage, and track.', 'social-polls-by-opinionstage' ); ?></p>
156
  </div>
157
 
158
  <?php require_once plugin_dir_path( dirname( __FILE__ ) ) . 'template-parts/signup-form.php'; ?>
163
  <img src="<?php echo esc_url( plugins_url( 'images/welcome-to-opinionstage.jpg', dirname( __FILE__ ) ) ); ?>" alt="<?php esc_html_e( 'Welcome to Opinion Stage', 'social-polls-by-opinionstage' ); ?>">
164
  </div>
165
  </div>
 
166
 
167
+ <div class="opinionstage-getting-started-section">
168
+ <h2 class="opinionstage-trusted"><?php esc_html_e( 'Trusted by', 'social-polls-by-opinionstage' ); ?> <span class="optinoinstage-black">150,000+</span> <?php esc_html_e( 'Customers across 190 countries', 'social-polls-by-opinionstage' ); ?></h2>
169
+ <ul class="opinionstage-clients">
 
170
  <?php
171
+ foreach ( $client_logos as $client_logo ) {
172
  ?>
173
+ <li><img src="<?php echo esc_url( $client_logo['url'] ); ?>" alt="<?php echo esc_attr( $client_logo['url'] ); ?>" width="<?php echo esc_attr( $client_logo['width'] ); ?>"></li>
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  <?php
175
  }
176
  ?>
177
+ </ul>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="opinionstage-bg-white">
182
+ <div class="opinionstage-getting-started-section">
183
+ <div class="opinionstage-getting-started-examples">
184
+ <h2 class="opinionstage-getting-started-examples__title"><?php esc_html_e( 'Check out these examples:', 'social-polls-by-opinionstage' ); ?></h2>
185
+ <div class="opinionstage-getting-started-examples__items">
186
+ <?php
187
+ foreach ( $links_columns_items as $col ) {
188
+ ?>
189
+ <div class="opinionstage-getting-started-examples__item">
190
+ <h3 class="opinionstage-getting-started-examples__item__title"><?php echo esc_html( $col['title'] ); ?></h3>
191
+ <ul class="opinionstage-getting-started-examples__list">
192
+ <?php
193
+ foreach ( $col['items'] as $anchor ) {
194
+ ?>
195
+ <li>
196
+ <a href="<?php echo esc_url( opinionstage_generate_template_url( $anchor['path'] ) ); ?>" target="_blank"><?php echo esc_html( $anchor['title'] ); ?></a>
197
+ </li>
198
+ <?php
199
+ }
200
+ ?>
201
+ </ul>
202
+ </div>
203
+ <?php
204
+ }
205
+ ?>
206
+ </div>
207
  </div>
208
  </div>
209
  </div>
210
+ <div class="opinionstage-bg-blue">
211
+ <div class="opinionstage-getting-started-section opinionstage-getting-started-video">
212
+ <h2 class="opinionstage-getting-started-examples__title"><?php esc_html_e( 'How to use the Plugin', 'social-polls-by-opinionstage' ); ?></h2>
213
+
214
+ <p class="opinionstage-getting-started-video__description"><?php esc_html_e( 'Follow these steps to create a poll, survey or quiz and add it to your site in minutes', 'social-polls-by-opinionstage' ); ?></p>
215
+
216
+ <iframe width="600" height="337"
217
+ src="https://www.youtube.com/embed/DMcosYCBFDs?controls=0&showinfo=0"
218
+ title="YouTube video player" frameborder="0"
219
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
220
+ allowfullscreen></iframe>
221
+
222
+ </div>
223
+ </div>
224
  </div>
admin/views/help_resource.php CHANGED
@@ -6,6 +6,26 @@
6
  */
7
 
8
  defined( 'ABSPATH' ) || die();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ?>
10
  <div id="opinionstage-content">
11
  <div class="opinionstage-header-wrapper">
@@ -19,20 +39,68 @@ defined( 'ABSPATH' ) || die();
19
  </div>
20
  </div>
21
  <?php if ( $os_client_logged_in ) { ?>
22
- <div class="gettingStartedSection">
23
- <div class="gettingStartedContainer">
24
- <div class="opinionstage-status-content-connected">
25
- <div class='opinionstage-status-title opinionstage-resources-title'>Opinion Stage Help Resources</div>
26
- </div>
27
- </div>
28
- <div class="gettingBlockContainer">
29
- <?php echo opinionstage_help_links( 'Getting Started <br/>Video Tutorial', 'https://help.opinionstage.com/wordpress-plugin/how-to-use-the-wordpress-plugin', 'gettingTemplateTutorial help-link' ); ?>
30
- <?php echo opinionstage_link( 'Templates & <br/> Examples', 'dashboard/content/templates', 'gettingTemplateGallery help-link' ); ?>
31
- </div>
32
- <div class="gettingBlockContainer">
33
- <?php echo opinionstage_help_links( 'Help Center', 'https://help.opinionstage.com', 'gettingTemplateTutorial help-link', 'padding: 29px 0;' ); ?>
34
- <?php echo opinionstage_link( 'Live Chat Help', 'live-chat/', 'help-center-os help-link' ); ?>
35
- </div>
36
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  <?php } ?>
38
  </div>
6
  */
7
 
8
  defined( 'ABSPATH' ) || die();
9
+
10
+ $videos_data = [
11
+ [
12
+ 'title' => __('How to Use the Plugin', 'social-polls-by-opinionstage'),
13
+ 'title_link' => 'https://help.opinionstage.com/en/articles/2557183-how-to-use-the-wordpress-plugin/',
14
+ 'video_id' => 'DMcosYCBFDs',
15
+ ],
16
+ [
17
+ 'title' => __('How to Create a Quiz', 'social-polls-by-opinionstage'),
18
+ 'video_id' => 'PPNIezl_wu0',
19
+ ],
20
+ [
21
+ 'title' => __('How to Create a Poll', 'social-polls-by-opinionstage'),
22
+ 'video_id' => 'xFUAwszhiuo',
23
+ ],
24
+ [
25
+ 'title' => __('How to Create a Survey', 'social-polls-by-opinionstage'),
26
+ 'video_id' => 'sUcGbCGwn_Q',
27
+ ],
28
+ ]
29
  ?>
30
  <div id="opinionstage-content">
31
  <div class="opinionstage-header-wrapper">
39
  </div>
40
  </div>
41
  <?php if ( $os_client_logged_in ) { ?>
42
+ <div class="opinionstage-tutorials-and-help">
43
+
44
+ <div class="opinionstage-tutorials-and-help__hero opinionstage-bg-blue">
45
+ <div class="opinionstage-tutorials-and-help__container">
46
+ <h1 class="opinionstage-tutorials-and-help__hero__header"><?php _e('Tutorials & Help', 'social-polls-by-opinionstage'); ?></h1>
47
+
48
+ <div class="opinionstage-tutorials-and-help__buttons">
49
+ <a href="https://help.opinionstage.com" class="opinionstage-tutorials-and-help__button opinionstage-tutorials-and-help__button__help-center opinionstage-blue-btn" target="_blank">
50
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
51
+ <path d="M11 17C11 17.5523 11.4477 18 12 18C12.5523 18 13 17.5523 13 17C13 16.4477 12.5523 16 12 16C11.4477 16 11 16.4477 11 17ZM12 2C10.6868 2 9.38642 2.25866 8.17317 2.7612C6.95991 3.26375 5.85752 4.00035 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C5.85752 19.9997 6.95991 20.7362 8.17317 21.2388C9.38642 21.7413 10.6868 22 12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 10.6868 21.7413 9.38642 21.2388 8.17317C20.7362 6.95991 19.9997 5.85752 19.0711 4.92893C18.1425 4.00035 17.0401 3.26375 15.8268 2.7612C14.6136 2.25866 13.3132 2 12 2ZM12 20C7.59 20 4 16.41 4 12C4 7.59 7.59 4 12 4C16.41 4 20 7.59 20 12C20 16.41 16.41 20 12 20ZM12 6C10.9391 6 9.92172 6.42143 9.17157 7.17157C8.65947 7.68368 8.30056 8.32034 8.12435 9.01035C7.98769 9.54547 8.44772 10 9 10C9.55228 10 9.98007 9.52581 10.2448 9.04113C10.3354 8.87534 10.4498 8.72178 10.5858 8.58579C10.9609 8.21071 11.4696 8 12 8C12.5304 8 13.0391 8.21071 13.4142 8.58579C13.7893 8.96086 14 9.46957 14 10C14 11.7695 11.6517 11.7777 11.1104 14.0069C10.98 14.5436 11.4477 15 12 15C12.5523 15 12.9768 14.5295 13.2172 14.0323C13.9066 12.6067 16 12.0884 16 10C16 8.93913 15.5786 7.92172 14.8284 7.17157C14.0783 6.42143 13.0609 6 12 6Z" fill="white"/>
52
+ </svg>
53
+ <span><?php _e('Go To Help Center', 'social-polls-by-opinionstage'); ?></span>
54
+ </a>
55
+ <a href="<?php echo esc_url(opinionstage_utm_url('dashboard/content/templates')); ?>" class="opinionstage-tutorials-and-help__button opinionstage-tutorials-and-help__button__templates opinionstage-blue-btn" target="_blank">
56
+ <svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
57
+ <rect x="1" y="1" width="19" height="18" rx="1" stroke="white" stroke-width="2"/>
58
+ <rect x="5" y="5" width="11" height="6" stroke="white" stroke-width="2"/>
59
+ <rect x="4.5" y="14.5" width="12" height="1" rx="0.5" stroke="white"/>
60
+ </svg>
61
+ <span><?php _e('Templates & Examples', 'social-polls-by-opinionstage'); ?></span>
62
+ </a>
63
+ <a href="<?php echo esc_url(opinionstage_utm_url('live-chat/')); ?>" class="opinionstage-tutorials-and-help__button opinionstage-tutorials-and-help__button__live-chat opinionstage-blue-btn" target="_blank">
64
+ <svg width="25" height="23" viewBox="0 0 25 23" fill="none"
65
+ xmlns="http://www.w3.org/2000/svg">
66
+ <path fill-rule="evenodd" clip-rule="evenodd"
67
+ d="M20.819 1.5605e-05H3.90347C1.74784 1.5605e-05 0 1.74786 0 3.90369V13.7417C0 15.8977 1.74784 17.6456 3.90347 17.6456H14.4043C15.6827 18.7951 17.0711 20.0397 18.1989 21.0387C19.1075 21.8442 19.3234 22.1227 19.6173 22.1227C19.7034 22.1227 19.7965 22.0986 19.9154 22.0565C20.4405 21.8729 20.6026 21.6087 20.6026 20.6995V17.6456H20.8192C22.9752 17.6456 24.7227 15.8977 24.7227 13.7417V3.90367C24.7227 1.74784 22.9752 0 20.8192 0L20.819 1.5605e-05ZM20.8192 1.95191C21.8957 1.95191 22.7709 2.82754 22.7709 3.90362V13.7416C22.7709 14.8179 21.8957 15.6938 20.8192 15.6938H18.6508V18.829C17.8232 18.0917 16.8383 17.2092 15.7094 16.1944L15.1529 15.6938H3.90385C2.82777 15.6938 1.95214 14.8179 1.95214 13.7416V3.90362C1.95214 2.82754 2.82777 1.95191 3.90385 1.95191H20.8194"
68
+ fill="white"/>
69
+ <path fill-rule="evenodd" clip-rule="evenodd"
70
+ d="M19.1928 5.85522H5.53067C4.99162 5.85522 4.55469 6.29213 4.55469 6.83121C4.55469 7.37026 4.9916 7.80698 5.53067 7.80698H19.1928C19.7318 7.80698 20.1688 7.37028 20.1688 6.83121C20.1688 6.29216 19.7318 5.85522 19.1928 5.85522Z"
71
+ fill="white"/>
72
+ <path fill-rule="evenodd" clip-rule="evenodd"
73
+ d="M13.3378 10.0842H5.53067C4.99162 10.0842 4.55469 10.5211 4.55469 11.06C4.55469 11.5991 4.9916 12.036 5.53067 12.036H13.3378C13.8769 12.036 14.3136 11.5991 14.3136 11.06C14.3136 10.5212 13.8769 10.0842 13.3378 10.0842Z"
74
+ fill="white"/>
75
+ </svg>
76
+ <span><?php _e('Live Chat Support', 'social-polls-by-opinionstage'); ?></span>
77
+ </a>
78
+ </div>
79
+ </div>
80
+ </div>
81
+
82
+ <div class="opinionstage-tutorials-and-help__videos">
83
+ <div class="opinionstage-tutorials-and-help__container">
84
+ <?php foreach ($videos_data as $videos_datum) {
85
+ ?>
86
+ <div class="opinionstage-tutorials-and-help__video">
87
+ <?php if (isset($videos_datum['title_link'])) { ?>
88
+ <a href="<?php echo esc_url($videos_datum['title_link']) ?>" target="_blank" class="opinionstage-tutorials-and-help__video__title__link">
89
+ <?php } ?>
90
+ <h3 class="opinionstage-tutorials-and-help__video__title"><?php echo $videos_datum['title']; ?></h3>
91
+ <?php if (isset($videos_datum['title_link'])) { ?>
92
+ </a>
93
+ <?php } ?>
94
+ <iframe width="600" height="337"
95
+ src="https://www.youtube.com/embed/<?php echo esc_attr($videos_datum['video_id']) ?>?controls=0&showinfo=0"
96
+ title="YouTube video player" frameborder="0"
97
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
98
+ allowfullscreen></iframe>
99
+ </div>
100
+ <?php
101
+ } ?>
102
+ </div>
103
+ </div>
104
+ </div>
105
  <?php } ?>
106
  </div>
admin/views/settings.php CHANGED
@@ -21,12 +21,11 @@ defined( 'ABSPATH' ) || die();
21
  <div class="inner">
22
  <span id="opinionstage-dialog-close" class="opinionstage-close"></span>
23
  <div id="published-item-details">
24
- <p><?php esc_html_e( 'You can add the item in the following ways:', 'social-polls-by-opinionstage' ); ?></p>
25
  <ul>
26
- <li><a href="https://help.opinionstage.com/en/articles/5161692-how-to-add-items-to-a-post-page" target="_blank"><?php esc_html_e( 'Add to a post/page', 'social-polls-by-opinionstage' ); ?></a></li>
27
- <li><a href="https://help.opinionstage.com/en/articles/5161716-how-to-add-an-item-to-a-sidebar-widget" target="_blank"><?php esc_html_e( 'Add to a sidebar Widget', 'social-polls-by-opinionstage' ); ?></a></li>
28
- <li><a href="https://help.opinionstage.com/en/articles/5161746-how-to-add-an-item-as-a-popup-on-wordpress" target="_blank"><?php esc_html_e( 'Add as a popup', 'social-polls-by-opinionstage' ); ?></a></li>
29
- <li><a href="https://help.opinionstage.com/en/articles/5161782-how-to-add-an-item-using-the-wordpress-shortcode" target="_blank"><?php esc_html_e( 'Add with the WordPress shortcode', 'social-polls-by-opinionstage' ); ?></a></li>
30
  </ul>
31
  <div class="opinionstage-textarea-wrapper">
32
  <textarea name="opinionstage-widget-shortcode" id="opinionstage-widget-shortcode" data-wp-embed-code rows="2" readonly="readonly"></textarea> <a data-copy-text-from="data-wp-embed-code" href="#" class="no-text-decoration">Copy</a>
21
  <div class="inner">
22
  <span id="opinionstage-dialog-close" class="opinionstage-close"></span>
23
  <div id="published-item-details">
 
24
  <ul>
25
+ <li><a href="https://help.opinionstage.com/en/articles/5161692-how-to-add-items-to-a-post-page" target="_blank"><?php esc_html_e( 'How to add to a post/page', 'social-polls-by-opinionstage' ); ?></a></li>
26
+ <li><a href="https://help.opinionstage.com/en/articles/5161716-how-to-add-an-item-to-a-sidebar-widget" target="_blank"><?php esc_html_e( 'How to add to a sidebar Widget', 'social-polls-by-opinionstage' ); ?></a></li>
27
+ <li><a href="https://help.opinionstage.com/en/articles/5161746-how-to-add-an-item-as-a-popup-on-wordpress" target="_blank"><?php esc_html_e( 'How to add as a popup', 'social-polls-by-opinionstage' ); ?></a></li>
28
+ <li><a href="https://help.opinionstage.com/en/articles/5161782-how-to-add-an-item-using-the-wordpress-shortcode" target="_blank"><?php esc_html_e( 'How to add with the WordPress shortcode', 'social-polls-by-opinionstage' ); ?></a></li>
29
  </ul>
30
  <div class="opinionstage-textarea-wrapper">
31
  <textarea name="opinionstage-widget-shortcode" id="opinionstage-widget-shortcode" data-wp-embed-code rows="2" readonly="readonly"></textarea> <a data-copy-text-from="data-wp-embed-code" href="#" class="no-text-decoration">Copy</a>
assets/admin/src/menu-page.scss CHANGED
@@ -3,8 +3,11 @@
3
 
4
  $blue: #32adbc;
5
  $blue2: #31aebe;
 
6
  $light_red: #f46368;
7
 
 
 
8
 
9
  #opinionstage-content {
10
  height: auto;
@@ -38,39 +41,10 @@ $light_red: #f46368;
38
  }
39
  }
40
 
41
- .opinionstage-status-content {
42
- background-color: #fff;
43
- border-bottom: 3px solid $blue;
44
- color: #000;
45
- height: 109px;
46
- padding: 20px 35px 0;
47
- }
48
-
49
- .opinionstage-status-content-connected {
50
- color: #fff;
51
- height: 115px;
52
- padding: 30px 30px 0;
53
- }
54
-
55
  .opinionstage-connect-form {
56
  display: inline-block;
57
  }
58
 
59
- .opinionstage-status-title {
60
- font-size: 24px;
61
- font-weight: bold;
62
- line-height: 25px;
63
- margin-bottom: 14px;
64
- .opinionstage-title {
65
- font-size: 20px;
66
- }
67
- }
68
-
69
- .opinionstage-status-content .os-icon-plugin {
70
- font-size: 19px;
71
- margin-right: 7px;
72
- }
73
-
74
  .opinionstage-blue-btn {
75
  background-color: $blue;
76
  border-radius: 3px;
@@ -231,6 +205,16 @@ $light_red: #f46368;
231
  min-height: calc(92vh - 160px);
232
 
233
  }
 
 
 
 
 
 
 
 
 
 
234
 
235
  }
236
 
@@ -255,7 +239,7 @@ p.failed-load-items-request {
255
  }
256
 
257
  .toplevel_page_opinionstage-getting-started {
258
- background: #F5F7FA;
259
  #wpcontent {
260
  padding-left: 0;
261
  }
@@ -278,7 +262,8 @@ p.failed-load-items-request {
278
  }
279
 
280
  .opinionstage-connect-form .opinionstage-button {
281
- font-weight: 400;
 
282
  }
283
 
284
  .opinionstage-logo {
@@ -291,7 +276,19 @@ p.failed-load-items-request {
291
  margin-right: .5em;
292
  min-width: 165px;
293
  }
 
 
 
 
 
 
 
 
 
 
 
294
  }
 
295
  .opinionstage-two-columns {
296
  color: #6E6E6E;
297
  display: flex;
@@ -315,7 +312,7 @@ p.failed-load-items-request {
315
  }
316
 
317
  p {
318
- color: #25282B;
319
  font-size: 18px;
320
  margin-bottom: 42px;
321
  }
@@ -337,12 +334,17 @@ p.failed-load-items-request {
337
  .opinionstage-bg-white {
338
  background: #fff;
339
  }
340
- .opinionstage-getting-started-footer {
341
- background-color: #F5F7FA;
 
 
 
342
  &__title {
343
  text-align: center;
344
- font-size: 18px;
345
  font-weight: 600;
 
 
 
346
  @media (max-width: 500px) {
347
  text-align: left;
348
  }
@@ -362,13 +364,37 @@ p.failed-load-items-request {
362
  line-height: 20px;
363
  }
364
  &__list {
365
- font-size: 14px;
366
  line-height: 30px;
367
  a {
368
- color: #25282B;
369
  }
370
  }
371
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
372
  .opinionstage-connect-form {
373
  .opinionstage-button {
374
  min-height: 50px;
@@ -382,21 +408,6 @@ p.failed-load-items-request {
382
  }
383
  }
384
 
385
- /* Getting started */
386
- .gettingStartedSection {
387
- background: #fff;
388
- margin-right: 20px;
389
- min-height: 500px;
390
- overflow: hidden;
391
- padding: 30px;
392
-
393
- p {
394
- font-size: 20px;
395
- margin: 0;
396
- margin-bottom: 20px;
397
- }
398
- }
399
-
400
  h1.gettingStartedHeading {
401
  font-size: 30px;
402
  letter-spacing: 1px;
@@ -421,20 +432,6 @@ h1.gettingStartedHeading {
421
  }
422
 
423
  @media only screen and (max-width: 375px) {
424
- .gettingStartedSection {
425
- padding-left: 0 !important;
426
- padding-right: 0 !important;
427
- padding-top: 20px !important;
428
- }
429
- #opinionstage-content .opinionstage-status-content {
430
- height: 160px !important;
431
- }
432
- #opinionstage-content .opinionstage-status-content-connected {
433
- height: 162px !important;
434
- }
435
- .gettingStartedSection p {
436
- text-align: center;
437
- }
438
  #opinionstage-content .opinionstage-blue-btn {
439
  margin-left: 30px;
440
  margin-top: 15px;
@@ -701,61 +698,6 @@ div#opinionstage-load-more {
701
  margin: 0;
702
  }
703
 
704
- .gettingStartedContainer {
705
- background: url(../images/bitmap_top.png) no-repeat 0 0;
706
- background-color: $blue;
707
- background-position: right;
708
- height: 170px;
709
- width: 760px;
710
- }
711
-
712
- .opinionstage-resources-title {
713
- padding: 40px 0;
714
- }
715
-
716
- .gettingBlockContainer {
717
- width: 760px;
718
- }
719
-
720
-
721
- .gettingTemplateTutorial {
722
- margin-right: 10px;
723
- }
724
-
725
- .gettingTemplateGallery,
726
- .gettingTemplateTutorial,
727
- a.help-center-os {
728
- border: 2px solid $blue;
729
- color: $blue;
730
- font-size: 15px;
731
- font-weight: bold;
732
- margin-top: 10px;
733
- padding: 20px 0;
734
- text-align: center;
735
- text-decoration: none;
736
- width: 100%;
737
- float: left;
738
-
739
- &:hover {
740
- background-color: rgba(49, 174, 190, 0.1);
741
- color: $blue;
742
- }
743
-
744
- &:focus {
745
- background-color: rgba(49, 174, 190, 0.1);
746
- box-shadow: none;
747
- color: $blue;
748
- }
749
-
750
- @media (min-width: 769px) {
751
- max-width: 370px;
752
- }
753
- }
754
-
755
- a.help-center-os {
756
- padding: 29px 0;
757
- }
758
-
759
  .opinionstage-item-view-dashboard #opinionstage-items-table {
760
  width: 100%;
761
  div.label {
@@ -865,7 +807,6 @@ a.help-center-os {
865
  }
866
  /* my items page - modal form --end */
867
 
868
-
869
  @media only screen and (max-width: 1230px) {
870
  #opinionstage-content {
871
  .opinionstage-dashboard-left,
@@ -894,8 +835,6 @@ a.help-center-os {
894
 
895
  } // #opinionstage-content
896
 
897
-
898
-
899
  .opinionstage-create-btn {
900
  margin-bottom: 10px;
901
  margin-right: 0;
@@ -930,19 +869,103 @@ a.opinionstage-add-our-first-item {
930
  color: #3499c2;
931
  }
932
 
933
- @media only screen and (max-width: 768px) {
934
- .gettingStartedSection {
935
- width: auto;
936
- }
937
 
938
- .gettingStartedContainer, .gettingBlockContainer {
939
- width: 100%;
940
- }
941
 
942
- .gettingBlockContainer .gettingTemplateGallery,
943
- .gettingBlockContainer .gettingTemplateTutorial {
944
- display: block;
945
- float: none;
946
- width: 100%;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
947
  }
948
  }
 
3
 
4
  $blue: #32adbc;
5
  $blue2: #31aebe;
6
+ $blue_bg: #F5F7FA;
7
  $light_red: #f46368;
8
 
9
+ $black: #25282B;
10
+
11
 
12
  #opinionstage-content {
13
  height: auto;
41
  }
42
  }
43
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  .opinionstage-connect-form {
45
  display: inline-block;
46
  }
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  .opinionstage-blue-btn {
49
  background-color: $blue;
50
  border-radius: 3px;
205
  min-height: calc(92vh - 160px);
206
 
207
  }
208
+
209
+ .opinionstage-trusted {
210
+ text-align: center;
211
+ font-size: 18px;
212
+ line-height: 50px;
213
+ color: #85858A;
214
+ span {
215
+ color: #000;
216
+ }
217
+ }
218
 
219
  }
220
 
239
  }
240
 
241
  .toplevel_page_opinionstage-getting-started {
242
+ background: $blue_bg;
243
  #wpcontent {
244
  padding-left: 0;
245
  }
262
  }
263
 
264
  .opinionstage-connect-form .opinionstage-button {
265
+ font-weight: 500;
266
+ font-size: 18px;
267
  }
268
 
269
  .opinionstage-logo {
276
  margin-right: .5em;
277
  min-width: 165px;
278
  }
279
+ .opinionstage-clients {
280
+ display: flex;
281
+ justify-content: space-between;
282
+ li {
283
+ display: flex;
284
+ }
285
+ img {
286
+ margin-top: auto;
287
+ margin-bottom: auto;
288
+ }
289
+ }
290
  }
291
+
292
  .opinionstage-two-columns {
293
  color: #6E6E6E;
294
  display: flex;
312
  }
313
 
314
  p {
315
+ color: $black;
316
  font-size: 18px;
317
  margin-bottom: 42px;
318
  }
334
  .opinionstage-bg-white {
335
  background: #fff;
336
  }
337
+ .opinionstage-bg-blue {
338
+ background-color: $blue_bg;
339
+ }
340
+ .opinionstage-getting-started-examples {
341
+ margin-bottom: 80px;
342
  &__title {
343
  text-align: center;
 
344
  font-weight: 600;
345
+ font-size: 26px;
346
+ line-height: 32px;
347
+ margin-top: 85px;
348
  @media (max-width: 500px) {
349
  text-align: left;
350
  }
364
  line-height: 20px;
365
  }
366
  &__list {
367
+ font-size: 15px;
368
  line-height: 30px;
369
  a {
370
+ color: $black;
371
  }
372
  }
373
  }
374
+
375
+ .opinionstage-getting-started-video {
376
+ display: flex;
377
+ flex-direction: column;
378
+
379
+ .opinionstage-getting-started-examples__title {
380
+ margin-top: 75px;
381
+ }
382
+
383
+ &__description {
384
+ text-align: center;
385
+ font-size: 15px;
386
+ line-height: 20px;
387
+ }
388
+
389
+ iframe {
390
+ margin-left: auto;
391
+ margin-right: auto;
392
+ border: 20px solid #fff;
393
+ margin-top: 30px;
394
+ box-shadow: 5px 5px rgba(0, 0, 0, 0.04);
395
+ }
396
+ }
397
+
398
  .opinionstage-connect-form {
399
  .opinionstage-button {
400
  min-height: 50px;
408
  }
409
  }
410
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
  h1.gettingStartedHeading {
412
  font-size: 30px;
413
  letter-spacing: 1px;
432
  }
433
 
434
  @media only screen and (max-width: 375px) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  #opinionstage-content .opinionstage-blue-btn {
436
  margin-left: 30px;
437
  margin-top: 15px;
698
  margin: 0;
699
  }
700
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
701
  .opinionstage-item-view-dashboard #opinionstage-items-table {
702
  width: 100%;
703
  div.label {
807
  }
808
  /* my items page - modal form --end */
809
 
 
810
  @media only screen and (max-width: 1230px) {
811
  #opinionstage-content {
812
  .opinionstage-dashboard-left,
835
 
836
  } // #opinionstage-content
837
 
 
 
838
  .opinionstage-create-btn {
839
  margin-bottom: 10px;
840
  margin-right: 0;
869
  color: #3499c2;
870
  }
871
 
 
 
 
 
872
 
873
+ // Tutorials & Help --start
 
 
874
 
875
+ $breakdown_help_page: 720px;
876
+ #opinionstage-content {
877
+ .opinionstage-tutorials-and-help {
878
+ &__hero {
879
+ padding: 60px 0 100px 0;
880
+
881
+ @media(max-width: 720px) {
882
+ padding-bottom: 0;
883
+ background-color: #fff;
884
+ }
885
+
886
+ &__header {
887
+ font-size: 40px;
888
+ line-height: 54px;
889
+ color: $black;
890
+ text-align: center;
891
+ margin: 0;
892
+ }
893
+ }
894
+
895
+ &__buttons {
896
+ margin-top: 60px;
897
+ text-align: center;
898
+ }
899
+
900
+ &__button {
901
+ font-size: 14px;
902
+ font-weight: 300;
903
+ padding: 16px 30px 16px 50px;
904
+ border-radius: 0;
905
+ display: inline-block;
906
+ position: relative;
907
+ box-sizing: border-box;
908
+
909
+ &:nth-child(2n) {
910
+ margin: 0 20px;
911
+ }
912
+
913
+ @media(max-width: $breakdown_help_page) {
914
+ width: 100%;
915
+ margin: 10px 0 0 0 !important;
916
+ text-align: left;
917
+ padding-left: 60px;
918
+ }
919
+
920
+ svg {
921
+ position: absolute;
922
+ left: 15px;
923
+ top: 50%;
924
+ transform: translateY(-50%);
925
+ }
926
+ }
927
+
928
+ &__container {
929
+ max-width: 720px;
930
+ margin-left: auto;
931
+ margin-right: auto;
932
+ @media(max-width: $breakdown_help_page) {
933
+ padding-right: 20px;
934
+ }
935
+ }
936
+
937
+ &__videos {
938
+ margin-top: 20px;
939
+ }
940
+ &__video {
941
+ text-align: center;
942
+
943
+ &__title {
944
+ font-size: 26px;
945
+ line-height: 35px;
946
+ text-align: center;
947
+ margin-top: 80px;
948
+ font-weight: 400;
949
+
950
+ &__link {
951
+ text-decoration-color: $black;
952
+ }
953
+
954
+ @media(max-width: $breakdown_help_page) {
955
+ margin-top: 40px;
956
+ margin-bottom: 30px;
957
+ font-size: 16px;
958
+ line-height: 22px;
959
+ }
960
+ }
961
+ }
962
+ }
963
+ }
964
+ body.opinion-stage_page_opinionstage-help-resource {
965
+ background-color: #fff;
966
+
967
+ .opinionstage-logo-wrapper {
968
+ max-width: none !important;
969
  }
970
  }
971
+ // Tutorials & Help --end
assets/gutenberg/build/index.asset.php CHANGED
@@ -1 +1 @@
1
- <?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '0febebd5dbf4bdacfa6b5947505e25dd');
1
+ <?php return array('dependencies' => array('wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'b2189d28ef7fb1304467016c77ad9c3a');
assets/gutenberg/build/index.js CHANGED
@@ -1 +1 @@
1
- !function(e){var t={};function r(a){if(t[a])return t[a].exports;var o=t[a]={i:a,l:!1,exports:{}};return e[a].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(a,o,function(t){return e[t]}.bind(null,o));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,r){},function(e,t,r){"use strict";r.r(t);var a=r(2),o=r(1),i=r(0),n=(r(3),{widgetType:{type:"string",source:"attribute",attribute:"data-type",selector:"div[data-type]"},embedUrl:{source:"attribute",attribute:"data-test-url",selector:"div[data-test-url]"},lockEmbed:{source:"attribute",attribute:"data-lock-embed",selector:"div[data-lock-embed]"},buttonText:{source:"attribute",attribute:"data-button-text",selector:"div[data-button-text]"},insertItemImage:{source:"attribute",attribute:"data-image-url",selector:"div[data-image-url]"},insertItemOsTitle:{source:"attribute",attribute:"data-title-url",selector:"div[data-title-url]"},insertItemOsView:{source:"attribute",attribute:"data-view-url",selector:"div[data-view-url]"},insertItemOsEdit:{source:"attribute",attribute:"data-edit-url",selector:"div[data-edit-url]"},insertItemOsStatistics:{source:"attribute",attribute:"data-statistics-url",selector:"div[data-statistics-url]"}}),s="opinion-stage",c={html:!1};function l(e){var t=e.name,r=e.className,n=e.attributes,s=e.setAttributes,c=e.clientId,l=(n.widgetType,n.embedUrl),p=(n.lockEmbed,n.buttonText),b=n.insertItemImage,m=n.insertItemOsTitle,d=n.insertItemOsView,g=n.insertItemOsEdit,O=n.insertItemOsStatistics;if("false"===OPINIONSTAGE_GUTENBERG_DATA.userLoggedIn)return Object(i.createElement)("div",{className:r},Object(i.createElement)("div",{className:"os-widget-wrapper components-placeholder"},Object(i.createElement)("p",{className:"components-heading"},Object(i.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(i.createElement)("p",{className:"components-heading"},"Please connect WordPress to Opinion Stage to start adding polls, quizzes, surveys & forms"),Object(i.createElement)("a",{href:OPINIONSTAGE_GUTENBERG_DATA.loginPageUrl,className:"components-button is-button is-default is-block is-primary"},"Connect")));var y=function(e){switch(e){case"opinion-stage/block-os-poll":return"poll";case"opinion-stage/block-os-survey":return"survey";case"opinion-stage/block-os-trivia":return"trivia";case"opinion-stage/block-os-personality":return"personality";case"opinion-stage/block-os-form":return"form";default:console.warn("unknown block name:",e)}}(t),v=function(e){switch(e){case"poll":return Object(o.__)("Poll");case"survey":return Object(o.__)("Survey");case"trivia":return Object(o.__)("Trivia Quiz");case"personality":return Object(o.__)("Personality Quiz");case"form":return Object(o.__)("Standard Form")}}(y),_=function(e){var t=function(e){switch(e){case"poll":return"poll";case"survey":return"survey";case"trivia":return"trivia";case"personality":return"personality";case"form":return"form"}}(e.type),r={widgetType:t,lockEmbed:!0,buttonText:"Change",embedUrl:e.landingPageUrl.replace(/^https?:\/\/[^/]+\//,"/"),insertItemImage:e.imageUrl,insertItemOsTitle:e.title,insertItemOsView:e.landingPageUrl,insertItemOsEdit:e.editUrl,insertItemOsStatistics:e.statsUrl};if(t===y)s(r);else{var o=Object(a.createBlock)(function(e){switch(e){case"poll":return"opinion-stage/block-os-poll";case"survey":return"opinion-stage/block-os-survey";case"trivia":return"opinion-stage/block-os-trivia";case"personality":return"opinion-stage/block-os-personality";case"form":return"opinion-stage/block-os-form";default:console.warn("unknown block widget type:",e)}}(t));o.attributes=r,wp.data.dispatch("core/block-editor").replaceBlock(c,o)}},f=function(e){OpinionStage.contentPopup.open({preselectWidgetType:u(y),onWidgetSelect:_})},E="".concat(OPINIONSTAGE_GUTENBERG_DATA.createNewWidgetUrl,"&w_type=").concat(function(e){switch(e){case"poll":return"poll";case"survey":return"survey";case"trivia":return"quiz";case"personality":return"outcome";case"form":return"contact_form"}}(y)),j="".concat(OPINIONSTAGE_GUTENBERG_DATA.viewTemplateUrl,"&page=").concat(function(e){switch(e){case"poll":return"polls";case"survey":return"surveys";case"trivia":return"trivia_quizzes";case"personality":return"personality_quizzes";case"form":return"classic_forms"}}(y)),w=Object(i.createElement)("div",{className:"os-widget-wrapper components-placeholder"},Object(i.createElement)("p",{className:"components-heading"},Object(i.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(i.createElement)("button",{className:"components-button is-button is-default is-block is-primary",onClick:f},"Select a ",v),Object(i.createElement)("a",{href:E,target:"_blank",className:"components-button is-button is-default is-block is-primary"},"Create a ",v),Object(i.createElement)("a",{href:j,target:"_blank",className:"components-button is-button is-default is-block is-primary is-bordered"},"View Templates"));return l&&""!==l?"Change"===p&&(w=Object(i.createElement)("div",{className:"os-widget-wrapper components-placeholder"},Object(i.createElement)("p",{className:"components-heading"},Object(i.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(i.createElement)("div",{className:"components-preview__block"},Object(i.createElement)("div",{className:"components-preview__leftBlockImage"},Object(i.createElement)("img",{src:b,alt:m,className:"image"}),Object(i.createElement)("div",{className:"overlay"},Object(i.createElement)("div",{className:"text"},Object(i.createElement)("a",{href:d,target:"_blank"}," View "),Object(i.createElement)("a",{href:g,target:"_blank"}," Edit "),Object(i.createElement)("a",{href:O,target:"_blank"}," Statistics "),Object(i.createElement)("input",{type:"button",value:p,className:"components-button is-button is-default is-large left-align",onClick:f})))),Object(i.createElement)("div",{className:"components-preview__rightBlockContent"},Object(i.createElement)("div",{className:"components-placeholder__label"},v,": ",m))))):s({buttonText:"Embed"}),Object(i.createElement)("div",{className:r},w)}function u(e){switch(e){case"poll":return OpinionStage.contentPopup.WIDGET_POLL;case"survey":return OpinionStage.contentPopup.WIDGET_SURVEY;case"trivia":return OpinionStage.contentPopup.WIDGET_TRIVIA_QUIZ;case"personality":return OpinionStage.contentPopup.WIDGET_PERSONALITY_QUIZ;case"form":return OpinionStage.contentPopup.WIDGET_FORM}}function p(e){var t=e.attributes,r=t.widgetType,a=t.embedUrl,o=t.lockEmbed,n=t.buttonText,s=t.insertItemImage,c=t.insertItemOsTitle,l=t.insertItemOsView,u=t.insertItemOsEdit,p=t.insertItemOsStatistics;return Object(i.createElement)("div",{class:b(r),"data-type":r,"data-image-url":s,"data-title-url":c,"data-view-url":l,"data-statistics-url":p,"data-edit-url":u,"data-test-url":a,"data-lock-embed":o,"data-button-text":n},'[os-widget path="',a,'"]',Object(i.createElement)("span",null))}function b(e){if(!e)return null;switch(e){case"poll":return"os-poll-wrapper";case"survey":return"os-survey-wrapper";case"trivia":return"os-trivia-wrapper";case"personality":return"os-personality-wrapper";case"form":return"os-form-wrapper";default:console.warn("unknown widget type:",e)}}Object(a.registerBlockType)("opinion-stage/block-os-poll",{title:"Poll",icon:"chart-bar",description:Object(o.__)("Embed an Opinion Stage Poll","social-polls-by-opinionstage"),category:s,keywords:[Object(o.__)("poll","social-polls-by-opinionstage"),Object(o.__)("social poll","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-survey",{title:"Survey",icon:"list-view",description:Object(o.__)("Embed an Opinion Stage Survey","social-polls-by-opinionstage"),category:s,keywords:[Object(o.__)("survey","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-trivia",{title:"Trivia Quiz",icon:"yes",description:Object(o.__)("Embed an Opinion Stage Trivia Quiz","social-polls-by-opinionstage"),category:s,keywords:[Object(o.__)("quiz","social-polls-by-opinionstage"),Object(o.__)("trivia","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-personality",{title:"Personality Quiz",icon:"smiley",description:Object(o.__)("Embed an Opinion Stage Personality Quiz","social-polls-by-opinionstage"),category:s,keywords:[Object(o.__)("personality","social-polls-by-opinionstage"),Object(o.__)("quiz","social-polls-by-opinionstage"),Object(o.__)("outcome","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-form",{title:"Standard Form",icon:"editor-justify",description:Object(o.__)("Embed an Opinion Stage Form","social-polls-by-opinionstage"),category:s,keywords:[Object(o.__)("form","social-polls-by-opinionstage"),Object(o.__)("contact form","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p})}]);
1
+ !function(e){var t={};function r(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(a,i,function(t){return e[t]}.bind(null,i));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=4)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t,r){},function(e,t,r){"use strict";r.r(t);var a=r(2),i=r(1),o=r(0),n=(r(3),{widgetType:{type:"string",source:"attribute",attribute:"data-type",selector:"div[data-type]"},embedUrl:{source:"attribute",attribute:"data-test-url",selector:"div[data-test-url]"},lockEmbed:{source:"attribute",attribute:"data-lock-embed",selector:"div[data-lock-embed]"},buttonText:{source:"attribute",attribute:"data-button-text",selector:"div[data-button-text]"},insertItemImage:{source:"attribute",attribute:"data-image-url",selector:"div[data-image-url]"},insertItemOsTitle:{source:"attribute",attribute:"data-title-url",selector:"div[data-title-url]"},insertItemOsView:{source:"attribute",attribute:"data-view-url",selector:"div[data-view-url]"},insertItemOsEdit:{source:"attribute",attribute:"data-edit-url",selector:"div[data-edit-url]"},insertItemOsStatistics:{source:"attribute",attribute:"data-statistics-url",selector:"div[data-statistics-url]"}}),s="opinion-stage",c={html:!1};function l(e){var t=e.name,r=e.className,n=e.attributes,s=e.setAttributes,c=e.clientId,l=(n.widgetType,n.embedUrl),p=(n.lockEmbed,n.buttonText),b=n.insertItemImage,m=n.insertItemOsTitle,d=n.insertItemOsView,g=n.insertItemOsEdit,O=n.insertItemOsStatistics;if("false"===OPINIONSTAGE_GUTENBERG_DATA.userLoggedIn)return Object(o.createElement)("div",{className:r},Object(o.createElement)("div",{className:"os-widget-wrapper components-placeholder"},Object(o.createElement)("p",{className:"components-heading"},Object(o.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(o.createElement)("p",{className:"components-heading"},"Please connect WordPress to Opinion Stage to start adding polls, quizzes, surveys & forms"),Object(o.createElement)("a",{href:OPINIONSTAGE_GUTENBERG_DATA.loginPageUrl,className:"components-button is-button is-default is-block is-primary"},"Connect")));var y=function(e){switch(e){case"opinion-stage/block-os-poll":return"poll";case"opinion-stage/block-os-survey":return"survey";case"opinion-stage/block-os-trivia":return"trivia";case"opinion-stage/block-os-personality":return"personality";case"opinion-stage/block-os-form":return"form";default:console.warn("unknown block name:",e)}}(t),v=function(e){switch(e){case"poll":return Object(i.__)("Poll");case"survey":return Object(i.__)("Survey");case"trivia":return Object(i.__)("Trivia Quiz");case"personality":return Object(i.__)("Personality Quiz");case"form":return Object(i.__)("Standard Form")}}(y),_=function(e){var t=function(e){switch(e){case"poll":return"poll";case"survey":return"survey";case"trivia":return"trivia";case"personality":return"personality";case"form":return"form"}}(e.type),r={widgetType:t,lockEmbed:!0,buttonText:"Change",embedUrl:e.landingPageUrl.replace(/^https?:\/\/[^/]+\//,"/"),insertItemImage:e.imageUrl,insertItemOsTitle:e.title,insertItemOsView:e.landingPageUrl,insertItemOsEdit:e.editUrl,insertItemOsStatistics:e.statsUrl};if(t===y)s(r);else{var i=Object(a.createBlock)(function(e){switch(e){case"poll":return"opinion-stage/block-os-poll";case"survey":return"opinion-stage/block-os-survey";case"trivia":return"opinion-stage/block-os-trivia";case"personality":return"opinion-stage/block-os-personality";case"form":return"opinion-stage/block-os-form";default:console.warn("unknown block widget type:",e)}}(t));i.attributes=r,wp.data.dispatch("core/block-editor").replaceBlock(c,i)}},f=function(e){OpinionStage.contentPopup.open({preselectWidgetType:u(y),onWidgetSelect:_})},E="".concat(OPINIONSTAGE_GUTENBERG_DATA.createNewWidgetUrl,"&w_type=").concat(function(e){switch(e){case"poll":return"poll";case"survey":return"survey";case"trivia":return"quiz";case"personality":return"outcome";case"form":return"contact_form"}}(y)),j="".concat(OPINIONSTAGE_GUTENBERG_DATA.viewTemplateUrl,"&page=").concat(function(e){switch(e){case"poll":return"polls";case"survey":return"surveys";case"trivia":return"trivia_quizzes";case"personality":return"personality_quizzes";case"form":return"classic_forms"}}(y)),w=Object(o.createElement)("div",{className:"os-widget-wrapper components-placeholder"},Object(o.createElement)("p",{className:"components-heading"},Object(o.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(o.createElement)("button",{className:"components-button is-button is-default is-block is-primary",onClick:f},"Select a ",v),Object(o.createElement)("a",{href:E,target:"_blank",className:"components-button is-button is-default is-block is-primary"},"Create a ",v),Object(o.createElement)("a",{href:j,target:"_blank",className:"components-button is-button is-default is-block is-primary is-bordered"},"View Templates"));return l&&""!==l?"Change"===p&&(w=Object(o.createElement)("div",{className:"os-widget-wrapper components-placeholder"},Object(o.createElement)("p",{className:"components-heading"},Object(o.createElement)("img",{src:OPINIONSTAGE_GUTENBERG_DATA.brandLogoUrl,alt:""})),Object(o.createElement)("div",{className:"components-preview__block"},Object(o.createElement)("div",{className:"components-preview__leftBlockImage"},Object(o.createElement)("img",{src:b,alt:m,className:"image"}),Object(o.createElement)("div",{className:"overlay"},Object(o.createElement)("div",{className:"text"},Object(o.createElement)("a",{href:d,target:"_blank"}," View "),Object(o.createElement)("a",{href:g,target:"_blank"}," Edit "),Object(o.createElement)("a",{href:O,target:"_blank"}," Statistics "),Object(o.createElement)("input",{type:"button",value:p,className:"components-button is-button is-default is-large left-align",onClick:f})))),Object(o.createElement)("div",{className:"components-preview__rightBlockContent"},Object(o.createElement)("div",{className:"components-placeholder__label"},v,": ",m))))):s({buttonText:"Embed"}),Object(o.createElement)("div",{className:r},w)}function u(e){switch(e){case"poll":return OpinionStage.contentPopup.WIDGET_POLL;case"survey":return OpinionStage.contentPopup.WIDGET_SURVEY;case"trivia":return OpinionStage.contentPopup.WIDGET_TRIVIA_QUIZ;case"personality":return OpinionStage.contentPopup.WIDGET_PERSONALITY_QUIZ;case"form":return OpinionStage.contentPopup.WIDGET_FORM}}function p(e){var t=e.attributes,r=t.widgetType,a=t.embedUrl,i=t.lockEmbed,n=t.buttonText,s=t.insertItemImage,c=t.insertItemOsTitle,l=t.insertItemOsView,u=t.insertItemOsEdit,p=t.insertItemOsStatistics;return Object(o.createElement)("div",{class:b(r),"data-type":r,"data-image-url":s,"data-title-url":c,"data-view-url":l,"data-statistics-url":p,"data-edit-url":u,"data-test-url":a,"data-lock-embed":i,"data-button-text":n},'[os-widget path="',a,'"]',Object(o.createElement)("span",null))}function b(e){if(!e)return null;switch(e){case"poll":return"os-poll-wrapper";case"survey":return"os-survey-wrapper";case"trivia":return"os-trivia-wrapper";case"personality":return"os-personality-wrapper";case"form":return"os-form-wrapper";default:console.warn("unknown widget type:",e)}}Object(a.registerBlockType)("opinion-stage/block-os-poll",{title:"Opinionstage Poll",icon:"chart-bar",description:Object(i.__)("Embed an Opinion Stage Poll","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("poll","social-polls-by-opinionstage"),Object(i.__)("social poll","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-survey",{title:"Opinionstage Survey",icon:"list-view",description:Object(i.__)("Embed an Opinion Stage Survey","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("survey","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-trivia",{title:"Opinionstage Trivia Quiz",icon:"yes",description:Object(i.__)("Embed an Opinion Stage Trivia Quiz","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("quiz","social-polls-by-opinionstage"),Object(i.__)("trivia","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-personality",{title:"Opinionstage Personality Quiz",icon:"smiley",description:Object(i.__)("Embed an Opinion Stage Personality Quiz","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("personality","social-polls-by-opinionstage"),Object(i.__)("quiz","social-polls-by-opinionstage"),Object(i.__)("outcome","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p}),Object(a.registerBlockType)("opinion-stage/block-os-form",{title:"Opinionstage Standard Form",icon:"editor-justify",description:Object(i.__)("Embed an Opinion Stage Form","social-polls-by-opinionstage"),category:s,keywords:[Object(i.__)("form","social-polls-by-opinionstage"),Object(i.__)("contact form","social-polls-by-opinionstage")],supports:c,attributes:n,edit:l,save:p})}]);
assets/gutenberg/src/index.js CHANGED
@@ -6,7 +6,7 @@ import save from './save'
6
  import { attributes, category, supports } from './configuration'
7
 
8
  registerBlockType('opinion-stage/block-os-poll', {
9
- title: 'Poll',
10
  icon: 'chart-bar',
11
  description: __('Embed an Opinion Stage Poll', 'social-polls-by-opinionstage'),
12
  category,
@@ -23,7 +23,7 @@ registerBlockType('opinion-stage/block-os-poll', {
23
  })
24
 
25
  registerBlockType('opinion-stage/block-os-survey', {
26
- title: 'Survey',
27
  icon: 'list-view',
28
  description: __('Embed an Opinion Stage Survey', 'social-polls-by-opinionstage'),
29
  category,
@@ -39,7 +39,7 @@ registerBlockType('opinion-stage/block-os-survey', {
39
  })
40
 
41
  registerBlockType('opinion-stage/block-os-trivia', {
42
- title: 'Trivia Quiz',
43
  icon: 'yes',
44
  description: __('Embed an Opinion Stage Trivia Quiz', 'social-polls-by-opinionstage'),
45
  category,
@@ -56,7 +56,7 @@ registerBlockType('opinion-stage/block-os-trivia', {
56
  })
57
 
58
  registerBlockType('opinion-stage/block-os-personality', {
59
- title: 'Personality Quiz',
60
  icon: 'smiley',
61
  description: __('Embed an Opinion Stage Personality Quiz', 'social-polls-by-opinionstage'),
62
  category,
@@ -74,7 +74,7 @@ registerBlockType('opinion-stage/block-os-personality', {
74
  })
75
 
76
  registerBlockType('opinion-stage/block-os-form', {
77
- title: 'Standard Form',
78
  icon: 'editor-justify',
79
  description: __('Embed an Opinion Stage Form', 'social-polls-by-opinionstage'),
80
  category,
6
  import { attributes, category, supports } from './configuration'
7
 
8
  registerBlockType('opinion-stage/block-os-poll', {
9
+ title: 'Opinionstage Poll',
10
  icon: 'chart-bar',
11
  description: __('Embed an Opinion Stage Poll', 'social-polls-by-opinionstage'),
12
  category,
23
  })
24
 
25
  registerBlockType('opinion-stage/block-os-survey', {
26
+ title: 'Opinionstage Survey',
27
  icon: 'list-view',
28
  description: __('Embed an Opinion Stage Survey', 'social-polls-by-opinionstage'),
29
  category,
39
  })
40
 
41
  registerBlockType('opinion-stage/block-os-trivia', {
42
+ title: 'Opinionstage Trivia Quiz',
43
  icon: 'yes',
44
  description: __('Embed an Opinion Stage Trivia Quiz', 'social-polls-by-opinionstage'),
45
  category,
56
  })
57
 
58
  registerBlockType('opinion-stage/block-os-personality', {
59
+ title: 'Opinionstage Personality Quiz',
60
  icon: 'smiley',
61
  description: __('Embed an Opinion Stage Personality Quiz', 'social-polls-by-opinionstage'),
62
  category,
74
  })
75
 
76
  registerBlockType('opinion-stage/block-os-form', {
77
+ title: 'Opinionstage Standard Form',
78
  icon: 'editor-justify',
79
  description: __('Embed an Opinion Stage Form', 'social-polls-by-opinionstage'),
80
  category,
includes/opinionstage-ajax-functions.php DELETED
@@ -1,22 +0,0 @@
1
- <?php
2
- /**
3
- * Ajax Functions
4
- *
5
- * @package OpinionStageWordPressPlugin
6
- */
7
-
8
- defined( 'ABSPATH' ) || die();
9
-
10
- add_action( 'wp_ajax_osa_message_delete', 'opinionstage_message_delete' );
11
-
12
- /**
13
- * Delete message
14
- */
15
- function opinionstage_message_delete() {
16
- if ( isset( $_POST['delete_options_oswp'] ) && true === $_POST['delete_options_oswp'] ) {
17
- delete_option( 'oswp_message_title' );
18
- delete_option( 'oswp_message_content' );
19
- update_option( 'oswp_message_activity_time', time() );
20
- }
21
- wp_die( '1' );
22
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
opinionstage-polls.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://www.opinionstage.com
5
  Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
6
- Version: 19.8.10
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
3
  Plugin Name: Poll, Survey, Form & Quiz Maker by OpinionStage (Deprecated)
4
  Plugin URI: https://www.opinionstage.com
5
  Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
6
+ Version: 19.8.11
7
  Author: OpinionStage.com
8
  Author URI: https://www.opinionstage.com
9
  Text Domain: social-polls-by-opinionstage
plugin.php CHANGED
@@ -8,7 +8,7 @@
8
  * Plugin Name: Poll, Survey & Quiz Maker Plugin by Opinion Stage
9
  * Plugin URI: https://www.opinionstage.com
10
  * Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
11
- * Version: 19.8.10
12
  * Author: OpinionStage.com
13
  * Author URI: https://www.opinionstage.com
14
  * Text Domain: social-polls-by-opinionstage
@@ -34,7 +34,7 @@ if ( defined( 'WP_DEBUG' ) && true === WP_DEBUG ) {
34
  }
35
  }
36
 
37
- define( 'OPINIONSTAGE_WIDGET_VERSION', '19.8.10' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
  define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
@@ -95,7 +95,9 @@ define(
95
  )
96
  );
97
 
98
- if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
 
 
99
  add_action( 'admin_notices', 'opinionstage_fail_php_version' );
100
  } elseif ( ! version_compare( get_bloginfo( 'version' ), '4.7', '>=' ) ) {
101
  add_action( 'admin_notices', 'opinionstage_fail_wp_version' );
@@ -134,17 +136,12 @@ if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
134
  require_once plugin_dir_path( __FILE__ ) . 'includes/opinionstage-sidebar-widget.php';
135
  require_once plugin_dir_path( __FILE__ ) . 'includes/class-opinionstagefeedback.php';
136
 
137
- if ( ( function_exists( 'wp_doing_ajax' ) && wp_doing_ajax() ) || ( defined( 'DOING_AJAX' ) ) ) {
138
- require_once plugin_dir_path( __FILE__ ) . 'includes/opinionstage-ajax-functions.php';
139
- require plugin_dir_path( __FILE__ ) . 'public/init.php';
140
- } else {
141
- if ( is_admin() ) {
142
- require plugin_dir_path( __FILE__ ) . 'admin/init.php';
143
- } else {
144
- require plugin_dir_path( __FILE__ ) . 'public/init.php';
145
- }
146
- require_once OPINIONSTAGE_PLUGIN_DIR . 'includes/gutenberg.php';
147
- }
148
 
149
  add_action( 'widgets_init', 'opinionstage_init_widget' );
150
  add_action( 'plugins_loaded', 'opinionstage_init' );
@@ -174,7 +171,7 @@ if ( ! version_compare( PHP_VERSION, '5.2', '>=' ) ) {
174
  */
175
  function opinionstage_fail_php_version() {
176
  /* translators: %s: PHP version */
177
- $message = sprintf( esc_html__( 'Poll, Survey & Quiz Maker Plugin by Opinion Stage requires PHP version %s+, plugin is currently NOT RUNNING.', 'social-polls-by-opinionstage' ), '5.2' );
178
  $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
179
  echo wp_kses_post( $html_message );
180
  }
8
  * Plugin Name: Poll, Survey & Quiz Maker Plugin by Opinion Stage
9
  * Plugin URI: https://www.opinionstage.com
10
  * Description: Add a highly engaging poll, survey, quiz or contact form builder to your site. You can add the poll, survey, quiz or form to any post/page or to the sidebar.
11
+ * Version: 19.8.11
12
  * Author: OpinionStage.com
13
  * Author URI: https://www.opinionstage.com
14
  * Text Domain: social-polls-by-opinionstage
34
  }
35
  }
36
 
37
+ define( 'OPINIONSTAGE_WIDGET_VERSION', '19.8.11' );
38
 
39
  define( 'OPINIONSTAGE_TEXT_DOMAIN', 'social-polls-by-opinionstage' );
40
  define( 'OPINIONSTAGE_WIDGET_API_KEY', 'wp35e8' );
95
  )
96
  );
97
 
98
+ define('OPINIONSTAGE_REQUIRED_PHP_VERSION', '5.2' );
99
+
100
+ if ( ! version_compare( PHP_VERSION, OPINIONSTAGE_REQUIRED_PHP_VERSION, '>=' ) ) {
101
  add_action( 'admin_notices', 'opinionstage_fail_php_version' );
102
  } elseif ( ! version_compare( get_bloginfo( 'version' ), '4.7', '>=' ) ) {
103
  add_action( 'admin_notices', 'opinionstage_fail_wp_version' );
136
  require_once plugin_dir_path( __FILE__ ) . 'includes/opinionstage-sidebar-widget.php';
137
  require_once plugin_dir_path( __FILE__ ) . 'includes/class-opinionstagefeedback.php';
138
 
139
+ if ( is_admin() ) {
140
+ require plugin_dir_path( __FILE__ ) . 'admin/init.php';
141
+ } else {
142
+ require plugin_dir_path( __FILE__ ) . 'public/init.php';
143
+ }
144
+ require_once OPINIONSTAGE_PLUGIN_DIR . 'includes/gutenberg.php';
 
 
 
 
 
145
 
146
  add_action( 'widgets_init', 'opinionstage_init_widget' );
147
  add_action( 'plugins_loaded', 'opinionstage_init' );
171
  */
172
  function opinionstage_fail_php_version() {
173
  /* translators: %s: PHP version */
174
+ $message = sprintf( esc_html__( 'Poll, Survey & Quiz Maker Plugin by Opinion Stage requires PHP version %s+, plugin is currently NOT RUNNING.', 'social-polls-by-opinionstage' ), OPINIONSTAGE_REQUIRED_PHP_VERSION );
175
  $html_message = sprintf( '<div class="error">%s</div>', wpautop( $message ) );
176
  echo wp_kses_post( $html_message );
177
  }
public/init.php CHANGED
@@ -11,4 +11,3 @@ add_shortcode(OPINIONSTAGE_WIDGET_SHORTCODE, 'opinionstage_widget_shortcode');
11
  add_shortcode(OPINIONSTAGE_PLACEMENT_SHORTCODE, 'opinionstage_placement_shortcode');
12
 
13
  add_action('wp_head', 'opinionstage_add_flyout');
14
- ?>
11
  add_shortcode(OPINIONSTAGE_PLACEMENT_SHORTCODE, 'opinionstage_placement_shortcode');
12
 
13
  add_action('wp_head', 'opinionstage_add_flyout');
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.opinionstage.com
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
  Tested up to: 5.8.1
7
- Stable tag: 19.8.10
8
  Requires PHP: 7.0
9
 
10
  Add a Poll, Survey, or Quiz Plugin to your WordPress site. Create a poll, quiz, or survey from scratch or based on templates.
@@ -46,7 +46,7 @@ You can create the items from scratch or using hundreds of optimized templates.
46
  * Popup the items automatically when users enters/exits the page.
47
  * Responsive design that optimizes display of polls, quizzes and surveys in desktops, tablets and mobile devices.
48
 
49
- https://www.youtube.com/watch?v=EDtpm6zVKvk
50
 
51
  == Templates & Examples ==
52
 
@@ -150,6 +150,10 @@ Opinion Stage makes it easy for you to comply with the GDPR regulation. For more
150
  N/A
151
 
152
  == Changelog ==
 
 
 
 
153
  = 19.8.10 =
154
  * internal code improvements
155
  = 19.8.9 =
4
  Tags: poll, quiz, survey, poll plugin, quiz plugin, survey plugin
5
  Requires at least: 2.8
6
  Tested up to: 5.8.1
7
+ Stable tag: 19.8.11
8
  Requires PHP: 7.0
9
 
10
  Add a Poll, Survey, or Quiz Plugin to your WordPress site. Create a poll, quiz, or survey from scratch or based on templates.
46
  * Popup the items automatically when users enters/exits the page.
47
  * Responsive design that optimizes display of polls, quizzes and surveys in desktops, tablets and mobile devices.
48
 
49
+ https://www.youtube.com/watch?v=DMcosYCBFDs
50
 
51
  == Templates & Examples ==
52
 
150
  N/A
151
 
152
  == Changelog ==
153
+ = 19.8.11 =
154
+ * new tutorials & help experience
155
+ * new getting started experience
156
+ * internal code improvements
157
  = 19.8.10 =
158
  * internal code improvements
159
  = 19.8.9 =