a zip code crypto-currency system good for red ONLY

picker.md.scss 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. @import "../../themes/ionic.globals.md";
  2. // Material Design Picker
  3. // --------------------------------------------------
  4. /// @prop - Height of the picker wrapper
  5. $picker-md-height: 260px !default;
  6. /// @prop - Border color of the picker wrapper
  7. $picker-md-border-color: $list-md-border-color !default;
  8. /// @prop - Background of the picker wrapper
  9. $picker-md-background-color: $list-md-background-color !default;
  10. /// @prop - Height of the picker toolbar
  11. $picker-md-toolbar-height: 44px !default;
  12. /// @prop - Background of the picker toolbar
  13. $picker-md-toolbar-background-color: $picker-md-background-color !default;
  14. /// @prop - Height of the picker button
  15. $picker-md-button-height: $picker-md-toolbar-height !default;
  16. /// @prop - Text color of the picker button
  17. $picker-md-button-text-color: color($colors-md, primary) !default;
  18. /// @prop - Background of the picker button
  19. $picker-md-button-background-color: transparent !default;
  20. // deprecated
  21. $picker-md-column-padding: null !default;
  22. /// @prop - Padding top of the picker column
  23. $picker-md-column-padding-top: 0 !default;
  24. /// @prop - Padding end of the picker column
  25. $picker-md-column-padding-end: 8px !default;
  26. /// @prop - Padding bottom of the picker column
  27. $picker-md-column-padding-bottom: $picker-md-column-padding-top !default;
  28. /// @prop - Padding start of the picker column
  29. $picker-md-column-padding-start: $picker-md-column-padding-end !default;
  30. // deprecated
  31. $picker-md-option-padding: null !default;
  32. /// @prop - Padding top of the picker option
  33. $picker-md-option-padding-top: 0 !default;
  34. /// @prop - Padding end of the picker option
  35. $picker-md-option-padding-end: $picker-md-option-padding-top !default;
  36. /// @prop - Padding bottom of the picker option
  37. $picker-md-option-padding-bottom: $picker-md-option-padding-top !default;
  38. /// @prop - Padding start of the picker option
  39. $picker-md-option-padding-start: $picker-md-option-padding-end !default;
  40. /// @prop - Text color of the picker option
  41. $picker-md-option-text-color: $list-md-text-color !default;
  42. /// @prop - Font size of the picker option
  43. $picker-md-option-font-size: 22px !default;
  44. /// @prop - Height of the picker option
  45. $picker-md-option-height: 42px !default;
  46. /// @prop - Offset y of the picker option
  47. $picker-md-option-offset-y: (($picker-md-height - $picker-md-toolbar-height) / 2) - ($picker-md-option-height / 2) - 10 !default;
  48. /// @prop - Text color of the selected picker option
  49. $picker-md-option-selected-color: color($colors-md, primary) !default;
  50. .picker-md .picker-wrapper {
  51. height: $picker-md-height;
  52. border-top: $hairlines-width solid $picker-md-border-color;
  53. background: $picker-md-background-color;
  54. }
  55. .picker-md .picker-toolbar {
  56. display: flex;
  57. justify-content: flex-end;
  58. height: $picker-md-toolbar-height;
  59. background: $picker-md-toolbar-background-color;
  60. }
  61. .picker-md .picker-button,
  62. .picker-md .picker-button.activated {
  63. @include margin(0);
  64. height: $picker-md-button-height;
  65. color: $picker-md-button-text-color;
  66. background: $picker-md-button-background-color;
  67. box-shadow: none;
  68. }
  69. .picker-md .picker-columns {
  70. height: $picker-md-height - $picker-md-toolbar-height;
  71. perspective: 1800px;
  72. }
  73. .picker-md .picker-col {
  74. transform-style: preserve-3d;
  75. @include deprecated-variable(padding, $picker-md-column-padding) {
  76. @include padding($picker-md-column-padding-top, $picker-md-column-padding-end, $picker-md-column-padding-bottom, $picker-md-column-padding-start);
  77. }
  78. }
  79. .picker-md .picker-prefix,
  80. .picker-md .picker-suffix,
  81. .picker-md .picker-opts {
  82. top: $picker-md-option-offset-y;
  83. font-size: $picker-md-option-font-size;
  84. line-height: $picker-md-option-height;
  85. color: $picker-md-option-text-color;
  86. transform-style: preserve-3d;
  87. pointer-events: none;
  88. }
  89. .picker-md .picker-opt {
  90. @include margin(0);
  91. height: 4.3rem;
  92. font-size: $picker-md-option-font-size;
  93. line-height: $picker-md-option-height;
  94. color: $picker-md-option-text-color;
  95. background: transparent;
  96. transition-timing-function: ease-out;
  97. backface-visibility: hidden;
  98. pointer-events: auto;
  99. @include deprecated-variable(padding, $picker-md-option-padding) {
  100. @include padding($picker-md-option-padding-top, $picker-md-option-padding-end, $picker-md-option-padding-bottom, $picker-md-option-padding-start);
  101. }
  102. }
  103. .picker-md .picker-prefix,
  104. .picker-md .picker-suffix,
  105. .picker-md .picker-opt.picker-opt-selected {
  106. color: $picker-md-option-selected-color;
  107. }
  108. .picker-md .picker-above-highlight {
  109. @include position(0, null, null, 0);
  110. @include transform(translate3d(0, 0, 90px));
  111. position: absolute;
  112. z-index: 10;
  113. width: 100%;
  114. height: $picker-md-option-offset-y + 4px;
  115. border-bottom: 1px solid $picker-md-border-color;
  116. background: linear-gradient(to bottom,
  117. rgba($picker-md-background-color, 1) 20%,
  118. rgba($picker-md-background-color, .7) 100%);
  119. }
  120. .picker-md .picker-below-highlight {
  121. @include position($picker-md-option-offset-y + $picker-md-option-height - 4, null, null, 0);
  122. @include transform(translate3d(0, 0, 90px));
  123. position: absolute;
  124. z-index: 11;
  125. width: 100%;
  126. height: $picker-md-option-offset-y + $picker-md-option-height;
  127. border-top: 1px solid $picker-md-border-color;
  128. background: linear-gradient(to top,
  129. rgba($picker-md-background-color, 1) 30%,
  130. rgba($picker-md-background-color, .7) 100%);
  131. }