UI for Zipcoin Blue

item-reorder.scss 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @import "../../themes/ionic.globals";
  2. $reorder-initial-transform: 300% !default;
  3. // Item reorder
  4. // --------------------------------------------------
  5. ion-reorder {
  6. @include transform(translate3d($reorder-initial-transform, 0, 0));
  7. display: none;
  8. flex: 1;
  9. align-items: center;
  10. justify-content: center;
  11. max-width: 40px;
  12. height: 100%;
  13. font-size: 1.7em;
  14. opacity: .25;
  15. transition: transform 140ms ease-in;
  16. pointer-events: all;
  17. touch-action: manipulation;
  18. }
  19. .reorder-side-start ion-reorder {
  20. @include transform(translate3d(-$reorder-initial-transform, 0, 0));
  21. order: -1;
  22. }
  23. ion-reorder ion-icon {
  24. pointer-events: none;
  25. }
  26. .reorder-enabled ion-reorder {
  27. display: flex;
  28. }
  29. .reorder-visible ion-reorder {
  30. @include transform(translate3d(0, 0, 0));
  31. }
  32. .reorder-list-active .item,
  33. .reorder-list-active .item-wrapper {
  34. transition: transform 300ms;
  35. will-change: transform;
  36. }
  37. .reorder-list-active .item-inner {
  38. pointer-events: none;
  39. }
  40. .item-wrapper.reorder-active,
  41. .item.reorder-active,
  42. .reorder-active {
  43. z-index: 4;
  44. box-shadow: 0 0 10px rgba(0, 0, 0, .4);
  45. opacity: .8;
  46. transition: none;
  47. pointer-events: none;
  48. }