mirror of
https://github.com/documize/community.git
synced 2025-07-26 00:29:47 +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,21 +22,6 @@
|
||||||
onPageSequenceChange=(action onPageSequenceChange)
|
onPageSequenceChange=(action onPageSequenceChange)
|
||||||
onShowSectionWizard=(action "onShowSectionWizard")}}
|
onShowSectionWizard=(action "onShowSectionWizard")}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{#if showLikes}}
|
|
||||||
<div class="vote-box no-print">
|
|
||||||
{{#if voteThanks}}
|
|
||||||
<div class="thanks">Thanks for the feedback!</div>
|
|
||||||
{{else}}
|
|
||||||
<div class="prompt">{{folder.likes}}</div>
|
|
||||||
{{ui/ui-spacer size=200}}
|
|
||||||
<div class="buttons">
|
|
||||||
{{ui/ui-button color=constants.Color.Yellow light=true label="Yes, thanks!" onClick=(action "onVote" 1)}}
|
|
||||||
{{ui/ui-button-gap}}
|
|
||||||
{{ui/ui-button color=constants.Color.Yellow light=true label="Not really" onClick=(action "onVote" 2)}}
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
</div>
|
|
||||||
{{/if}}
|
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{#if canEdit}}
|
{{#if canEdit}}
|
||||||
|
@ -47,6 +32,22 @@
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
{{#if showLikes}}
|
||||||
|
<div class="vote-box no-print">
|
||||||
|
{{#if voteThanks}}
|
||||||
|
<div class="thanks">Thanks for the feedback!</div>
|
||||||
|
{{else}}
|
||||||
|
<div class="prompt">{{folder.likes}}</div>
|
||||||
|
{{ui/ui-spacer size=200}}
|
||||||
|
<div class="buttons">
|
||||||
|
{{ui/ui-button color=constants.Color.Yellow light=true label="Yes, thanks!" onClick=(action "onVote" 1)}}
|
||||||
|
{{ui/ui-button-gap}}
|
||||||
|
{{ui/ui-button color=constants.Color.Yellow light=true label="Not really" onClick=(action "onVote" 2)}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#if canEdit}}
|
{{#if canEdit}}
|
||||||
{{document/add-section
|
{{document/add-section
|
||||||
pages=pages
|
pages=pages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue