a zip code crypto-currency system good for red ONLY

menu.scss 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. @import "../../themes/ionic.globals";
  2. // Menu
  3. // --------------------------------------------------
  4. /// @prop - Width of the menu
  5. $menu-width: 304px !default;
  6. /// @prop - Width of the menu on small devices (under 340px)
  7. $menu-small-width: $menu-width - 40px !default;
  8. ion-menu {
  9. @include position(0, 0, 0, 0);
  10. position: absolute;
  11. display: none;
  12. contain: strict;
  13. }
  14. ion-menu.show-menu {
  15. display: block;
  16. }
  17. .menu-inner {
  18. @include position(0, auto, 0, 0);
  19. @include transform(translate3d(-9999px, 0, 0));
  20. position: absolute;
  21. display: block;
  22. width: $menu-width;
  23. height: 100%;
  24. contain: strict;
  25. }
  26. .menu-inner > ion-header,
  27. .menu-inner > ion-content,
  28. .menu-inner > ion-footer {
  29. position: absolute;
  30. }
  31. ion-menu[side=left] > .menu-inner {
  32. @include multi-dir() {
  33. // scss-lint:disable PropertySpelling
  34. right: auto;
  35. left: 0;
  36. }
  37. }
  38. ion-menu[side=right] > .menu-inner {
  39. @include multi-dir() {
  40. // scss-lint:disable PropertySpelling
  41. right: 0;
  42. left: auto;
  43. }
  44. }
  45. ion-menu[side=end] > .menu-inner {
  46. @include position-horizontal(auto, 0);
  47. }
  48. ion-menu ion-backdrop {
  49. z-index: -1;
  50. display: none;
  51. opacity: .01;
  52. }
  53. .menu-content {
  54. @include transform(translate3d(0, 0, 0));
  55. }
  56. .menu-content-open {
  57. cursor: pointer;
  58. touch-action: manipulation;
  59. }
  60. .menu-content-open ion-pane,
  61. .menu-content-open ion-content,
  62. .menu-content-open .toolbar {
  63. // the containing element itself should be clickable but
  64. // everything inside of it should not clickable when menu is open
  65. pointer-events: none;
  66. }
  67. @media (max-width: 340px) {
  68. .menu-inner {
  69. width: $menu-small-width;
  70. }
  71. }
  72. // Menu Reveal
  73. // --------------------------------------------------
  74. // The content slides over to reveal the menu underneath.
  75. // The menu itself, which is under the content, does not move.
  76. ion-menu[type=reveal] {
  77. z-index: 0;
  78. }
  79. ion-menu[type=reveal].show-menu .menu-inner {
  80. @include transform(translate3d(0, 0, 0));
  81. }
  82. // Menu Overlay
  83. // --------------------------------------------------
  84. // The menu slides over the content. The content
  85. // itself, which is under the menu, does not move.
  86. ion-menu[type=overlay] {
  87. z-index: $z-index-menu-overlay;
  88. }
  89. ion-menu[type=overlay] .show-backdrop {
  90. display: block;
  91. }