diff --git a/src/components/BitcoinWallet.vue b/src/components/BitcoinWallet.vue index 64a8663..476311b 100644 --- a/src/components/BitcoinWallet.vue +++ b/src/components/BitcoinWallet.vue @@ -39,7 +39,7 @@
No transactions
-
- +
+ \ No newline at end of file diff --git a/src/components/Utility/CircularCheckmark.vue b/src/components/Utility/CircularCheckmark.vue index 779fc8a..b82f694 100644 --- a/src/components/Utility/CircularCheckmark.vue +++ b/src/components/Utility/CircularCheckmark.vue @@ -86,33 +86,9 @@ export default { left: 50%; transform: translate3d(-50%, -50%, 0) scale(1); //animated transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); - // transition-delay: 0.3s; } } -//reverse delay in check mark when leaving (first tick contracts, then the circle) -// .checkmark-animation-leave-active { -// &.checkmark { -// &:before { -// transition-delay: 0.2s; -// } -// .checkmark-icon { -// transition-delay: 0s; -// } -// } -// } -// .checkmark-animation-enter-active, -// .checkmark-animation-leave-active { -// transition: all 5s ease; -// &.checkmark { -// &:before { -// transition: all 5s ease; -// } -// .checkmark-icon { -// transition: all 5s ease; -// } -// } -// } .checkmark-animation-enter-active { &.checkmark { .checkmark-icon { diff --git a/src/global-styles/custom.scss b/src/global-styles/custom.scss index 40b52ca..d945fe1 100644 --- a/src/global-styles/custom.scss +++ b/src/global-styles/custom.scss @@ -338,4 +338,56 @@ svg.icon-clock { transform: translate(20px, 20px) rotate(calc(var(--start-hours) * 30deg + 360deg)); } + } + + + //wallet transactions container + //Transactions +.wallet-transactions-container { + position: relative; + + .transactions { + height: 20rem; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; //momentum scroll on iOS + } + + //bottom fade + &:before { + //nice faded white so the discarded blocks don't abruptly cut off + content: ""; + position: absolute; + height: 2rem; + width: 100%; + bottom: 0; + left: 0; + z-index: 2; + background-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 0), + rgba(255, 255, 255, 1) + ); + } + + //top fade + &:after { + //nice faded white so the discarded blocks don't abruptly cut off + content: ""; + position: absolute; + height: 2rem; + width: 100%; + top: 0; + left: 0; + z-index: 2; + background-image: linear-gradient( + to top, + rgba(255, 255, 255, 0), + rgba(255, 255, 255, 1) + ); + } + } + + + .zero-wallet-transactions-container { + height: 20rem; } \ No newline at end of file