Small adjustments to form block.

This commit is contained in:
mateuswetah 2020-07-29 17:31:53 -03:00
parent fbc3ad6d22
commit ec923ff7f3
8 changed files with 11 additions and 6 deletions

View File

@ -250,6 +250,10 @@
.collapse-handle {
margin-left: -15px;
}
.child-metadata-inputs {
margin-left: 0.25em;
}
}
.label {

View File

@ -921,7 +921,7 @@
background-color: var(--tainacan-blue1);
}
}
.tainacan-li-search-results {
flex-grow: 0;
flex-shrink: 1;

View File

@ -9,7 +9,7 @@
</a>
<div class="help-tooltip">
<div class="help-tooltip-header">
<h5>{{ title }}</h5>
<h5 class="has-text-color">{{ title }}</h5>
</div>
<div class="help-tooltip-body">
<p v-html="(message != '' && message != undefined) ? message : $i18n.get('info_no_description_provided')"/>

View File

@ -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 {

View File

@ -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 {

View File

@ -200,7 +200,7 @@ registerBlockType('tainacan/item-submission-form', {
<div>
<InspectorControls>
<PanelBody
title={__('Colors and Sizes', 'tainacan')}
title={__('Form elements', 'tainacan')}
initialOpen={ true } >
<ToggleControl
label={__('Hide the file submission button', 'tainacan')}

View File

@ -163,7 +163,6 @@ export default {
color: transparent;
margin: 1em auto 1em -0.875em;
}
}
}

View File

@ -1023,7 +1023,9 @@ export default {
margin-bottom: 32px;
ul {
padding: 0;
display: flex;
flex-wrap: wrap;
li {
margin-left: 0.25em;