a zip code crypto-currency system good for red ONLY

modal.scss 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. @import "../../themes/ionic.globals";
  2. // Modals
  3. // --------------------------------------------------
  4. /// @prop - Min width of the modal inset
  5. $modal-inset-min-width: 768px !default;
  6. /// @prop - Minimum height of the small modal inset
  7. $modal-inset-min-height-small: 600px !default;
  8. /// @prop - Minimum height of the large modal inset
  9. $modal-inset-min-height-large: 768px !default;
  10. /// @prop - Width of the large modal inset
  11. $modal-inset-width: 600px !default;
  12. /// @prop - Height of the small modal inset
  13. $modal-inset-height-small: 500px !default;
  14. /// @prop - Height of the large modal inset
  15. $modal-inset-height-large: 600px !default;
  16. ion-modal {
  17. @include position(0, null, null, 0);
  18. position: absolute;
  19. display: block;
  20. width: 100%;
  21. height: 100%;
  22. contain: strict;
  23. }
  24. ion-modal ion-backdrop {
  25. @media not all and (min-width: $modal-inset-min-width) and (min-height: $modal-inset-min-height-small) {
  26. visibility: hidden;
  27. }
  28. }
  29. .modal-wrapper {
  30. z-index: 10;
  31. height: 100%;
  32. contain: strict;
  33. @media only screen and (min-width: $modal-inset-min-width) and (min-height: $modal-inset-min-height-small) {
  34. @include position(calc(50% - (#{$modal-inset-height-small}/2)), null, null, calc(50% - (#{$modal-inset-width}/2)));
  35. position: absolute;
  36. width: $modal-inset-width;
  37. height: $modal-inset-height-small;
  38. }
  39. @media only screen and (min-width: $modal-inset-min-width) and (min-height: $modal-inset-min-height-large) {
  40. @include position(calc(50% - (#{$modal-inset-height-large}/2)), null, null, calc(50% - (#{$modal-inset-width}/2)));
  41. position: absolute;
  42. width: $modal-inset-width;
  43. height: $modal-inset-height-large;
  44. }
  45. }