Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Make send all funds more recognizable #289

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/components/top/top.less
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ top {
line-height: 41px;
&.has-send-modal {
cursor: pointer;

.balance {
transition: all ease 200ms;
&:hover {
background-color: #76838a;
}
}
}
}
}
2 changes: 1 addition & 1 deletion src/components/top/top.pug
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ md-content(layout='column', layout-gt-xs='row')
span.md-title.title Balance
div(class='balance-wrapper', data-show-send-modal, data-amount='$ctrl.totalSendable', data-ng-class='{"has-send-modal": $ctrl.totalSendable > 0}')
lsk.balance.value(amount='$ctrl.account.get().balance', nocolor, append)
md-tooltip(md-direction='top', md-delay='350', data-ng-if='$ctrl.account.get().balance > 0') Send all funds
md-tooltip(md-direction='bottom', md-delay='350', data-ng-if='$ctrl.account.get().balance > 0') Click to send all funds