Merge branch 'develop' into feature/compount-metadata-type-refactor

This commit is contained in:
mateuswetah 2020-03-13 11:17:09 -03:00
commit adf5d57072
52 changed files with 774 additions and 471 deletions

30
package-lock.json generated
View File

@ -1964,9 +1964,9 @@
} }
}, },
"buefy": { "buefy": {
"version": "0.8.12", "version": "0.8.13",
"resolved": "https://registry.npmjs.org/buefy/-/buefy-0.8.12.tgz", "resolved": "https://registry.npmjs.org/buefy/-/buefy-0.8.13.tgz",
"integrity": "sha512-scKb+0piTAEYk8mopu5HzshlGsT0K9ChlfkGhQgAF7jC9lH3Ta7anYXG+l8uBoSpqgChK0H19jPP55FbeKn1nA==", "integrity": "sha512-SpJq1Bl569mT6YujrEpyqn1al6U2PcBBQkVdgdKFrW+zjh1BAcs3+sNx7+r0tPSBsLYsSU2ZZsfkFzWOnOTX8A==",
"requires": { "requires": {
"bulma": "0.7.5" "bulma": "0.7.5"
} }
@ -3345,9 +3345,9 @@
}, },
"dependencies": { "dependencies": {
"acorn": { "acorn": {
"version": "6.1.1", "version": "6.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
"integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==", "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
"dev": true "dev": true
} }
} }
@ -5633,9 +5633,9 @@
"dev": true "dev": true
}, },
"kind-of": { "kind-of": {
"version": "6.0.2", "version": "6.0.3",
"resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz", "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz",
"integrity": "sha512-s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==", "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==",
"dev": true "dev": true
}, },
"lcid": { "lcid": {
@ -9421,9 +9421,9 @@
}, },
"dependencies": { "dependencies": {
"acorn": { "acorn": {
"version": "6.4.0", "version": "6.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
"integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==", "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
"dev": true "dev": true
}, },
"ajv": { "ajv": {
@ -9766,9 +9766,9 @@
}, },
"dependencies": { "dependencies": {
"acorn": { "acorn": {
"version": "6.1.1", "version": "6.4.1",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz", "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz",
"integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==", "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==",
"dev": true "dev": true
}, },
"ansi-styles": { "ansi-styles": {

View File

@ -8,7 +8,7 @@
}, },
"dependencies": { "dependencies": {
"axios": "^0.19.0", "axios": "^0.19.0",
"buefy": "^0.8.12", "buefy": "^0.8.13",
"bulma": "^0.7.5", "bulma": "^0.7.5",
"css-vars-ponyfill": "^2.1.2", "css-vars-ponyfill": "^2.1.2",
"mdi": "^2.2.43", "mdi": "^2.2.43",

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -409,6 +433,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-carousel-collections-list ul.collections-list-edit li.collection-list-item:hover button { .wp-block-tainacan-carousel-collections-list ul.collections-list-edit li.collection-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -240,6 +264,7 @@
.wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name h3:hover { .wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name h3:hover {
text-decoration: none; } text-decoration: none; }
.wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name span.label { .wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name span.label {
color: white;
font-weight: normal; font-weight: normal;
font-size: 0.75em; } font-size: 0.75em; }
.wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name.only-collection-name { .wp-block-tainacan-carousel-items-list .carousel-items-collection-header .collection-name.only-collection-name {
@ -383,6 +408,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-carousel-items-list ul.items-list-edit li.item-list-item:hover button { .wp-block-tainacan-carousel-items-list ul.items-list-edit li.item-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -408,6 +432,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-carousel-terms-list ul.terms-list-edit li.term-list-item:hover button { .wp-block-tainacan-carousel-terms-list ul.terms-list-edit li.term-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -249,6 +273,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-collections-list ul.collections-list-edit li.collection-list-item:hover button { .wp-block-tainacan-collections-list ul.collections-list-edit li.collection-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -241,6 +265,7 @@
.wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name h3:hover { .wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name h3:hover {
text-decoration: none; } text-decoration: none; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name span.label { .wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name span.label {
color: white;
font-weight: normal; font-weight: normal;
font-size: 0.75em; } font-size: 0.75em; }
.wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name.only-collection-name { .wp-block-tainacan-dynamic-items-list .dynamic-items-collection-header .collection-name.only-collection-name {
@ -390,6 +415,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-dynamic-items-list ul.items-list-edit li.item-list-item:hover button { .wp-block-tainacan-dynamic-items-list ul.items-list-edit li.item-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -221,7 +245,7 @@
margin: 4px auto; } margin: 4px auto; }
.wp-block-tainacan-faceted-search .items-list-placeholder { .wp-block-tainacan-faceted-search .items-list-placeholder {
font-size: 1.125em; font-size: 1.125em;
min-height: 400px; min-height: 500px;
width: 100%; width: 100%;
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
@ -258,7 +282,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 80%; width: 80%;
margin: 4% 12%; } margin: 5% 12%; }
.wp-block-tainacan-faceted-search .items-list-placeholder .below-search-control .filters .fake-filter .fake-text { .wp-block-tainacan-faceted-search .items-list-placeholder .below-search-control .filters .fake-filter .fake-text {
margin: 4px 0; margin: 4px 0;
width: 35%; width: 35%;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -239,6 +263,7 @@
.wp-block-tainacan-facets-list .facets-collection-header .collection-name h3:hover { .wp-block-tainacan-facets-list .facets-collection-header .collection-name h3:hover {
text-decoration: none; } text-decoration: none; }
.wp-block-tainacan-facets-list .facets-collection-header .collection-name span.label { .wp-block-tainacan-facets-list .facets-collection-header .collection-name span.label {
color: white;
font-weight: normal; font-weight: normal;
font-size: 0.75em; } font-size: 0.75em; }
.wp-block-tainacan-facets-list .facets-collection-header .collection-name.only-collection-name { .wp-block-tainacan-facets-list .facets-collection-header .collection-name.only-collection-name {
@ -406,6 +431,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-facets-list ul.facets-list-edit li.facet-list-item:hover button { .wp-block-tainacan-facets-list ul.facets-list-edit li.facet-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -253,6 +277,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-items-list ul.items-list-edit li.item-list-item:hover button { .wp-block-tainacan-items-list ul.items-list-edit li.item-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -201,12 +225,12 @@
padding: 4px 0.75em; padding: 4px 0.75em;
text-overflow: ellipsis; } text-overflow: ellipsis; }
.wp-block-tainacan-search-bar .tainacan-search-container #tainacan-search-bar-block button { .wp-block-tainacan-search-bar .tainacan-search-container #tainacan-search-bar-block button {
height: auto; height: auto !important;
display: flex; display: flex;
align-items: center; align-items: center;
border: none; border: none;
box-shadow: none; box-shadow: none;
border-radius: 0; border-radius: 0 !important;
background: white; background: white;
padding: 4px 1em; padding: 4px 1em;
font-size: 1em; } font-size: 1em; }
@ -333,7 +357,7 @@
fill: black; fill: black;
transition: fill 0.4s ease; } transition: fill 0.4s ease; }
.wp-block-tainacan-search-bar.is-style-stylish #tainacan-search-bar-block button:hover { .wp-block-tainacan-search-bar.is-style-stylish #tainacan-search-bar-block button:hover {
background: transparent; } background: transparent !important; }
.wp-block-tainacan-search-bar.is-style-stylish .search-bar-collection-header-container:not(.is-aligned-right):not(.is-aligned-left) .tainacan-search-container { .wp-block-tainacan-search-bar.is-style-stylish .search-bar-collection-header-container:not(.is-aligned-right):not(.is-aligned-left) .tainacan-search-container {
width: calc(100% - 4.1667% - 53px); width: calc(100% - 4.1667% - 53px);
width: calc(100% - 4.1667vw - 53px); width: calc(100% - 4.1667vw - 53px);
@ -419,6 +443,7 @@
.wp-block-tainacan-search-bar .search-bar-collection-header-container .search-bar-collection-header-title h3:hover { .wp-block-tainacan-search-bar .search-bar-collection-header-container .search-bar-collection-header-title h3:hover {
text-decoration: none; } text-decoration: none; }
.wp-block-tainacan-search-bar .search-bar-collection-header-container .search-bar-collection-header-title span.label { .wp-block-tainacan-search-bar .search-bar-collection-header-container .search-bar-collection-header-title span.label {
color: inherit;
width: 100%; width: 100%;
display: block; display: block;
margin-top: -8px; margin-top: -8px;

File diff suppressed because one or more lines are too long

View File

@ -15,29 +15,41 @@
background: #f2f2f2; } background: #f2f2f2; }
.block-control p { .block-control p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; } fill: #555758; }
.block-control p svg { .block-control p svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; } fill: #555758; }
.block-control .components-base-control .components-base-control__field {
margin-bottom: 0; }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; } background: #f6f6f6; }
.components-placeholder .components-placeholder__label { .components-placeholder .components-placeholder__label {
margin-bottom: 0; } margin-bottom: 0; }
.components-placeholder .components-placeholder__fieldset p { .components-placeholder .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; } align-items: baseline;
.components-placeholder .components-placeholder__fieldset p svg { width: 100%;
margin-right: 1em; max-width: 70%;
top: 4px; flex-wrap: wrap;
position: relative; z-index: 1; }
.components-placeholder .components-placeholder__fieldset p {
font-size: 1em !important;
margin: 12px;
color: #454647;
fill: #555758; } fill: #555758; }
.components-placeholder .components-placeholder__fieldset p svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758; }
.wp-block-tainacan-modal { .wp-block-tainacan-modal {
width: 50%; } width: 50%; }
@ -71,14 +83,24 @@
color: #555758; } color: #555758; }
.wp-block-tainacan-modal .spinner-container .components-spineer { .wp-block-tainacan-modal .spinner-container .components-spineer {
margin: 8px; } margin: 8px; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon,
.wp-block-tainacan-modal .components-modal__header .components-icon-button { .wp-block-tainacan-modal .components-modal__header .components-icon-button {
padding-right: 0; } padding-right: 0; }
.wp-block-tainacan-modal .components-modal__header .components-button.has-icon:hover,
.wp-block-tainacan-modal .components-modal__header .components-icon-button:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important; }
.wp-block-tainacan-modal hr { .wp-block-tainacan-modal hr {
margin: 5px 0.75em; } margin: 5px 0.75em; }
.wp-block-tainacan-modal .components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em; }
.wp-block-tainacan-modal .modal-search-area { .wp-block-tainacan-modal .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; } margin-bottom: 6px; }
.wp-block-tainacan-modal .modal-search-area .components-base-control { .wp-block-tainacan-modal .modal-search-area .components-base-control {
width: 60%; } width: 60%; }
@media only screen and (max-width: 1024px) { @media only screen and (max-width: 1024px) {
@ -111,15 +133,17 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; } overflow-x: hidden; }
.wp-block-tainacan-modal .modal-checkbox-list .components-base-control, .wp-block-tainacan-modal .modal-checkbox-list .components-base-control,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control { .wp-block-tainacan-modal .modal-radio-list .components-base-control__field .components-base-control {
overflow: hidden; } overflow: hidden;
.wp-block-tainacan-modal .modal-checkbox-list svg.dashicon.components-checkbox-control__checked, padding-left: 1px; }
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.dashicon.components-checkbox-control__checked { .wp-block-tainacan-modal .modal-checkbox-list svg.components-checkbox-control__checked,
.wp-block-tainacan-modal .modal-radio-list .components-base-control__field svg.components-checkbox-control__checked {
fill: black; } fill: black; }
.wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item, .wp-block-tainacan-modal .modal-checkbox-list .modal-checkbox-list-item,
.wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option, .wp-block-tainacan-modal .modal-checkbox-list .components-radio-control__option,
@ -234,6 +258,7 @@
justify-content: center; justify-content: center;
z-index: 999; } z-index: 999; }
.wp-block-tainacan-terms-list ul.terms-list-edit li.term-list-item:hover button { .wp-block-tainacan-terms-list ul.terms-list-edit li.term-list-item:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: white !important; background-color: white !important;
opacity: 1; opacity: 1;

File diff suppressed because one or more lines are too long

View File

@ -306,6 +306,24 @@ font-weight: normal;
.tainacan-icon-dinterms:before { .tainacan-icon-dinterms:before {
content: "dinterms"; content: "dinterms";
} }
.tainacan-icon-userfill:before {
content: "userfill";
}
.tainacan-icon-calendar:before {
content: "calendar";
}
.tainacan-icon-role:before {
content: "role";
}
.tainacan-icon-capability:before {
content: "capability";
}
.tainacan-icon-comment:before {
content: "comment";
}
.tainacan-icon-viewas:before {
content: "viewas";
}
.tainacan-icon-18px.tainacan-icon-set, .tainacan-icon-18px.tainacan-icon-set,
.tainacan-icon-18px.tainacan-icon:before { .tainacan-icon-18px.tainacan-icon:before {
@ -352,147 +370,147 @@ font-weight: normal;
} }
.tainacan-icon-rotate-45 { .tainacan-icon-rotate-45 {
/* /*
// Not included in production // Not included in production
&.tainacan-icon-flip-h:before { &.tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1) rotate(45deg); -webkit-transform: scaleX(-1) rotate(45deg);
transform: scaleX(-1) rotate(45deg); transform: scaleX(-1) rotate(45deg);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
&.tainacan-icon-flip-v:before { &.tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1) rotate(45deg); -webkit-transform: scaleY(-1) rotate(45deg);
-ms-transform: rotate(45deg); -ms-transform: rotate(45deg);
transform: scaleY(-1) rotate(45deg); transform: scaleY(-1) rotate(45deg);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
*/ */
} }
.tainacan-icon-rotate-45:before { .tainacan-icon-rotate-45:before {
-webkit-transform: rotate(45deg); -webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg); -ms-transform: rotate(45deg);
transform: rotate(45deg); transform: rotate(45deg);
} }
.tainacan-icon-rotate-90 { .tainacan-icon-rotate-90 {
/* /*
// Not included in production // Not included in production
&.tainacan-icon-flip-h:before { &.tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1) rotate(90deg); -webkit-transform: scaleX(-1) rotate(90deg);
transform: scaleX(-1) rotate(90deg); transform: scaleX(-1) rotate(90deg);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
&.tainacan-icon-flip-v:before { &.tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1) rotate(90deg); -webkit-transform: scaleY(-1) rotate(90deg);
-ms-transform: rotate(90deg); -ms-transform: rotate(90deg);
transform: scaleY(-1) rotate(90deg); transform: scaleY(-1) rotate(90deg);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
*/ */
} }
.tainacan-icon-rotate-90:before { .tainacan-icon-rotate-90:before {
-webkit-transform: rotate(90deg); -webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg); -ms-transform: rotate(90deg);
transform: rotate(90deg); transform: rotate(90deg);
} }
.tainacan-icon-rotate-135 { .tainacan-icon-rotate-135 {
/* /*
// Not included in production // Not included in production
&.tainacan-icon-flip-h:before { &.tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1) rotate(135deg); -webkit-transform: scaleX(-1) rotate(135deg);
transform: scaleX(-1) rotate(135deg); transform: scaleX(-1) rotate(135deg);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
&.tainacan-icon-flip-v:before { &.tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1) rotate(135deg); -webkit-transform: scaleY(-1) rotate(135deg);
-ms-transform: rotate(135deg); -ms-transform: rotate(135deg);
transform: scaleY(-1) rotate(135deg); transform: scaleY(-1) rotate(135deg);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
*/ */
} }
.tainacan-icon-rotate-135:before { .tainacan-icon-rotate-135:before {
-webkit-transform: rotate(135deg); -webkit-transform: rotate(135deg);
-ms-transform: rotate(135deg); -ms-transform: rotate(135deg);
transform: rotate(135deg); transform: rotate(135deg);
} }
.tainacan-icon-rotate-180 { .tainacan-icon-rotate-180 {
/* /*
// Not included in production // Not included in production
&.tainacan-icon-flip-h:before { &.tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1) rotate(180deg); -webkit-transform: scaleX(-1) rotate(180deg);
transform: scaleX(-1) rotate(180deg); transform: scaleX(-1) rotate(180deg);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
&.tainacan-icon-flip-v:before { &.tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1) rotate(180deg); -webkit-transform: scaleY(-1) rotate(180deg);
-ms-transform: rotate(180deg); -ms-transform: rotate(180deg);
transform: scaleY(-1) rotate(180deg); transform: scaleY(-1) rotate(180deg);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
*/ */
} }
.tainacan-icon-rotate-180:before { .tainacan-icon-rotate-180:before {
-webkit-transform: rotate(180deg); -webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg); -ms-transform: rotate(180deg);
transform: rotate(180deg); transform: rotate(180deg);
} }
.tainacan-icon-rotate-225 { .tainacan-icon-rotate-225 {
/* /*
// Not included in production // Not included in production
&.tainacan-icon-flip-h:before { &.tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1) rotate(225deg); -webkit-transform: scaleX(-1) rotate(225deg);
transform: scaleX(-1) rotate(225deg); transform: scaleX(-1) rotate(225deg);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
&.tainacan-icon-flip-v:before { &.tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1) rotate(225deg); -webkit-transform: scaleY(-1) rotate(225deg);
-ms-transform: rotate(225deg); -ms-transform: rotate(225deg);
transform: scaleY(-1) rotate(225deg); transform: scaleY(-1) rotate(225deg);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
*/ */
} }
.tainacan-icon-rotate-225:before { .tainacan-icon-rotate-225:before {
-webkit-transform: rotate(225deg); -webkit-transform: rotate(225deg);
-ms-transform: rotate(225deg); -ms-transform: rotate(225deg);
transform: rotate(225deg); transform: rotate(225deg);
} }
.tainacan-icon-rotate-270 { .tainacan-icon-rotate-270 {
/* /*
// Not included in production // Not included in production
&.tainacan-icon-flip-h:before { &.tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1) rotate(270deg); -webkit-transform: scaleX(-1) rotate(270deg);
transform: scaleX(-1) rotate(270deg); transform: scaleX(-1) rotate(270deg);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
&.tainacan-icon-flip-v:before { &.tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1) rotate(270deg); -webkit-transform: scaleY(-1) rotate(270deg);
-ms-transform: rotate(270deg); -ms-transform: rotate(270deg);
transform: scaleY(-1) rotate(270deg); transform: scaleY(-1) rotate(270deg);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
*/ */
} }
.tainacan-icon-rotate-270:before { .tainacan-icon-rotate-270:before {
-webkit-transform: rotate(270deg); -webkit-transform: rotate(270deg);
-ms-transform: rotate(270deg); -ms-transform: rotate(270deg);
transform: rotate(270deg); transform: rotate(270deg);
} }
.tainacan-icon-rotate-315 { .tainacan-icon-rotate-315 {
@ -514,47 +532,47 @@ transform: rotate(270deg);
*/ */
} }
.tainacan-icon-rotate-315:before { .tainacan-icon-rotate-315:before {
-webkit-transform: rotate(315deg); -webkit-transform: rotate(315deg);
-ms-transform: rotate(315deg); -ms-transform: rotate(315deg);
transform: rotate(315deg); transform: rotate(315deg);
} }
.tainacan-icon-flip-h:before { .tainacan-icon-flip-h:before {
-webkit-transform: scaleX(-1); -webkit-transform: scaleX(-1);
transform: scaleX(-1); transform: scaleX(-1);
filter: FlipH; filter: FlipH;
-ms-filter: "FlipH"; -ms-filter: "FlipH";
} }
.tainacan-icon-flip-v:before { .tainacan-icon-flip-v:before {
-webkit-transform: scaleY(-1); -webkit-transform: scaleY(-1);
transform: scaleY(-1); transform: scaleY(-1);
filter: FlipV; filter: FlipV;
-ms-filter: "FlipV"; -ms-filter: "FlipV";
} }
.tainacan-icon-spin:before { .tainacan-icon-spin:before {
-webkit-animation: mdi-spin 2s infinite linear; -webkit-animation: mdi-spin 2s infinite linear;
animation: mdi-spin 2s infinite linear; animation: mdi-spin 2s infinite linear;
} }
@-webkit-keyframes mdi-spin { @-webkit-keyframes mdi-spin {
0% { 0% {
-webkit-transform: rotate(0deg); -webkit-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
-webkit-transform: rotate(359deg); -webkit-transform: rotate(359deg);
transform: rotate(359deg); transform: rotate(359deg);
} }
} }
@keyframes mdi-spin { @keyframes mdi-spin {
0% { 0% {
-webkit-transform: rotate(0deg); -webkit-transform: rotate(0deg);
transform: rotate(0deg); transform: rotate(0deg);
} }
100% { 100% {
-webkit-transform: rotate(359deg); -webkit-transform: rotate(359deg);
transform: rotate(359deg); transform: rotate(359deg);
} }
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -10,7 +10,7 @@ License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/ */
const TAINACAN_VERSION = '0.15.1'; const TAINACAN_VERSION = '0.16';
defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
$TAINACAN_BASE_URL = plugins_url('', __FILE__); $TAINACAN_BASE_URL = plugins_url('', __FILE__);

View File

@ -156,27 +156,7 @@
placement: 'auto' placement: 'auto'
}" }"
class="icon"> class="icon">
<svg <i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-capability"/>
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
viewBox="0 0 833 750"
data-name="Camada 1"
id="Camada_1">
<defs
id="defs11" />
<path
id="path4"
transform="translate(-83.5 -125)"
d="M812.38,125H187.62A103.77,103.77,0,0,0,83.5,229.12V770.88A104.1,104.1,0,0,0,187.62,875H812.38A104,104,0,0,0,916.5,771V229.12A104.12,104.12,0,0,0,812.38,125ZM833.5,792h-666V209h666Z" />
<path
id="path6"
transform="translate(-83.5 -125)"
d="M377.5,626a126,126,0,0,0,118.82-84H583.5v83h84V542h83V459H496.67A126,126,0,1,0,377.5,626Zm0-168a42,42,0,1,1-42,42A42,42,0,0,1,377.5,458Z" />
</svg>
</span> </span>
<span class="menu-text">{{ $i18n.get('capabilities') }}</span> <span class="menu-text">{{ $i18n.get('capabilities') }}</span>
</router-link> </router-link>
@ -314,6 +294,10 @@ export default {
width: 18px; width: 18px;
fill: var(--tainacan-white); fill: var(--tainacan-white);
} }
.tainacan-icon-capability::before {
font-size: 1.75em !important;
width: 0.7em;
}
a:hover, a.is-active { a:hover, a.is-active {
background-color: var(--tainacan-blue3); background-color: var(--tainacan-blue3);

View File

@ -165,27 +165,7 @@
:to="{ path: collection && collection.id ? $routerHelper.getCollectionCapabilitiesPath(collection.id) : '' }" :to="{ path: collection && collection.id ? $routerHelper.getCollectionCapabilitiesPath(collection.id) : '' }"
:aria-label="$i18n.get('label_collection_capabilities')"> :aria-label="$i18n.get('label_collection_capabilities')">
<span class="icon"> <span class="icon">
<svg <i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-capability"/>
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
viewBox="0 0 833 750"
data-name="Camada 1"
id="Camada_1">
<defs
id="defs11" />
<path
id="path4"
transform="translate(-83.5 -125)"
d="M812.38,125H187.62A103.77,103.77,0,0,0,83.5,229.12V770.88A104.1,104.1,0,0,0,187.62,875H812.38A104,104,0,0,0,916.5,771V229.12A104.12,104.12,0,0,0,812.38,125ZM833.5,792h-666V209h666Z" />
<path
id="path6"
transform="translate(-83.5 -125)"
d="M377.5,626a126,126,0,0,0,118.82-84H583.5v83h84V542h83V459H496.67A126,126,0,1,0,377.5,626Zm0-168a42,42,0,1,1-42,42A42,42,0,0,1,377.5,458Z" />
</svg>
</span> </span>
<span class="menu-text">{{ $i18n.get('capabilities') }}</span> <span class="menu-text">{{ $i18n.get('capabilities') }}</span>
</router-link> </router-link>
@ -358,6 +338,9 @@ export default {
height: 16px; height: 16px;
fill: var(--tainacan-white); fill: var(--tainacan-white);
} }
.tainacan-icon-capability::before {
font-size: 1.75em !important;
}
} }
.menu-text { .menu-text {
margin-left: 2px; margin-left: 2px;

View File

@ -402,7 +402,7 @@
:disabled="totalItems == undefined || totalItems <= 0" :disabled="totalItems == undefined || totalItems <= 0"
@click="openExposersModal()"> @click="openExposersModal()">
<span class="gray-icon"> <span class="gray-icon">
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url"/> <i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas"/>
</span> </span>
<span class="is-hidden-touch is-hidden-desktop-only">{{ $i18n.get('label_view_as') }}</span> <span class="is-hidden-touch is-hidden-desktop-only">{{ $i18n.get('label_view_as') }}</span>
</button> </button>

View File

@ -288,7 +288,7 @@
:disabled="isLoading" :disabled="isLoading"
@click="openExposersModal()"> @click="openExposersModal()">
<span class="icon is-large"> <span class="icon is-large">
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url"/> <i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas"/>
</span> </span>
<span class="is-hidden-touch">{{ $i18n.get('label_view_as') }}</span> <span class="is-hidden-touch">{{ $i18n.get('label_view_as') }}</span>
</button> </button>

View File

@ -38,6 +38,9 @@
.mdi-account::before { .mdi-account::before {
content: 'user'; content: 'user';
} }
.mdi-calendar-today::before {
content: 'calendar';
}
} }
} }
&.has-icons-right .icon .mdi-magnify::before { &.has-icons-right .icon .mdi-magnify::before {

View File

@ -191,22 +191,21 @@
} }
} }
// Not working yet, as we don't have this icon. .dropdown-trigger {
// .dropdown-trigger { span.icon>i.mdi-calendar-today::before{
// span.icon>i.mdi-calendar-today::before{ display: inline-block;
// display: inline-block; font: "TainacanIcons" normal normal normal 20px/1;
// font: "TainacanIcons" normal normal normal 20px/1; font-size: inherit;
// font-size: inherit; text-rendering: auto;
// text-rendering: auto; vertical-align: middle;
// vertical-align: middle; line-height: inherit;
// line-height: inherit; -webkit-font-smoothing: antialiased;
// -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
// -moz-osx-font-smoothing: grayscale; content: 'calendar';
// content: 'calendar'; text-transform: none !important;
// text-transform: none !important; letter-spacing: normal !important;
// letter-spacing: normal !important; }
// } }
// }
& .dropdown.is-mobile-modal { & .dropdown.is-mobile-modal {
@media screen and (max-width: 768px) { @media screen and (max-width: 768px) {

View File

@ -18,35 +18,51 @@
p { p {
font-size: 0.875em !important; font-size: 0.875em !important;
margin: 12px 1.5em 16px 0; margin: 12px 1.5em !important;
fill: #555758; fill: #555758;
svg { svg {
top: 4px; top: 6px;
margin-right: 0.75em; margin-right: 0.75em;
position: relative; position: relative;
fill: #555758; fill: #555758;
} }
} }
.components-base-control .components-base-control__field {
margin-bottom: 0;
}
} }
.components-placeholder { .components-placeholder {
margin-bottom: 0; align-items: center !important;
margin-bottom: 0 !important;
background: #f6f6f6; background: #f6f6f6;
.components-placeholder__label { .components-placeholder__label {
margin-bottom: 0; margin-bottom: 0;
} }
.components-placeholder__fieldset p { .components-placeholder__fieldset {
font-size: 1em !important; display: flex;
margin: 12px 0; flex-direction: row;
color: #454647; justify-content: center;
fill: #555758; align-items: baseline;
width: 100%;
max-width: 70%;
flex-wrap: wrap;
z-index: 1;
svg { p {
margin-right: 1em; font-size: 1em !important;
top: 4px; margin: 12px;
position: relative; color: #454647;
fill: #555758; fill: #555758;
svg {
margin-right: 1em;
top: 4px;
position: relative;
fill: #555758;
}
} }
} }
} }
@ -107,18 +123,31 @@
.components-spineer { margin: 8px; } .components-spineer { margin: 8px; }
} }
.components-modal__header .components-button.has-icon,
.components-modal__header .components-icon-button { .components-modal__header .components-icon-button {
padding-right: 0; padding-right: 0;
&:hover {
background: transparent !important;
border: none !important;
box-shadow: none !important;
}
} }
hr { hr {
margin: 5px 0.75em; margin: 5px 0.75em;
} }
.components-select-control__input {
padding: 4px 8px !important;
margin: 0 !important;
line-height: 1em;
}
.modal-search-area { .modal-search-area {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 14px; margin-bottom: 6px;
.components-base-control { .components-base-control {
width: 60%; width: 60%;
@ -157,16 +186,18 @@
grid-gap: 0px; grid-gap: 0px;
justify-content: space-evenly; justify-content: space-evenly;
list-style-type: none; list-style-type: none;
margin: 12px; margin: 10px;
padding: 2px;
max-height: 50vh; max-height: 50vh;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
.components-base-control { .components-base-control {
overflow: hidden; overflow: hidden;
padding-left: 1px;
} }
svg.dashicon.components-checkbox-control__checked { svg.components-checkbox-control__checked {
fill: black; fill: black;
} }

View File

@ -292,6 +292,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -98,6 +98,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -53,7 +53,7 @@
} }
.items-list-placeholder { .items-list-placeholder {
font-size: 1.125em; font-size: 1.125em;
min-height: 400px; min-height: 500px;
width: 100%; width: 100%;
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;
@ -95,7 +95,7 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
width: 80%; width: 80%;
margin: 4% 12%; margin: 5% 12%;
.fake-text { .fake-text {
margin: 4px 0; margin: 4px 0;
width: 35%; width: 35%;

View File

@ -616,9 +616,7 @@ registerBlockType('tainacan/faceted-search', {
viewBox="0 0 24 24" viewBox="0 0 24 24"
height="24px" height="24px"
width="24px"> width="24px">
<path <path d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
fill="#298596"
d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
</svg> </svg>
{__('Show items list from: ', 'tainacan')} {__('Show items list from: ', 'tainacan')}
&nbsp; &nbsp;
@ -667,9 +665,7 @@ registerBlockType('tainacan/faceted-search', {
viewBox="0 0 24 24" viewBox="0 0 24 24"
height="24px" height="24px"
width="24px"> width="24px">
<path <path d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
fill="#298596"
d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
</svg> </svg>
{__('Show a complete items list with faceted search.', 'tainacan')} {__('Show a complete items list with faceted search.', 'tainacan')}
</p> </p>
@ -766,6 +762,18 @@ registerBlockType('tainacan/faceted-search', {
<span class="fake-text"></span> <span class="fake-text"></span>
<span class="fake-searchbar"></span> <span class="fake-searchbar"></span>
</div> </div>
<div class="fake-filter">
<span class="fake-text"></span>
<div class="fake-checkbox-list">
{ Array(2).fill().map( () => {
return <div>
<span class="fake-checkbox"></span>
<span class="fake-text"></span>
</div>
} ) }
<div class="fake-link"></div>
</div>
</div>
</div> </div>
: null : null
} }
@ -796,6 +804,19 @@ registerBlockType('tainacan/faceted-search', {
class="fake-item-thumb"></div> class="fake-item-thumb"></div>
{ Array(3).fill().map( () => <div class="fake-item-description"></div> ) } { Array(3).fill().map( () => <div class="fake-item-description"></div> ) }
</div> </div>
{ Array(2).fill().map( () => {
return <div class="fake-item">
<div class="fake-item-header">
<div class="fake-text"></div>
</div>
<div
style={{
backgroundImage: tainacan_plugin ? 'url("' + tainacan_plugin.base_url + '/assets/images/placeholder_square.png")' : ''
}}
class="fake-item-thumb"></div>
{ Array(3).fill().map( () => <div class="fake-item-description"></div> ) }
</div>
} ) }
</div> </div>
<div class="pagination"> <div class="pagination">
<span class="fake-text"></span> <span class="fake-text"></span>

View File

@ -77,6 +77,7 @@
} }
} }
span.label { span.label {
color: white;
font-weight: normal; font-weight: normal;
font-size: 0.75em; font-size: 0.75em;
} }
@ -282,6 +283,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -576,9 +576,7 @@ registerBlockType('tainacan/facets-list', {
viewBox="0 0 24 24" viewBox="0 0 24 24"
height="24px" height="24px"
width="24px"> width="24px">
<path <path d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
fill="#298596"
d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
</svg> </svg>
{__('List facets from a Tainacan Collection or Repository', 'tainacan')} {__('List facets from a Tainacan Collection or Repository', 'tainacan')}
</p> </p>
@ -637,9 +635,7 @@ registerBlockType('tainacan/facets-list', {
viewBox="0 0 24 24" viewBox="0 0 24 24"
height="24px" height="24px"
width="24px"> width="24px">
<path <path d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
fill="#298596"
d="M21.43,13.64,19.32,16a2.57,2.57,0,0,1-2,1H11a3.91,3.91,0,0,0,0-.49,5.49,5.49,0,0,0-5-5.47V9.64A2.59,2.59,0,0,1,8.59,7H17.3a2.57,2.57,0,0,1,2,1l2.11,2.38A2.59,2.59,0,0,1,21.43,13.64ZM4,3A2,2,0,0,0,2,5v7.3a5.32,5.32,0,0,1,2-1V5H16V3ZM11,21l-1,1L8.86,20.89,8,20H8l-.57-.57A3.42,3.42,0,0,1,5.5,20a3.5,3.5,0,0,1,0-7,2.74,2.74,0,0,1,.5,0A3.5,3.5,0,0,1,9,16a2.92,2.92,0,0,1,0,.51,3.42,3.42,0,0,1-.58,1.92L9,19H9l.85.85Zm-4-4.5A1.5,1.5,0,1,0,5.5,18,1.5,1.5,0,0,0,7,16.53Z"/>
</svg> </svg>
{__('List facets from a Tainacan Collection or Repository', 'tainacan')} {__('List facets from a Tainacan Collection or Repository', 'tainacan')}
</p> </p>

View File

@ -79,6 +79,7 @@
} }
} }
span.label { span.label {
color: white;
font-weight: normal; font-weight: normal;
font-size: 0.75em; font-size: 0.75em;
} }
@ -266,6 +267,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -476,12 +476,12 @@ registerBlockType('tainacan/carousel-items-list', {
</div> </div>
{ isSelected ? { isSelected ?
( (
<div> <div>
{ isModalOpen ? { isModalOpen ?
<CarouselItemsModal <CarouselItemsModal
loadStrategy={ loadStrategy } loadStrategy={ loadStrategy }
existingCollectionId={ collectionId } existingCollectionId={ collectionId }
existingSearchURL={ loadStrategy == 'search' ? searchURL : false } existingSearchURL={ loadStrategy == 'search' ? searchURL : false }
onSelectCollection={ (selectedCollectionId) => { onSelectCollection={ (selectedCollectionId) => {
if (collectionId != selectedCollectionId) { if (collectionId != selectedCollectionId) {

View File

@ -82,6 +82,7 @@
} }
} }
span.label { span.label {
color: white;
font-weight: normal; font-weight: normal;
font-size: 0.75em; font-size: 0.75em;
} }
@ -264,6 +265,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -103,6 +103,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -310,33 +310,36 @@ registerBlockType('tainacan/search-bar', {
<div> <div>
<InspectorControls> <InspectorControls>
<hr /> <PanelBody
<div style={{ marginTop: '24px' }}> title={__('Input settings', 'tainacan')}
<TextControl initialOpen={ true }
label={ __('Placeholder text', 'tainacan') } >
value={ placeholderText } <div style={{ marginTop: '24px' }}>
onChange={ ( aPlaceholderText ) => { <TextControl
placeholderText = aPlaceholderText label={ __('Placeholder text', 'tainacan') }
setAttributes( { placeholderText: placeholderText } ); value={ placeholderText }
setContent(); onChange={ ( aPlaceholderText ) => {
}} placeholderText = aPlaceholderText
/> setAttributes( { placeholderText: placeholderText } );
</div> setContent();
<br /> }}
<div style={{ marginBottom: '12px' }}> />
<RangeControl </div>
label={__('Maximum width size (%)', 'tainacan')} <br />
value={ maxWidth ? maxWidth : 80 } <div style={{ marginBottom: '12px' }}>
onChange={ ( aMaxWidth ) => { <RangeControl
maxWidth = aMaxWidth; label={__('Maximum width size (%)', 'tainacan')}
setAttributes( { maxWidth: aMaxWidth } ) value={ maxWidth ? maxWidth : 80 }
setContent(); onChange={ ( aMaxWidth ) => {
}} maxWidth = aMaxWidth;
min={ 15 } setAttributes( { maxWidth: aMaxWidth } )
max={ 100 } setContent();
/> }}
</div> min={ 15 }
<br /> max={ 100 }
/>
</div>
</PanelBody>
<PanelBody <PanelBody
title={__('Collection header', 'tainacan')} title={__('Collection header', 'tainacan')}

View File

@ -43,12 +43,12 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
button { button {
height: auto; height: auto !important;
display: flex; display: flex;
align-items: center; align-items: center;
border: none; border: none;
box-shadow: none; box-shadow: none;
border-radius: 0; border-radius: 0 !important;
background: white; background: white;
padding: 4px 1em; padding: 4px 1em;
font-size: 1em; font-size: 1em;
@ -261,7 +261,7 @@
} }
} }
&:hover { &:hover {
background: transparent; background: transparent !important;
} }
} }
@ -392,7 +392,8 @@
text-decoration: none; text-decoration: none;
} }
} }
span.label { span.label {
color: inherit;
width: 100%; width: 100%;
display: block; display: block;
margin-top: -8px; margin-top: -8px;

View File

@ -290,6 +290,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -80,6 +80,7 @@
} }
&:hover button { &:hover button {
height: auto;
visibility: visible; visibility: visible;
background-color: rgba(255, 255, 255, 1) !important; background-color: rgba(255, 255, 255, 1) !important;
opacity: 1; opacity: 1;

View File

@ -325,6 +325,7 @@
display: inline-flex; display: inline-flex;
align-items: center; align-items: center;
position: relative; position: relative;
padding: 5px 8px;
a:first-child { a:first-child {
border-top-right-radius: 0; border-top-right-radius: 0;

View File

@ -327,7 +327,7 @@
:disabled="totalItems == undefined || totalItems <= 0" :disabled="totalItems == undefined || totalItems <= 0"
@click="openExposersModal()"> @click="openExposersModal()">
<span class="gray-icon"> <span class="gray-icon">
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url"/> <i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas"/>
</span> </span>
<span class="is-hidden-touch is-hidden-desktop-only">{{ $i18n.get('label_view_as') }}</span> <span class="is-hidden-touch is-hidden-desktop-only">{{ $i18n.get('label_view_as') }}</span>
</button> </button>