Merge branch 'develop' into feature/792

This commit is contained in:
mateuswetah 2023-07-03 11:29:25 -03:00
commit 3f474c8d97
66 changed files with 1569 additions and 293 deletions

View File

@ -3,7 +3,7 @@
margin: 12px 0 24px 0; }
.components-panel__body .collection-carousel-view-modes button {
background: transparent;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 5px;
padding: 2px;
margin: 0;
@ -41,7 +41,7 @@
flex-basis: 50%;
width: 100%;
height: 100%;
background: var(--tainacan-block-gray4, #555758);
background: var(--tainacan-block-gray4, #505253);
transition: background-color ease 0.5s; }
.components-panel__body .collection-carousel-view-modes button.collection-carousel-view-mode-thumbnail {
margin-left: 6px; }
@ -49,16 +49,16 @@
display: block;
height: 40px;
width: 40px;
background: var(--tainacan-block-gray4, #555758);
background: var(--tainacan-block-gray4, #505253);
margin: 4px auto 8px auto;
transition: background-color ease 0.5s; }
.components-panel__body .collection-carousel-view-modes button label {
font-size: 0.75em;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.components-panel__body .collection-carousel-view-modes button.is-active {
border: 2px solid var(--tainacan-block-primary, #298596); }
border: 2px solid var(--tainacan-block-primary, #187181); }
.components-panel__body .collection-carousel-view-modes button.is-active.collection-carousel-view-mode-thumbnail div, .components-panel__body .collection-carousel-view-modes button.is-active.collection-carousel-view-mode-grid div > div {
background-color: var(--tainacan-block-primary, #298596); }
background-color: var(--tainacan-block-primary, #187181); }
.components-panel__body .collection-carousel-view-modes button:hover {
opacity: 0.9;
border-width: 2px; }
@ -75,7 +75,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
@-webkit-keyframes skeleton-animation {
0% {
opacity: 1.0; }
@ -193,7 +193,7 @@
margin: 0; }
.wp-block-tainacan-carousel-collections-list .swiper-button-prev svg, .wp-block-tainacan-carousel-collections-list .swiper-button-next svg {
border-radius: 100%;
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-carousel-collections-list .swiper-button-prev::after, .wp-block-tainacan-carousel-collections-list .swiper-button-prev::before, .wp-block-tainacan-carousel-collections-list .swiper-button-next::after, .wp-block-tainacan-carousel-collections-list .swiper-button-next::before {
content: none !important; }
.wp-block-tainacan-carousel-collections-list .swiper-button-next.swiper-button-disabled,
@ -291,7 +291,7 @@
.wp-block-tainacan-carousel-collections-list ul.collections-list-edit li.collection-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -311,12 +311,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-carousel-collections-list ul.collections-list-edit li.collection-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
.wp-block-tainacan-carousel-collections-list ul.collections-list-edit li.collection-list-item.max-collections-per-screen-9 {
width: calc((100% / 9) - var(--spaceBetweenCollections, 32px));
min-width: calc((100% / 9) - var(--spaceBetweenCollections, 32px)); }
@ -484,6 +484,6 @@
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-collections-list .swiper a:hover > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-collections-list li.collection-list-item a > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-collections-list li.collection-list-item a:hover > span {
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
/*# sourceMappingURL=tainacan-gutenberg-block-carousel-collections-list.css.map */

View File

@ -8,7 +8,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
@-webkit-keyframes skeleton-animation {
0% {
opacity: 1.0; }
@ -63,7 +63,7 @@
display: flex;
justify-content: flex-end;
align-items: center;
background-color: var(--tainacan-block-gray5, #454647); }
background-color: var(--tainacan-block-gray5, #373839); }
.wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name h3 {
color: white;
text-decoration: none;
@ -172,7 +172,7 @@
margin: 0; }
.wp-block-tainacan-carousel-items-list .swiper-button-prev svg, .wp-block-tainacan-carousel-items-list .swiper-button-next svg {
border-radius: 100%;
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-carousel-items-list .swiper-button-prev::after, .wp-block-tainacan-carousel-items-list .swiper-button-prev::before, .wp-block-tainacan-carousel-items-list .swiper-button-next::after, .wp-block-tainacan-carousel-items-list .swiper-button-next::before {
content: none !important; }
.wp-block-tainacan-carousel-items-list .swiper-button-next.swiper-button-disabled,
@ -283,7 +283,7 @@
.wp-block-tainacan-carousel-items-list ul.items-list-edit li.item-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -303,12 +303,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-carousel-items-list ul.items-list-edit li.item-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
.wp-block-tainacan-carousel-items-list ul.items-list-edit li.item-list-item.max-itens-per-screen-9 {
width: calc((100% / 9) - var(--spaceBetweenItems, 32px) );
min-width: calc((100% / 9) - var(--spaceBetweenItems, 32px) ); }
@ -456,6 +456,6 @@
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-items-list .swiper a:hover > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-items-list li.item-list-item a > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-items-list li.item-list-item a:hover > span {
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
/*# sourceMappingURL=tainacan-gutenberg-block-carousel-items-list.css.map */

View File

@ -3,7 +3,7 @@
margin: 12px 0 24px 0; }
.components-panel__body .term-carousel-view-modes button {
background: transparent;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 5px;
padding: 2px;
margin: 0;
@ -41,7 +41,7 @@
flex-basis: 50%;
width: 100%;
height: 100%;
background: var(--tainacan-block-gray4, #555758);
background: var(--tainacan-block-gray4, #505253);
transition: background-color ease 0.5s; }
.components-panel__body .term-carousel-view-modes button.term-carousel-view-mode-thumbnail {
margin-left: 6px; }
@ -49,16 +49,16 @@
display: block;
height: 40px;
width: 40px;
background: var(--tainacan-block-gray4, #555758);
background: var(--tainacan-block-gray4, #505253);
margin: 4px auto 8px auto;
transition: background-color ease 0.5s; }
.components-panel__body .term-carousel-view-modes button label {
font-size: 0.75em;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.components-panel__body .term-carousel-view-modes button.is-active {
border: 2px solid var(--tainacan-block-primary, #298596); }
border: 2px solid var(--tainacan-block-primary, #187181); }
.components-panel__body .term-carousel-view-modes button.is-active.term-carousel-view-mode-thumbnail div, .components-panel__body .term-carousel-view-modes button.is-active.term-carousel-view-mode-grid div > div {
background-color: var(--tainacan-block-primary, #298596); }
background-color: var(--tainacan-block-primary, #187181); }
.components-panel__body .term-carousel-view-modes button:hover {
opacity: 0.9;
border-width: 2px; }
@ -75,7 +75,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
@-webkit-keyframes skeleton-animation {
0% {
opacity: 1.0; }
@ -193,7 +193,7 @@
margin: 0; }
.wp-block-tainacan-carousel-terms-list .swiper-button-prev svg, .wp-block-tainacan-carousel-terms-list .swiper-button-next svg {
border-radius: 100%;
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-carousel-terms-list .swiper-button-prev::after, .wp-block-tainacan-carousel-terms-list .swiper-button-prev::before, .wp-block-tainacan-carousel-terms-list .swiper-button-next::after, .wp-block-tainacan-carousel-terms-list .swiper-button-next::before {
content: none !important; }
.wp-block-tainacan-carousel-terms-list .swiper-button-next.swiper-button-disabled,
@ -291,7 +291,7 @@
.wp-block-tainacan-carousel-terms-list ul.terms-list-edit li.term-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -311,12 +311,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-carousel-terms-list ul.terms-list-edit li.term-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
.wp-block-tainacan-carousel-terms-list ul.terms-list-edit li.term-list-item.max-terms-per-screen-9 {
width: calc((100% / 9) - var(--spaceBetweenTerms, 32px));
min-width: calc((100% / 9) - var(--spaceBetweenTerms, 32px)); }
@ -483,6 +483,6 @@
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-terms-list .swiper a:hover > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-terms-list li.term-list-item a > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-carousel-terms-list li.term-list-item a:hover > span {
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
/*# sourceMappingURL=tainacan-gutenberg-block-carousel-terms-list.css.map */

View File

@ -70,7 +70,7 @@
.wp-block-tainacan-collections-list ul.collections-list-edit li.collection-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -90,12 +90,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-collections-list ul.collections-list-edit li.collection-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
@media only screen and (max-width: 498px) {
.wp-block-tainacan-collections-list ul.collections-list.collections-layout-grid,
.wp-block-tainacan-collections-list ul.collections-list-edit.collections-layout-grid {

View File

@ -2,10 +2,10 @@
--tainacan-block-gray0: #f6f6f6;
--tainacan-block-gray1: #f2f2f2;
--tainacan-block-gray2: #dbdbdb;
--tainacan-block-gray3: #cbcbcb;
--tainacan-block-gray4: #555758;
--tainacan-block-gray5: #454647;
--tainacan-block-primary: #298596; }
--tainacan-block-gray3: #a5a5a5;
--tainacan-block-gray4: #505253;
--tainacan-block-gray5: #373839;
--tainacan-block-primary: #187181; }
.tainacan-block-placeholder.components-placeholder {
align-items: center !important;
@ -25,13 +25,13 @@
.tainacan-block-placeholder.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: var(--tainacan-block-gray5, #454647);
fill: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray5, #373839);
fill: var(--tainacan-block-gray4, #505253); }
.tainacan-block-placeholder.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: var(--tainacan-block-gray4, #555758); }
fill: var(--tainacan-block-gray4, #505253); }
.tainacan-block-placeholder.components-placeholder .components-placeholder__fieldset .components-button {
margin: 0; }
@ -58,7 +58,7 @@
.wp-block-tainacan-modal.dynamic-modal .modal-footer-area {
height: 68px;
width: 100%;
border-top: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border-top: 1px solid var(--tainacan-block-gray3, #a5a5a5);
padding: 15px 32px; }
.wp-block-tainacan-modal.dynamic-modal .components-modal__content {
padding: 0; }
@ -73,7 +73,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
@ -109,7 +109,7 @@
width: 100%; }
.wp-block-tainacan-modal .modal-search-area .components-base-control label.components-base-control__label {
font-weight: 500;
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
font-size: 1em;
text-align: center; }
.wp-block-tainacan-modal .modal-search-area .components-base-control input.components-text-control__input {
@ -174,7 +174,7 @@
align-items: baseline;
justify-content: center; }
.wp-block-tainacan-modal .modal-loadmore-section p {
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
margin-right: 12px;
margin-top: 2px; }
.wp-block-tainacan-modal .modal-footer-area {
@ -185,6 +185,6 @@
padding: 15px 0 0 0; }
.wp-block-tainacan-modal .modal-footer-area p {
padding: 0 12px;
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
/*# sourceMappingURL=tainacan-gutenberg-block-common-editor-styles.css.map */

View File

@ -10,7 +10,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.wp-block-tainacan-dynamic-items-list:hover .components-resizable-box__handle {
display: block; }
@-webkit-keyframes skeleton-animation {
@ -66,7 +66,7 @@
display: flex;
justify-content: flex-end;
align-items: center;
background-color: var(--tainacan-block-gray5, #454647); }
background-color: var(--tainacan-block-gray5, #373839); }
.wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name h3 {
color: white;
text-decoration: none;
@ -127,7 +127,7 @@
width: 100%;
display: flex;
align-items: center;
border-bottom: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border-bottom: 1px solid var(--tainacan-block-gray3, #a5a5a5);
padding: 1.00em 0.5em 0.75em 0.5em;
position: relative;
box-sizing: border-box; }
@ -155,7 +155,7 @@
background: transparent;
cursor: pointer; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar button svg {
fill: var(--tainacan-block-gray3, #cbcbcb);
fill: var(--tainacan-block-gray3, #a5a5a5);
transition: fill 0.4s ease; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar button:hover svg {
fill: #545758; }
@ -168,13 +168,13 @@
margin-right: 0em;
padding: 0; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar button.next-button svg {
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar button.previous-button {
margin-left: auto;
margin-right: 1em;
padding: 0; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar button.previous-button svg {
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar button[disabled] svg {
fill: var(--tainacan-block-gray1, #f2f2f2);
cursor: not-allowed; }
@ -188,7 +188,7 @@
transition: border-color 0.7s ease, width 0.5s ease-in; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar input:focus, .wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar input:active, .wp-block-tainacan-dynamic-items-list .dynamic-items-search-bar input:hover {
width: 100%;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
box-shadow: none; }
.wp-block-tainacan-dynamic-items-list ul.items-list-edit li.item-list-item {
display: flex;
@ -197,7 +197,7 @@
.wp-block-tainacan-dynamic-items-list ul.items-list-edit li.item-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -215,12 +215,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-dynamic-items-list ul.items-list-edit li.item-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
.wp-block-tainacan-dynamic-items-list ul.items-list.items-layout-grid,
.wp-block-tainacan-dynamic-items-list ul.items-list-edit.items-layout-grid {
padding: 0;
@ -987,6 +987,6 @@
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-dynamic-items-list li.item-list-item a > span,
.block-editor-block-list__block:not(.has-text-color) > .wp-block-tainacan-dynamic-items-list li.item-list-item a:hover > span {
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
/*# sourceMappingURL=tainacan-gutenberg-block-dynamic-items-list.css.map */

View File

@ -6,12 +6,12 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.wp-block-tainacan-faceted-search .preview-warning {
width: 100%;
font-size: 0.875rem;
font-style: italic;
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
text-align: center;
margin: 0 auto;
padding: 8px 2px 2px 2px; }

View File

@ -6,7 +6,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
@-webkit-keyframes skeleton-animation {
0% {
opacity: 1.0; }
@ -60,7 +60,7 @@
display: flex;
justify-content: flex-end;
align-items: center;
background-color: var(--tainacan-block-gray5, #454647); }
background-color: var(--tainacan-block-gray5, #373839); }
.wp-block-tainacan-facets-list .facets-collection-header .collection-name h3 {
color: white;
text-decoration: none;
@ -121,7 +121,7 @@
width: 100%;
display: flex;
align-items: center;
border-bottom: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border-bottom: 1px solid var(--tainacan-block-gray3, #a5a5a5);
padding: 1.00em 0.5em 0.75em 0.5em;
box-sizing: border-box; }
@media only screen and (max-width: 768px) {
@ -147,7 +147,7 @@
background: transparent;
cursor: pointer; }
.wp-block-tainacan-facets-list .facets-search-bar button svg {
fill: var(--tainacan-block-gray3, #cbcbcb);
fill: var(--tainacan-block-gray3, #a5a5a5);
transition: fill 0.4s ease; }
.wp-block-tainacan-facets-list .facets-search-bar button:hover svg {
fill: #545758; }
@ -160,13 +160,13 @@
margin-right: 0em;
padding: 0; }
.wp-block-tainacan-facets-list .facets-search-bar button.next-button svg {
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-facets-list .facets-search-bar button.previous-button {
margin-left: auto;
margin-right: 1em;
padding: 0; }
.wp-block-tainacan-facets-list .facets-search-bar button.previous-button svg {
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-facets-list .facets-search-bar button[disabled] svg {
fill: var(--tainacan-block-gray1, #f2f2f2);
cursor: not-allowed; }
@ -180,7 +180,7 @@
transition: border-color 0.7s ease, width 0.5s ease-in; }
.wp-block-tainacan-facets-list .facets-search-bar input:focus, .wp-block-tainacan-facets-list .facets-search-bar input:active, .wp-block-tainacan-facets-list .facets-search-bar input:hover {
width: 100%;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
box-shadow: none; }
.wp-block-tainacan-facets-list ul.facets-list-edit li.facet-list-item {
display: flex;
@ -188,7 +188,7 @@
.wp-block-tainacan-facets-list ul.facets-list-edit li.facet-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -206,12 +206,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-facets-list ul.facets-list-edit li.facet-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-grid,
.wp-block-tainacan-facets-list ul.facets-list-edit.facets-layout-grid {
padding: 0 2em;
@ -374,7 +374,7 @@
text-decoration: none; }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-grid li.facet-list-item svg,
.wp-block-tainacan-facets-list ul.facets-list-edit.facets-layout-grid li.facet-list-item svg {
fill: var(--tainacan-block-gray4, #555758);
fill: var(--tainacan-block-gray4, #505253);
margin-left: auto;
overflow: visible; }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-list,
@ -526,7 +526,7 @@
margin-right: 20px; }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-list li.facet-list-item svg,
.wp-block-tainacan-facets-list ul.facets-list-edit.facets-layout-list li.facet-list-item svg {
fill: var(--tainacan-block-gray4, #555758);
fill: var(--tainacan-block-gray4, #505253);
margin-left: auto;
overflow: visible; }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-list li.facet-list-item .facet-label-and-count,
@ -581,7 +581,7 @@
font-style: italic;
font-size: 0.875em;
margin: 0;
color: var(--tainacan-block-gray3, #cbcbcb); }
color: var(--tainacan-block-gray3, #a5a5a5); }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-cloud,
.wp-block-tainacan-facets-list ul.facets-list-edit.facets-layout-cloud {
padding: 0;
@ -611,7 +611,7 @@
margin-right: 20px; }
.wp-block-tainacan-facets-list ul.facets-list.facets-layout-cloud li.facet-list-item svg,
.wp-block-tainacan-facets-list ul.facets-list-edit.facets-layout-cloud li.facet-list-item svg {
fill: var(--tainacan-block-gray4, #555758);
fill: var(--tainacan-block-gray4, #505253);
margin-left: auto;
overflow: visible;
margin-bottom: -12px; }
@ -647,22 +647,22 @@
margin: 12px auto;
padding: 0.2em 0.25em;
display: block;
background: var(--tainacan-block-primary, #298596);
background: var(--tainacan-block-primary, #187181);
border: none;
height: 24px;
width: 24px;
cursor: pointer; }
.wp-block-tainacan-facets-list .show-more-button[disabled] {
background-color: var(--tainacan-block-gray3, #cbcbcb); }
background-color: var(--tainacan-block-gray3, #a5a5a5); }
.wp-block-tainacan-facets-list .show-more-button i > svg {
fill: white; }
.wp-block-tainacan-facets-list:not(.has-text-color) li.facet-list-item a {
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
.wp-block-tainacan-facets-list:not(.has-text-color) li.facet-list-item a:hover, .wp-block-tainacan-facets-list:not(.has-text-color) li.facet-list-item a:focus, .wp-block-tainacan-facets-list:not(.has-text-color) li.facet-list-item a:hover .facet-item-count, .wp-block-tainacan-facets-list:not(.has-text-color) li.facet-list-item a:focus .facet-item-count {
color: var(--tainacan-block-primary, #298596); }
color: var(--tainacan-block-primary, #187181); }
.wp-block-tainacan-facets-list:not(.has-text-color) li.facet-list-item a .facet-item-count {
opacity: 1.0;
color: var(--tainacan-block-gray3, #cbcbcb); }
color: var(--tainacan-block-gray3, #a5a5a5); }
.child-reveal-enter-active {
overflow: hidden;

View File

@ -34,9 +34,9 @@
position: relative; }
.tainacan-media-component {
--swiper-theme-color: var(--tainacan-secondary, #298596);
--swiper-theme-color: var(--tainacan-secondary, #187181);
--swiper-navigation-size: 44px;
--tainacan-media-metadata-color: var(--tainacan-label-color, #454647);
--tainacan-media-metadata-color: var(--tainacan-label-color, #373839);
--tainacan-media-background: var(--tainacan-background-color, transparent);
--tainacan-media-main-carousel-height: 60vh;
--tainacan-media-main-carousel-width: 100%;
@ -136,14 +136,14 @@
.tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata__name {
font-size: 1em;
font-weight: bold;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
opacity: 0.75; }
.tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata__caption {
font-size: 0.9375em;
color: var(--tainacan-media-metadata-color, #454647); }
color: var(--tainacan-media-metadata-color, #373839); }
.tainacan-media-component__swiper-main li.swiper-slide .swiper-slide-metadata__caption {
font-size: 0.875em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
opacity: 0.85; }
.tainacan-media-component__swiper-main .swiper-slide-content {
width: 100%;
@ -246,24 +246,24 @@
.tainacan-media-component__swiper-thumbs li.swiper-slide img:focus, .tainacan-media-component__swiper-thumbs li.swiper-slide img:hover {
opacity: 0.95;
outline: none;
border-bottom-color: var(--swiper-theme-color, #298596); }
border-bottom-color: var(--swiper-theme-color, #187181); }
.tainacan-media-component__swiper-thumbs li.swiper-slide.swiper-slide-thumb-active .swiper-slide-metadata__name {
font-weight: bold; }
.tainacan-media-component__swiper-thumbs li.swiper-slide.swiper-slide-thumb-active img {
opacity: 1.0;
border-bottom-color: var(--swiper-theme-color, #298596); }
border-bottom-color: var(--swiper-theme-color, #187181); }
.tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata__name {
font-size: 1em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
opacity: 0.75;
word-break: break-word; }
.tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata__caption {
font-size: 0.9375em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
word-break: break-word; }
.tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata__caption {
font-size: 0.875em;
color: var(---tainacan-media-metadata-color, #454647);
color: var(---tainacan-media-metadata-color, #373839);
opacity: 0.85;
word-break: break-word; }
.tainacan-media-component__swiper-thumbs li.swiper-slide .swiper-slide-metadata {
@ -295,7 +295,7 @@
.tainacan-media-component__swiper-thumbs li.swiper-slide a:hover {
outline: none;
text-decoration: none;
color: var(--tainacan-gray5, #454647); }
color: var(--tainacan-gray5, #373839); }
.tainacan-media-component__swiper-thumbs .swiper-start-border {
position: absolute;
height: 100%;

View File

@ -3,7 +3,7 @@
#metadata-checkbox-list .components-base-control__help {
margin-left: 33px;
font-size: 0.75rem;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.wp-block-tainacan-item-submission-form {
margin: 2em auto; }
@ -13,12 +13,12 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
.wp-block-tainacan-item-submission-form .preview-warning {
width: 100%;
font-size: 0.875rem;
font-style: italic;
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
text-align: center;
margin: 4px auto; }
.wp-block-tainacan-item-submission-form .item-submission-form-placeholder {

View File

@ -74,7 +74,7 @@
.wp-block-tainacan-items-list ul.items-list-edit li.item-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -94,12 +94,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-items-list ul.items-list-edit li.item-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
@media only screen and (max-width: 498px) {
.wp-block-tainacan-items-list ul.items-list.items-layout-grid,
.wp-block-tainacan-items-list ul.items-list-edit.items-layout-grid {

View File

@ -7,7 +7,7 @@
display: flex;
justify-content: center;
align-items: center;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
@-webkit-keyframes skeleton-animation {
0% {
opacity: 1.0; }

View File

@ -49,7 +49,7 @@
.wp-block-tainacan-search-bar .tainacan-search-container #tainacan-search-bar-block button .icon svg {
transform: scale(1);
height: 100%;
fill: var(--tainacan-block-primary, #298596); }
fill: var(--tainacan-block-primary, #187181); }
@media only screen and (max-width: 768px) {
.wp-block-tainacan-search-bar .tainacan-search-container #tainacan-search-bar-block {
margin-left: 0px;
@ -89,11 +89,11 @@
transition: border-color 0.4s ease, width 0.5s ease-in, background-color 0.3s ease, color 0.3s ease; }
.wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block input#tainacan-search-bar-block_input:focus, .wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block input#tainacan-search-bar-block_input:active, .wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block input#tainacan-search-bar-block_input:hover {
width: 100%;
border-color: var(--tainacan-block-gray3, #cbcbcb);
border-color: var(--tainacan-block-gray3, #a5a5a5);
background: #fafafa;
box-shadow: none; }
.wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block input#tainacan-search-bar-block_input::placeholder {
color: var(--tainacan-block-gray3, #cbcbcb); }
color: var(--tainacan-block-gray3, #a5a5a5); }
.wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block button {
margin-right: 12px;
padding: 0 0.35em;
@ -103,7 +103,7 @@
background: transparent !important;
cursor: pointer; }
.wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block button .icon svg {
fill: var(--tainacan-block-gray3, #cbcbcb);
fill: var(--tainacan-block-gray3, #a5a5a5);
transition: fill 0.4s ease; }
.wp-block-tainacan-search-bar.is-style-alternate #tainacan-search-bar-block button:hover {
background: transparent; }
@ -118,14 +118,14 @@
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:focus input::placeholder, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:active input,
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:active input::placeholder, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:hover input,
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:hover input::placeholder {
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
border-width: 0; }
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:focus button .icon svg, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:active button .icon svg, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block:hover button .icon svg {
fill: var(--tainacan-block-gray3, #cbcbcb) !important; }
fill: var(--tainacan-block-gray3, #a5a5a5) !important; }
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input {
color: white; }
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input:focus, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input:active, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input:hover, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input:focus::placeholder, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input:active::placeholder, .wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block input#tainacan-search-bar-block_input:hover::placeholder {
color: var(--tainacan-block-gray5, #454647); }
color: var(--tainacan-block-gray5, #373839); }
.wp-block-tainacan-search-bar.is-style-alternate .search-bar-collection-header-container .tainacan-search-container #tainacan-search-bar-block button .icon svg {
fill: var(--tainacan-block-gray2, #dbdbdb) !important; }
.wp-block-tainacan-search-bar.is-style-stylish #tainacan-search-bar-block {

View File

@ -54,7 +54,7 @@
.wp-block-tainacan-terms-list ul.terms-list-edit li.term-list-item button {
position: absolute !important;
background-color: rgba(255, 255, 255, 0.75);
color: var(--tainacan-block-gray5, #454647);
color: var(--tainacan-block-gray5, #373839);
padding: 2px;
margin-left: 5px;
min-width: 14px;
@ -74,12 +74,12 @@
opacity: 1;
right: -8px;
top: -8px;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border: 1px solid var(--tainacan-block-gray3, #a5a5a5);
border-radius: 12px;
transition: opacity linear 0.15s, right linear 0.15s; }
.wp-block-tainacan-terms-list ul.terms-list-edit li.term-list-item:hover button:hover {
background-color: white !important;
border: 1px solid var(--tainacan-block-gray3, #cbcbcb) !important; }
border: 1px solid var(--tainacan-block-gray3, #a5a5a5) !important; }
@media only screen and (max-width: 498px) {
.wp-block-tainacan-terms-list ul.terms-list.terms-layout-grid,
.wp-block-tainacan-terms-list ul.terms-list-edit.terms-layout-grid {

View File

@ -17,10 +17,10 @@
display: flex;
align-items: center;
margin: 6px 0px 36px 0px;
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
#tainacan-reports-app .tainacan-reports-subheader .tainacan-reports-subheader-box:not(:first-child) {
padding-left: 14px;
border-left: 1px solid var(--tainacan-block-gray3, #cbcbcb); }
border-left: 1px solid var(--tainacan-block-gray3, #a5a5a5); }
#tainacan-reports-app .tainacan-reports-subheader .tainacan-reports-subheader-box__title {
font-weight: bold;
margin-left: 2px; }
@ -48,12 +48,12 @@
margin: 0px 8px 0px 0px;
flex-basis: 100%; }
#tainacan-reports-app .tainacan-reports-subheader .icon svg {
fill: var(--tainacan-block-gray4, #555758);
fill: var(--tainacan-block-gray4, #505253);
margin-left: -0.5rem;
cursor: default; }
#tainacan-reports-app .tainacan-reports-subheader .apexcharts-pan-icon svg {
fill: transparent;
stroke: var(--tainacan-block-gray4, #555758); }
stroke: var(--tainacan-block-gray4, #505253); }
#tainacan-reports-app .tainacan-reports-subheader .apexcharts-reset-icon {
margin-left: 0; }
#tainacan-reports-app .columns {
@ -74,7 +74,7 @@
display: inline-block;
padding: 0px 10px;
background-color: var(--tainacan-block-gray2, #dbdbdb);
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
font-size: 0.875em;
border-top-left-radius: 3px;
opacity: 0.0;
@ -115,7 +115,7 @@
flex-direction: column;
opacity: 0.75; }
#tainacan-reports-app .empty-postbox-placeholder p {
color: var(--tainacan-block-gray4, #555758); }
color: var(--tainacan-block-gray4, #505253); }
#tainacan-reports-app .graph-mode-switch {
display: inline-block; }
#tainacan-reports-app .graph-mode-switch button {

View File

@ -315,7 +315,7 @@ abstract class REST_Controller extends \WP_REST_Controller {
);
$query_params['sentence'] = array(
'description' => __( 'Whether to search by phrase. Default false.', 'tainacan' ),
'description' => __( 'Whether to search by phrase. Default true.', 'tainacan' ),
'type' => 'boolean',
'default' => true,
);

View File

@ -126,7 +126,7 @@ class Theme_Helper {
'description' => 'A map view, for displaying items that have geocoordinate metadata.',
'icon' => '<span class="icon">
<i>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="var(--tainacan-info-color, #555758)" width="1.25em" height="1.25em">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="var(--tainacan-info-color, #505253)" width="1.25em" height="1.25em">
<path d="M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z" />
</svg>
</i>
@ -1077,7 +1077,7 @@ class Theme_Helper {
: 'tainacan-medium',
'show_collection_header' => false,
'show_collection_label' => false,
'collection_background_color' => '#454647',
'collection_background_color' => '#373839',
'collection_text_color' => '#ffffff',
'tainacan_api_root' => '',
'tainacan_base_url' => '',
@ -1149,7 +1149,7 @@ class Theme_Helper {
: 'tainacan-medium',
'show_collection_header' => false,
'show_collection_label' => false,
'collection_background_color' => '#454647',
'collection_background_color' => '#373839',
'collection_text_color' => '#ffffff',
'tainacan_api_root' => '',
'tainacan_base_url' => '',

View File

@ -1595,7 +1595,7 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="var(--tainacan-info-color, #555758)"
fill="var(--tainacan-info-color, #505253)"
width="2.875em"
height="2.875em">
<path d="M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z" />

View File

@ -156,17 +156,6 @@
@import "../../scss/_variables.scss";
.repository-header-tooltips .tooltip-inner {
color: var(--tainacan-white);
background-color: var(--tainacan-blue3);
font-size: 0.75em;
font-weight: 400;
padding: 10px 14px;
}
.repository-header-tooltips .tooltip-arrow {
border-color: var(--tainacan-blue3);
}
// Tainacan Header
#tainacan-header {
background-color: var(--tainacan-white);

View File

@ -157,27 +157,6 @@ export default {
<style lang="scss">
@import "../../scss/_variables.scss";
.header-tooltips .tooltip-inner {
color: var(--tainacan-white);
text-shadow: 1px 1px var(--tainacan-turquoise4);
background-color: var(--tainacan-turquoise3);
font-weight: 400;
padding: 10px 14px;
}
.header-tooltips .tooltip-arrow {
border-color: var(--tainacan-turquoise3);
}
.repository-header-tooltips .tooltip-inner {
color: var(--tainacan-white);
background-color: var(--tainacan-blue3);
font-weight: 400;
padding: 10px 14px;
}
.repository-header-tooltips .tooltip-arrow {
border-color: var(--tainacan-blue3);
}
// Tainacan Header
#tainacan-repository-subheader {

View File

@ -14,7 +14,7 @@
class="modal-custom-icon">
<span class="icon is-large">
<i
:style="{ color: icon == 'alert' ? 'var(--tainacan-red2)' : ( icon == 'approved' ? '#25a189' : 'inherit' ) }"
:style="{ color: icon == 'alert' ? 'var(--tainacan-red2)' : ( icon == 'approved' ? '#1a745c' : 'inherit' ) }"
:class="'tainacan-icon-' + icon"
class="tainacan-icon"/>
</span>

View File

@ -3,7 +3,7 @@
<figure
class="file-item"
:class="{'shows-modal-on-click' : modalOnClick}"
@click="modalOnClick? openPreviewModal() : null">
@click="modalOnClick ? openPreviewModal() : null">
<figcaption
v-if="showName && file.title != undefined"
v-tooltip="{
@ -161,6 +161,10 @@ export default {
justify-content: center !important;
flex-direction: column;
align-items: center;
p.attachment>a {
display: block;
}
}
</style>

View File

@ -148,7 +148,7 @@ export const setSearchQuery = ( state, searchQuery ) => {
};
export const setSentenceMode = ( state, sentenceMode ) => {
if (sentenceMode == true)
if (sentenceMode != true)
Vue.set(state.postquery, 'sentence', sentenceMode);
else {
Vue.set(state.postquery, 'sentence', sentenceMode); // Needed to trigger getter

View File

@ -89,6 +89,8 @@
:focusable="false">
<b-checkbox
:value="sentenceMode"
:true-value="false"
:false-value="true"
@input="$eventBusSearch.setSentenceMode($event)">
{{ $i18n.get('label_use_search_separated_words') }}
</b-checkbox>
@ -663,6 +665,8 @@
<br>
<b-checkbox
:value="sentenceMode"
:true-value="false"
:false-value="true"
@input="$eventBusSearch.setSentenceMode($event); updateSearch();">
{{ $i18n.get('label_use_search_separated_words') }}
</b-checkbox>

View File

@ -342,7 +342,7 @@ export default {
&.active-metadata-sections-item {
padding-left: 0;
margin-top: 1rem;
border-bottom: 1px solid var(--tainacan-gray3);
border-bottom: 1px solid var(--tainacan-gray2);
.metadatum-name {
h3 {

View File

@ -115,7 +115,7 @@ kbd {
border-radius: 4px;
border-style: solid;
border-color: var(--tainacan-gray2, #dbdbdb);
border-bottom-color: var(--tainacan-gray3, #cbcbcb);
border-bottom-color: var(--tainacan-gray3, #a5a5a5);
transition: top 0.1s ease, background 0.1s ease, border-bottom-width 0.1s ease;
}
kbd:hover,

View File

@ -31,7 +31,7 @@
z-index: 99999;
@media only screen and (max-width: 768px) {
background-color: var(--tainacan-background-color, #ffffff);
&:before, &:after { background-color: var(--tainacan-secondary, #298596); }
&:before, &:after { background-color: var(--tainacan-secondary, #187181); }
}
}
@ -91,10 +91,7 @@
margin: 0;
text-align: center;
}
.attachment {
width: 100%;
}
.form-submit {
padding: 40px 0em 0em 0em !important;
}

View File

@ -292,17 +292,17 @@
i, i::before { font-size: 0.875em !important }
}
&:hover .help-tooltip {
margin-bottom: 12px;
margin-bottom: 10px;
margin-left: -37px;
visibility: visible;
opacity: 1;
}
.help-tooltip {
z-index: 99999999999999999999;
background-color: var(--tainacan-primary);
background-color: var(--tainacan-blue1);
border: none;
display: block;
border-radius: 5px;
border-radius: 3px;
min-width: 280px;
max-width: 100%;
transition: margin-bottom 0.2s ease, opacity 0.3s ease;
@ -312,45 +312,31 @@
margin-bottom: -27px;
visibility: hidden;
opacity: 0;
font-size: 0.875em;
.help-tooltip-header {
padding: 0.8em 0.8em 0em 0.8em;
h5 {
font-size: 0.875em !important;
font-weight: bold;
color: var(--tainacan-secondary);
color: var(--tainacan-blue5);
margin-bottom: 0;
margin-top: 0;
white-space: normal;
}
}
.help-tooltip-body {
padding: 0.5em 1.0em 1.0em 1.0em;
padding: 0.5em 0.8em 0.75em 0.8em;
p {
margin: 0 0 0.125em 0;
font-size: 0.875em !important;
font-size: 0.9375em !important;
font-weight: normal !important;
white-space: normal !important;
overflow: visible !important;
max-height: 100% !important;
line-height: normal;
color: var(--tainacan-secondary);
color: var(--tainacan-blue5);
}
}
&:before {
content: "";
display: block;
position: absolute;
left: 30px;
width: 0;
height: 0;
border-style: solid;
}
&:before {
border-color: var(--tainacan-primary) transparent transparent transparent;
border-right-width: 15px;
border-top-width: 12px;
border-left-width: 15px;
bottom: -15px;
}
}
}

View File

@ -8,11 +8,11 @@ $blue1: #e6f4ff;
$blue1-invert: findColorInvert($blue1);
$blue2: #cce3f2;
$blue2-invert: findColorInvert($blue2);
$blue3: #44638e;
$blue3: #244879;
$blue3-invert: findColorInvert($blue3);
$blue4: #284472;
$blue4: #1d3968;
$blue4-invert: findColorInvert($blue4);
$blue5: #01295c;
$blue5: #062a57;
$blue5-invert: findColorInvert($blue5);
// Turquoise, used mainly for collection level
@ -22,11 +22,11 @@ $turquoise2: #d9eced;
$turquoise2-invert: findColorInvert($turquoise2);
$turquoise3: #76c6cc;
$turquoise3-invert: findColorInvert($turquoise3);
$turquoise4: #4ea2ad;
$turquoise4: #31818c;
$turquoise4-invert: findColorInvert($turquoise4);
$turquoise5: #298596;
$turquoise5: #187181;
$turquoise5-invert: findColorInvert($turquoise5);
$turquoise6: #226f7d;
$turquoise6: #156075;
$turquoise6-invert: findColorInvert($turquoise6);
// Gray, used mostly for information
@ -36,27 +36,27 @@ $gray1: #f2f2f2;
$gray1-invert: findColorInvert($gray1);
$gray2: #dbdbdb;
$gray2-invert: findColorInvert($gray2);
$gray3: #cbcbcb;
$gray3: #a5a5a5;
$gray3-invert: findColorInvert($gray3);
$gray4: #555758;
$gray4: #505253;
$gray4-invert: findColorInvert($gray4);
$gray5: #454647;
$gray5: #373839;
$gray5-invert: findColorInvert($gray5);
// Red, used for error messages
$red1: #eadadc;
$red1: #f8f2f3;
$red1-invert: findColorInvert($red1);
$red2: #a23939;
$red2: #9b3636;
$red2-invert: findColorInvert($red2);
// Green, used for success buttons
$green1: #daece6;
$green1: #eef6f4;
$green1-invert: findColorInvert($green1);
$green2: #25a189;
$green2: #1a745c;
$green2-invert: findColorInvert($green2);
// Warning, used for warning messages
$yellow1: #fff7ee;
$yellow1-invert: findColorInvert($yellow1);
$yellow2: #bb7700;
$yellow2: #a06522;
$yellow2-invert: findColorInvert($yellow2);
// Text, no quite black

View File

@ -114,7 +114,7 @@
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
"default": "#373839"
},
"collectionTextColor": {
"type": "string",

View File

@ -1,6 +1,149 @@
const { useBlockProps } = (tainacan_blocks.wp_version < '5.2' ? wp.editor : wp.blockEditor );
export default [
/* Deprecated on 0.20.4 to replace collectionBackgroundColor */
{
attributes: {
"content": {
"type": "array",
"source": "children",
"selector": "div"
},
"collections": {
"type": "array",
"default": []
},
"isModalOpen": {
"type": "boolean",
"default": false
},
"selectedCollections": {
"type": "array",
"default": []
},
"itemsRequestSource": {
"type": "string",
"default": false
},
"maxCollectionsNumber": {
"type": "number",
"default": false
},
"maxCollectionsPerScreen": {
"type": "number",
"default": 6
},
"spaceBetweenCollections": {
"type": "number",
"default": 32
},
"spaceAroundCarousel": {
"type": "number",
"default": 50
},
"isLoading": {
"type": "boolean",
"default": false
},
"isLoadingCollection": {
"type": "boolean",
"default": false
},
"arrowsPosition": {
"type": "string",
"default": "around"
},
"largeArrows": {
"type": "boolean",
"default": false
},
"arrowsStyle": {
"type": "string",
"default": "type-1"
},
"autoPlay": {
"type": "boolean",
"default": false
},
"autoPlaySpeed": {
"type": "number",
"default": 3
},
"loopSlides": {
"type": "boolean",
"default": false
},
"hideName": {
"type": "boolean",
"default": true
},
"showCollectionThumbnail": {
"type": "boolean",
"default": false
},
"imageSize": {
"type": "string",
"default": "tainacan-medium"
},
"blockId": {
"type": "string",
"default": ""
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
},
"collectionTextColor": {
"type": "string",
"default": "#ffffff"
}
},
save: function ({ attributes, className }) {
const {
content,
blockId,
selectedCollections,
arrowsPosition,
largeArrows,
arrowsStyle,
imageSize,
maxCollectionsPerScreen,
maxCollectionsNumber,
spaceBetweenCollections,
spaceAroundCarousel,
autoPlay,
autoPlaySpeed,
loopSlides,
hideName,
showCollectionThumbnail
} = attributes;
// Gets attributes such as style, that are automatically added by the editor hook
const blockProps = tainacan_blocks.wp_version < '5.6' ? { className: className } : useBlockProps.save();
return <div
{ ...blockProps }
data-module="carousel-collections-list"
selected-collections={ JSON.stringify(selectedCollections.map((collection) => { return collection.id })) }
arrows-position={ arrowsPosition }
auto-play={ '' + autoPlay }
auto-play-speed={ autoPlaySpeed }
loop-slides={ '' + loopSlides }
hide-name={ '' + hideName }
large-arrows={ '' + largeArrows }
arrows-style={ arrowsStyle }
image-size={ imageSize }
max-collections-number={ maxCollectionsNumber }
max-collections-per-screen={ maxCollectionsPerScreen }
space-between-collections={ spaceBetweenCollections }
space-around-carousel={ spaceAroundCarousel }
tainacan-api-root={ tainacan_blocks.root }
tainacan-base-url={ tainacan_blocks.base_url }
show-collection-thumbnail={ '' + showCollectionThumbnail }
id={ 'wp-block-tainacan-carousel-collections-list_' + blockId }>
{ content }
</div>
}
},
/* Deprecated on 0.19 to replace cropImagesToSquare by imageSize feature */
{
migrate( attributes ) {

View File

@ -120,7 +120,7 @@
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
"default": "#373839"
},
"collectionTextColor": {
"type": "string",

View File

@ -1,6 +1,181 @@
const { useBlockProps } = (tainacan_blocks.wp_version < '5.2' ? wp.editor : wp.blockEditor );
export default [
/* Deprecated on 0.20.4 to replace collectionBackgroundColor */
{
attributes: {
"content": {
"type": "array",
"source": "children",
"selector": "div"
},
"collectionId": {
"type": "string",
"default": ""
},
"items": {
"type": "array",
"default": []
},
"isModalOpen": {
"type": "boolean",
"default": false
},
"searchURL": {
"type": "string",
"default": ""
},
"selectedItems": {
"type": "array",
"default": []
},
"itemsRequestSource": {
"type": "string",
"default": ""
},
"maxItemsNumber": {
"type": "number",
"default": 12
},
"maxItemsPerScreen": {
"type": "number",
"default": 7
},
"spaceBetweenItems": {
"type": "number",
"default": 32
},
"spaceAroundCarousel": {
"type": "number",
"default": 50
},
"isLoading": {
"type": "boolean",
"default": false
},
"isLoadingCollection": {
"type": "boolean",
"default": false
},
"loadStrategy": {
"type": "string",
"default": "search"
},
"arrowsPosition": {
"type": "string",
"default": "around"
},
"largeArrows": {
"type": "boolean",
"default": false
},
"arrowsStyle": {
"type": "string",
"default": "type-1"
},
"autoPlay": {
"type": "boolean",
"default": false
},
"autoPlaySpeed": {
"type": "number",
"default": 3
},
"loopSlides": {
"type": "boolean",
"default": false
},
"hideTitle": {
"type": "boolean",
"default": true
},
"showCollectionHeader": {
"type": "boolean",
"default": false
},
"showCollectionLabel": {
"type": "boolean",
"default": false
},
"imageSize": {
"type": "string",
"default": "tainacan-medium"
},
"collection": {
"type": "object",
"default": {}
},
"blockId": {
"type": "string",
"default": ""
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
},
"collectionTextColor": {
"type": "string",
"default": "#ffffff"
}
},
save: function ({ attributes, className }) {
const {
content,
blockId,
collectionId,
searchURL,
selectedItems,
arrowsPosition,
largeArrows,
arrowsStyle,
loadStrategy,
maxItemsNumber,
maxItemsPerScreen,
spaceBetweenItems,
spaceAroundCarousel,
autoPlay,
autoPlaySpeed,
loopSlides,
hideTitle,
imageSize,
showCollectionHeader,
showCollectionLabel,
collectionBackgroundColor,
collectionTextColor
} = attributes;
// Gets attributes such as style, that are automatically added by the editor hook
const blockProps = tainacan_blocks.wp_version < '5.6' ? { className: className } : useBlockProps.save();
return <div
{ ...blockProps }
data-module="carousel-items-list"
search-url={ searchURL }
selected-items={ JSON.stringify(selectedItems) }
arrows-position={ arrowsPosition }
load-strategy={ loadStrategy }
collection-id={ collectionId }
auto-play={ '' + autoPlay }
auto-play-speed={ autoPlaySpeed }
loop-slides={ '' + loopSlides }
hide-title={ '' + hideTitle }
large-arrows={ '' + largeArrows }
arrows-style={ arrowsStyle }
image-size={ imageSize }
show-collection-header={ '' + showCollectionHeader }
show-collection-label={ '' + showCollectionLabel }
collection-background-color={ collectionBackgroundColor }
collection-text-color={ collectionTextColor }
max-items-number={ maxItemsNumber }
max-items-per-screen={ maxItemsPerScreen }
space-between-items={ spaceBetweenItems }
space-around-carousel={ spaceAroundCarousel }
tainacan-api-root={ tainacan_blocks.root }
tainacan-base-url={ tainacan_blocks.base_url }
id={ 'wp-block-tainacan-carousel-items-list_' + blockId }>
{ content }
</div>
}
},
/* Deprecated on 0.19 to replace cropImagesToSquare by imageSize feature */
{
migrate( attributes ) {

View File

@ -224,7 +224,7 @@ export default function({ attributes, setAttributes, className, isSelected, clie
if (collection.tainacan_theme_collection_background_color)
collectionBackgroundColor = collection.tainacan_theme_collection_background_color;
else
collectionBackgroundColor = '#454647';
collectionBackgroundColor = '#373839';
if (collection.tainacan_theme_collection_color)
collectionTextColor = collection.tainacan_theme_collection_color;

View File

@ -44,7 +44,7 @@ export default (element) => {
imageSize: 'tainacan-medium',
showCollectionHeader: false,
showCollectionLabel: false,
collectionBackgroundColor: '#454647',
collectionBackgroundColor: '#373839',
collectionTextColor: '#ffffff',
tainacanApiRoot: '',
tainacanBaseUrl: '',

View File

@ -104,7 +104,7 @@
},
"termBackgroundColor": {
"type": "string",
"default": "#454647"
"default": "#373839"
},
"termTextColor": {
"type": "string",

View File

@ -1,6 +1,159 @@
const { useBlockProps } = (tainacan_blocks.wp_version < '5.2' ? wp.editor : wp.blockEditor );
export default [
/* Deprecated on 0.20.4 to replace termBackgroundColor */
{
attributes: {
"content": {
"type": "array",
"source": "children",
"selector": "div"
},
"terms": {
"type": "array",
"default": []
},
"isModalOpen": {
"type": "boolean",
"default": false
},
"selectedTerms": {
"type": "array",
"default": []
},
"itemsRequestSource": {
"type": "string",
"default": ""
},
"maxTermsnumber": {
"type": "number",
"value": 12
},
"maxTermsPerScreen": {
"type": "number",
"value": 6
},
"spaceBetweenTerms": {
"type": "number",
"value": 32
},
"spaceAroundCarousel": {
"type": "number",
"value": 50
},
"isLoading": {
"type": "boolean",
"value": false
},
"isLoadingTerm": {
"type": "boolean",
"value": false
},
"arrowsPosition": {
"type": "string",
"value": "around"
},
"largeArrows": {
"type": "boolean",
"value": false
},
"arrowsStyle": {
"type": "string",
"value": "type-1"
},
"autoPlay": {
"type": "boolean",
"value": false
},
"autoPlaySpeed": {
"type": "number",
"value": 3
},
"loopSlides": {
"type": "boolean",
"value": false
},
"hideName": {
"type": "boolean",
"value": true
},
"showTermThumbnail": {
"type": "boolean",
"value": false
},
"term": {
"type": "object",
"value": {}
},
"imageSize": {
"type": "string",
"default": "tainacan-medium"
},
"blockId": {
"type": "string",
"default": ""
},
"termBackgroundColor": {
"type": "string",
"default": "#454647"
},
"termTextColor": {
"type": "string",
"default": "#ffffff"
},
"taxonomyId": {
"type": "string",
"default": ""
}
},
save: function({ attributes, className }) {
const {
content,
blockId,
selectedTerms,
arrowsPosition,
largeArrows,
arrowsStyle,
maxTermsPerScreen,
maxTermsNumber,
spaceBetweenTerms,
spaceAroundCarousel,
autoPlay,
autoPlaySpeed,
loopSlides,
hideName,
imageSize,
showTermThumbnail,
taxonomyId
} = attributes;
// Gets attributes such as style, that are automatically added by the editor hook
const blockProps = tainacan_blocks.wp_version < '5.6' ? { className: className } : useBlockProps.save();
return <div
{ ...blockProps }
data-module="carousel-terms-list"
selected-terms={ JSON.stringify(selectedTerms.map((term) => { return term.id; })) }
arrows-position={ arrowsPosition }
auto-play={ '' + autoPlay }
auto-play-speed={ autoPlaySpeed }
loop-slides={ '' + loopSlides }
hide-name={ '' + hideName }
large-arrows={ '' + largeArrows }
arrows-style={ arrowsStyle }
image-size={ imageSize }
max-terms-number={ maxTermsNumber }
max-terms-per-screen={ maxTermsPerScreen }
space-between-terms={ spaceBetweenTerms }
space-around-carousel={ spaceAroundCarousel }
taxonomy-id={ taxonomyId }
tainacan-api-root={ tainacan_blocks.root }
tainacan-base-url={ tainacan_blocks.base_url }
show-term-thumbnail={ '' + showTermThumbnail }
id={ 'wp-block-tainacan-carousel-terms-list_' + blockId }>
{ content }
</div>
}
},
/* Deprecated on 0.20.1 to add imageSize attribute */
{
"attributes": {

View File

@ -112,7 +112,7 @@
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
"default": "#373839"
},
"collectionTextColor": {
"type": "string",

View File

@ -1,6 +1,217 @@
const { useBlockProps } = (tainacan_blocks.wp_version < '5.2' ? wp.editor : wp.blockEditor );
export default [
/* Deprecated on 0.20.4 to replace collectionBackgroundColor */
{
attributes: {
"content": {
"type": "array",
"source": "children",
"selector": "div"
},
"collectionId": {
"type": "string",
"default": ""
},
"items": {
"type": "array",
"default": []
},
"showImage": {
"type": "boolean",
"default": true
},
"showName": {
"type": "boolean",
"default": true
},
"layout": {
"type": "string",
"default": "grid"
},
"isModalOpen": {
"type": "boolean",
"default": false
},
"gridMargin": {
"type": "number",
"default": 0
},
"searchURL": {
"type": "string",
"default": ""
},
"itemsRequestSource": {
"type": "string",
"default": ""
},
"maxItemsNumber": {
"type": "number",
"default": 12
},
"isLoading": {
"type": "boolean",
"default": false
},
"isLoadingCollection": {
"type": "boolean",
"default": false
},
"showSearchBar": {
"type": "boolean",
"default": false
},
"showCollectionHeader": {
"type": "boolean",
"default": false
},
"showCollectionLabel": {
"type": "boolean",
"default": false
},
"collection": {
"type": "object",
"default": {}
},
"searchString": {
"type": "string",
"default": ""
},
"selectedItems": {
"type": "array",
"default": []
},
"loadStrategy": {
"type": "string",
"default": "search"
},
"order": {
"type": "string",
"default": ""
},
"orderBy": {
"type": "string",
"default": "date"
},
"orderByMetaKey": {
"type": "string",
"default": ""
},
"blockId": {
"type": "string",
"default": ""
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
},
"collectionTextColor": {
"type": "string",
"default": "#ffffff"
},
"mosaicHeight": {
"type": "number",
"default": 280
},
"mosaicGridColumns": {
"type": "number",
"default": 3
},
"mosaicGridRows": {
"type": "number",
"default": 3
},
"sampleBackgroundImage": {
"type": "string",
"default": ""
},
"mosaicItemFocalPoint": {
"type": "object",
"default": {
"x": 0.5,
"y": 0.5
}
},
"mosaicDensity": {
"type": "number",
"default": 5
},
"maxColumnsCount": {
"type": "number",
"default": 4
},
"imageSize": {
"type": "string",
"default": "tainacan-medium"
}
},
save: function({ attributes, className }) {
const {
content,
blockId,
collectionId,
loadStrategy,
selectedItems,
showImage,
showName,
layout,
gridMargin,
searchURL,
maxItemsNumber,
order,
orderBy,
orderByMetaKey,
showSearchBar,
showCollectionHeader,
showCollectionLabel,
collectionBackgroundColor,
collectionTextColor,
mosaicHeight,
mosaicGridRows,
mosaicGridColumns,
mosaicItemFocalPoint,
mosaicDensity,
maxColumnsCount,
imageSize
} = attributes;
// Gets attributes such as style, that are automatically added by the editor hook
const blockProps = tainacan_blocks.wp_version < '5.6' ? { className: className } : useBlockProps.save();
return <div
{ ...blockProps }
data-module="dynamic-items-list"
search-url={ searchURL }
selected-items={ JSON.stringify(selectedItems) }
collection-id={ collectionId }
show-image={ '' + showImage }
show-name={ '' + showName }
show-search-bar={ '' + showSearchBar }
show-collection-header={ '' + showCollectionHeader }
show-collection-label={ '' + showCollectionLabel }
image-size={ imageSize }
layout={ layout }
load-strategy={ loadStrategy }
mosaic-height={ mosaicHeight }
mosaic-density={ mosaicDensity }
mosaic-grid-rows={ mosaicGridRows }
mosaic-grid-columns={ mosaicGridColumns }
mosaic-item-focal-point-x={ (mosaicItemFocalPoint && mosaicItemFocalPoint.x ? mosaicItemFocalPoint.x : 0.5) }
mosaic-item-focal-point-y={ (mosaicItemFocalPoint && mosaicItemFocalPoint.y ? mosaicItemFocalPoint.y : 0.5) }
max-columns-count={ maxColumnsCount }
collection-background-color={ collectionBackgroundColor }
collection-text-color={ collectionTextColor }
grid-margin={ gridMargin }
max-items-number={ maxItemsNumber }
order={ order }
orderBy={ orderBy }
orderByMetaKey={ orderByMetaKey }
tainacan-api-root={ tainacan_blocks.root }
tainacan-base-url={ tainacan_blocks.base_url }
id={ 'wp-block-tainacan-dynamic-items-list_' + blockId }>
{ content }
</div>
}
},
/* Deprecated on 0.19.3 due to the introduction of orderBy and orderByMetaKey */
{
attributes: {

View File

@ -411,7 +411,7 @@ export default function({ attributes, setAttributes, className, isSelected, clie
if (collection.tainacan_theme_collection_background_color)
collectionBackgroundColor = collection.tainacan_theme_collection_background_color;
else
collectionBackgroundColor = '#454647';
collectionBackgroundColor = '#373839';
if (collection.tainacan_theme_collection_color)
collectionTextColor = collection.tainacan_theme_collection_color;

View File

@ -49,7 +49,7 @@ export default (element) => {
showSearchBar: false,
showCollectionHeader: false,
showCollectionLabel: false,
collectionBackgroundColor: '#454647',
collectionBackgroundColor: '#373839',
collectionTextColor: '#ffffff',
tainacanApiRoot: '',
tainacanBaseUrl: '',

View File

@ -150,11 +150,11 @@
},
"labelColor": {
"type": "string",
"default": "#454647"
"default": "#373839"
},
"infoColor": {
"type": "string",
"default": "#555758"
"default": "#505253"
},
"headingColor": {
"type": "string",
@ -182,7 +182,7 @@
},
"secondaryColor": {
"type": "string",
"default": "#298596"
"default": "#187181"
},
"order": {
"type": "string",

View File

@ -1,4 +1,322 @@
export default [
/* Deprecated in version 0.20.4 due to changes on labelColor, infoColor and secondaryColor default values */
{
attributes: {
"termId": {
"type": "string",
"default": null
},
"taxonomyId": {
"type": "string",
"default": null
},
"collectionId": {
"type": "string",
"default": null
},
"defaultViewMode": {
"type": "string",
"default": "masonry"
},
"enabledViewModes": {
"type": "array",
"default": []
},
"collectionDefaultViewMode": {
"type": "string",
"default": "masonry"
},
"collectionEnabledViewModes": {
"type": "array",
"default": []
},
"hideFilters": {
"type": "boolean",
"default": false
},
"hideHideFiltersButton": {
"type": "boolean",
"default": false
},
"hideSearch": {
"type": "boolean",
"default": false
},
"hideAdvancedSearch": {
"type": "boolean",
"default": false
},
"hideDisplayedMetadataButton": {
"type": "boolean",
"default": false
},
"hideSortingArea": {
"type": "boolean",
"default": false
},
"hideSortByButton": {
"type": "boolean",
"default": false
},
"hideItemsThumbnail": {
"type": "boolean",
"default": false
},
"hideExposersButton": {
"type": "boolean",
"default": false
},
"hideItemsPerPageButton": {
"type": "boolean",
"default": false
},
"defaultItemsPerPage": {
"type": "number",
"default": 12
},
"hideGoToPageButton": {
"type": "boolean",
"default": false
},
"hidePaginationArea": {
"type": "boolean",
"default": false
},
"showFiltersButtonInsideSearchControl": {
"type": "boolean",
"default": false
},
"startWithFiltersHidden": {
"type": "boolean",
"default": false
},
"filtersAsModal": {
"type": "boolean",
"default": false
},
"showInlineViewModeOptions": {
"type": "boolean",
"default": false
},
"showFullscreenWithViewModes": {
"type": "boolean",
"default": false
},
"listType": {
"type": "string",
"default": ""
},
"isCollectionModalOpen": {
"type": "boolean",
"default": false
},
"isTermModalOpen": {
"type": "boolean",
"default": false
},
"backgroundColor": {
"type": "string",
"default": "#ffffff"
},
"baseFontSize": {
"type": "number",
"default": 16
},
"filtersAreaWidth": {
"type": "number",
"default": 20
},
"inputColor": {
"type": "string",
"default": "#1d1d1d"
},
"inputBackgroundColor": {
"type": "string",
"default": "#ffffff"
},
"inputBorderColor": {
"type": "string",
"default": "#dbdbdb"
},
"labelColor": {
"type": "string",
"default": "#454647"
},
"infoColor": {
"type": "string",
"default": "#555758"
},
"headingColor": {
"type": "string",
"default": "#000000"
},
"skeletonColor": {
"type": "string",
"default": "#eeeeee"
},
"itemBackgroundColor": {
"type": "string",
"default": "#ffffff"
},
"itemHoverBackgroundColor": {
"type": "string",
"default": "#f2f2f2"
},
"itemHeadingHoverBackgroundColor": {
"type": "string",
"default": "#dbdbdb"
},
"primaryColor": {
"type": "string",
"default": "#d9eced"
},
"secondaryColor": {
"type": "string",
"default": "#298596"
},
"order": {
"type": "string",
"default": "ASC"
},
"orderBy": {
"type": "string",
"default": "date"
},
"orderByMeta": {
"type": "string",
"default": ""
},
"orderByType": {
"type": "string",
"default": ""
},
"collectionOrderBy": {
"type": "string",
"default": "date"
},
"collectionOrderByMeta": {
"type": "string",
"default": ""
},
"collectionOrderByType": {
"type": "string",
"default": ""
}
},
save: function({ attributes, className }) {
const {
termId,
taxonomyId,
collectionId,
defaultViewMode,
enabledViewModes,
collectionDefaultViewMode,
collectionEnabledViewModes,
hideDisplayedMetadataButton,
hideSortingArea,
hideFilters,
hideHideFiltersButton,
hideSearch,
hideAdvancedSearch,
hideSortByButton,
hideItemsThumbnail,
hidePaginationArea,
hideExposersButton,
hideItemsPerPageButton,
defaultItemsPerPage,
hideGoToPageButton,
showFiltersButtonInsideSearchControl,
startWithFiltersHidden,
filtersAsModal,
showInlineViewModeOptions,
showFullscreenWithViewModes,
listType,
backgroundColor,
baseFontSize,
filtersAreaWidth,
inputColor,
inputBackgroundColor,
inputBorderColor,
labelColor,
infoColor,
headingColor,
skeletonColor,
itemBackgroundColor,
itemHoverBackgroundColor,
itemHeadingHoverBackgroundColor,
primaryColor,
secondaryColor,
order,
orderBy,
orderByMeta,
orderByType,
collectionOrderBy,
collectionOrderByMeta,
collectionOrderByType
} = attributes;
let updatedListType = '' + listType;
if (updatedListType === '' && collectionId)
updatedListType = 'collection';
else if (updatedListType === '' && termId && taxonomyId)
updatedListType = 'term';
return <div
style={{
'font-size': baseFontSize + 'px',
'--tainacan-base-font-size': baseFontSize + 'px',
'--tainacan-background-color': backgroundColor,
'--tainacan-filter-menu-width-theme': filtersAreaWidth + '%',
'--tainacan-input-color': inputColor,
'--tainacan-input-background-color': inputBackgroundColor,
'--tainacan-input-border-color': inputBorderColor,
'--tainacan-label-color': labelColor,
'--tainacan-info-color': infoColor,
'--tainacan-heading-color': headingColor,
'--tainacan-skeleton-color': skeletonColor,
'--tainacan-item-background-color': itemBackgroundColor,
'--tainacan-item-hover-background-color': itemHoverBackgroundColor,
'--tainacan-item-heading-hover-background-color': itemHeadingHoverBackgroundColor,
'--tainacan-primary': primaryColor,
'--tainacan-secondary': secondaryColor
}}
className={ className }>
<main
id="tainacan-items-page"
data-module="faceted-search"
term-id={ updatedListType == 'term' ? termId : null }
taxonomy={ updatedListType == 'term' ? 'tnc_tax_' + taxonomyId : null }
collection-id={ updatedListType == 'collection' ? collectionId : null }
default-view-mode={ defaultViewMode != 'none' ? defaultViewMode : (updatedListType == 'collection' ? collectionDefaultViewMode : (hideItemsThumbnail ? 'table' : 'masonry') ) }
is-forced-view-mode={ defaultViewMode == 'none' ? 'true' : 'false' }
enabled-view-modes={ enabledViewModes ? enabledViewModes.toString() : '' }
hide-filters = { hideFilters.toString() }
hide-hide-filters-button= { hideHideFiltersButton.toString() }
hide-search = { hideSearch.toString() }
hide-advanced-search = { hideAdvancedSearch.toString() }
hide-displayed-metadata-button = { hideDisplayedMetadataButton.toString() }
hide-pagination-area = { hidePaginationArea.toString() }
hide-sorting-area = { hideSortingArea.toString() }
hide-items-thumbnail = { hideItemsThumbnail ? hideItemsThumbnail.toString() : 'false' }
hide-sort-by-button = { hideSortByButton.toString() }
hide-exposers-button = { hideExposersButton.toString() }
hide-items-per-page-button = { hideItemsPerPageButton.toString() }
default-items-per-page = { defaultItemsPerPage }
hide-go-to-page-button = { hideGoToPageButton.toString() }
show-filters-button-inside-search-control = { showFiltersButtonInsideSearchControl.toString() }
start-with-filters-hidden = { startWithFiltersHidden.toString() }
filters-as-modal = { filtersAsModal.toString() }
show-inline-view-mode-options = { showInlineViewModeOptions.toString() }
show-fullscreen-with-view-modes = { showFullscreenWithViewModes.toString() }
default-order = { order ? order : 'ASC' }
default-orderby = { updatedListType == 'collection' ? (collectionOrderBy ? collectionOrderBy : 'date') : (orderBy ? orderBy : 'date') }
default-orderby-meta = { updatedListType == 'collection' ? (collectionOrderByMeta ? collectionOrderByMeta : '') : (orderByMeta ? orderByMeta : '') }
default-orderby-type = { updatedListType == 'collection' ? (collectionOrderByType ? collectionOrderByType : '') : (orderByType ? orderByType : '') } >
</main>
</div>
}
},
/* Deprecated in version 0.19.4 due to add of orderby, orderbymeta and orderbykey */
{
attributes: {

View File

@ -831,7 +831,7 @@ export default function({ attributes, setAttributes, className, isSelected, clie
<g transform="matrix(0.2891908,0,0,0.2891908,-30.465367,-38.43427)">
<path
transform="matrix(0.26458333,0,0,0.26458333,104.32258,131.88168)"
fill="#298596"
fill="#187181"
d="M 16.662109,14.712891 V 24.927734 H 84.753906 V 14.712891 Z m 6.810547,17.021484 v 9.748047 c 6.857764,2.272819 11.798639,8.605281 11.798828,16.078125 -7.56e-4,2.313298 -0.496344,4.586348 -1.421875,6.693359 l 8.375,8.375 -3.365234,3.367188 H 77.945312 V 31.734375 Z m 17.019532,10.216797 h 20.429687 v 10.21289 H 40.492188 Z m -22.835938,3.84375 a 9.1779065,9.1779065 0 0 0 -0.916016,0.03906 11.753475,11.753475 0 0 0 1.671875,23.445313 11.455635,11.455635 0 0 0 6.466797,-1.910156 l 1.908203,1.910156 2.88086,2.982422 3.820312,3.716797 3.347657,-3.347657 -3.851563,-3.855468 -2.847656,-2.845703 -1.941407,-1.941407 a 11.455635,11.455635 0 0 0 1.941407,-6.433593 11.723603,11.723603 0 0 0 -6.697266,-10.583985 11.422139,11.422139 0 0 0 -5.027344,-1.136719 9.1779065,9.1779065 0 0 0 -0.755859,-0.03906 z m 0.755859,6.736328 a 5.0244015,5.0244015 0 0 1 5.027344,5.025391 v 0.101562 a 5.0244015,5.0244015 0 0 1 -0.269531,1.570313 4.9574094,4.9574094 0 0 1 -4.757813,3.351562 5.0244015,5.0244015 0 0 1 -1.671875,-9.746094 4.6559456,4.6559456 0 0 1 1.671875,-0.302734 z m 6.376953,20.601562 c -0.431168,0.183308 -0.872311,0.335613 -1.316406,0.484376 v 2.378906 h 4.179688 z "/>
</g>
</svg>

View File

@ -173,7 +173,7 @@
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
fill="var(--tainacan-info-color, #555758)"
fill="var(--tainacan-info-color, #505253)"
width="2.875em"
height="2.875em">
<path d="M15,19L9,16.89V5L15,7.11M20.5,3C20.44,3 20.39,3 20.34,3L15,5.1L9,3L3.36,4.9C3.15,4.97 3,5.15 3,5.38V20.5A0.5,0.5 0 0,0 3.5,21C3.55,21 3.61,21 3.66,20.97L9,18.9L15,21L20.64,19.1C20.85,19 21,18.85 21,18.62V3.5A0.5,0.5 0 0,0 20.5,3Z" />

View File

@ -99,6 +99,8 @@
:focusable="false">
<b-checkbox
:value="sentenceMode"
:true-value="false"
:false-value="true"
@input="$eventBusSearch.setSentenceMode($event)">
{{ $i18n.get('label_use_search_separated_words') }}
</b-checkbox>
@ -627,6 +629,8 @@
<br>
<b-checkbox
:value="sentenceMode"
:true-value="false"
:false-value="true"
@input="$eventBusSearch.setSentenceMode($event); updateSearch();">
{{ $i18n.get('label_use_search_separated_words') }}
</b-checkbox>

View File

@ -43,9 +43,9 @@
}
}
.tainacan-media-component {
--swiper-theme-color: var(--tainacan-secondary, #298596);
--swiper-theme-color: var(--tainacan-secondary, #187181);
--swiper-navigation-size: 44px;
--tainacan-media-metadata-color: var(--tainacan-label-color, #454647);
--tainacan-media-metadata-color: var(--tainacan-label-color, #373839);
--tainacan-media-background: var(--tainacan-background-color, transparent);
--tainacan-media-main-carousel-height: 60vh;
--tainacan-media-main-carousel-width: 100%;
@ -170,16 +170,16 @@
.swiper-slide-metadata__name {
font-size: 1em;
font-weight: bold;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
opacity: 0.75;
}
.swiper-slide-metadata__caption {
font-size: 0.9375em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
}
.swiper-slide-metadata__caption {
font-size: 0.875em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
opacity: 0.85;
}
}
@ -312,7 +312,7 @@
&:hover {
opacity: 0.95;
outline: none;
border-bottom-color: var(--swiper-theme-color, #298596);
border-bottom-color: var(--swiper-theme-color, #187181);
}
}
&.swiper-slide-thumb-active {
@ -321,23 +321,23 @@
}
img {
opacity: 1.0;
border-bottom-color: var(--swiper-theme-color, #298596);
border-bottom-color: var(--swiper-theme-color, #187181);
}
}
.swiper-slide-metadata__name {
font-size: 1em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
opacity: 0.75;
word-break: break-word;
}
.swiper-slide-metadata__caption {
font-size: 0.9375em;
color: var(--tainacan-media-metadata-color, #454647);
color: var(--tainacan-media-metadata-color, #373839);
word-break: break-word;
}
.swiper-slide-metadata__caption {
font-size: 0.875em;
color: var(---tainacan-media-metadata-color, #454647);
color: var(---tainacan-media-metadata-color, #373839);
opacity: 0.85;
word-break: break-word;
}
@ -378,7 +378,7 @@
a:hover {
outline: none;
text-decoration: none;
color: var(--tainacan-gray5, #454647);
color: var(--tainacan-gray5, #373839);
}
}

View File

@ -78,11 +78,11 @@
},
"labelColor": {
"type": "string",
"default": "#454647"
"default": "#373839"
},
"infoColor": {
"type": "string",
"default": "#555758"
"default": "#505253"
},
"primaryColor": {
"type": "string",
@ -90,7 +90,7 @@
},
"secondaryColor": {
"type": "string",
"default": "#298596"
"default": "#187181"
},
"enabledMetadata": {
"type": "array",

View File

@ -2,6 +2,241 @@ const { __ } = wp.i18n;
const { RichText, useBlockProps } = (tainacan_blocks.wp_version < '5.2' ? wp.editor : wp.blockEditor );
export default [
/* Deprecated in version 0.20.4 due to changes on labelColor, infoColor and secondaryColor default values */
{
"attributes": {
"collectionId": {
"type": "string",
"default": ""
},
"isCollectionModalOpen": {
"type": "boolean",
"default": false
},
"hideFileModalButton": {
"type": "boolean",
"default": false
},
"hideTextModalButton": {
"type": "boolean",
"default": false
},
"hideLinkModalButton": {
"type": "boolean",
"default": false
},
"hideThumbnailSection": {
"type": "boolean",
"default": false
},
"hideAttachmentsSection": {
"type": "boolean",
"default": false
},
"hideHelpButtons": {
"type": "boolean",
"default": false
},
"hideMetadataTypes": {
"type": "boolean",
"default": false
},
"showAllowCommentsSection": {
"type": "boolean",
"default": false
},
"hideCollapses": {
"type": "boolean",
"default": false
},
"backgroundColor": {
"type": "string",
"default": "rgba(255,255,255,0)"
},
"baseFontSize": {
"type": "number",
"default": 16
},
"inputColor": {
"type": "string",
"default": "#1d1d1d"
},
"inputBackgroundColor": {
"type": "string",
"default": "#ffffff"
},
"inputBorderColor": {
"type": "string",
"default": "#dbdbdb"
},
"labelColor": {
"type": "string",
"default": "#454647"
},
"infoColor": {
"type": "string",
"default": "#555758"
},
"primaryColor": {
"type": "string",
"default": "#d9eced"
},
"secondaryColor": {
"type": "string",
"default": "#298596"
},
"enabledMetadata": {
"type": "array",
"default": []
},
"collectionMetadata": {
"type": "array",
"default": []
},
"isLoadingCollectionMetadata": {
"type": "boolean",
"default": false
},
"sentFormHeading": {
"type": "string",
"default": "Form submitted!"
},
"sentFormMessage": {
"type": "string",
"default": "Thank you. Your item was submitted to the collection."
},
"documentSectionLabel": {
"type": "string",
"default": "Document"
},
"attachmentsSectionLabel": {
"type": "string",
"default": "Attachments"
},
"thumbnailSectionLabel": {
"type": "string",
"default": "Thumbnail"
},
"metadataSectionLabel": {
"type": "string",
"default": "Metadata"
},
"showItemLinkButton": {
"type": "boolean",
"default": false
},
"itemLinkButtonLabel": {
"type": "string",
"default": "Go to the item page"
},
"helpInfoBellowLabel": {
"type": "boolean",
"default": false
},
"showTermsAgreementCheckbox": {
"type": "boolean",
"default": false
},
"termsAgreementMessage": {
"type": "string",
"default": "I agree to submit this item information."
},
"isLayoutSteps": {
"type": "boolean",
"default": false
}
},
save: function({ attributes, className }) {
const {
collectionId,
backgroundColor,
hideFileModalButton,
hideTextModalButton,
hideLinkModalButton,
hideThumbnailSection,
hideAttachmentsSection,
showAllowCommentsSection,
hideHelpButtons,
hideMetadataTypes,
hideCollapses,
documentSectionLabel,
thumbnailSectionLabel,
attachmentsSectionLabel,
metadataSectionLabel,
baseFontSize,
inputColor,
inputBackgroundColor,
inputBorderColor,
labelColor,
infoColor,
primaryColor,
secondaryColor,
enabledMetadata,
sentFormHeading,
sentFormMessage,
showItemLinkButton,
itemLinkButtonLabel,
helpInfoBellowLabel,
showTermsAgreementCheckbox,
termsAgreementMessage,
isLayoutSteps
} = attributes;
const blockProps = useBlockProps.save();
let termsAgreementMessageHTML = <RichText.Content { ...blockProps } tagName="p" value={ termsAgreementMessage } />;
termsAgreementMessageHTML = (termsAgreementMessageHTML && termsAgreementMessageHTML.props && termsAgreementMessageHTML.props.value) ? termsAgreementMessageHTML.props.value : '';
if (backgroundColor.rgb != undefined) {
if (backgroundColor.rgb.a)
backgroundColor = 'rgba(' + backgroundColor.rgb.r + ',' + backgroundColor.rgb.g + ',' + backgroundColor.rgb.b + ',' + backgroundColor.rgb.a + ')';
else
backgroundColor = 'rgb(' + backgroundColor.rgb.r + ',' + backgroundColor.rgb.g + ',' + backgroundColor.rgb.b + ')';
}
return <div
style={{
'font-size': baseFontSize + 'px',
'--tainacan-base-font-size': baseFontSize + 'px',
'--tainacan-background-color': backgroundColor,
'--tainacan-input-color': inputColor,
'--tainacan-input-background-color': inputBackgroundColor,
'--tainacan-input-border-color': inputBorderColor,
'--tainacan-label-color': labelColor,
'--tainacan-info-color': infoColor,
'--tainacan-primary': primaryColor,
'--tainacan-secondary': secondaryColor
}}
className={ className }>
<div
id="tainacan-item-submission-form"
data-module="item-submission-form"
collection-id={ collectionId }
hide-file-modal-button={ hideFileModalButton.toString() }
hide-text-modal-button={ hideTextModalButton.toString() }
hide-link-modal-button={ hideLinkModalButton.toString() }
hide-thumbnail-section={ hideThumbnailSection.toString() }
hide-attachments-section={ hideAttachmentsSection.toString() }
show-allow-comments-section={ showAllowCommentsSection.toString() }
hide-help-buttons={ hideHelpButtons.toString() }
hide-metadata-types={ hideMetadataTypes.toString() }
hide-collapses={ hideCollapses.toString() }
enabled-metadata={ enabledMetadata.toString() }
sent-form-heading={ sentFormHeading }
sent-form-message={ sentFormMessage }
document-section-label={ documentSectionLabel }
thumbnail-section-label={ thumbnailSectionLabel }
attachments-section-label={ attachmentsSectionLabel }
metadata-section-label={ metadataSectionLabel }
show-item-link-button={ showItemLinkButton ? showItemLinkButton.toString() : 'false' }
show-terms-agreement-checkbox={ showTermsAgreementCheckbox ? showTermsAgreementCheckbox.toString() : 'false' }
terms-agreement-message={ termsAgreementMessageHTML }
item-link-button-label={ itemLinkButtonLabel ? itemLinkButtonLabel : __( 'Go to the item page', 'tainacan' ) }
help-info-bellow-label={ helpInfoBellowLabel ? helpInfoBellowLabel.toString() : 'false' }
is-layout-steps={ isLayoutSteps !== undefined ? isLayoutSteps.toString() : 'false' } >
</div>
</div>
}
},
/* Deprecated on Tainacan 0.20.0, due to isLayoutSteps */
{
"attributes": {

View File

@ -1354,9 +1354,9 @@ export default {
padding: 0.875em;
display: flex;
flex-wrap: nowrap;
border: 1px solid var(--tainacan-red-2, #a23939);
color: var(--tainacan-red-2, #a23939);
background: var(--tainacan-red-1, #eadadc);
border: 1px solid var(--tainacan-red-2, #9b3636);
color: var(--tainacan-red-2, #9b3636);
background: var(--tainacan-red-1, #f8f2f3);
.form-error-area-icon {
font-size: 2rem;

View File

@ -42,7 +42,7 @@ export default {
showCollectionHeader: false,
showCollectionLabel: true,
isLoadingCollection: false,
collectionBackgroundColor: '#454647',
collectionBackgroundColor: '#373839',
collectionTextColor: '#ffffff',
mosaicHeight: 280,
mosaicGridColumns: 3,
@ -103,7 +103,7 @@ export default {
showCollectionHeader: false,
showCollectionLabel: true,
isLoadingCollection: false,
collectionBackgroundColor: '#454647',
collectionBackgroundColor: '#373839',
collectionTextColor: '#ffffff',
cropImagesToSquare: true,
align: align,

View File

@ -20,63 +20,63 @@
"selector": "div"
},
"collectionId": {
"type": "String",
"type": "string",
"default": ""
},
"collectionSlug": {
"type": "String",
"type": "string",
"default": ""
},
"alignment": {
"type": "String",
"type": "string",
"default": "center"
},
"isModalOpen": {
"type": "Boolean",
"type": "boolean",
"default": false
},
"maxWidth": {
"type": "Number",
"type": "number",
"value": 80
},
"placeholderText": {
"type": "String",
"type": "string",
"default": "Search"
},
"searchQuery": {
"type": "String",
"type": "string",
"default": "search"
},
"showCollectionHeader": {
"type": "Boolean",
"type": "boolean",
"value": false
},
"showCollectionLabel": {
"type": "Boolean",
"type": "boolean",
"value": false
},
"collectionHeaderHeight": {
"type": "Number",
"type": "number",
"value": 165
},
"collectionBackgroundColor": {
"type": "String",
"default": "#454647"
"type": "string",
"default": "#373839"
},
"collectionTextColor": {
"type": "String",
"type": "string",
"default": "#ffffff"
},
"collectionHeaderImage": {
"type": "String",
"type": "string",
"default": ""
},
"collectionName": {
"type": "String",
"type": "string",
"default": ""
},
"collectionTextSize": {
"type": "Number",
"type": "number",
"default": 2
}
},

View File

@ -1,6 +1,84 @@
const { __ } = wp.i18n;
const { useBlockProps } = (tainacan_blocks.wp_version < '5.2' ? wp.editor : wp.blockEditor );
export default [
/* Deprecated on 0.20.4 to replace collectionBackgroundColor */
{
attributes: {
"content": {
"type": "array",
"source": "children",
"selector": "div"
},
"collectionId": {
"type": "string",
"default": ""
},
"collectionSlug": {
"type": "string",
"default": ""
},
"alignment": {
"type": "string",
"default": "center"
},
"isModalOpen": {
"type": "boolean",
"default": false
},
"maxWidth": {
"type": "number",
"value": 80
},
"placeholderText": {
"type": "string",
"default": "Search"
},
"searchQuery": {
"type": "string",
"default": "search"
},
"showCollectionHeader": {
"type": "boolean",
"value": false
},
"showCollectionLabel": {
"type": "boolean",
"value": false
},
"collectionHeaderHeight": {
"type": "number",
"value": 165
},
"collectionBackgroundColor": {
"type": "string",
"default": "#454647"
},
"collectionTextColor": {
"type": "string",
"default": "#ffffff"
},
"collectionHeaderImage": {
"type": "string",
"default": ""
},
"collectionName": {
"type": "string",
"default": ""
},
"collectionTextSize": {
"type": "number",
"default": 2
}
},
save: function({ attributes, className }) {
const { content } = attributes;
// Gets attributes such as style, that are automatically added by the editor hook
const blockProps = tainacan_blocks.wp_version < '5.6' ? { className: className } : useBlockProps.save();
return <div { ...blockProps } data-module="search-bar">{ content }</div>
}
},
/* Deprecated on Tainacan 0.18.4 due to new block.json strategy */
{
attributes: {

View File

@ -368,7 +368,7 @@ export default function({ attributes, setAttributes, className, isSelected }) {
collectionSlug = selectedCollection.slug;
collectionName = selectedCollection.name;
collectionHeaderImage = selectedCollection.header_image;
collectionBackgroundColor = selectedCollection.tainacan_theme_collection_background_color ? selectedCollection.tainacan_theme_collection_background_color : '#454647'
collectionBackgroundColor = selectedCollection.tainacan_theme_collection_background_color ? selectedCollection.tainacan_theme_collection_background_color : '#373839'
collectionTextColor = selectedCollection.tainacan_theme_collection_color ? selectedCollection.tainacan_theme_collection_color : '#ffffff';
setAttributes({
collectionId: collectionId,

View File

@ -27,7 +27,7 @@ export default function({ metadata, icon, edit, save, deprecated, transforms })
let attributes = {
icon: {
src: icon,
foreground: '#298596',
foreground: '#187181',
},
edit,
deprecated,

View File

@ -18,12 +18,12 @@
$gray0: #f6f6f6;
$gray1: #f2f2f2;
$gray2: #dbdbdb;
$gray3: #cbcbcb;
$gray4: #555758;
$gray5: #454647;
$gray3: #a5a5a5;
$gray4: #505253;
$gray5: #373839;
// The primary link and active color
$primary: #298596;
$primary: #187181;
// Items grid thumbnail size
$thumbnail-grid-item: 185px;

View File

@ -213,7 +213,7 @@ export default {
minWidth: 48
}
},
colors: ['#01295c'],
colors: ['#062a57'],
};
const daysWithActivitiesByUser = JSON.parse(JSON.stringify(this.chartData.totals.by_interval.by_user)).sort((a, b) => parseInt(b.total) - parseInt(a.total));
@ -325,7 +325,7 @@ export default {
}
.anonymous-user-avatar:before {
content: "?";
color: var(--tainacan-gray5, #454647);
color: var(--tainacan-gray5, #373839);
font-size: 1.5em;
font-weight: bold;
display: flex;
@ -349,7 +349,7 @@ export default {
white-space: nowrap;
}
span {
color: var(--tainacan-secondary, #298596);
color: var(--tainacan-secondary, #187181);
}
}
}

View File

@ -238,7 +238,7 @@ export default {
animations: {
enabled: orderedTerms.length <= 40
},
colors: ['#01295c'],
colors: ['#062a57'],
}
}

View File

@ -790,7 +790,7 @@ export default {
<style lang="scss" scoped>
.child-term-column {
border-left: 1px dashed var(--tainacan-block-gray3, #cbcbcb);
border-left: 1px dashed var(--tainacan-block-gray3, #a5a5a5);
&>* {
margin-left: 1.25rem;

View File

@ -105,13 +105,13 @@ export default {
},
tooltip: { enabled: true }
},
colors: ['#298596', '#dbdbdb'],
colors: ['#187181', '#dbdbdb'],
fill: {
colors: ['#298596', '#dbdbdb']
colors: ['#187181', '#dbdbdb']
},
dataLabels: {
style: {
colors: ['#ffffff', '#454647']
colors: ['#ffffff', '#373839']
},
formatter(val) {
return (!Number.isNaN(val) && val > 0) ? (val.toFixed(2) + '%') : ''

View File

@ -34,7 +34,7 @@
v-if="$statusHelper.hasIcon(statusOption.slug)"
class="icon has-text-gray">
<i
:style="(isRepositoryLevel && entityType === 'items') ? 'color: var(--tainacan-block-primary, #298596);' : ''"
:style="(isRepositoryLevel && entityType === 'items') ? 'color: var(--tainacan-block-primary, #187181);' : ''"
class="tainacan-icon tainacan-icon-1-125em"
:class="$statusHelper.getIcon(statusOption.slug)" />
</span>
@ -70,17 +70,17 @@
id="layer1"
transform="translate(-71.664352,-160.89128)">
<path
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1;stroke:none;stroke-width:0.332731"
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1;stroke:none;stroke-width:0.332731"
d="m 74.839398,162.85685 c 0.09358,0 0.181945,0.0178 0.265146,0.052 0.08321,0.0356 0.153355,0.0831 0.213173,0.14544 0.06238,0.0624 0.110471,0.13511 0.145584,0.21852 0.03768,0.0806 0.05718,0.16896 0.05718,0.26522 0,0.0973 -0.0196,0.18714 -0.05718,0.2702 -0.03494,0.0806 -0.08321,0.14936 -0.145584,0.20783 -0.05978,0.0599 -0.129971,0.10801 -0.213173,0.14544 -0.08321,0.0356 -0.171572,0.052 -0.265146,0.052 -0.09358,0 -0.181945,-0.0179 -0.265146,-0.052 -0.08061,-0.0378 -0.150755,-0.0859 -0.213173,-0.14544 -0.06238,-0.0585 -0.11179,-0.12726 -0.145585,-0.20783 -0.03494,-0.083 -0.05198,-0.17289 -0.05198,-0.2702 0,-0.0962 0.01675,-0.18466 0.05198,-0.26522 0.03386,-0.0831 0.08321,-0.15578 0.145585,-0.21852 0.06238,-0.0624 0.132573,-0.11051 0.213173,-0.14544 0.08321,-0.0321 0.171571,-0.052 0.265146,-0.052 z"
id="path5508" />
<path
id="path5461"
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1;stroke:none;stroke-width:0.332732"
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1;stroke:none;stroke-width:0.332732"
d="m 74.840268,161.8152 c -0.284646,0 -0.556123,0.0421 -0.816062,0.12511 -0.257339,0.0834 -0.494574,0.20141 -0.712908,0.35362 -0.215775,0.15329 -0.404697,0.33189 -0.571064,0.53975 -0.16601,0.20497 -0.301577,0.43572 -0.401586,0.68713 0.100026,0.24634 0.235559,0.47502 0.401586,0.68527 0.166367,0.20817 0.355335,0.38752 0.571064,0.53977 0.218341,0.14936 0.45556,0.267 0.712908,0.35006 0.259942,0.083 0.531423,0.12333 0.816062,0.12333 h 0.123411 c 0.04156,0 0.08074,-0.004 0.11974,-0.0107 -0.01034,-0.0732 -0.01461,-0.14473 -0.01461,-0.21745 0.0027,-0.0378 0.0053,-0.0752 0.0053,-0.11408 0.0028,-0.0417 0.0068,-0.0854 0.01462,-0.13083 -0.07667,0.0143 -0.158987,0.0214 -0.248677,0.0214 -0.211852,0 -0.418798,-0.0285 -0.618955,-0.0884 -0.19756,-0.0584 -0.385072,-0.14258 -0.561853,-0.2506 -0.174173,-0.10658 -0.33177,-0.23526 -0.473425,-0.3887 -0.139059,-0.15578 -0.254594,-0.33009 -0.348169,-0.52131 0.09618,-0.20034 0.216239,-0.37725 0.35921,-0.53053 0.145587,-0.15222 0.304788,-0.28054 0.478964,-0.38867 0.176742,-0.1105 0.362449,-0.19464 0.56001,-0.2506 0.197559,-0.0545 0.401772,-0.0828 0.609743,-0.0828 0.210571,0 0.415875,0.0285 0.613431,0.0884 0.200161,0.0599 0.388758,0.14545 0.565538,0.25596 0.176775,0.10765 0.334374,0.23812 0.473428,0.39422 0.137741,0.15329 0.254594,0.32617 0.348169,0.51583 -0.01426,0.0285 -0.02923,0.0524 -0.04605,0.0774 -0.01426,0.025 -0.03101,0.047 -0.04792,0.072 0.155958,0.0356 0.298689,0.10016 0.427371,0.19357 0.06238,-0.11694 0.114785,-0.23065 0.160271,-0.34259 -0.09749,-0.25201 -0.227859,-0.4818 -0.394219,-0.68713 -0.166368,-0.20818 -0.360082,-0.38646 -0.578427,-0.53975 -0.218343,-0.15221 -0.456649,-0.27056 -0.716588,-0.35362 -0.25734,-0.0831 -0.527216,-0.12512 -0.810547,-0.12512 z m 1.541874,2.02267 c -0.08238,0 -0.158347,0.0179 -0.230248,0.0478 -0.07073,0.0321 -0.131931,0.073 -0.186045,0.12726 -0.0529,0.0528 -0.09635,0.11586 -0.127119,0.18786 -0.03137,0.0706 -0.04605,0.1465 -0.04605,0.2285 v 0.23776 h -0.117885 c -0.0658,0 -0.122129,0.025 -0.167652,0.0699 -0.04613,0.0442 -0.06816,0.0987 -0.06816,0.16397 v 1.18268 c 0,0.0639 0.0221,0.11978 0.06816,0.16576 0.04552,0.0456 0.101846,0.0681 0.167652,0.0681 h 1.416601 c 0.06521,0 0.121522,-0.0214 0.16765,-0.0681 0.04549,-0.0442 0.06816,-0.10051 0.06816,-0.16576 v -1.18268 c 0,-0.0652 -0.02281,-0.11977 -0.06816,-0.16397 -0.04613,-0.0456 -0.102451,-0.0699 -0.16765,-0.0699 h -0.117888 v -0.23776 c 0,-0.0816 -0.01533,-0.15757 -0.04605,-0.2285 -0.03137,-0.072 -0.07483,-0.13511 -0.128937,-0.18786 -0.05286,-0.0542 -0.114108,-0.0959 -0.186045,-0.12726 -0.07073,-0.0321 -0.148473,-0.0478 -0.230283,-0.0478 z m 0,0.23777 c 0.0504,0 0.09881,0.007 0.141841,0.025 0.04242,0.018 0.07917,0.0449 0.110544,0.0773 0.03244,0.0321 0.05707,0.0681 0.07554,0.11051 0.01782,0.0431 0.0278,0.0895 0.0278,0.14011 v 0.23775 h -0.70922 v -0.23775 c 0,-0.0503 0.0093,-0.097 0.02745,-0.14011 0.01782,-0.0424 0.04231,-0.0791 0.07368,-0.11051 0.03244,-0.0321 0.06933,-0.0589 0.112361,-0.0773 0.04242,-0.0178 0.08898,-0.025 0.139987,-0.025 z m 0,1.17897 c 0.06517,0 0.121522,0.025 0.16765,0.0699 0.04552,0.046 0.07002,0.1023 0.07002,0.16755 0,0.0659 -0.02462,0.12226 -0.07002,0.16968 -0.04613,0.046 -0.102451,0.0681 -0.16765,0.0681 -0.0658,0 -0.120276,-0.0214 -0.165798,-0.0681 -0.04613,-0.0474 -0.07002,-0.10374 -0.07002,-0.16968 0,-0.0652 0.02388,-0.12157 0.07002,-0.16755 0.04549,-0.0456 0.09999,-0.0699 0.165798,-0.0699 z" />
<g
id="use1344"
transform="matrix(0.157413,0,0,0.157413,74.965914,165.96635)"
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1" />
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1" />
</g>
</svg>
</i>
@ -128,17 +128,17 @@
id="layer1"
transform="translate(-71.664352,-160.89128)">
<path
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1;stroke:none;stroke-width:0.332731"
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1;stroke:none;stroke-width:0.332731"
d="m 74.839398,162.85685 c 0.09358,0 0.181945,0.0178 0.265146,0.052 0.08321,0.0356 0.153355,0.0831 0.213173,0.14544 0.06238,0.0624 0.110471,0.13511 0.145584,0.21852 0.03768,0.0806 0.05718,0.16896 0.05718,0.26522 0,0.0973 -0.0196,0.18714 -0.05718,0.2702 -0.03494,0.0806 -0.08321,0.14936 -0.145584,0.20783 -0.05978,0.0599 -0.129971,0.10801 -0.213173,0.14544 -0.08321,0.0356 -0.171572,0.052 -0.265146,0.052 -0.09358,0 -0.181945,-0.0179 -0.265146,-0.052 -0.08061,-0.0378 -0.150755,-0.0859 -0.213173,-0.14544 -0.06238,-0.0585 -0.11179,-0.12726 -0.145585,-0.20783 -0.03494,-0.083 -0.05198,-0.17289 -0.05198,-0.2702 0,-0.0962 0.01675,-0.18466 0.05198,-0.26522 0.03386,-0.0831 0.08321,-0.15578 0.145585,-0.21852 0.06238,-0.0624 0.132573,-0.11051 0.213173,-0.14544 0.08321,-0.0321 0.171571,-0.052 0.265146,-0.052 z"
id="path5508" />
<path
id="path5461"
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1;stroke:none;stroke-width:0.332732"
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1;stroke:none;stroke-width:0.332732"
d="m 74.840268,161.8152 c -0.284646,0 -0.556123,0.0421 -0.816062,0.12511 -0.257339,0.0834 -0.494574,0.20141 -0.712908,0.35362 -0.215775,0.15329 -0.404697,0.33189 -0.571064,0.53975 -0.16601,0.20497 -0.301577,0.43572 -0.401586,0.68713 0.100026,0.24634 0.235559,0.47502 0.401586,0.68527 0.166367,0.20817 0.355335,0.38752 0.571064,0.53977 0.218341,0.14936 0.45556,0.267 0.712908,0.35006 0.259942,0.083 0.531423,0.12333 0.816062,0.12333 h 0.123411 c 0.04156,0 0.08074,-0.004 0.11974,-0.0107 -0.01034,-0.0732 -0.01461,-0.14473 -0.01461,-0.21745 0.0027,-0.0378 0.0053,-0.0752 0.0053,-0.11408 0.0028,-0.0417 0.0068,-0.0854 0.01462,-0.13083 -0.07667,0.0143 -0.158987,0.0214 -0.248677,0.0214 -0.211852,0 -0.418798,-0.0285 -0.618955,-0.0884 -0.19756,-0.0584 -0.385072,-0.14258 -0.561853,-0.2506 -0.174173,-0.10658 -0.33177,-0.23526 -0.473425,-0.3887 -0.139059,-0.15578 -0.254594,-0.33009 -0.348169,-0.52131 0.09618,-0.20034 0.216239,-0.37725 0.35921,-0.53053 0.145587,-0.15222 0.304788,-0.28054 0.478964,-0.38867 0.176742,-0.1105 0.362449,-0.19464 0.56001,-0.2506 0.197559,-0.0545 0.401772,-0.0828 0.609743,-0.0828 0.210571,0 0.415875,0.0285 0.613431,0.0884 0.200161,0.0599 0.388758,0.14545 0.565538,0.25596 0.176775,0.10765 0.334374,0.23812 0.473428,0.39422 0.137741,0.15329 0.254594,0.32617 0.348169,0.51583 -0.01426,0.0285 -0.02923,0.0524 -0.04605,0.0774 -0.01426,0.025 -0.03101,0.047 -0.04792,0.072 0.155958,0.0356 0.298689,0.10016 0.427371,0.19357 0.06238,-0.11694 0.114785,-0.23065 0.160271,-0.34259 -0.09749,-0.25201 -0.227859,-0.4818 -0.394219,-0.68713 -0.166368,-0.20818 -0.360082,-0.38646 -0.578427,-0.53975 -0.218343,-0.15221 -0.456649,-0.27056 -0.716588,-0.35362 -0.25734,-0.0831 -0.527216,-0.12512 -0.810547,-0.12512 z m 1.541874,2.02267 c -0.08238,0 -0.158347,0.0179 -0.230248,0.0478 -0.07073,0.0321 -0.131931,0.073 -0.186045,0.12726 -0.0529,0.0528 -0.09635,0.11586 -0.127119,0.18786 -0.03137,0.0706 -0.04605,0.1465 -0.04605,0.2285 v 0.23776 h -0.117885 c -0.0658,0 -0.122129,0.025 -0.167652,0.0699 -0.04613,0.0442 -0.06816,0.0987 -0.06816,0.16397 v 1.18268 c 0,0.0639 0.0221,0.11978 0.06816,0.16576 0.04552,0.0456 0.101846,0.0681 0.167652,0.0681 h 1.416601 c 0.06521,0 0.121522,-0.0214 0.16765,-0.0681 0.04549,-0.0442 0.06816,-0.10051 0.06816,-0.16576 v -1.18268 c 0,-0.0652 -0.02281,-0.11977 -0.06816,-0.16397 -0.04613,-0.0456 -0.102451,-0.0699 -0.16765,-0.0699 h -0.117888 v -0.23776 c 0,-0.0816 -0.01533,-0.15757 -0.04605,-0.2285 -0.03137,-0.072 -0.07483,-0.13511 -0.128937,-0.18786 -0.05286,-0.0542 -0.114108,-0.0959 -0.186045,-0.12726 -0.07073,-0.0321 -0.148473,-0.0478 -0.230283,-0.0478 z m 0,0.23777 c 0.0504,0 0.09881,0.007 0.141841,0.025 0.04242,0.018 0.07917,0.0449 0.110544,0.0773 0.03244,0.0321 0.05707,0.0681 0.07554,0.11051 0.01782,0.0431 0.0278,0.0895 0.0278,0.14011 v 0.23775 h -0.70922 v -0.23775 c 0,-0.0503 0.0093,-0.097 0.02745,-0.14011 0.01782,-0.0424 0.04231,-0.0791 0.07368,-0.11051 0.03244,-0.0321 0.06933,-0.0589 0.112361,-0.0773 0.04242,-0.0178 0.08898,-0.025 0.139987,-0.025 z m 0,1.17897 c 0.06517,0 0.121522,0.025 0.16765,0.0699 0.04552,0.046 0.07002,0.1023 0.07002,0.16755 0,0.0659 -0.02462,0.12226 -0.07002,0.16968 -0.04613,0.046 -0.102451,0.0681 -0.16765,0.0681 -0.0658,0 -0.120276,-0.0214 -0.165798,-0.0681 -0.04613,-0.0474 -0.07002,-0.10374 -0.07002,-0.16968 0,-0.0652 0.02388,-0.12157 0.07002,-0.16755 0.04549,-0.0456 0.09999,-0.0699 0.165798,-0.0699 z" />
<g
id="use1344"
transform="matrix(0.157413,0,0,0.157413,74.965914,165.96635)"
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1" />
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1" />
</g>
</svg>
</i>
@ -251,13 +251,13 @@ export default {
}
&.number-block--items .status-list {
.tainacan-icon-private {
color: #01295c !important;
color: #062a57 !important;
}
.tainacan-icon-draft {
color: #25a189 !important;
color: #1a745c !important;
}
.tainacan-icon-delete {
color: #bb7700 !important;
color: #a06522 !important;
}
}
&.number-block--items,
@ -271,7 +271,7 @@ export default {
}
}
.terms-used-info {
border-top: 1px solid #cbcbcb;
border-top: 1px solid #a5a5a5;
margin-top: 6px;
margin-bottom: 0px !important;
padding: 12px;
@ -281,7 +281,7 @@ export default {
width: calc(100% - 26px);
margin-top: 6px;
padding: 12px;
border-top: 1px solid #cbcbcb;
border-top: 1px solid #a5a5a5;
&>div {
display: inline-flex;
@ -291,17 +291,17 @@ export default {
color: white;
font-weight: bold;
position: relative;
background-color: var(--tainacan-turquoise6, #226f7d);
background-color: var(--tainacan-turquoise6, #156075);
transition: width 0.2s ease, background-color 0.2s ease;
&:nth-child(3) {
background-color: #01295c;
background-color: #062a57;
}
&:nth-child(4) {
background-color: #25a189;
background-color: #1a745c;
}
&:nth-child(5) {
background-color: #bb7700;
background-color: #a06522;
}
&:nth-child(6) {
opacity: 0.35;

View File

@ -51,17 +51,17 @@
id="layer1"
transform="translate(-71.664352,-160.89128)">
<path
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1;stroke:none;stroke-width:0.332731"
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1;stroke:none;stroke-width:0.332731"
d="m 74.839398,162.85685 c 0.09358,0 0.181945,0.0178 0.265146,0.052 0.08321,0.0356 0.153355,0.0831 0.213173,0.14544 0.06238,0.0624 0.110471,0.13511 0.145584,0.21852 0.03768,0.0806 0.05718,0.16896 0.05718,0.26522 0,0.0973 -0.0196,0.18714 -0.05718,0.2702 -0.03494,0.0806 -0.08321,0.14936 -0.145584,0.20783 -0.05978,0.0599 -0.129971,0.10801 -0.213173,0.14544 -0.08321,0.0356 -0.171572,0.052 -0.265146,0.052 -0.09358,0 -0.181945,-0.0179 -0.265146,-0.052 -0.08061,-0.0378 -0.150755,-0.0859 -0.213173,-0.14544 -0.06238,-0.0585 -0.11179,-0.12726 -0.145585,-0.20783 -0.03494,-0.083 -0.05198,-0.17289 -0.05198,-0.2702 0,-0.0962 0.01675,-0.18466 0.05198,-0.26522 0.03386,-0.0831 0.08321,-0.15578 0.145585,-0.21852 0.06238,-0.0624 0.132573,-0.11051 0.213173,-0.14544 0.08321,-0.0321 0.171571,-0.052 0.265146,-0.052 z"
id="path5508" />
<path
id="path5461"
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1;stroke:none;stroke-width:0.332732"
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1;stroke:none;stroke-width:0.332732"
d="m 74.840268,161.8152 c -0.284646,0 -0.556123,0.0421 -0.816062,0.12511 -0.257339,0.0834 -0.494574,0.20141 -0.712908,0.35362 -0.215775,0.15329 -0.404697,0.33189 -0.571064,0.53975 -0.16601,0.20497 -0.301577,0.43572 -0.401586,0.68713 0.100026,0.24634 0.235559,0.47502 0.401586,0.68527 0.166367,0.20817 0.355335,0.38752 0.571064,0.53977 0.218341,0.14936 0.45556,0.267 0.712908,0.35006 0.259942,0.083 0.531423,0.12333 0.816062,0.12333 h 0.123411 c 0.04156,0 0.08074,-0.004 0.11974,-0.0107 -0.01034,-0.0732 -0.01461,-0.14473 -0.01461,-0.21745 0.0027,-0.0378 0.0053,-0.0752 0.0053,-0.11408 0.0028,-0.0417 0.0068,-0.0854 0.01462,-0.13083 -0.07667,0.0143 -0.158987,0.0214 -0.248677,0.0214 -0.211852,0 -0.418798,-0.0285 -0.618955,-0.0884 -0.19756,-0.0584 -0.385072,-0.14258 -0.561853,-0.2506 -0.174173,-0.10658 -0.33177,-0.23526 -0.473425,-0.3887 -0.139059,-0.15578 -0.254594,-0.33009 -0.348169,-0.52131 0.09618,-0.20034 0.216239,-0.37725 0.35921,-0.53053 0.145587,-0.15222 0.304788,-0.28054 0.478964,-0.38867 0.176742,-0.1105 0.362449,-0.19464 0.56001,-0.2506 0.197559,-0.0545 0.401772,-0.0828 0.609743,-0.0828 0.210571,0 0.415875,0.0285 0.613431,0.0884 0.200161,0.0599 0.388758,0.14545 0.565538,0.25596 0.176775,0.10765 0.334374,0.23812 0.473428,0.39422 0.137741,0.15329 0.254594,0.32617 0.348169,0.51583 -0.01426,0.0285 -0.02923,0.0524 -0.04605,0.0774 -0.01426,0.025 -0.03101,0.047 -0.04792,0.072 0.155958,0.0356 0.298689,0.10016 0.427371,0.19357 0.06238,-0.11694 0.114785,-0.23065 0.160271,-0.34259 -0.09749,-0.25201 -0.227859,-0.4818 -0.394219,-0.68713 -0.166368,-0.20818 -0.360082,-0.38646 -0.578427,-0.53975 -0.218343,-0.15221 -0.456649,-0.27056 -0.716588,-0.35362 -0.25734,-0.0831 -0.527216,-0.12512 -0.810547,-0.12512 z m 1.541874,2.02267 c -0.08238,0 -0.158347,0.0179 -0.230248,0.0478 -0.07073,0.0321 -0.131931,0.073 -0.186045,0.12726 -0.0529,0.0528 -0.09635,0.11586 -0.127119,0.18786 -0.03137,0.0706 -0.04605,0.1465 -0.04605,0.2285 v 0.23776 h -0.117885 c -0.0658,0 -0.122129,0.025 -0.167652,0.0699 -0.04613,0.0442 -0.06816,0.0987 -0.06816,0.16397 v 1.18268 c 0,0.0639 0.0221,0.11978 0.06816,0.16576 0.04552,0.0456 0.101846,0.0681 0.167652,0.0681 h 1.416601 c 0.06521,0 0.121522,-0.0214 0.16765,-0.0681 0.04549,-0.0442 0.06816,-0.10051 0.06816,-0.16576 v -1.18268 c 0,-0.0652 -0.02281,-0.11977 -0.06816,-0.16397 -0.04613,-0.0456 -0.102451,-0.0699 -0.16765,-0.0699 h -0.117888 v -0.23776 c 0,-0.0816 -0.01533,-0.15757 -0.04605,-0.2285 -0.03137,-0.072 -0.07483,-0.13511 -0.128937,-0.18786 -0.05286,-0.0542 -0.114108,-0.0959 -0.186045,-0.12726 -0.07073,-0.0321 -0.148473,-0.0478 -0.230283,-0.0478 z m 0,0.23777 c 0.0504,0 0.09881,0.007 0.141841,0.025 0.04242,0.018 0.07917,0.0449 0.110544,0.0773 0.03244,0.0321 0.05707,0.0681 0.07554,0.11051 0.01782,0.0431 0.0278,0.0895 0.0278,0.14011 v 0.23775 h -0.70922 v -0.23775 c 0,-0.0503 0.0093,-0.097 0.02745,-0.14011 0.01782,-0.0424 0.04231,-0.0791 0.07368,-0.11051 0.03244,-0.0321 0.06933,-0.0589 0.112361,-0.0773 0.04242,-0.0178 0.08898,-0.025 0.139987,-0.025 z m 0,1.17897 c 0.06517,0 0.121522,0.025 0.16765,0.0699 0.04552,0.046 0.07002,0.1023 0.07002,0.16755 0,0.0659 -0.02462,0.12226 -0.07002,0.16968 -0.04613,0.046 -0.102451,0.0681 -0.16765,0.0681 -0.0658,0 -0.120276,-0.0214 -0.165798,-0.0681 -0.04613,-0.0474 -0.07002,-0.10374 -0.07002,-0.16968 0,-0.0652 0.02388,-0.12157 0.07002,-0.16755 0.04549,-0.0456 0.09999,-0.0699 0.165798,-0.0699 z" />
<g
id="use1344"
transform="matrix(0.157413,0,0,0.157413,74.965914,165.96635)"
style="fill:var(--tainacan-block-gray4, #555758);;fill-opacity:1" />
style="fill:var(--tainacan-block-gray4, #505253);;fill-opacity:1" />
</g>
</svg>
</i>

View File

@ -101,13 +101,13 @@ export default {
text: this.$i18n.get('label_number_of_terms')
}
},
colors: ['#298596', '#dbdbdb'],
colors: ['#187181', '#dbdbdb'],
fill: {
colors: ['#298596', '#dbdbdb']
colors: ['#187181', '#dbdbdb']
},
dataLabels: {
style: {
colors: ['#ffffff', '#454647']
colors: ['#ffffff', '#373839']
}
},
states: {

View File

@ -42,17 +42,17 @@ export default (element) => {
if ( pageElement && pageElement.classList && !pageElement.classList.contains('has-mounted') ) {
Apex.colors = [
'#298596', // Tainacan Turquoise
'#01295c', // Tainacan Blue
'#25a189', // Tainacan Green
'#bb7700', // Tainacan Yellow
'#a23939', // Tainacan Red
'#187181', // Tainacan Turquoise
'#062a57', // Tainacan Blue
'#1a745c', // Tainacan Green
'#a06522', // Tainacan Yellow
'#9b3636', // Tainacan Red
'#592570', // Tainacan Purple
'#ed4f63', // Tainacan Pink
'#b46659', // Tainacan Brown
'#e5721c', // Tainacan Orange
'#04a5ff', // Tainacan Other Blue
'#454647' // Tainacan Dark Gray
'#373839' // Tainacan Dark Gray
];
const availableLocales = ['en', 'es', 'fr', 'pt-br'];
const browserLanguage = navigator.language.toLocaleLowerCase();

View File

@ -25,11 +25,11 @@
display: flex;
align-items: center;
margin: 6px 0px 36px 0px;
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
.tainacan-reports-subheader-box:not(:first-child) {
padding-left: 14px;
border-left: 1px solid var(--tainacan-block-gray3, #cbcbcb);
border-left: 1px solid var(--tainacan-block-gray3, #a5a5a5);
}
.tainacan-reports-subheader-box__title {
@ -69,13 +69,13 @@
flex-basis: 100%;
}
.icon svg {
fill: var(--tainacan-block-gray4, #555758);
fill: var(--tainacan-block-gray4, #505253);
margin-left: -0.5rem;
cursor: default;
}
.apexcharts-pan-icon svg {
fill: transparent;
stroke: var(--tainacan-block-gray4, #555758);
stroke: var(--tainacan-block-gray4, #505253);
}
.apexcharts-reset-icon {
margin-left: 0;
@ -103,7 +103,7 @@
display: inline-block;
padding: 0px 10px;
background-color: var(--tainacan-block-gray2, #dbdbdb);
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
font-size: 0.875em;
border-top-left-radius: 3px;
opacity: 0.0;
@ -162,7 +162,7 @@
opacity: 0.75;
p {
color: var(--tainacan-block-gray4, #555758);
color: var(--tainacan-block-gray4, #505253);
}
}

View File

@ -555,7 +555,7 @@
padding: 1em 2em;
}
.dashicons-info {
color: #bb7700;
color: #a06522;
}
.capabilities-list {
padding: 1em 0;