mirror of
https://github.com/documize/community.git
synced 2025-07-27 00:59:43 +02:00
Change location of add section at bottom of content
This commit is contained in:
parent
f5bdbb49d0
commit
9fd002b5da
2 changed files with 20 additions and 19 deletions
|
@ -61,12 +61,12 @@
|
||||||
.start-section {
|
.start-section {
|
||||||
@extend .no-select;
|
@extend .no-select;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0.5rem 0;
|
margin: 2rem 0;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
> i {
|
> i {
|
||||||
background-color: map-get($yellow-shades, 100);
|
background-color: map-get($green-shades, 100);
|
||||||
color: map-get($yellow-shades, 500);
|
color: map-get($green-shades, 500);
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: map-get($yellow-shades, 700);
|
color: map-get($green-shades, 700);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,16 @@
|
||||||
onPageSequenceChange=(action onPageSequenceChange)
|
onPageSequenceChange=(action onPageSequenceChange)
|
||||||
onShowSectionWizard=(action "onShowSectionWizard")}}
|
onShowSectionWizard=(action "onShowSectionWizard")}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if canEdit}}
|
||||||
|
<div class="start-section">
|
||||||
|
<i class="dicon {{constants.Icon.Plus}}" {{action "onShowSectionWizard"}}>
|
||||||
|
{{#attach-tooltip showDelay=1000}}Insert section here{{/attach-tooltip}}
|
||||||
|
</i>
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#if showLikes}}
|
{{#if showLikes}}
|
||||||
<div class="vote-box no-print">
|
<div class="vote-box no-print">
|
||||||
{{#if voteThanks}}
|
{{#if voteThanks}}
|
||||||
|
@ -37,15 +47,6 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if canEdit}}
|
|
||||||
<div class="start-section">
|
|
||||||
<i class="dicon {{constants.Icon.Plus}}" {{action "onShowSectionWizard"}}>
|
|
||||||
{{#attach-tooltip showDelay=1000}}Insert section here{{/attach-tooltip}}
|
|
||||||
</i>
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
|
|
||||||
{{#if canEdit}}
|
{{#if canEdit}}
|
||||||
{{document/add-section
|
{{document/add-section
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue