diff --git a/assets/css/admin.css b/assets/css/admin.css index b747b78..9a39f57 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -1 +1 @@ -:root{--gtmkit-background-white:#fff;--gtmkit-border-color:#ddd;--gtmkit-text-color-heading:#454545;--gtmkit-text-color-grey:#777777;--gtmkit-color-primary:#3969bb;--gtmkit-color-secondary:#00a32a;--gtmkit-color-success:#00a32a;--gtmkit-color-error:red;--gtmkit-space-h:2rem;--gtmkit-space-v:1.5rem;--gtmkit-font-size-l:18px;--gtmkit-font-size-m:16px;--gtmkit-font-size-s:14px;--gtmkit-font-size-xl:22px;--gtmkit-font-size-xs:12px;--gtmkit-font-size-xxl:24px;--gtmkit-button-disabled-bg:#F5F5F5;--gtmkit-button-disabled-border:1px solid #DDDDDD;--gtmkit-button-disabled-text:#bbb;--gtmkit-button-primary-bg:var(--gtmkit-color-primary);--gtmkit-button-primary-bg-hover:#397EEB;--gtmkit-button-primary-text:#fff;--gtmkit-button-primary-text-hover:#fff;--gtmkit-button-secondary-bg:#F8F8F8;--gtmkit-button-secondary-bg-hover:#fff;--gtmkit-button-secondary-border:#DDDDDD;--gtmkit-button-secondary-text:#777;--gtmkit-button-secondary-text-hover:#454545}.gtmkit-admin-page #wpcontent{padding-left:0!important}.gtmkit-admin-page #wpcontent *,.gtmkit-admin-page #wpcontent ::after,.gtmkit-admin-page #wpcontent ::before{box-sizing:border-box}.gtmkit_header{padding:24px var(--gtmkit-space-h)}.gtmkit_header h1#gtmkit-title{margin:0;display:flex;align-items:center;font-size:28px;font-weight:500}.gtmkit_header h1#gtmkit-title img{margin-right:1em}.gtmkit-header-navigation{align-items:center;background:var(--gtmkit-background-white);border-color:var(--gtmkit-border-color);border-style:solid;border-width:1px 0;display:flex;justify-content:space-between;min-height:60px;padding:0 var(--gtmkit-space-h)}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper{display:flex;align-items:center;margin:0}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li{margin-bottom:0;margin-right:2rem;outline:0!important;border-top:none}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a{border-bottom:4px solid var(--gtmkit-background-white);color:var(--gtmkit-text-color-grey);display:block;font-weight:600;padding:20px 0 18px 0;text-decoration:none;transition:border .3s ease;box-shadow:none}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active:focus,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active:focus:active{border-color:var(--gtmkit-color-primary);color:var(--gtmkit-text-color-heading);border-top:none}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active:hover,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a:hover{border-color:var(--gtmkit-text-color-grey)}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active:focus,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active:focus:active,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active:hover{border-color:var(--gtmkit-color-primary);color:var(--gtmkit-text-color-heading)}.gtmkit-tab{padding:24px var(--gtmkit-space-h);display:none;max-width:1920px}.gtmkit-tab.active{display:block}.gtmkit-tab label.select,.gtmkit-tab label.textinput{float:left;width:200px;margin:5px 0}.gtmkit-tab input.textinput,.gtmkit-tab select,.gtmkit-tab textarea{width:400px}.gtmkit-tab .description{margin:5px}.gtmkit-tab .success{color:var(--gtmkit-color-success)}.gtmkit-tab .error{color:var(--gtmkit-color-error)}.gtmkit-tab input[type=radio]{margin-bottom:-4px}.gtmkit-tab .form-table{margin-top:20px}.gtmkit-tab .form-table td,.gtmkit-tab .form-table th{padding-top:16px;padding-bottom:16px}.gtmkit-tab .form-table td fieldset label{font-size:13px}.gtmkit-tab .form-table td fieldset label.radio{line-height:1}.gtmkit-tab .gtmkit-form-legend{font-size:14px;font-weight:600}.gtmkit-metabox{background:var(--gtmkit-background-white);border:1px solid var(--gtmkit-border-color);border-radius:4px}.gtmkit-items-list{padding:calc(var(--gtmkit-space-v)/ 2) 12px 0;width:100%}.gtmkit-items-list ul{align-content:stretch;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:0}.gtmkit-items-list.single-item{padding-left:0}.gtmkit-items-list.single-item .gtmkit-list-item{margin-left:0}.gtmkit-list-item{background:var(--gtmkit-background-white);border:1px solid var(--gtmkit-border-color);border-radius:4px;margin-bottom:24px;margin-right:12px;margin-left:12px;max-width:100%;padding:16px 20px;position:relative;width:100%}.gtmkit-list-item.disabled{opacity:.5}.gtmkit-list-item h3{font-size:var(--gtmkit-font-size-m);line-height:1.2;margin:0;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.gtmkit-list-item p{margin-bottom:0}.gtmkit-list-item .gtmkit-list-item-pill{position:absolute;top:16px;right:16px;font-size:12px;font-weight:700;text-transform:uppercase;line-height:1;padding:4px 8px;border-radius:40px}.gtmkit-list-item .gtmkit-list-item-pill.gtmkit-list-item-pill-green{background:var(--gtmkit-color-success);color:#fff}.gtmkit-list-item .gtmkit-list-item-pill.gtmkit-list-item-pill-red{background:var(--gtmkit-color-error);color:#fff}.gtmkit-list-item.gtmkit-list-item-has-pill h3{max-width:calc(100% - 60px)}@media (min-width:1024px){.gtmkit-list-item{width:calc(50% - 24px)}}@media (min-width:1440px){.gtmkit-list-item{width:calc(33.3333333333% - 24px)}}.gtmkit-list-item-actions{position:relative;min-height:40px}.gtmkit-list-item:focus .gtmkit-list-item-description,.gtmkit-list-item:hover .gtmkit-list-item-description{opacity:0}.gtmkit-list-item:focus .gtmkit-list-item-buttons,.gtmkit-list-item:hover .gtmkit-list-item-buttons{opacity:1}.gtmkit-list-item-buttons{display:flex;justify-content:space-between;opacity:0;position:absolute;top:0;width:100%;z-index:10}.gtmkit-list-item-buttons .gtmkit-button{flex-grow:1;margin-left:10px;text-align:center;background-color:var(--gtmkit-button-primary-bg);border:1px solid var(--gtmkit-button-primary-bg);border-radius:4px;color:var(--gtmkit-button-primary-text);cursor:pointer;display:inline-block;font-size:var(--gtmkit-font-size-s);font-weight:700;line-height:1;padding:10px 16px;text-decoration:none}.gtmkit-list-item-buttons .gtmkit-button.gtmkit-button-secondary{background-color:var(--gtmkit-button-secondary-bg);border:1px solid var(--gtmkit-button-secondary-border);color:var(--gtmkit-button-secondary-text)}.gtmkit-list-item-buttons .gtmkit-button.gtmkit-button-secondary:focus,.gtmkit-list-item-buttons .gtmkit-button.gtmkit-button-secondary:hover{background-color:var(--gtmkit-button-secondary-bg-hover);border-color:var(--gtmkit-button-secondary-border);color:var(--gtmkit-button-secondary-text-hover)}.gtmkit-list-item-buttons .gtmkit-button:first-child{margin-left:0}.gtmkit-list-item-buttons .gtmkit-button:focus,.gtmkit-list-item-buttons .gtmkit-button:hover{background-color:var(--gtmkit-button-primary-bg-hover);border-color:var(--gtmkit-button-primary-bg-hover);color:var(--gtmkit-button-primary-text-hover)}#gtmkit-submit-container{padding:24px var(--gtmkit-space-h)}#sidebar-container{width:300px;padding-left:20px;padding-top:10px}#sidebar-container h3{padding:8px 12px;margin:0;line-height:1.4}#sidebar-container ul{margin:1em}#sidebar-container a{text-decoration:none}#sidebar-container .inside{background:var(--gtmkit-background-white);border-left:0;border-right:0}#sidebar-container #credit{text-align:center;font-size:10px;color:#888;line-height:3em;margin:3em 0;min-width:255px}.gtmkit-clear:before{content:" ";display:table}.gtmkit-clear:after{clear:both;content:" ";display:table}.gtmkit-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}.gtmkit-setting-row:first-of-type{padding-top:10px!important}.gtmkit-setting-row.inactive{display:none}.gtmkit-setting-row .gtmkit-setting-mid-row-sep{background:#e4e4e4;height:1px;border:0;margin:15px 0}.gtmkit-setting-row.section-heading{padding:20px 0}.gtmkit-setting-row.section-heading.no-desc h2,.gtmkit-setting-row.section-heading.no-desc h4{margin:0}.gtmkit-setting-row.section-heading .gtmkit-setting-field{margin:0;max-width:1005px}.gtmkit-setting-row.gtmkit-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}.gtmkit-setting-row.gtmkit-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px;vertical-align:baseline}.gtmkit-setting-row.gtmkit-setting-row-checkbox .desc{margin:0 0 0 30px}.gtmkit-setting-row.gtmkit-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}.gtmkit-setting-row.gtmkit-setting-row-email .gtmkit-setting-label,.gtmkit-setting-row.gtmkit-setting-row-number .gtmkit-setting-label,.gtmkit-setting-row.gtmkit-setting-row-password .gtmkit-setting-label,.gtmkit-setting-row.gtmkit-setting-row-text .gtmkit-setting-label{padding-top:8px}.gtmkit-setting-row.gtmkit-setting-row-select .gtmkit-setting-label{padding-top:8px}.gtmkit-setting-row.gtmkit-setting-row-radio .gtmkit-setting-field input[type=radio]{margin:-3px 10px 0 0}.gtmkit-setting-row.gtmkit-setting-row-radio .gtmkit-setting-field label{margin-right:30px;display:inline-block}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field label{vertical-align:middle;display:inline-block}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]{position:absolute;top:auto;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;white-space:nowrap}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch{background-color:#00a32a}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch:before{transform:translateX(16px)}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:checked:hover+.gtmkit-setting-toggle-switch,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:not(:checked):hover+.gtmkit-setting-toggle-switch{box-shadow:none}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:not(:checked):hover+.gtmkit-setting-toggle-switch{background-color:#ddd}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled+.gtmkit-setting-toggle-switch{background-color:#ddd;cursor:default}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:checked+.gtmkit-setting-toggle-switch{background-color:#24ff5c;cursor:default}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-checked-label{display:inline-block}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-checked-label+.gtmkit-setting-toggle-unchecked-label{display:none}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-checked-label,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-unchecked-label{color:#aaa}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked:focus+.gtmkit-setting-toggle-switch,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked:hover+.gtmkit-setting-toggle-switch{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a32a}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:not(:checked):focus+.gtmkit-setting-toggle-switch,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:not(:checked):hover+.gtmkit-setting-toggle-switch{background-color:#999;box-shadow:0 0 0 1px #fff,0 0 0 3px #999}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-checked-label,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-unchecked-label{text-transform:uppercase;font-weight:400;color:#777;font-size:13px}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-checked-label{display:none}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;transition:all .2s ease-in-out;vertical-align:middle;display:inline-block;margin:0 5px 0 0;width:36px;height:20px}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-switch:before{position:absolute;content:"";height:16px;width:16px;left:2px;top:2px;background-color:#fff;border-radius:50%;transition:all .2s ease-in-out}.gtmkit-setting-row h2,.gtmkit-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}.gtmkit-setting-row h2{margin-bottom:15px}.gtmkit-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}.gtmkit-setting-row h5{color:#444;font-size:16px;font-weight:600;margin:0 0 20px 0}.gtmkit-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.5em}.gtmkit-setting-row p:first-of-type{margin:8px 0 0}.gtmkit-setting-row p.desc{font-style:italic;color:#777}.gtmkit-setting-row p.buttonned{margin-top:30px}.gtmkit-setting-row ul{margin:8px 0 0}.gtmkit-setting-row ul.list li{margin-left:20px;list-style-type:disc}.gtmkit-setting-row table.actions-list td,.gtmkit-setting-row table.actions-list th{padding:5px 5px 5px 0;text-align:left}.gtmkit-setting-row table.actions-list td.email{padding-right:2em}.gtmkit-setting-row table.actions-list td.status{width:100px}.gtmkit-setting-row table.actions-list td.actions a{border-bottom:1px solid;display:inline-block;margin-right:5px;text-decoration:none}.gtmkit-setting-row table.actions-list td.actions a[class*=delete],.gtmkit-setting-row table.actions-list td.actions a[class*=error]{color:#a00}.gtmkit-setting-row table.actions-list td.actions a[class*=delete]:active,.gtmkit-setting-row table.actions-list td.actions a[class*=delete]:focus,.gtmkit-setting-row table.actions-list td.actions a[class*=delete]:hover,.gtmkit-setting-row table.actions-list td.actions a[class*=error]:active,.gtmkit-setting-row table.actions-list td.actions a[class*=error]:focus,.gtmkit-setting-row table.actions-list td.actions a[class*=error]:hover{color:#400}.gtmkit-setting-row input[type=email],.gtmkit-setting-row input[type=number],.gtmkit-setting-row input[type=password],.gtmkit-setting-row input[type=text],.gtmkit-setting-row select{background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px;line-height:1.3}.gtmkit-setting-row input[type=email][readonly],.gtmkit-setting-row input[type=number][readonly],.gtmkit-setting-row input[type=password][readonly],.gtmkit-setting-row input[type=text][readonly],.gtmkit-setting-row select[readonly]{background-color:#f9f9f9}.gtmkit-setting-row input[type=email].small-text,.gtmkit-setting-row input[type=number].small-text,.gtmkit-setting-row input[type=password].small-text,.gtmkit-setting-row input[type=text].small-text,.gtmkit-setting-row select.small-text{width:75px}.gtmkit-setting-row input[type=email]:focus,.gtmkit-setting-row input[type=number]:focus,.gtmkit-setting-row input[type=password]:focus,.gtmkit-setting-row input[type=text]:focus,.gtmkit-setting-row select:focus{border:1px solid #016aab;box-shadow:0 0 0 1px #016aab;outline:0}.gtmkit-setting-row input[type=email]:disabled,.gtmkit-setting-row input[type=number]:disabled,.gtmkit-setting-row input[type=password]:disabled,.gtmkit-setting-row input[type=text]:disabled,.gtmkit-setting-row select:disabled{opacity:.6}.gtmkit-setting-row input[type=checkbox]:focus,.gtmkit-setting-row input[type=radio]:focus{border:1px solid #016aab;box-shadow:0 0 0 1px #016aab;outline:0}.gtmkit-setting-row .gtmkit-dashicons-yes-alt-green.gtmkit-animate{-webkit-animation:gtmkit-fade-in-stop-out 1s linear;animation:gtmkit-fade-in-stop-out 1s linear}.gtmkit-setting-row .gtmkit-dashicons-yes-alt-green.gtmkit-success{color:#00a32a}.gtmkit-setting-label{display:block;float:left;width:225px;padding:0 20px 0 0}.gtmkit-setting-label label{display:block;font-weight:600}.gtmkit-setting-field{display:block;margin:0 0 0 225px;max-width:800px}.gtmkit-setting-field hr{margin:20px 0}.gtmkit-setting-field .gtmkit-setting-field-row{display:flex;flex-wrap:wrap}.gtmkit-setting-field .gtmkit-setting-field-row>.gtmkit-btn{margin-right:10px}.gtmkit_radio_block{line-height:20px}[class^=gtmkit-dashicons]{display:inline-block;width:20px;height:20px}.gtmkit-dashicons-yes-alt-green{background-image:url(../images/icons/dashicons/dashicons-yes-alt-green.svg)}.gtmkit-dashicons-pdf-gray{background-image:url(../images/icons/dashicons/dashicons-pdf-grey.svg)}code{font-style:normal}.gtmkit_section_message{width:75%}.gtmkit_section_message.space-top{margin-top:100px}.gtmkit_section_message.warning{margin-top:10px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.gtmkit_section_message h3{padding:8px 12px;margin:0;line-height:1.4}.gtmkit_section_message h3 .version{color:#777;font-size:12px;margin-left:8px;font-weight:400}.gtmkit_section_message ul{margin:1em} \ No newline at end of file +:root{--gtmkit-background-white:#fff;--gtmkit-border-color:#ddd;--gtmkit-text-color-heading:#454545;--gtmkit-text-color-grey:#777777;--gtmkit-color-primary:#3969bb;--gtmkit-color-secondary:#00a32a;--gtmkit-color-success:#00a32a;--gtmkit-color-error:red;--gtmkit-space-h:2rem;--gtmkit-space-v:1.5rem;--gtmkit-font-size-l:18px;--gtmkit-font-size-m:16px;--gtmkit-font-size-s:14px;--gtmkit-font-size-xl:22px;--gtmkit-font-size-xs:12px;--gtmkit-font-size-xxl:24px;--gtmkit-button-disabled-bg:#F5F5F5;--gtmkit-button-disabled-border:1px solid #DDDDDD;--gtmkit-button-disabled-text:#bbb;--gtmkit-button-primary-bg:var(--gtmkit-color-primary);--gtmkit-button-primary-bg-hover:#397EEB;--gtmkit-button-primary-text:#fff;--gtmkit-button-primary-text-hover:#fff;--gtmkit-button-secondary-bg:#F8F8F8;--gtmkit-button-secondary-bg-hover:#fff;--gtmkit-button-secondary-border:#DDDDDD;--gtmkit-button-secondary-text:#777;--gtmkit-button-secondary-text-hover:#454545}.gtmkit-admin-page #wpcontent{padding-left:0!important}.gtmkit-admin-page #wpcontent *,.gtmkit-admin-page #wpcontent ::after,.gtmkit-admin-page #wpcontent ::before{box-sizing:border-box}.gtmkit_header{padding:24px var(--gtmkit-space-h)}.gtmkit_header h1#gtmkit-title{margin:0;display:flex;align-items:center;font-size:28px;font-weight:500}.gtmkit_header h1#gtmkit-title img{margin-right:1em}.gtmkit-header-navigation{align-items:center;background:var(--gtmkit-background-white);border-color:var(--gtmkit-border-color);border-style:solid;border-width:1px 0;display:flex;justify-content:space-between;min-height:60px;padding:0 var(--gtmkit-space-h)}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper{display:flex;align-items:center;margin:0}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li{margin-bottom:0;margin-right:2rem;outline:0!important;border-top:none}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a{border-bottom:4px solid var(--gtmkit-background-white);color:var(--gtmkit-text-color-grey);display:block;font-weight:600;padding:20px 0 18px 0;text-decoration:none;transition:border .3s ease;box-shadow:none}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active:focus,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active:focus:active{border-color:var(--gtmkit-color-primary);color:var(--gtmkit-text-color-heading);border-top:none}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a.active:hover,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper li a:hover{border-color:var(--gtmkit-text-color-grey)}.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active:focus,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active:focus:active,.gtmkit-header-navigation .gtmkit-nav-tab-wrapper .nav-tab-active:hover{border-color:var(--gtmkit-color-primary);color:var(--gtmkit-text-color-heading)}.gtmkit-tab{padding:24px var(--gtmkit-space-h);display:none;max-width:1920px}.gtmkit-tab.active{display:block}.gtmkit-tab label.select,.gtmkit-tab label.textinput{float:left;width:200px;margin:5px 0}.gtmkit-tab input.textinput,.gtmkit-tab select,.gtmkit-tab textarea{width:400px}.gtmkit-tab .description{margin:5px}.gtmkit-tab .success{color:var(--gtmkit-color-success)}.gtmkit-tab .error{color:var(--gtmkit-color-error)}.gtmkit-tab input[type=radio]{margin-bottom:-4px}.gtmkit-tab .form-table{margin-top:20px}.gtmkit-tab .form-table td,.gtmkit-tab .form-table th{padding-top:16px;padding-bottom:16px}.gtmkit-tab .form-table td fieldset label{font-size:13px}.gtmkit-tab .form-table td fieldset label.radio{line-height:1}.gtmkit-tab .gtmkit-form-legend{font-size:14px;font-weight:600}.gtmkit-metabox{background:var(--gtmkit-background-white);border:1px solid var(--gtmkit-border-color);border-radius:4px}.gtmkit-items-list{padding:calc(var(--gtmkit-space-v)/ 2) 12px 0;width:100%}.gtmkit-items-list ul{align-content:stretch;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:0}.gtmkit-items-list.single-item{padding-left:0}.gtmkit-items-list.single-item .gtmkit-list-item{margin-left:0}.gtmkit-list-item{background:var(--gtmkit-background-white);border:1px solid var(--gtmkit-border-color);border-radius:4px;margin-bottom:24px;margin-right:12px;margin-left:12px;max-width:100%;padding:16px 20px;position:relative;width:100%}.gtmkit-list-item.disabled{opacity:.5}.gtmkit-list-item h3{font-size:var(--gtmkit-font-size-m);line-height:1.2;margin:0;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.gtmkit-list-item p{margin-bottom:0}.gtmkit-list-item .gtmkit-list-item-pill{position:absolute;top:16px;right:16px;font-size:12px;font-weight:700;text-transform:uppercase;line-height:1;padding:4px 8px;border-radius:40px}.gtmkit-list-item .gtmkit-list-item-pill.gtmkit-list-item-pill-green{background:var(--gtmkit-color-success);color:#fff}.gtmkit-list-item .gtmkit-list-item-pill.gtmkit-list-item-pill-red{background:var(--gtmkit-color-error);color:#fff}.gtmkit-list-item.gtmkit-list-item-has-pill h3{max-width:calc(100% - 60px)}@media (min-width:1024px){.gtmkit-list-item{width:calc(50% - 24px)}}@media (min-width:1440px){.gtmkit-list-item{width:calc(33.3333333333% - 24px)}}.gtmkit-list-item-actions{position:relative;min-height:40px}.gtmkit-list-item:focus .gtmkit-list-item-description,.gtmkit-list-item:hover .gtmkit-list-item-description{opacity:0}.gtmkit-list-item:focus .gtmkit-list-item-buttons,.gtmkit-list-item:hover .gtmkit-list-item-buttons{opacity:1}.gtmkit-list-item-buttons{display:flex;justify-content:space-between;opacity:0;position:absolute;top:0;width:100%;z-index:10}.gtmkit-list-item-buttons .gtmkit-button{flex-grow:1;margin-left:10px;text-align:center;background-color:var(--gtmkit-button-primary-bg);border:1px solid var(--gtmkit-button-primary-bg);border-radius:4px;color:var(--gtmkit-button-primary-text);cursor:pointer;display:inline-block;font-size:var(--gtmkit-font-size-s);font-weight:700;line-height:1;padding:10px 16px;text-decoration:none}.gtmkit-list-item-buttons .gtmkit-button.gtmkit-button-secondary{background-color:var(--gtmkit-button-secondary-bg);border:1px solid var(--gtmkit-button-secondary-border);color:var(--gtmkit-button-secondary-text)}.gtmkit-list-item-buttons .gtmkit-button.gtmkit-button-secondary:focus,.gtmkit-list-item-buttons .gtmkit-button.gtmkit-button-secondary:hover{background-color:var(--gtmkit-button-secondary-bg-hover);border-color:var(--gtmkit-button-secondary-border);color:var(--gtmkit-button-secondary-text-hover)}.gtmkit-list-item-buttons .gtmkit-button:first-child{margin-left:0}.gtmkit-list-item-buttons .gtmkit-button:focus,.gtmkit-list-item-buttons .gtmkit-button:hover{background-color:var(--gtmkit-button-primary-bg-hover);border-color:var(--gtmkit-button-primary-bg-hover);color:var(--gtmkit-button-primary-text-hover)}#gtmkit-submit-container{padding:24px var(--gtmkit-space-h)}#sidebar-container{width:300px;padding-left:20px;padding-top:10px}#sidebar-container h3{padding:8px 12px;margin:0;line-height:1.4}#sidebar-container ul{margin:1em}#sidebar-container a{text-decoration:none}#sidebar-container .inside{background:var(--gtmkit-background-white);border-left:0;border-right:0}#sidebar-container #credit{text-align:center;font-size:10px;color:#888;line-height:3em;margin:3em 0;min-width:255px}.gtmkit-clear:before{content:" ";display:table}.gtmkit-clear:after{clear:both;content:" ";display:table}.gtmkit-setting-row{border-bottom:1px solid #e4e4e4;padding:30px 0;font-size:14px;line-height:1.3}.gtmkit-setting-row:first-of-type{padding-top:10px!important}.gtmkit-setting-row.inactive{display:none}.gtmkit-setting-row .gtmkit-setting-mid-row-sep{background:#e4e4e4;height:1px;border:0;margin:15px 0}.gtmkit-setting-row.section-heading{padding:20px 0}.gtmkit-setting-row.section-heading.no-desc h2,.gtmkit-setting-row.section-heading.no-desc h4{margin:0}.gtmkit-setting-row.section-heading .gtmkit-setting-field{margin:0;max-width:1005px}.gtmkit-setting-row.gtmkit-setting-row-checkbox input[type=checkbox]{float:left;margin:1px 0 0 0}.gtmkit-setting-row.gtmkit-setting-row-checkbox input[type=checkbox]+label{margin:0 0 0 8px;vertical-align:baseline}.gtmkit-setting-row.gtmkit-setting-row-checkbox .desc{margin:0 0 0 30px}.gtmkit-setting-row.gtmkit-setting-row-checkbox input[type=checkbox]+label+.desc{margin:8px 0 0 0}.gtmkit-setting-row.gtmkit-setting-row-email .gtmkit-setting-label,.gtmkit-setting-row.gtmkit-setting-row-number .gtmkit-setting-label,.gtmkit-setting-row.gtmkit-setting-row-password .gtmkit-setting-label,.gtmkit-setting-row.gtmkit-setting-row-text .gtmkit-setting-label{padding-top:8px}.gtmkit-setting-row.gtmkit-setting-row-select .gtmkit-setting-label{padding-top:8px}.gtmkit-setting-row.gtmkit-setting-row-radio .gtmkit-setting-field input[type=radio]{margin:-3px 10px 0 0}.gtmkit-setting-row.gtmkit-setting-row-radio .gtmkit-setting-field label{margin-right:30px;display:inline-block}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field label{vertical-align:middle;display:inline-block}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]{position:absolute;top:auto;overflow:hidden;clip:rect(1px,1px,1px,1px);width:1px;height:1px;white-space:nowrap}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch{background-color:#00a32a}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch:before{transform:translateX(16px)}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:checked:hover+.gtmkit-setting-toggle-switch,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:not(:checked):hover+.gtmkit-setting-toggle-switch{box-shadow:none}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:not(:checked):hover+.gtmkit-setting-toggle-switch{background-color:#ddd}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled+.gtmkit-setting-toggle-switch{background-color:#ddd;cursor:default}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled:checked+.gtmkit-setting-toggle-switch{background-color:#24ff5c;cursor:default}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-checked-label{display:inline-block}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-checked-label+.gtmkit-setting-toggle-unchecked-label{display:none}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-checked-label,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:disabled+.gtmkit-setting-toggle-switch+.gtmkit-setting-toggle-unchecked-label{color:#aaa}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked:focus+.gtmkit-setting-toggle-switch,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:checked:hover+.gtmkit-setting-toggle-switch{box-shadow:0 0 0 1px #fff,0 0 0 3px #00a32a}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:not(:checked):focus+.gtmkit-setting-toggle-switch,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field input[type=checkbox]:not(:checked):hover+.gtmkit-setting-toggle-switch{background-color:#999;box-shadow:0 0 0 1px #fff,0 0 0 3px #999}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-checked-label,.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-unchecked-label{text-transform:uppercase;font-weight:400;color:#777;font-size:13px}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-checked-label{display:none}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-switch{position:relative;cursor:pointer;background-color:#ccc;border-radius:15px;transition:all .2s ease-in-out;vertical-align:middle;display:inline-block;margin:0 5px 0 0;width:36px;height:20px}.gtmkit-setting-row.gtmkit-setting-row-checkbox-toggle .gtmkit-setting-field .gtmkit-setting-toggle-switch:before{position:absolute;content:"";height:16px;width:16px;left:2px;top:2px;background-color:#fff;border-radius:50%;transition:all .2s ease-in-out}.gtmkit-setting-row h2,.gtmkit-setting-row h4{color:#444;font-size:20px;font-weight:700;margin:0 0 6px 0}.gtmkit-setting-row h2{margin-bottom:15px}.gtmkit-setting-row h3{color:#444;font-size:24px;font-weight:600;margin:0 0 20px 0}.gtmkit-setting-row h5{color:#444;font-size:16px;font-weight:600;margin:0 0 20px 0}.gtmkit-setting-row p{margin:12px 0 0;font-size:14px;line-height:1.5em}.gtmkit-setting-row p:first-of-type{margin:8px 0 0}.gtmkit-setting-row p.desc{font-style:italic;color:#777}.gtmkit-setting-row p.buttonned{margin-top:30px}.gtmkit-setting-row ul{margin:8px 0 0}.gtmkit-setting-row ul.list li{margin-left:20px;list-style-type:disc}.gtmkit-setting-row table.actions-list td,.gtmkit-setting-row table.actions-list th{padding:5px 5px 5px 0;text-align:left}.gtmkit-setting-row table.actions-list td.email{padding-right:2em}.gtmkit-setting-row table.actions-list td.status{width:100px}.gtmkit-setting-row table.actions-list td.actions a{border-bottom:1px solid;display:inline-block;margin-right:5px;text-decoration:none}.gtmkit-setting-row table.actions-list td.actions a[class*=delete],.gtmkit-setting-row table.actions-list td.actions a[class*=error]{color:#a00}.gtmkit-setting-row table.actions-list td.actions a[class*=delete]:active,.gtmkit-setting-row table.actions-list td.actions a[class*=delete]:focus,.gtmkit-setting-row table.actions-list td.actions a[class*=delete]:hover,.gtmkit-setting-row table.actions-list td.actions a[class*=error]:active,.gtmkit-setting-row table.actions-list td.actions a[class*=error]:focus,.gtmkit-setting-row table.actions-list td.actions a[class*=error]:hover{color:#400}.gtmkit-setting-row input[type=email],.gtmkit-setting-row input[type=number],.gtmkit-setting-row input[type=password],.gtmkit-setting-row input[type=text],.gtmkit-setting-row select{background-color:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:none;color:#333;display:inline-block;vertical-align:middle;padding:7px 12px;margin:0 10px 0 0;width:400px;min-height:35px;line-height:1.3}.gtmkit-setting-row input[type=email][readonly],.gtmkit-setting-row input[type=number][readonly],.gtmkit-setting-row input[type=password][readonly],.gtmkit-setting-row input[type=text][readonly],.gtmkit-setting-row select[readonly]{background-color:#f9f9f9}.gtmkit-setting-row input[type=email].small-text,.gtmkit-setting-row input[type=number].small-text,.gtmkit-setting-row input[type=password].small-text,.gtmkit-setting-row input[type=text].small-text,.gtmkit-setting-row select.small-text{width:75px}.gtmkit-setting-row input[type=email]:focus,.gtmkit-setting-row input[type=number]:focus,.gtmkit-setting-row input[type=password]:focus,.gtmkit-setting-row input[type=text]:focus,.gtmkit-setting-row select:focus{border:1px solid #016aab;box-shadow:0 0 0 1px #016aab;outline:0}.gtmkit-setting-row input[type=email]:disabled,.gtmkit-setting-row input[type=number]:disabled,.gtmkit-setting-row input[type=password]:disabled,.gtmkit-setting-row input[type=text]:disabled,.gtmkit-setting-row select:disabled{opacity:.6}.gtmkit-setting-row input[type=checkbox]:focus,.gtmkit-setting-row input[type=radio]:focus{border:1px solid #016aab;box-shadow:0 0 0 1px #016aab;outline:0}.gtmkit-setting-row .gtmkit-dashicons-yes-alt-green.gtmkit-animate{animation:gtmkit-fade-in-stop-out 1s linear}.gtmkit-setting-row .gtmkit-dashicons-yes-alt-green.gtmkit-success{color:#00a32a}.gtmkit-setting-label{display:block;float:left;width:225px;padding:0 20px 0 0}.gtmkit-setting-label label{display:block;font-weight:600}.gtmkit-setting-field{display:block;margin:0 0 0 225px;max-width:800px}.gtmkit-setting-field hr{margin:20px 0}.gtmkit-setting-field .gtmkit-setting-field-row{display:flex;flex-wrap:wrap}.gtmkit-setting-field .gtmkit-setting-field-row>.gtmkit-btn{margin-right:10px}.gtmkit_radio_block{line-height:20px}[class^=gtmkit-dashicons]{display:inline-block;width:20px;height:20px}.gtmkit-dashicons-yes-alt-green{background-image:url(../images/icons/dashicons/dashicons-yes-alt-green.svg)}.gtmkit-dashicons-pdf-gray{background-image:url(../images/icons/dashicons/dashicons-pdf-grey.svg)}code{font-style:normal}.gtmkit_section_message{width:75%}.gtmkit_section_message.space-top{margin-top:100px}.gtmkit_section_message.warning{margin-top:10px;width:-moz-fit-content;width:fit-content}.gtmkit_section_message h3{padding:8px 12px;margin:0;line-height:1.4}.gtmkit_section_message h3 .version{color:#777;font-size:12px;margin-left:8px;font-weight:400}.gtmkit_section_message ul{margin:1em} \ No newline at end of file diff --git a/assets/js/woocommerce-checkout.js b/assets/js/woocommerce-checkout.js index aa19d91..551f327 100644 --- a/assets/js/woocommerce-checkout.js +++ b/assets/js/woocommerce-checkout.js @@ -1 +1 @@ -function gtmkit_cart(){document.addEventListener("click",function(e){let t=e.target;if(!t||!t.closest("[name=update_cart]"))return!0;gtmkit_cart_quantity_change()}),document.addEventListener("keypress",function(e){let t=e.target;if(!t||!t.closest(".woocommerce-cart-form input[type=number]"))return!0;gtmkit_cart_quantity_change()})}function gtmkit_cart_quantity_change(){document.querySelectorAll(".product-quantity input.qty").forEach(function(e){var t=e.defaultValue;let n=parseInt(e.value);if(t!==(n=isNaN(n)?t:n)){const c=e.closest(".cart_item"),i=c&&c.querySelector(".remove");if(i){const a=JSON.parse(i.getAttribute("data-gtmkit_product_data"));t $woocommerce_is_inactive, ], 'options' => [ - 'retail' => __( 'Retail' ) . ' - (retail)', - 'education' => __( 'Education' ) . ' - (education)', - 'flights' => __( 'Flights' ) . ' - (flights)', - 'hotel_rental' => __( 'Hotel rental' ) . ' - (hotel_rental)', - 'jobs' => __( 'Jobs' ) . ' (jobs)', - 'local' => __( 'Local deals' ) . ' - (local)', - 'real_estate' => __( 'Real estate' ) . ' - (real_estate)', - 'travel' => __( 'Travel' ) . ' - (travel)', - 'custom' => __( 'Custom' ) . ' - (custom)', + 'retail' => __( 'Retail', 'gtmkit' ) . ' - (retail)', + 'education' => __( 'Education', 'gtmkit' ) . ' - (education)', + 'flights' => __( 'Flights', 'gtmkit' ) . ' - (flights)', + 'hotel_rental' => __( 'Hotel rental', 'gtmkit' ) . ' - (hotel_rental)', + 'jobs' => __( 'Jobs', 'gtmkit' ) . ' (jobs)', + 'local' => __( 'Local deals', 'gtmkit' ) . ' - (local)', + 'real_estate' => __( 'Real estate', 'gtmkit' ) . ' - (real_estate)', + 'travel' => __( 'Travel', 'gtmkit' ) . ' - (travel)', + 'custom' => __( 'Custom', 'gtmkit' ) . ' - (custom)', ] ], __( 'In order to use Google Ads Remarketing you must select your business type (vertical).', 'gtmkit' )