diff --git a/src/assets/js/search-bar-redirect.js b/src/assets/js/search-bar-redirect.js index 0b7489a..8701774 100644 --- a/src/assets/js/search-bar-redirect.js +++ b/src/assets/js/search-bar-redirect.js @@ -1,27 +1,36 @@ function onTainacanSearchSubmit($event) { if (document['tainacan-search-form']) { - - if (document['tainacan-search-form'].archive && tainacan_plugin !== undefined) { - switch (document['tainacan-search-form'].archive.value) { + var selectedForm = document['tainacan-search-form']; + + if (document['tainacan-search-form'] instanceof HTMLCollection) { + for (const child of document['tainacan-search-form']) { + if (child.s && child.s.value) + selectedForm = child; + } + } + + if (selectedForm.archive && tainacan_search_info !== undefined) { + switch (selectedForm.archive.value) { case 'tainacan-items': - document['tainacan-search-form'].action = tainacan_plugin.theme_items_list_url + (document['tainacan-search-form'].s ? '?search=' + document['tainacan-search-form'].s.value : ''); + console.log(tainacan_search_info.theme_items_list_url) + selectedForm.action = tainacan_search_info.theme_items_list_url + (selectedForm.s ? '?search=' + selectedForm.s.value : ''); break; case 'tainacan-collections': - document['tainacan-search-form'].action = tainacan_plugin.theme_collection_list_url + (document['tainacan-search-form'].s ? '?s=' + document['tainacan-search-form'].s.value : ''); + selectedForm.action = tainacan_search_info.theme_collection_list_url + (selectedForm.s ? '?s=' + selectedForm.s.value : ''); break; case 'posts': - document['tainacan-search-form'].action = '/' + (document['tainacan-search-form'].s ? '?onlyposts=true&s=' + document['tainacan-search-form'].s.value : ''); + selectedForm.action = '/' + (selectedForm.s ? '?onlyposts=true&s=' + selectedForm.s.value : ''); break; case 'pages': - document['tainacan-search-form'].action = '/' + (document['tainacan-search-form'].s ? '?onlypages=true&s=' + document['tainacan-search-form'].s.value : ''); + selectedForm.action = '/' + (selectedForm.s ? '?onlypages=true&s=' + selectedForm.s.value : ''); break; case 'global': default: - document['tainacan-search-form'].action = '/' + (document['tainacan-search-form'].s ? '?s=' + document['tainacan-search-form'].s.value : ''); + selectedForm.action = '/' + (selectedForm.s ? '?s=' + selectedForm.s.value : ''); } } else { - document['tainacan-search-form'].action = '/' + (document['tainacan-search-form'].s ? '?s=' + document['tainacan-search-form'].s.value : ''); + selectedForm.action = '/' + (selectedForm.s ? '?s=' + selectedForm.s.value : ''); } if ($event) diff --git a/src/assets/scss/editor-style.scss b/src/assets/scss/editor-style.scss index b5051ea..110649e 100644 --- a/src/assets/scss/editor-style.scss +++ b/src/assets/scss/editor-style.scss @@ -5,7 +5,7 @@ .block-editor-block-preview__content { font-family: 'Roboto', sans-serif; } -.edit-post-visual-editor.editor-styles-wrapper, +.editor-styles-wrapper, .components-modal__screen-overlay { font-family: 'Roboto', sans-serif !important; diff --git a/src/assets/scss/style.scss b/src/assets/scss/style.scss index d297b8b..14b482f 100644 --- a/src/assets/scss/style.scss +++ b/src/assets/scss/style.scss @@ -297,6 +297,7 @@ nav { width: 280px; height: auto; padding: 0; + border-radius: 0px; left: inherit; overflow: hidden; z-index: 9999; diff --git a/src/editor-style.css b/src/editor-style.css index 8ecd8c7..914a944 100644 --- a/src/editor-style.css +++ b/src/editor-style.css @@ -1,2 +1,2 @@ -.editor-styles-wrapper{background:white;padding:3rem 0px 0px 0px !important}.block-editor-block-preview__content{font-family:'Roboto', sans-serif}.edit-post-visual-editor.editor-styles-wrapper,.components-modal__screen-overlay{font-family:'Roboto', sans-serif !important}.edit-post-visual-editor.editor-styles-wrapper .has-carmine-color,.components-modal__screen-overlay .has-carmine-color{color:#8c442c}.edit-post-visual-editor.editor-styles-wrapper .has-carmine-background-color,.components-modal__screen-overlay .has-carmine-background-color{background-color:#8c442c}.edit-post-visual-editor.editor-styles-wrapper .has-cherry-color,.components-modal__screen-overlay .has-cherry-color{color:#A12B42}.edit-post-visual-editor.editor-styles-wrapper .has-cherry-background-color,.components-modal__screen-overlay .has-cherry-background-color{background-color:#A12B42}.edit-post-visual-editor.editor-styles-wrapper .has-mustard-color,.components-modal__screen-overlay .has-mustard-color{color:#754E24}.edit-post-visual-editor.editor-styles-wrapper .has-mustard-background-color,.components-modal__screen-overlay .has-mustard-background-color{background-color:#754E24}.edit-post-visual-editor.editor-styles-wrapper .has-mintgreen-color,.components-modal__screen-overlay .has-mintgreen-color{color:#255F56}.edit-post-visual-editor.editor-styles-wrapper .has-mintgreen-background-color,.components-modal__screen-overlay .has-mintgreen-background-color{background-color:#255F56}.edit-post-visual-editor.editor-styles-wrapper .has-darkturquoise-color,.components-modal__screen-overlay .has-darkturquoise-color{color:#205E6F}.edit-post-visual-editor.editor-styles-wrapper .has-darkturquoise-background-color,.components-modal__screen-overlay .has-darkturquoise-background-color{background-color:#205E6F}.edit-post-visual-editor.editor-styles-wrapper .has-turquoise-color,.components-modal__screen-overlay .has-turquoise-color{color:#185F6D}.edit-post-visual-editor.editor-styles-wrapper .has-turquoise-background-color,.components-modal__screen-overlay .has-turquoise-background-color{background-color:#185F6D}.edit-post-visual-editor.editor-styles-wrapper .has-blueheavenly-color,.components-modal__screen-overlay .has-blueheavenly-color{color:#1D5C86}.edit-post-visual-editor.editor-styles-wrapper .has-blueheavenly-background-color,.components-modal__screen-overlay .has-blueheavenly-background-color{background-color:#1D5C86}.edit-post-visual-editor.editor-styles-wrapper .has-purple-color,.components-modal__screen-overlay .has-purple-color{color:#4751a3}.edit-post-visual-editor.editor-styles-wrapper .has-purple-background-color,.components-modal__screen-overlay .has-purple-background-color{background-color:#4751a3}.edit-post-visual-editor.editor-styles-wrapper .has-violet-color,.components-modal__screen-overlay .has-violet-color{color:#955ba5}.edit-post-visual-editor.editor-styles-wrapper .has-violet-background-color,.components-modal__screen-overlay .has-violet-background-color{background-color:#955ba5}.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__layout,.edit-post-visual-editor.editor-styles-wrapper .block-editor-block-list__layout,.components-modal__screen-overlay .editor-block-list__layout,.components-modal__screen-overlay .block-editor-block-list__layout{padding-left:8.3333333%;padding-right:8.3333333%}.edit-post-visual-editor.editor-styles-wrapper .editor-writing-flow__click-redirect,.components-modal__screen-overlay .editor-writing-flow__click-redirect{width:auto}.edit-post-visual-editor.editor-styles-wrapper .editor-inner-blocks,.edit-post-visual-editor.editor-styles-wrapper .block-editor-inner-blocks,.edit-post-visual-editor.editor-styles-wrapper .wp-block-group__inner-container,.edit-post-visual-editor.editor-styles-wrapper .wp-block-cover__inner-container>.wp-block,.edit-post-visual-editor.editor-styles-wrapper .editor-inner-blocks>.editor-block-list__layout,.edit-post-visual-editor.editor-styles-wrapper .block-editor-inner-blocks>.block-editor-block-list__layout,.components-modal__screen-overlay .editor-inner-blocks,.components-modal__screen-overlay .block-editor-inner-blocks,.components-modal__screen-overlay .wp-block-group__inner-container,.components-modal__screen-overlay .wp-block-cover__inner-container>.wp-block,.components-modal__screen-overlay .editor-inner-blocks>.editor-block-list__layout,.components-modal__screen-overlay .block-editor-inner-blocks>.block-editor-block-list__layout{padding-left:0;padding-right:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block,.components-modal__screen-overlay .wp-block{max-width:calc(1400px - 8.3333336%);padding-left:4.1666667%;padding-right:4.1666667%}.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-align="wide"],.components-modal__screen-overlay .wp-block[data-align="wide"]{padding-left:0;padding-right:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-columns,.components-modal__screen-overlay .wp-block[data-align="wide"] .wp-block-columns{padding-left:0;padding-right:0}.edit-post-visual-editor.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>.wp-block[data-align="full"],.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-align="full"],.components-modal__screen-overlay .block-editor-block-list__layout.is-root-container>.wp-block[data-align="full"],.components-modal__screen-overlay .wp-block[data-align="full"]{max-width:122.5%;width:125.5%;margin-left:-12.5%;margin-right:-12.5%;padding-left:0;padding-right:0}.edit-post-visual-editor.editor-styles-wrapper .block-editor-block-list__block,.components-modal__screen-overlay .block-editor-block-list__block{margin-top:initial;margin-bottom:initial}.edit-post-visual-editor.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper,.edit-post-visual-editor.editor-styles-wrapper :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title,.components-modal__screen-overlay .edit-post-visual-editor__post-title-wrapper,.components-modal__screen-overlay :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title{margin:0 auto 5.35rem auto;padding:0;max-width:calc(1400px - 4.1666667%);width:calc(100% - 8.33333%);border-bottom:2px solid #298596;border-bottom:2px solid var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper>.wp-block,.edit-post-visual-editor.editor-styles-wrapper :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title>.wp-block,.components-modal__screen-overlay .edit-post-visual-editor__post-title-wrapper>.wp-block,.components-modal__screen-overlay :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title>.wp-block{margin:0 !important;padding:0px}.edit-post-visual-editor.editor-styles-wrapper .wp-block.editor-post-title__block,.edit-post-visual-editor.editor-styles-wrapper .editor-post-title__block .editor-post-title__input,.components-modal__screen-overlay .wp-block.editor-post-title__block,.components-modal__screen-overlay .editor-post-title__block .editor-post-title__input{font-size:1.25rem;font-family:'Roboto', sans-serif}.edit-post-visual-editor.editor-styles-wrapper .wp-block.editor-post-title__block textarea,.edit-post-visual-editor.editor-styles-wrapper .editor-post-title__block .editor-post-title__input textarea,.components-modal__screen-overlay .wp-block.editor-post-title__block textarea,.components-modal__screen-overlay .editor-post-title__block .editor-post-title__input textarea{padding:3px 6px;color:#298596;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .block-library-spacer__resize-container,.components-modal__screen-overlay .block-library-spacer__resize-container{margin-bottom:initial}.edit-post-visual-editor.editor-styles-wrapper .wp-block-social-link,.components-modal__screen-overlay .wp-block-social-link{padding-left:0;padding-right:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child),.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:last-child),.components-modal__screen-overlay .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child),.components-modal__screen-overlay .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:last-child){margin-right:2.0833333%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child),.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child),.components-modal__screen-overlay .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child),.components-modal__screen-overlay .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:2.0833333%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"],.components-modal__screen-overlay .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.components-modal__screen-overlay .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]{margin-left:0;margin-right:0;padding:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:first-child),.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:first-child){padding-left:2.0833333%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:last-child),.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:last-child){padding-right:2.0833333%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"]>.wp-block,.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]>.wp-block{margin-left:0;margin-right:0;padding-right:0;padding-left:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block-heading h1,.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-type="core/heading"] h1,.edit-post-visual-editor.editor-styles-wrapper h1.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h1,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h1,.components-modal__screen-overlay h1.wp-block[data-type="core/heading"]{font-size:1.125rem;color:#298596;color:var(--tainacan-color-default, #298596);padding-top:.4rem;margin-bottom:.5rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-heading h2,.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-type="core/heading"] h2,.edit-post-visual-editor.editor-styles-wrapper h2.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h2,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h2,.components-modal__screen-overlay h2.wp-block[data-type="core/heading"]{font-size:1.125rem;padding-top:.4rem;margin-bottom:.5rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-heading h3,.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-type="core/heading"] h3,.edit-post-visual-editor.editor-styles-wrapper h3.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h3,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h3,.components-modal__screen-overlay h3.wp-block[data-type="core/heading"]{font-size:1rem;padding-top:.4rem;margin-bottom:.5rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-heading h4,.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-type="core/heading"] h4,.edit-post-visual-editor.editor-styles-wrapper h4.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h4,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h4,.components-modal__screen-overlay h4.wp-block[data-type="core/heading"]{font-size:1rem;font-style:italic;font-weight:normal;color:#555758;padding-top:.4rem;margin-bottom:.5rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-heading h5,.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-type="core/heading"] h5,.edit-post-visual-editor.editor-styles-wrapper h5.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h5,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h5,.components-modal__screen-overlay h5.wp-block[data-type="core/heading"]{font-size:0.875rem;padding-top:.4rem;margin-bottom:.5rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-heading h5,.edit-post-visual-editor.editor-styles-wrapper .wp-block[data-type="core/heading"] h5,.edit-post-visual-editor.editor-styles-wrapper h5.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h5,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h5,.components-modal__screen-overlay h5.wp-block[data-type="core/heading"]{font-size:0.875rem;font-style:italic;font-weight:normal;color:#555758;padding-top:.4rem;margin-bottom:.5rem}.edit-post-visual-editor.editor-styles-wrapper p.block-editor-block-list__block.wp-block,.components-modal__screen-overlay p.block-editor-block-list__block.wp-block{margin-top:0.5rem;margin-bottom:1rem}.edit-post-visual-editor.editor-styles-wrapper a,.components-modal__screen-overlay a{text-decoration:none}.edit-post-visual-editor.editor-styles-wrapper .has-text-color>a,.edit-post-visual-editor.editor-styles-wrapper .has-text-color>a:hover,.components-modal__screen-overlay .has-text-color>a,.components-modal__screen-overlay .has-text-color>a:hover{color:inherit}.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button,.components-modal__screen-overlay .components-button.is-button{border:none;box-shadow:none;border-radius:6px;height:auto;text-shadow:none;font-size:0.875rem}.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button:active:not(.is-default),.components-modal__screen-overlay .components-button.is-button:active:not(.is-default){color:white}.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button:active,.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button:focus,.components-modal__screen-overlay .components-button.is-button:active,.components-modal__screen-overlay .components-button.is-button:focus{box-shadow:none}.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button:not(.is-small),.components-modal__screen-overlay .components-button.is-button:not(.is-small){padding:5px 12px;line-height:1.2rem}.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button.is-primary,.components-modal__screen-overlay .components-button.is-button.is-primary{background-color:#298596;background-color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .components-button.is-button.is-default,.components-modal__screen-overlay .components-button.is-button.is-default{background:white;border:1px solid #555758;color:#298596;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .components-icon-button:hover:not(.is-default),.edit-post-visual-editor.editor-styles-wrapper .components-icon-button:focus:not(.is-default),.edit-post-visual-editor.editor-styles-wrapper .components-icon-button:active:not(.is-default),.components-modal__screen-overlay .components-icon-button:hover:not(.is-default),.components-modal__screen-overlay .components-icon-button:focus:not(.is-default),.components-modal__screen-overlay .components-icon-button:active:not(.is-default){box-shadow:none !important;background:none !important;border:none !important}.edit-post-visual-editor.editor-styles-wrapper .components-icon-button.is-default:hover,.edit-post-visual-editor.editor-styles-wrapper .components-icon-button.is-default:focus,.edit-post-visual-editor.editor-styles-wrapper .components-icon-button.is-default:active,.components-modal__screen-overlay .components-icon-button.is-default:hover,.components-modal__screen-overlay .components-icon-button.is-default:focus,.components-modal__screen-overlay .components-icon-button.is-default:active{box-shadow:none !important;background:white !important;border:1px solid #555758 !important}.edit-post-visual-editor.editor-styles-wrapper .wp-block-button__link,.components-modal__screen-overlay .wp-block-button__link{border-radius:6px;font-size:0.875rem;padding:6px 18px}.edit-post-visual-editor.editor-styles-wrapper .wp-block-button__link:not(.has-background),.components-modal__screen-overlay .wp-block-button__link:not(.has-background){background-color:#298596;background-color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .is-style-outline .wp-block-button__link,.components-modal__screen-overlay .is-style-outline .wp-block-button__link{background-color:white;border:1px solid #555758}.edit-post-visual-editor.editor-styles-wrapper .is-style-outline .wp-block-button__link:not(.has-text-color),.components-modal__screen-overlay .is-style-outline .wp-block-button__link:not(.has-text-color){color:#298596;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .is-style-squared .wp-block-button__link,.components-modal__screen-overlay .is-style-squared .wp-block-button__link{border-radius:0px}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content .input-control,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="date"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="datetime-local"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="datetime"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="email"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="month"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="number"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="password"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="search"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="tel"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="text"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="time"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="url"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="week"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content select,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content textarea,.edit-post-visual-editor.editor-styles-wrapper .components-popover .input-control,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="date"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="datetime-local"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="datetime"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="email"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="month"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="number"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="password"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="search"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="tel"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="text"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="time"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="url"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="week"],.edit-post-visual-editor.editor-styles-wrapper .components-popover select,.edit-post-visual-editor.editor-styles-wrapper .components-popover textarea,.components-modal__screen-overlay .components-modal__content .input-control,.components-modal__screen-overlay .components-modal__content input[type="date"],.components-modal__screen-overlay .components-modal__content input[type="datetime-local"],.components-modal__screen-overlay .components-modal__content input[type="datetime"],.components-modal__screen-overlay .components-modal__content input[type="email"],.components-modal__screen-overlay .components-modal__content input[type="month"],.components-modal__screen-overlay .components-modal__content input[type="number"],.components-modal__screen-overlay .components-modal__content input[type="password"],.components-modal__screen-overlay .components-modal__content input[type="search"],.components-modal__screen-overlay .components-modal__content input[type="tel"],.components-modal__screen-overlay .components-modal__content input[type="text"],.components-modal__screen-overlay .components-modal__content input[type="time"],.components-modal__screen-overlay .components-modal__content input[type="url"],.components-modal__screen-overlay .components-modal__content input[type="week"],.components-modal__screen-overlay .components-modal__content select,.components-modal__screen-overlay .components-modal__content textarea,.components-modal__screen-overlay .components-popover .input-control,.components-modal__screen-overlay .components-popover input[type="date"],.components-modal__screen-overlay .components-popover input[type="datetime-local"],.components-modal__screen-overlay .components-popover input[type="datetime"],.components-modal__screen-overlay .components-popover input[type="email"],.components-modal__screen-overlay .components-popover input[type="month"],.components-modal__screen-overlay .components-popover input[type="number"],.components-modal__screen-overlay .components-popover input[type="password"],.components-modal__screen-overlay .components-popover input[type="search"],.components-modal__screen-overlay .components-popover input[type="tel"],.components-modal__screen-overlay .components-popover input[type="text"],.components-modal__screen-overlay .components-popover input[type="time"],.components-modal__screen-overlay .components-popover input[type="url"],.components-modal__screen-overlay .components-popover input[type="week"],.components-modal__screen-overlay .components-popover select,.components-modal__screen-overlay .components-popover textarea{border-radius:0;border-color:#cbcbcb;padding:4px 8px}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content .input-control:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="date"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="datetime-local"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="datetime"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="email"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="month"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="number"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="password"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="search"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="tel"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="text"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="time"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="url"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="week"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content select:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content textarea:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover .input-control:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="date"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="datetime-local"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="datetime"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="email"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="month"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="number"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="password"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="search"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="tel"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="text"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="time"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="url"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="week"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover select:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover textarea:focus,.components-modal__screen-overlay .components-modal__content .input-control:focus,.components-modal__screen-overlay .components-modal__content input[type="date"]:focus,.components-modal__screen-overlay .components-modal__content input[type="datetime-local"]:focus,.components-modal__screen-overlay .components-modal__content input[type="datetime"]:focus,.components-modal__screen-overlay .components-modal__content input[type="email"]:focus,.components-modal__screen-overlay .components-modal__content input[type="month"]:focus,.components-modal__screen-overlay .components-modal__content input[type="number"]:focus,.components-modal__screen-overlay .components-modal__content input[type="password"]:focus,.components-modal__screen-overlay .components-modal__content input[type="search"]:focus,.components-modal__screen-overlay .components-modal__content input[type="tel"]:focus,.components-modal__screen-overlay .components-modal__content input[type="text"]:focus,.components-modal__screen-overlay .components-modal__content input[type="time"]:focus,.components-modal__screen-overlay .components-modal__content input[type="url"]:focus,.components-modal__screen-overlay .components-modal__content input[type="week"]:focus,.components-modal__screen-overlay .components-modal__content select:focus,.components-modal__screen-overlay .components-modal__content textarea:focus,.components-modal__screen-overlay .components-popover .input-control:focus,.components-modal__screen-overlay .components-popover input[type="date"]:focus,.components-modal__screen-overlay .components-popover input[type="datetime-local"]:focus,.components-modal__screen-overlay .components-popover input[type="datetime"]:focus,.components-modal__screen-overlay .components-popover input[type="email"]:focus,.components-modal__screen-overlay .components-popover input[type="month"]:focus,.components-modal__screen-overlay .components-popover input[type="number"]:focus,.components-modal__screen-overlay .components-popover input[type="password"]:focus,.components-modal__screen-overlay .components-popover input[type="search"]:focus,.components-modal__screen-overlay .components-popover input[type="tel"]:focus,.components-modal__screen-overlay .components-popover input[type="text"]:focus,.components-modal__screen-overlay .components-popover input[type="time"]:focus,.components-modal__screen-overlay .components-popover input[type="url"]:focus,.components-modal__screen-overlay .components-popover input[type="week"]:focus,.components-modal__screen-overlay .components-popover select:focus,.components-modal__screen-overlay .components-popover textarea:focus{border:1px solid #555758;box-shadow:none}.edit-post-visual-editor.editor-styles-wrapper .components-base-control__label,.components-modal__screen-overlay .components-base-control__label{font-weight:600;color:black}.edit-post-visual-editor.editor-styles-wrapper :not([data-align="wide"]):not([data-align="full"])>.wp-block-cover,.components-modal__screen-overlay :not([data-align="wide"]):not([data-align="full"])>.wp-block-cover{width:auto}.edit-post-visual-editor.editor-styles-wrapper [data-align="full"] .wp-block-cover__inner-container,.components-modal__screen-overlay [data-align="full"] .wp-block-cover__inner-container{max-width:1400px;margin:0 auto;padding:0 12.5%}.edit-post-visual-editor.editor-styles-wrapper [data-align="full"] .wp-block-cover__inner-container>.wp-block,.components-modal__screen-overlay [data-align="full"] .wp-block-cover__inner-container>.wp-block{max-width:100%;margin:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block-embed figcaption,.edit-post-visual-editor.editor-styles-wrapper .wp-block-image figcaption,.components-modal__screen-overlay .wp-block-embed figcaption,.components-modal__screen-overlay .wp-block-image figcaption{color:inherit}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content,.components-modal__screen-overlay .components-modal__content{padding:32px;overflow:hidden}.edit-post-visual-editor.editor-styles-wrapper .components-modal__header,.components-modal__screen-overlay .components-modal__header{height:32px;margin:0 12px 32px 12px;padding:0;border-bottom:1px solid var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .components-modal__header .components-modal__header-heading,.edit-post-visual-editor.editor-styles-wrapper .components-modal__header h1,.components-modal__screen-overlay .components-modal__header .components-modal__header-heading,.components-modal__screen-overlay .components-modal__header h1{font-size:1.125rem;font-weight:500;color:#555758}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="checkbox"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:checked::before,.components-modal__screen-overlay .components-popover input[type="checkbox"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before{color:black}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before{background:black;margin:0;border:none;width:8px;height:8px}@media screen and (max-width: 782px){.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before{margin:4px 0 0 4px;width:15px;height:15px}}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="checkbox"]:checked,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:checked,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:checked,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:checked,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked,.components-modal__screen-overlay .components-popover input[type="checkbox"]:checked,.components-modal__screen-overlay .components-popover input[type="radio"]:checked,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:checked,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked{background:white;border:1px solid #555758}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="checkbox"],.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="checkbox"],.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"],.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="checkbox"],.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"],.components-modal__screen-overlay .components-modal__content input[type="checkbox"],.components-modal__screen-overlay .components-modal__content input[type="radio"],.components-modal__screen-overlay .components-popover input[type="checkbox"],.components-modal__screen-overlay .components-popover input[type="radio"],.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"],.components-modal__screen-overlay .editor-block-list__block input[type="radio"]{border:1px solid #555758}.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:checked:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="checkbox"]:checked:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:checked:focus,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:checked:focus,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="checkbox"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-modal__content input[type="radio"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="checkbox"]:focus,.edit-post-visual-editor.editor-styles-wrapper .components-popover input[type="radio"]:focus,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:focus,.edit-post-visual-editor.editor-styles-wrapper .editor-block-list__block input[type="radio"]:focus,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:checked:focus,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked:focus,.components-modal__screen-overlay .components-popover input[type="checkbox"]:checked:focus,.components-modal__screen-overlay .components-popover input[type="radio"]:checked:focus,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:checked:focus,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked:focus,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:focus,.components-modal__screen-overlay .components-modal__content input[type="radio"]:focus,.components-modal__screen-overlay .components-popover input[type="checkbox"]:focus,.components-modal__screen-overlay .components-popover input[type="radio"]:focus,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:focus,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:focus{box-shadow:none}.edit-post-visual-editor.editor-styles-wrapper .wp-block-quote,.components-modal__screen-overlay .wp-block-quote{margin:3rem 8.33333%;padding:1rem;color:#555758;font-weight:normal;font-size:1rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-quote.is-style-large,.components-modal__screen-overlay .wp-block-quote.is-style-large{font-size:1.375rem;font-family:'Roboto', sans-serif}.edit-post-visual-editor.editor-styles-wrapper .wp-block-quote:not(.is-style-large):not(.is-large),.components-modal__screen-overlay .wp-block-quote:not(.is-style-large):not(.is-large){border-left:2px solid var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-quote__citation,.components-modal__screen-overlay .wp-block-quote__citation{font-weight:500;font-size:1rem;text-align:right;font-style:italic;color:#555758}.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote,.components-modal__screen-overlay .wp-block-pullquote{padding:0}.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote:not(.is-style-solid-color),.components-modal__screen-overlay .wp-block-pullquote:not(.is-style-solid-color){border-top:2px solid var(--tainacan-color-default, #298596);border-bottom:2px solid var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote blockquote,.components-modal__screen-overlay .wp-block-pullquote blockquote{margin:0;padding:2rem 8.3333333%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote .block-library-pullquote__content.editor-rich-text p,.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote .rich-text.block-editor-rich-text__editable p,.components-modal__screen-overlay .wp-block-pullquote .block-library-pullquote__content.editor-rich-text p,.components-modal__screen-overlay .wp-block-pullquote .rich-text.block-editor-rich-text__editable p{font-size:1.375rem;font-weight:500}.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote :not(.has-text-color) .block-library-pullquote__content.editor-rich-text p,.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote :not(.has-text-color) .rich-text.block-editor-rich-text__editable p,.components-modal__screen-overlay .wp-block-pullquote :not(.has-text-color) .block-library-pullquote__content.editor-rich-text p,.components-modal__screen-overlay .wp-block-pullquote :not(.has-text-color) .rich-text.block-editor-rich-text__editable p{color:#298596;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation,.components-modal__screen-overlay .wp-block-pullquote .wp-block-pullquote__citation{color:#555758;font-size:1rem;font-weight:normal;font-style:italic;text-transform:none}.edit-post-visual-editor.editor-styles-wrapper .wp-block-separator,.components-modal__screen-overlay .wp-block-separator{width:50%;max-width:300px}.edit-post-visual-editor.editor-styles-wrapper .wp-block-separator:not(.has-background-color),.components-modal__screen-overlay .wp-block-separator:not(.has-background-color){border-color:#298596;border-color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-separator.is-style-wide,.components-modal__screen-overlay .wp-block-separator.is-style-wide{width:100%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-separator.is-style-dots:not(.has-background-color)::before,.components-modal__screen-overlay .wp-block-separator.is-style-dots:not(.has-background-color)::before{color:#298596;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-separator.is-style-dots::before,.components-modal__screen-overlay .wp-block-separator.is-style-dots::before{font-weight:600}.edit-post-visual-editor.editor-styles-wrapper .wp-block-preformatted pre,.components-modal__screen-overlay .wp-block-preformatted pre{color:#555758;font-size:1rem;font-weight:400;white-space:pre-line}.edit-post-visual-editor.editor-styles-wrapper .wp-block-code textarea,.components-modal__screen-overlay .wp-block-code textarea{color:#298596;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-table th,.components-modal__screen-overlay .wp-block-table th{border-bottom:1px solid #cbcbcb;font-weight:normal;font-size:0.75rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-table td,.components-modal__screen-overlay .wp-block-table td{border:1px solid #f2f2f2;font-size:0.875rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal.dynamic-modal iframe,.components-modal__screen-overlay .wp-block-tainacan-modal.dynamic-modal iframe{width:calc(100% + 64px);height:calc(100% - 104px);margin-left:-32px;margin-bottom:-4px}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal.dynamic-modal .modal-footer-area,.components-modal__screen-overlay .wp-block-tainacan-modal.dynamic-modal .modal-footer-area{height:72px;width:calc(100% + 64px);margin-left:-32px !important;margin-bottom:-32px !important;padding:1.2rem 3rem !important;border-top:1px solid #898d8f}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal .modal-footer-area,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-footer-area{margin:0;border:none;padding-top:0px}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area{padding:0 14px}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area .components-base-control,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area .components-base-control{width:100%}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field{display:flex;align-items:center}.edit-post-visual-editor.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field label,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field label{flex-shrink:0;margin-right:12px}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading .wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading .wp-block-heading{color:#298596 !important;color:var(--tainacan-color-default, #298596) !important}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h1:not(.has-text-color),.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h2:not(.has-text-color),.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h3:not(.has-text-color),.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h4:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h1:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h2:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h3:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h4:not(.has-text-color){color:#298596 !important;color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h1.wp-block-heading,.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h1.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.6rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h2.wp-block-heading,.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h2:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h2.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h2:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.5rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h3.wp-block-heading,.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h3:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h3.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h3:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.25rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h4.wp-block-heading,.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading h4:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h4.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h4:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.125rem}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading p,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading p{font-style:italic}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading p:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading p:not(.has-text-color){color:#898d8f}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide){margin-left:0;max-width:200px;border-color:#298596;border-color:var(--tainacan-color-default, #298596)}.edit-post-visual-editor.editor-styles-wrapper .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots){border-width:2px;height:3px}.tainacan-heading-section-pattern-pattern h1,.tainacan-heading-section-pattern-pattern h2,.tainacan-heading-section-pattern-pattern h3,.tainacan-heading-section-pattern-pattern h4{margin-bottom:0px !important}.tainacan-heading-section-pattern-pattern p{font-style:italic;margin-bottom:0 !important}.tainacan-heading-section-pattern-pattern hr.wp-block-separator:not(.is-style-wide){margin-left:0;margin-top:0.5rem;max-width:200px}.tainacan-heading-section-pattern-pattern hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots){border-width:2px;height:3px} +.editor-styles-wrapper{background:white;padding:3rem 0px 0px 0px !important}.block-editor-block-preview__content{font-family:'Roboto', sans-serif}.editor-styles-wrapper,.components-modal__screen-overlay{font-family:'Roboto', sans-serif !important}.editor-styles-wrapper .has-carmine-color,.components-modal__screen-overlay .has-carmine-color{color:#8c442c}.editor-styles-wrapper .has-carmine-background-color,.components-modal__screen-overlay .has-carmine-background-color{background-color:#8c442c}.editor-styles-wrapper .has-cherry-color,.components-modal__screen-overlay .has-cherry-color{color:#A12B42}.editor-styles-wrapper .has-cherry-background-color,.components-modal__screen-overlay .has-cherry-background-color{background-color:#A12B42}.editor-styles-wrapper .has-mustard-color,.components-modal__screen-overlay .has-mustard-color{color:#754E24}.editor-styles-wrapper .has-mustard-background-color,.components-modal__screen-overlay .has-mustard-background-color{background-color:#754E24}.editor-styles-wrapper .has-mintgreen-color,.components-modal__screen-overlay .has-mintgreen-color{color:#255F56}.editor-styles-wrapper .has-mintgreen-background-color,.components-modal__screen-overlay .has-mintgreen-background-color{background-color:#255F56}.editor-styles-wrapper .has-darkturquoise-color,.components-modal__screen-overlay .has-darkturquoise-color{color:#205E6F}.editor-styles-wrapper .has-darkturquoise-background-color,.components-modal__screen-overlay .has-darkturquoise-background-color{background-color:#205E6F}.editor-styles-wrapper .has-turquoise-color,.components-modal__screen-overlay .has-turquoise-color{color:#185F6D}.editor-styles-wrapper .has-turquoise-background-color,.components-modal__screen-overlay .has-turquoise-background-color{background-color:#185F6D}.editor-styles-wrapper .has-blueheavenly-color,.components-modal__screen-overlay .has-blueheavenly-color{color:#1D5C86}.editor-styles-wrapper .has-blueheavenly-background-color,.components-modal__screen-overlay .has-blueheavenly-background-color{background-color:#1D5C86}.editor-styles-wrapper .has-purple-color,.components-modal__screen-overlay .has-purple-color{color:#4751a3}.editor-styles-wrapper .has-purple-background-color,.components-modal__screen-overlay .has-purple-background-color{background-color:#4751a3}.editor-styles-wrapper .has-violet-color,.components-modal__screen-overlay .has-violet-color{color:#955ba5}.editor-styles-wrapper .has-violet-background-color,.components-modal__screen-overlay .has-violet-background-color{background-color:#955ba5}.editor-styles-wrapper .editor-block-list__layout,.editor-styles-wrapper .block-editor-block-list__layout,.components-modal__screen-overlay .editor-block-list__layout,.components-modal__screen-overlay .block-editor-block-list__layout{padding-left:8.3333333%;padding-right:8.3333333%}.editor-styles-wrapper .editor-writing-flow__click-redirect,.components-modal__screen-overlay .editor-writing-flow__click-redirect{width:auto}.editor-styles-wrapper .editor-inner-blocks,.editor-styles-wrapper .block-editor-inner-blocks,.editor-styles-wrapper .wp-block-group__inner-container,.editor-styles-wrapper .wp-block-cover__inner-container>.wp-block,.editor-styles-wrapper .editor-inner-blocks>.editor-block-list__layout,.editor-styles-wrapper .block-editor-inner-blocks>.block-editor-block-list__layout,.components-modal__screen-overlay .editor-inner-blocks,.components-modal__screen-overlay .block-editor-inner-blocks,.components-modal__screen-overlay .wp-block-group__inner-container,.components-modal__screen-overlay .wp-block-cover__inner-container>.wp-block,.components-modal__screen-overlay .editor-inner-blocks>.editor-block-list__layout,.components-modal__screen-overlay .block-editor-inner-blocks>.block-editor-block-list__layout{padding-left:0;padding-right:0}.editor-styles-wrapper .wp-block,.components-modal__screen-overlay .wp-block{max-width:calc(1400px - 8.3333336%);padding-left:4.1666667%;padding-right:4.1666667%}.editor-styles-wrapper .wp-block[data-align="wide"],.components-modal__screen-overlay .wp-block[data-align="wide"]{padding-left:0;padding-right:0}.editor-styles-wrapper .wp-block[data-align="wide"] .wp-block-columns,.components-modal__screen-overlay .wp-block[data-align="wide"] .wp-block-columns{padding-left:0;padding-right:0}.editor-styles-wrapper .block-editor-block-list__layout.is-root-container>.wp-block[data-align="full"],.editor-styles-wrapper .wp-block[data-align="full"],.components-modal__screen-overlay .block-editor-block-list__layout.is-root-container>.wp-block[data-align="full"],.components-modal__screen-overlay .wp-block[data-align="full"]{max-width:122.5%;width:125.5%;margin-left:-12.5%;margin-right:-12.5%;padding-left:0;padding-right:0}.editor-styles-wrapper .block-editor-block-list__block,.components-modal__screen-overlay .block-editor-block-list__block{margin-top:initial;margin-bottom:initial}.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper,.editor-styles-wrapper :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title,.components-modal__screen-overlay .edit-post-visual-editor__post-title-wrapper,.components-modal__screen-overlay :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title{margin:0 auto 5.35rem auto;padding:0;max-width:calc(1400px - 4.1666667%);width:calc(100% - 8.33333%);border-bottom:2px solid #298596;border-bottom:2px solid var(--tainacan-color-default, #298596)}.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper>.wp-block,.editor-styles-wrapper :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title>.wp-block,.components-modal__screen-overlay .edit-post-visual-editor__post-title-wrapper>.wp-block,.components-modal__screen-overlay :not(.edit-post-visual-editor__post-title-wrapper)>.editor-post-title>.wp-block{margin:0 !important;padding:0px}.editor-styles-wrapper .wp-block.editor-post-title__block,.editor-styles-wrapper .editor-post-title__block .editor-post-title__input,.components-modal__screen-overlay .wp-block.editor-post-title__block,.components-modal__screen-overlay .editor-post-title__block .editor-post-title__input{font-size:1.25rem;font-family:'Roboto', sans-serif}.editor-styles-wrapper .wp-block.editor-post-title__block textarea,.editor-styles-wrapper .editor-post-title__block .editor-post-title__input textarea,.components-modal__screen-overlay .wp-block.editor-post-title__block textarea,.components-modal__screen-overlay .editor-post-title__block .editor-post-title__input textarea{padding:3px 6px;color:#298596;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .block-library-spacer__resize-container,.components-modal__screen-overlay .block-library-spacer__resize-container{margin-bottom:initial}.editor-styles-wrapper .wp-block-social-link,.components-modal__screen-overlay .wp-block-social-link{padding-left:0;padding-right:0}.editor-styles-wrapper .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child),.editor-styles-wrapper .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:last-child),.components-modal__screen-overlay .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:last-child),.components-modal__screen-overlay .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:last-child){margin-right:2.0833333%}.editor-styles-wrapper .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child),.editor-styles-wrapper .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child),.components-modal__screen-overlay .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"]:not(:first-child),.components-modal__screen-overlay .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"]:not(:first-child){margin-left:2.0833333%}.editor-styles-wrapper .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.editor-styles-wrapper .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"],.components-modal__screen-overlay .wp-block-columns>.editor-inner-blocks>.editor-block-list__layout>[data-type="core/column"],.components-modal__screen-overlay .wp-block-columns>.block-editor-inner-blocks>.block-editor-block-list__layout>[data-type="core/column"],.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]{margin-left:0;margin-right:0;padding:0}.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:first-child),.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:first-child){padding-left:2.0833333%}.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:last-child),.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]:not(:last-child){padding-right:2.0833333%}.editor-styles-wrapper .wp-block-columns>.wp-block-column[data-type="core/column"]>.wp-block,.components-modal__screen-overlay .wp-block-columns>.wp-block-column[data-type="core/column"]>.wp-block{margin-left:0;margin-right:0;padding-right:0;padding-left:0}.editor-styles-wrapper .wp-block-heading h1,.editor-styles-wrapper .wp-block[data-type="core/heading"] h1,.editor-styles-wrapper h1.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h1,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h1,.components-modal__screen-overlay h1.wp-block[data-type="core/heading"]{font-size:1.125rem;color:#298596;color:var(--tainacan-color-default, #298596);padding-top:.4rem;margin-bottom:.5rem}.editor-styles-wrapper .wp-block-heading h2,.editor-styles-wrapper .wp-block[data-type="core/heading"] h2,.editor-styles-wrapper h2.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h2,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h2,.components-modal__screen-overlay h2.wp-block[data-type="core/heading"]{font-size:1.125rem;padding-top:.4rem;margin-bottom:.5rem}.editor-styles-wrapper .wp-block-heading h3,.editor-styles-wrapper .wp-block[data-type="core/heading"] h3,.editor-styles-wrapper h3.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h3,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h3,.components-modal__screen-overlay h3.wp-block[data-type="core/heading"]{font-size:1rem;padding-top:.4rem;margin-bottom:.5rem}.editor-styles-wrapper .wp-block-heading h4,.editor-styles-wrapper .wp-block[data-type="core/heading"] h4,.editor-styles-wrapper h4.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h4,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h4,.components-modal__screen-overlay h4.wp-block[data-type="core/heading"]{font-size:1rem;font-style:italic;font-weight:normal;color:#555758;padding-top:.4rem;margin-bottom:.5rem}.editor-styles-wrapper .wp-block-heading h5,.editor-styles-wrapper .wp-block[data-type="core/heading"] h5,.editor-styles-wrapper h5.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h5,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h5,.components-modal__screen-overlay h5.wp-block[data-type="core/heading"]{font-size:0.875rem;padding-top:.4rem;margin-bottom:.5rem}.editor-styles-wrapper .wp-block-heading h5,.editor-styles-wrapper .wp-block[data-type="core/heading"] h5,.editor-styles-wrapper h5.wp-block[data-type="core/heading"],.components-modal__screen-overlay .wp-block-heading h5,.components-modal__screen-overlay .wp-block[data-type="core/heading"] h5,.components-modal__screen-overlay h5.wp-block[data-type="core/heading"]{font-size:0.875rem;font-style:italic;font-weight:normal;color:#555758;padding-top:.4rem;margin-bottom:.5rem}.editor-styles-wrapper p.block-editor-block-list__block.wp-block,.components-modal__screen-overlay p.block-editor-block-list__block.wp-block{margin-top:0.5rem;margin-bottom:1rem}.editor-styles-wrapper a,.components-modal__screen-overlay a{text-decoration:none}.editor-styles-wrapper .has-text-color>a,.editor-styles-wrapper .has-text-color>a:hover,.components-modal__screen-overlay .has-text-color>a,.components-modal__screen-overlay .has-text-color>a:hover{color:inherit}.editor-styles-wrapper .components-button.is-button,.components-modal__screen-overlay .components-button.is-button{border:none;box-shadow:none;border-radius:6px;height:auto;text-shadow:none;font-size:0.875rem}.editor-styles-wrapper .components-button.is-button:active:not(.is-default),.components-modal__screen-overlay .components-button.is-button:active:not(.is-default){color:white}.editor-styles-wrapper .components-button.is-button:active,.editor-styles-wrapper .components-button.is-button:focus,.components-modal__screen-overlay .components-button.is-button:active,.components-modal__screen-overlay .components-button.is-button:focus{box-shadow:none}.editor-styles-wrapper .components-button.is-button:not(.is-small),.components-modal__screen-overlay .components-button.is-button:not(.is-small){padding:5px 12px;line-height:1.2rem}.editor-styles-wrapper .components-button.is-button.is-primary,.components-modal__screen-overlay .components-button.is-button.is-primary{background-color:#298596;background-color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .components-button.is-button.is-default,.components-modal__screen-overlay .components-button.is-button.is-default{background:white;border:1px solid #555758;color:#298596;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .components-icon-button:hover:not(.is-default),.editor-styles-wrapper .components-icon-button:focus:not(.is-default),.editor-styles-wrapper .components-icon-button:active:not(.is-default),.components-modal__screen-overlay .components-icon-button:hover:not(.is-default),.components-modal__screen-overlay .components-icon-button:focus:not(.is-default),.components-modal__screen-overlay .components-icon-button:active:not(.is-default){box-shadow:none !important;background:none !important;border:none !important}.editor-styles-wrapper .components-icon-button.is-default:hover,.editor-styles-wrapper .components-icon-button.is-default:focus,.editor-styles-wrapper .components-icon-button.is-default:active,.components-modal__screen-overlay .components-icon-button.is-default:hover,.components-modal__screen-overlay .components-icon-button.is-default:focus,.components-modal__screen-overlay .components-icon-button.is-default:active{box-shadow:none !important;background:white !important;border:1px solid #555758 !important}.editor-styles-wrapper .wp-block-button__link,.components-modal__screen-overlay .wp-block-button__link{border-radius:6px;font-size:0.875rem;padding:6px 18px}.editor-styles-wrapper .wp-block-button__link:not(.has-background),.components-modal__screen-overlay .wp-block-button__link:not(.has-background){background-color:#298596;background-color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .is-style-outline .wp-block-button__link,.components-modal__screen-overlay .is-style-outline .wp-block-button__link{background-color:white;border:1px solid #555758}.editor-styles-wrapper .is-style-outline .wp-block-button__link:not(.has-text-color),.components-modal__screen-overlay .is-style-outline .wp-block-button__link:not(.has-text-color){color:#298596;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .is-style-squared .wp-block-button__link,.components-modal__screen-overlay .is-style-squared .wp-block-button__link{border-radius:0px}.editor-styles-wrapper .components-modal__content .input-control,.editor-styles-wrapper .components-modal__content input[type="date"],.editor-styles-wrapper .components-modal__content input[type="datetime-local"],.editor-styles-wrapper .components-modal__content input[type="datetime"],.editor-styles-wrapper .components-modal__content input[type="email"],.editor-styles-wrapper .components-modal__content input[type="month"],.editor-styles-wrapper .components-modal__content input[type="number"],.editor-styles-wrapper .components-modal__content input[type="password"],.editor-styles-wrapper .components-modal__content input[type="search"],.editor-styles-wrapper .components-modal__content input[type="tel"],.editor-styles-wrapper .components-modal__content input[type="text"],.editor-styles-wrapper .components-modal__content input[type="time"],.editor-styles-wrapper .components-modal__content input[type="url"],.editor-styles-wrapper .components-modal__content input[type="week"],.editor-styles-wrapper .components-modal__content select,.editor-styles-wrapper .components-modal__content textarea,.editor-styles-wrapper .components-popover .input-control,.editor-styles-wrapper .components-popover input[type="date"],.editor-styles-wrapper .components-popover input[type="datetime-local"],.editor-styles-wrapper .components-popover input[type="datetime"],.editor-styles-wrapper .components-popover input[type="email"],.editor-styles-wrapper .components-popover input[type="month"],.editor-styles-wrapper .components-popover input[type="number"],.editor-styles-wrapper .components-popover input[type="password"],.editor-styles-wrapper .components-popover input[type="search"],.editor-styles-wrapper .components-popover input[type="tel"],.editor-styles-wrapper .components-popover input[type="text"],.editor-styles-wrapper .components-popover input[type="time"],.editor-styles-wrapper .components-popover input[type="url"],.editor-styles-wrapper .components-popover input[type="week"],.editor-styles-wrapper .components-popover select,.editor-styles-wrapper .components-popover textarea,.components-modal__screen-overlay .components-modal__content .input-control,.components-modal__screen-overlay .components-modal__content input[type="date"],.components-modal__screen-overlay .components-modal__content input[type="datetime-local"],.components-modal__screen-overlay .components-modal__content input[type="datetime"],.components-modal__screen-overlay .components-modal__content input[type="email"],.components-modal__screen-overlay .components-modal__content input[type="month"],.components-modal__screen-overlay .components-modal__content input[type="number"],.components-modal__screen-overlay .components-modal__content input[type="password"],.components-modal__screen-overlay .components-modal__content input[type="search"],.components-modal__screen-overlay .components-modal__content input[type="tel"],.components-modal__screen-overlay .components-modal__content input[type="text"],.components-modal__screen-overlay .components-modal__content input[type="time"],.components-modal__screen-overlay .components-modal__content input[type="url"],.components-modal__screen-overlay .components-modal__content input[type="week"],.components-modal__screen-overlay .components-modal__content select,.components-modal__screen-overlay .components-modal__content textarea,.components-modal__screen-overlay .components-popover .input-control,.components-modal__screen-overlay .components-popover input[type="date"],.components-modal__screen-overlay .components-popover input[type="datetime-local"],.components-modal__screen-overlay .components-popover input[type="datetime"],.components-modal__screen-overlay .components-popover input[type="email"],.components-modal__screen-overlay .components-popover input[type="month"],.components-modal__screen-overlay .components-popover input[type="number"],.components-modal__screen-overlay .components-popover input[type="password"],.components-modal__screen-overlay .components-popover input[type="search"],.components-modal__screen-overlay .components-popover input[type="tel"],.components-modal__screen-overlay .components-popover input[type="text"],.components-modal__screen-overlay .components-popover input[type="time"],.components-modal__screen-overlay .components-popover input[type="url"],.components-modal__screen-overlay .components-popover input[type="week"],.components-modal__screen-overlay .components-popover select,.components-modal__screen-overlay .components-popover textarea{border-radius:0;border-color:#cbcbcb;padding:4px 8px}.editor-styles-wrapper .components-modal__content .input-control:focus,.editor-styles-wrapper .components-modal__content input[type="date"]:focus,.editor-styles-wrapper .components-modal__content input[type="datetime-local"]:focus,.editor-styles-wrapper .components-modal__content input[type="datetime"]:focus,.editor-styles-wrapper .components-modal__content input[type="email"]:focus,.editor-styles-wrapper .components-modal__content input[type="month"]:focus,.editor-styles-wrapper .components-modal__content input[type="number"]:focus,.editor-styles-wrapper .components-modal__content input[type="password"]:focus,.editor-styles-wrapper .components-modal__content input[type="search"]:focus,.editor-styles-wrapper .components-modal__content input[type="tel"]:focus,.editor-styles-wrapper .components-modal__content input[type="text"]:focus,.editor-styles-wrapper .components-modal__content input[type="time"]:focus,.editor-styles-wrapper .components-modal__content input[type="url"]:focus,.editor-styles-wrapper .components-modal__content input[type="week"]:focus,.editor-styles-wrapper .components-modal__content select:focus,.editor-styles-wrapper .components-modal__content textarea:focus,.editor-styles-wrapper .components-popover .input-control:focus,.editor-styles-wrapper .components-popover input[type="date"]:focus,.editor-styles-wrapper .components-popover input[type="datetime-local"]:focus,.editor-styles-wrapper .components-popover input[type="datetime"]:focus,.editor-styles-wrapper .components-popover input[type="email"]:focus,.editor-styles-wrapper .components-popover input[type="month"]:focus,.editor-styles-wrapper .components-popover input[type="number"]:focus,.editor-styles-wrapper .components-popover input[type="password"]:focus,.editor-styles-wrapper .components-popover input[type="search"]:focus,.editor-styles-wrapper .components-popover input[type="tel"]:focus,.editor-styles-wrapper .components-popover input[type="text"]:focus,.editor-styles-wrapper .components-popover input[type="time"]:focus,.editor-styles-wrapper .components-popover input[type="url"]:focus,.editor-styles-wrapper .components-popover input[type="week"]:focus,.editor-styles-wrapper .components-popover select:focus,.editor-styles-wrapper .components-popover textarea:focus,.components-modal__screen-overlay .components-modal__content .input-control:focus,.components-modal__screen-overlay .components-modal__content input[type="date"]:focus,.components-modal__screen-overlay .components-modal__content input[type="datetime-local"]:focus,.components-modal__screen-overlay .components-modal__content input[type="datetime"]:focus,.components-modal__screen-overlay .components-modal__content input[type="email"]:focus,.components-modal__screen-overlay .components-modal__content input[type="month"]:focus,.components-modal__screen-overlay .components-modal__content input[type="number"]:focus,.components-modal__screen-overlay .components-modal__content input[type="password"]:focus,.components-modal__screen-overlay .components-modal__content input[type="search"]:focus,.components-modal__screen-overlay .components-modal__content input[type="tel"]:focus,.components-modal__screen-overlay .components-modal__content input[type="text"]:focus,.components-modal__screen-overlay .components-modal__content input[type="time"]:focus,.components-modal__screen-overlay .components-modal__content input[type="url"]:focus,.components-modal__screen-overlay .components-modal__content input[type="week"]:focus,.components-modal__screen-overlay .components-modal__content select:focus,.components-modal__screen-overlay .components-modal__content textarea:focus,.components-modal__screen-overlay .components-popover .input-control:focus,.components-modal__screen-overlay .components-popover input[type="date"]:focus,.components-modal__screen-overlay .components-popover input[type="datetime-local"]:focus,.components-modal__screen-overlay .components-popover input[type="datetime"]:focus,.components-modal__screen-overlay .components-popover input[type="email"]:focus,.components-modal__screen-overlay .components-popover input[type="month"]:focus,.components-modal__screen-overlay .components-popover input[type="number"]:focus,.components-modal__screen-overlay .components-popover input[type="password"]:focus,.components-modal__screen-overlay .components-popover input[type="search"]:focus,.components-modal__screen-overlay .components-popover input[type="tel"]:focus,.components-modal__screen-overlay .components-popover input[type="text"]:focus,.components-modal__screen-overlay .components-popover input[type="time"]:focus,.components-modal__screen-overlay .components-popover input[type="url"]:focus,.components-modal__screen-overlay .components-popover input[type="week"]:focus,.components-modal__screen-overlay .components-popover select:focus,.components-modal__screen-overlay .components-popover textarea:focus{border:1px solid #555758;box-shadow:none}.editor-styles-wrapper .components-base-control__label,.components-modal__screen-overlay .components-base-control__label{font-weight:600;color:black}.editor-styles-wrapper :not([data-align="wide"]):not([data-align="full"])>.wp-block-cover,.components-modal__screen-overlay :not([data-align="wide"]):not([data-align="full"])>.wp-block-cover{width:auto}.editor-styles-wrapper [data-align="full"] .wp-block-cover__inner-container,.components-modal__screen-overlay [data-align="full"] .wp-block-cover__inner-container{max-width:1400px;margin:0 auto;padding:0 12.5%}.editor-styles-wrapper [data-align="full"] .wp-block-cover__inner-container>.wp-block,.components-modal__screen-overlay [data-align="full"] .wp-block-cover__inner-container>.wp-block{max-width:100%;margin:0}.editor-styles-wrapper .wp-block-embed figcaption,.editor-styles-wrapper .wp-block-image figcaption,.components-modal__screen-overlay .wp-block-embed figcaption,.components-modal__screen-overlay .wp-block-image figcaption{color:inherit}.editor-styles-wrapper .components-modal__content,.components-modal__screen-overlay .components-modal__content{padding:32px;overflow:hidden}.editor-styles-wrapper .components-modal__header,.components-modal__screen-overlay .components-modal__header{height:32px;margin:0 12px 32px 12px;padding:0;border-bottom:1px solid var(--tainacan-color-default, #298596)}.editor-styles-wrapper .components-modal__header .components-modal__header-heading,.editor-styles-wrapper .components-modal__header h1,.components-modal__screen-overlay .components-modal__header .components-modal__header-heading,.components-modal__screen-overlay .components-modal__header h1{font-size:1.125rem;font-weight:500;color:#555758}.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked::before,.editor-styles-wrapper .components-popover input[type="checkbox"]:checked::before,.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:checked::before,.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:checked::before,.components-modal__screen-overlay .components-popover input[type="checkbox"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before{color:black}.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before{background:black;margin:0;border:none;width:8px;height:8px}@media screen and (max-width: 782px){.editor-styles-wrapper .components-modal__content input[type="radio"]:checked::before,.editor-styles-wrapper .components-popover input[type="radio"]:checked::before,.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked::before,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked::before,.components-modal__screen-overlay .components-popover input[type="radio"]:checked::before,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked::before{margin:4px 0 0 4px;width:15px;height:15px}}.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked,.editor-styles-wrapper .components-modal__content input[type="radio"]:checked,.editor-styles-wrapper .components-popover input[type="checkbox"]:checked,.editor-styles-wrapper .components-popover input[type="radio"]:checked,.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:checked,.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:checked,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked,.components-modal__screen-overlay .components-popover input[type="checkbox"]:checked,.components-modal__screen-overlay .components-popover input[type="radio"]:checked,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:checked,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked{background:white;border:1px solid #555758}.editor-styles-wrapper .components-modal__content input[type="checkbox"],.editor-styles-wrapper .components-modal__content input[type="radio"],.editor-styles-wrapper .components-popover input[type="checkbox"],.editor-styles-wrapper .components-popover input[type="radio"],.editor-styles-wrapper .editor-block-list__block input[type="checkbox"],.editor-styles-wrapper .editor-block-list__block input[type="radio"],.components-modal__screen-overlay .components-modal__content input[type="checkbox"],.components-modal__screen-overlay .components-modal__content input[type="radio"],.components-modal__screen-overlay .components-popover input[type="checkbox"],.components-modal__screen-overlay .components-popover input[type="radio"],.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"],.components-modal__screen-overlay .editor-block-list__block input[type="radio"]{border:1px solid #555758}.editor-styles-wrapper .components-modal__content input[type="checkbox"]:checked:focus,.editor-styles-wrapper .components-modal__content input[type="radio"]:checked:focus,.editor-styles-wrapper .components-popover input[type="checkbox"]:checked:focus,.editor-styles-wrapper .components-popover input[type="radio"]:checked:focus,.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:checked:focus,.editor-styles-wrapper .editor-block-list__block input[type="radio"]:checked:focus,.editor-styles-wrapper .components-modal__content input[type="checkbox"]:focus,.editor-styles-wrapper .components-modal__content input[type="radio"]:focus,.editor-styles-wrapper .components-popover input[type="checkbox"]:focus,.editor-styles-wrapper .components-popover input[type="radio"]:focus,.editor-styles-wrapper .editor-block-list__block input[type="checkbox"]:focus,.editor-styles-wrapper .editor-block-list__block input[type="radio"]:focus,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:checked:focus,.components-modal__screen-overlay .components-modal__content input[type="radio"]:checked:focus,.components-modal__screen-overlay .components-popover input[type="checkbox"]:checked:focus,.components-modal__screen-overlay .components-popover input[type="radio"]:checked:focus,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:checked:focus,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:checked:focus,.components-modal__screen-overlay .components-modal__content input[type="checkbox"]:focus,.components-modal__screen-overlay .components-modal__content input[type="radio"]:focus,.components-modal__screen-overlay .components-popover input[type="checkbox"]:focus,.components-modal__screen-overlay .components-popover input[type="radio"]:focus,.components-modal__screen-overlay .editor-block-list__block input[type="checkbox"]:focus,.components-modal__screen-overlay .editor-block-list__block input[type="radio"]:focus{box-shadow:none}.editor-styles-wrapper .wp-block-quote,.components-modal__screen-overlay .wp-block-quote{margin:3rem 8.33333%;padding:1rem;color:#555758;font-weight:normal;font-size:1rem}.editor-styles-wrapper .wp-block-quote.is-style-large,.components-modal__screen-overlay .wp-block-quote.is-style-large{font-size:1.375rem;font-family:'Roboto', sans-serif}.editor-styles-wrapper .wp-block-quote:not(.is-style-large):not(.is-large),.components-modal__screen-overlay .wp-block-quote:not(.is-style-large):not(.is-large){border-left:2px solid var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-quote__citation,.components-modal__screen-overlay .wp-block-quote__citation{font-weight:500;font-size:1rem;text-align:right;font-style:italic;color:#555758}.editor-styles-wrapper .wp-block-pullquote,.components-modal__screen-overlay .wp-block-pullquote{padding:0}.editor-styles-wrapper .wp-block-pullquote:not(.is-style-solid-color),.components-modal__screen-overlay .wp-block-pullquote:not(.is-style-solid-color){border-top:2px solid var(--tainacan-color-default, #298596);border-bottom:2px solid var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-pullquote blockquote,.components-modal__screen-overlay .wp-block-pullquote blockquote{margin:0;padding:2rem 8.3333333%}.editor-styles-wrapper .wp-block-pullquote .block-library-pullquote__content.editor-rich-text p,.editor-styles-wrapper .wp-block-pullquote .rich-text.block-editor-rich-text__editable p,.components-modal__screen-overlay .wp-block-pullquote .block-library-pullquote__content.editor-rich-text p,.components-modal__screen-overlay .wp-block-pullquote .rich-text.block-editor-rich-text__editable p{font-size:1.375rem;font-weight:500}.editor-styles-wrapper .wp-block-pullquote :not(.has-text-color) .block-library-pullquote__content.editor-rich-text p,.editor-styles-wrapper .wp-block-pullquote :not(.has-text-color) .rich-text.block-editor-rich-text__editable p,.components-modal__screen-overlay .wp-block-pullquote :not(.has-text-color) .block-library-pullquote__content.editor-rich-text p,.components-modal__screen-overlay .wp-block-pullquote :not(.has-text-color) .rich-text.block-editor-rich-text__editable p{color:#298596;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-pullquote .wp-block-pullquote__citation,.components-modal__screen-overlay .wp-block-pullquote .wp-block-pullquote__citation{color:#555758;font-size:1rem;font-weight:normal;font-style:italic;text-transform:none}.editor-styles-wrapper .wp-block-separator,.components-modal__screen-overlay .wp-block-separator{width:50%;max-width:300px}.editor-styles-wrapper .wp-block-separator:not(.has-background-color),.components-modal__screen-overlay .wp-block-separator:not(.has-background-color){border-color:#298596;border-color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-separator.is-style-wide,.components-modal__screen-overlay .wp-block-separator.is-style-wide{width:100%}.editor-styles-wrapper .wp-block-separator.is-style-dots:not(.has-background-color)::before,.components-modal__screen-overlay .wp-block-separator.is-style-dots:not(.has-background-color)::before{color:#298596;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-separator.is-style-dots::before,.components-modal__screen-overlay .wp-block-separator.is-style-dots::before{font-weight:600}.editor-styles-wrapper .wp-block-preformatted pre,.components-modal__screen-overlay .wp-block-preformatted pre{color:#555758;font-size:1rem;font-weight:400;white-space:pre-line}.editor-styles-wrapper .wp-block-code textarea,.components-modal__screen-overlay .wp-block-code textarea{color:#298596;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-table th,.components-modal__screen-overlay .wp-block-table th{border-bottom:1px solid #cbcbcb;font-weight:normal;font-size:0.75rem}.editor-styles-wrapper .wp-block-table td,.components-modal__screen-overlay .wp-block-table td{border:1px solid #f2f2f2;font-size:0.875rem}.editor-styles-wrapper .wp-block-tainacan-modal.dynamic-modal iframe,.components-modal__screen-overlay .wp-block-tainacan-modal.dynamic-modal iframe{width:calc(100% + 64px);height:calc(100% - 104px);margin-left:-32px;margin-bottom:-4px}.editor-styles-wrapper .wp-block-tainacan-modal.dynamic-modal .modal-footer-area,.components-modal__screen-overlay .wp-block-tainacan-modal.dynamic-modal .modal-footer-area{height:72px;width:calc(100% + 64px);margin-left:-32px !important;margin-bottom:-32px !important;padding:1.2rem 3rem !important;border-top:1px solid #898d8f}.editor-styles-wrapper .wp-block-tainacan-modal .modal-footer-area,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-footer-area{margin:0;border:none;padding-top:0px}.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area{padding:0 14px}.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area .components-base-control,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area .components-base-control{width:100%}.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field{display:flex;align-items:center}.editor-styles-wrapper .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field label,.components-modal__screen-overlay .wp-block-tainacan-modal .modal-search-area .components-base-control .components-base-control__field label{flex-shrink:0;margin-right:12px}.editor-styles-wrapper .wp-block-group.tainacan-group-heading .wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading .wp-block-heading{color:#298596 !important;color:var(--tainacan-color-default, #298596) !important}.editor-styles-wrapper .wp-block-group.tainacan-group-heading h1:not(.has-text-color),.editor-styles-wrapper .wp-block-group.tainacan-group-heading h2:not(.has-text-color),.editor-styles-wrapper .wp-block-group.tainacan-group-heading h3:not(.has-text-color),.editor-styles-wrapper .wp-block-group.tainacan-group-heading h4:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h1:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h2:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h3:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h4:not(.has-text-color){color:#298596 !important;color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-group.tainacan-group-heading h1.wp-block-heading,.editor-styles-wrapper .wp-block-group.tainacan-group-heading h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h1.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h1:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.6rem}.editor-styles-wrapper .wp-block-group.tainacan-group-heading h2.wp-block-heading,.editor-styles-wrapper .wp-block-group.tainacan-group-heading h2:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h2.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h2:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.5rem}.editor-styles-wrapper .wp-block-group.tainacan-group-heading h3.wp-block-heading,.editor-styles-wrapper .wp-block-group.tainacan-group-heading h3:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h3.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h3:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.25rem}.editor-styles-wrapper .wp-block-group.tainacan-group-heading h4.wp-block-heading,.editor-styles-wrapper .wp-block-group.tainacan-group-heading h4:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h4.wp-block-heading,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading h4:not(.has-huge-font-size):not(.has-large-font-size):not(.has-medium-font-size):not(.has-normal-font-size):not(.has-small-font-size){font-size:1.125rem}.editor-styles-wrapper .wp-block-group.tainacan-group-heading p,.components-modal__screen-overlay .wp-block-group.tainacan-group-heading p{font-style:italic}.editor-styles-wrapper .wp-block-group.tainacan-group-heading p:not(.has-text-color),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading p:not(.has-text-color){color:#898d8f}.editor-styles-wrapper .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide){margin-left:0;max-width:200px;border-color:#298596;border-color:var(--tainacan-color-default, #298596)}.editor-styles-wrapper .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots),.components-modal__screen-overlay .wp-block-group.tainacan-group-heading hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots){border-width:2px;height:3px}.tainacan-heading-section-pattern-pattern h1,.tainacan-heading-section-pattern-pattern h2,.tainacan-heading-section-pattern-pattern h3,.tainacan-heading-section-pattern-pattern h4{margin-bottom:0px !important}.tainacan-heading-section-pattern-pattern p{font-style:italic;margin-bottom:0 !important}.tainacan-heading-section-pattern-pattern hr.wp-block-separator:not(.is-style-wide){margin-left:0;margin-top:0.5rem;max-width:200px}.tainacan-heading-section-pattern-pattern hr.wp-block-separator:not(.is-style-wide):not(.is-style-dots){border-width:2px;height:3px} /*# sourceMappingURL=editor-style.css.map */ diff --git a/src/functions.php b/src/functions.php index 79228b4..90934b8 100644 --- a/src/functions.php +++ b/src/functions.php @@ -225,6 +225,22 @@ if ( ! isset( $content_width ) ) { $content_width = 1400; } +/** + * Alert user if Tainacan plugin is not installed. + * + * @since Tainacan Theme + */ +function tainacan_interface_admin_notice() { + global $pagenow; + + if ( !defined('TAINACAN_VERSION') && $pagenow == 'themes.php' ) { + echo '
+

' . __('Warning: Tainacan plugin is not activated! While you may use this theme without it, we made it to take full advantage of the plugin features.', 'tainacan-interface') . '

+
'; + } +} +add_action('admin_notices', 'tainacan_interface_admin_notice'); + /** * Adds extra classes dp body tag. has-not-finished-loading is removed * from tag after jQuery.document(ready). It is used to style page while diff --git a/src/functions/customizer.php b/src/functions/customizer.php index b3e2b45..f83faeb 100644 --- a/src/functions/customizer.php +++ b/src/functions/customizer.php @@ -2892,7 +2892,6 @@ add_action( 'wp_head', 'tainacan_header_settings_style_output'); */ function tainacan_items_page_filters_fixed_on_scroll_output() { if (!defined('TAINACAN_VERSION')) { - _e('Tainacan plugin not activated!', 'tainacan-interface'); return; } $should_use_fixed_filters_logic = (version_compare(TAINACAN_VERSION, '0.17RC') >= 0) && get_theme_mod( 'tainacan_items_page_filters_fixed_on_scroll', false ); diff --git a/src/functions/enqueues.php b/src/functions/enqueues.php index 724091c..f2e9929 100644 --- a/src/functions/enqueues.php +++ b/src/functions/enqueues.php @@ -58,8 +58,16 @@ if ( ! function_exists( 'tainacan_enqueues' ) ) { wp_register_script( 'tainacan_tainacanJS', get_template_directory_uri() . '/assets/js/js.js', '', TAINACAN_INTERFACE_VERSION, true ); wp_enqueue_script( 'tainacan_tainacanJS' ); - wp_register_script( 'tainacan_searchBarRedirect', get_template_directory_uri() . '/assets/js/search-bar-redirect.js', '', TAINACAN_INTERFACE_VERSION, false ); - wp_enqueue_script( 'tainacan_searchBarRedirect' ); + if ( defined ('TAINACAN_VERSION' ) ) { + $settings = array( + 'theme_items_list_url' => esc_url_raw( get_site_url() ) . '/' . \Tainacan\Theme_Helper::get_instance()->get_items_list_slug(), + 'theme_collection_list_url' => get_post_type_archive_link( 'tainacan-collection' ), + ); + wp_register_script( 'tainacan_searchBarRedirect', get_template_directory_uri() . '/assets/js/search-bar-redirect.js', '', TAINACAN_INTERFACE_VERSION, false ); + wp_enqueue_script( 'tainacan_searchBarRedirect' ); + wp_localize_script( 'tainacan_searchBarRedirect', 'tainacan_search_info', $settings ); + } + wp_enqueue_script( 'tainacan_copyLink', get_template_directory_uri() . '/assets/js/copy-link.js', [] , TAINACAN_INTERFACE_VERSION, false ); wp_localize_script( 'tainacan_copyLink', 'tainacan_copyLinkVars', array( 'linkCopied' => __( 'Copied! Link sent to the transfer area.', 'tainacan-interface' ) diff --git a/src/languages/pt_BR.po b/src/languages/pt_BR.po index 826f049..ecc9073 100644 --- a/src/languages/pt_BR.po +++ b/src/languages/pt_BR.po @@ -20,7 +20,7 @@ msgstr "" "esc_attr_e;esc_attr_x:1,2c;esc_attr__;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;" "_x:1,2c;_n:1,2;_n_noop:1,2;__ngettext:1,2;__ngettext_noop:1,2;_c,_nc:4c,1,2\n" "X-Poedit-Basepath: ..\n" -"X-Generator: Poedit 2.3\n" +"X-Generator: Poedit 2.3.1\n" "X-Poedit-SearchPath-0: .\n" #: 404.php:8 diff --git a/src/languages/tainacan-interface.pot b/src/languages/tainacan-interface.pot index 1c8ece0..8bc8a34 100644 --- a/src/languages/tainacan-interface.pot +++ b/src/languages/tainacan-interface.pot @@ -20,7 +20,7 @@ msgstr "" "_x:1,2c;_n:1,2;_n_noop:1,2;__ngettext:1,2;__ngettext_noop:1,2;_c,_nc:4c,1,2\n" "X-Poedit-Basepath: ..\n" "Language: en_US\n" -"X-Generator: Poedit 2.3\n" +"X-Generator: Poedit 2.3.1\n" "X-Poedit-SearchPath-0: .\n" #: 404.php:8