Skip to content

Commit

Permalink
Merge pull request #17 from paragonHex/fab-color-and-position-fix
Browse files Browse the repository at this point in the history
FAB positioned to bottom of component, its default color changed to #…
  • Loading branch information
adi130987 authored Mar 3, 2017
2 parents b7d84a4 + 0b8f9c4 commit a8fbe3f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions etools-repeatable-field-set.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
--paper-fab: {
position: absolute;
right: 15px;
top: 15px;
background: var(--repeatable-items-add-btn-bg, #8dc63f);
bottom: -20px;
background: var(--repeatable-items-add-btn-bg, #72C300);
z-index: 51;
};
--paper-toolbar-title: {
Expand Down Expand Up @@ -167,10 +167,6 @@
<paper-icon-button on-click="_toggle" icon$="[[_getExpandBtnIcon(open)]]"></paper-icon-button>
<div class="title">[[title]] <span hidden$="{{!showCounter}}">([[model.length]])</span></div>

<paper-fab hidden$="{{hideFab}}"
icon="add"
on-tap="_addElement"
title="Add"></paper-fab>
</paper-toolbar>

<iron-collapse id="collapse" opened="{{open}}">
Expand Down Expand Up @@ -200,6 +196,11 @@

</iron-collapse>

<paper-fab hidden$="{{hideFab}}"
icon="add"
on-tap="_addElement"
title="Add"></paper-fab>

</paper-material>
</div>

Expand Down

0 comments on commit a8fbe3f

Please sign in to comment.