From ec923ff7f36a98baba048837c7a628643df539ad Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Wed, 29 Jul 2020 17:31:53 -0300 Subject: [PATCH] Small adjustments to form block. --- .../admin/components/metadata-types/tainacan-form-item.vue | 4 ++++ src/views/admin/components/other/checkbox-radio-input.vue | 2 +- src/views/admin/components/other/help-button.vue | 2 +- src/views/admin/scss/_buttons.scss | 2 +- src/views/admin/scss/_tabs.scss | 2 +- .../tainacan-items/item-submission-form/index.js | 2 +- src/views/item-submission/item-submission.vue | 1 - src/views/item-submission/pages/item-submission-form.vue | 2 ++ 8 files changed, 11 insertions(+), 6 deletions(-) diff --git a/src/views/admin/components/metadata-types/tainacan-form-item.vue b/src/views/admin/components/metadata-types/tainacan-form-item.vue index ec214653f..a432d43cf 100644 --- a/src/views/admin/components/metadata-types/tainacan-form-item.vue +++ b/src/views/admin/components/metadata-types/tainacan-form-item.vue @@ -250,6 +250,10 @@ .collapse-handle { margin-left: -15px; } + + .child-metadata-inputs { + margin-left: 0.25em; + } } .label { diff --git a/src/views/admin/components/other/checkbox-radio-input.vue b/src/views/admin/components/other/checkbox-radio-input.vue index e39eb9dbd..3a17bbed0 100644 --- a/src/views/admin/components/other/checkbox-radio-input.vue +++ b/src/views/admin/components/other/checkbox-radio-input.vue @@ -921,7 +921,7 @@ background-color: var(--tainacan-blue1); } } - + .tainacan-li-search-results { flex-grow: 0; flex-shrink: 1; diff --git a/src/views/admin/components/other/help-button.vue b/src/views/admin/components/other/help-button.vue index 65de698ef..556017754 100644 --- a/src/views/admin/components/other/help-button.vue +++ b/src/views/admin/components/other/help-button.vue @@ -9,7 +9,7 @@
-
{{ title }}
+
{{ title }}

diff --git a/src/views/admin/scss/_buttons.scss b/src/views/admin/scss/_buttons.scss index f1d78928f..2fdd50e72 100644 --- a/src/views/admin/scss/_buttons.scss +++ b/src/views/admin/scss/_buttons.scss @@ -37,7 +37,7 @@ button.link-style:active { color: var(--tainacan-white) !important; } &.is-primary, &:hover, &.is-primary:focus { - background: var(--tainacan-turquoise2) !important; + background: var(--tainacan-primary) !important; color: var(--tainacan-white) !important; } &.is-success, &.is-success:hover, &.is-success:focus { diff --git a/src/views/admin/scss/_tabs.scss b/src/views/admin/scss/_tabs.scss index 1af30cca8..b7b4c943a 100644 --- a/src/views/admin/scss/_tabs.scss +++ b/src/views/admin/scss/_tabs.scss @@ -24,7 +24,7 @@ } } li.is-active a { - border-bottom-color: var(--tainacan-turquoise5); + border-bottom-color: var(--tainacan-secondary); color: var(--tainacan-black) !important; } .icon:first-child { diff --git a/src/views/gutenberg-blocks/tainacan-items/item-submission-form/index.js b/src/views/gutenberg-blocks/tainacan-items/item-submission-form/index.js index c8c834761..af0ac1e32 100644 --- a/src/views/gutenberg-blocks/tainacan-items/item-submission-form/index.js +++ b/src/views/gutenberg-blocks/tainacan-items/item-submission-form/index.js @@ -200,7 +200,7 @@ registerBlockType('tainacan/item-submission-form', {