Small adjustments to form block.
This commit is contained in:
parent
fbc3ad6d22
commit
ec923ff7f3
|
@ -250,6 +250,10 @@
|
||||||
.collapse-handle {
|
.collapse-handle {
|
||||||
margin-left: -15px;
|
margin-left: -15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.child-metadata-inputs {
|
||||||
|
margin-left: 0.25em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.label {
|
.label {
|
||||||
|
|
|
@ -921,7 +921,7 @@
|
||||||
background-color: var(--tainacan-blue1);
|
background-color: var(--tainacan-blue1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.tainacan-li-search-results {
|
.tainacan-li-search-results {
|
||||||
flex-grow: 0;
|
flex-grow: 0;
|
||||||
flex-shrink: 1;
|
flex-shrink: 1;
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
</a>
|
</a>
|
||||||
<div class="help-tooltip">
|
<div class="help-tooltip">
|
||||||
<div class="help-tooltip-header">
|
<div class="help-tooltip-header">
|
||||||
<h5>{{ title }}</h5>
|
<h5 class="has-text-color">{{ title }}</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="help-tooltip-body">
|
<div class="help-tooltip-body">
|
||||||
<p v-html="(message != '' && message != undefined) ? message : $i18n.get('info_no_description_provided')"/>
|
<p v-html="(message != '' && message != undefined) ? message : $i18n.get('info_no_description_provided')"/>
|
||||||
|
|
|
@ -37,7 +37,7 @@ button.link-style:active {
|
||||||
color: var(--tainacan-white) !important;
|
color: var(--tainacan-white) !important;
|
||||||
}
|
}
|
||||||
&.is-primary, &:hover, &.is-primary:focus {
|
&.is-primary, &:hover, &.is-primary:focus {
|
||||||
background: var(--tainacan-turquoise2) !important;
|
background: var(--tainacan-primary) !important;
|
||||||
color: var(--tainacan-white) !important;
|
color: var(--tainacan-white) !important;
|
||||||
}
|
}
|
||||||
&.is-success, &.is-success:hover, &.is-success:focus {
|
&.is-success, &.is-success:hover, &.is-success:focus {
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
li.is-active a {
|
li.is-active a {
|
||||||
border-bottom-color: var(--tainacan-turquoise5);
|
border-bottom-color: var(--tainacan-secondary);
|
||||||
color: var(--tainacan-black) !important;
|
color: var(--tainacan-black) !important;
|
||||||
}
|
}
|
||||||
.icon:first-child {
|
.icon:first-child {
|
||||||
|
|
|
@ -200,7 +200,7 @@ registerBlockType('tainacan/item-submission-form', {
|
||||||
<div>
|
<div>
|
||||||
<InspectorControls>
|
<InspectorControls>
|
||||||
<PanelBody
|
<PanelBody
|
||||||
title={__('Colors and Sizes', 'tainacan')}
|
title={__('Form elements', 'tainacan')}
|
||||||
initialOpen={ true } >
|
initialOpen={ true } >
|
||||||
<ToggleControl
|
<ToggleControl
|
||||||
label={__('Hide the file submission button', 'tainacan')}
|
label={__('Hide the file submission button', 'tainacan')}
|
||||||
|
|
|
@ -163,7 +163,6 @@ export default {
|
||||||
color: transparent;
|
color: transparent;
|
||||||
margin: 1em auto 1em -0.875em;
|
margin: 1em auto 1em -0.875em;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1023,7 +1023,9 @@ export default {
|
||||||
margin-bottom: 32px;
|
margin-bottom: 32px;
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
|
padding: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
margin-left: 0.25em;
|
margin-left: 0.25em;
|
||||||
|
|
Loading…
Reference in New Issue