a zip code crypto-currency system good for red ONLY

list.md.scss 5.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. @import "../../themes/ionic.globals.md";
  2. // Material Design List
  3. // --------------------------------------------------
  4. /// @prop - Margin top of the list
  5. $list-md-margin-top: 16px !default;
  6. // deprecated
  7. $list-md-margin-right: 0 !default;
  8. /// @prop - Margin end of the list
  9. $list-md-margin-end: $list-md-margin-right !default;
  10. /// @prop - Margin bottom of the list
  11. $list-md-margin-bottom: 16px !default;
  12. // deprecated
  13. $list-md-margin-left: 0 !default;
  14. /// @prop - Margin start of the list
  15. $list-md-margin-start: $list-md-margin-left !default;
  16. /// @prop - Margin top of the inset list
  17. $list-inset-md-margin-top: 16px !default;
  18. // deprecated
  19. $list-inset-md-margin-right: 16px !default;
  20. /// @prop - Margin end of the inset list
  21. $list-inset-md-margin-end: $list-inset-md-margin-right !default;
  22. /// @prop - Margin bottom of the inset list
  23. $list-inset-md-margin-bottom: 16px !default;
  24. // deprecated
  25. $list-inset-md-margin-left: 16px !default;
  26. /// @prop - Margin start of the inset list
  27. $list-inset-md-margin-start: $list-inset-md-margin-left !default;
  28. /// @prop - Border radius of the inset list
  29. $list-inset-md-border-radius: 2px !default;
  30. /// @prop - Margin bottom of the header in a list
  31. $list-md-header-margin-bottom: 13px !default;
  32. // deprecated
  33. $list-md-header-padding-left: $item-md-padding-start !default;
  34. /// @prop - Padding start of the header in a list
  35. $list-md-header-padding-start: $list-md-header-padding-left !default;
  36. /// @prop - Minimum height of the header in a list
  37. $list-md-header-min-height: 4.5rem !default;
  38. /// @prop - Border top of the header in a list
  39. $list-md-header-border-top: 1px solid $list-md-border-color !default;
  40. /// @prop - Font size of the header in a list
  41. $list-md-header-font-size: 1.4rem !default;
  42. /// @prop - Text color of the header in a list
  43. $list-md-header-color: #757575 !default;
  44. // Material Design Default List
  45. // --------------------------------------------------
  46. .list-md {
  47. @include margin(-1px, $list-md-margin-end, $list-md-margin-bottom, $list-md-margin-start);
  48. }
  49. .list-md .item-block .item-inner {
  50. border-bottom: 1px solid $list-md-border-color;
  51. }
  52. .list-md > .item-block:last-child,
  53. .list-md > .item-wrapper:last-child {
  54. ion-label,
  55. .item-inner {
  56. border-bottom: 0;
  57. }
  58. }
  59. .list-md > ion-input:last-child::after {
  60. @include position-horizontal(0, null);
  61. }
  62. .list-md ion-item-options {
  63. border-bottom: 1px solid $list-md-border-color;
  64. }
  65. .list-md ion-item-options .button {
  66. @include margin(0);
  67. @include border-radius(0);
  68. display: inline-flex;
  69. align-items: center;
  70. height: 100%;
  71. border: 0;
  72. box-shadow: none;
  73. box-sizing: border-box;
  74. }
  75. .list-md ion-item-options .button::before {
  76. @include margin(0, auto);
  77. }
  78. // If the item has the no-lines attribute remove the bottom border from:
  79. // the item itself (for last-child items)
  80. // the item-inner class (if it is not last)
  81. .list-md .item[no-lines],
  82. .list-md .item[no-lines] .item-inner {
  83. border-width: 0;
  84. }
  85. .list-md + ion-list ion-list-header {
  86. @include margin(-$list-md-margin-top, null, null, null);
  87. }
  88. // Material Design Inset List
  89. // --------------------------------------------------
  90. .list-md[inset] {
  91. @include margin($list-inset-md-margin-top, $list-inset-md-margin-end, $list-inset-md-margin-bottom, $list-inset-md-margin-start);
  92. @include border-radius($list-inset-md-border-radius);
  93. }
  94. .list-md[inset] .item:first-child {
  95. @include border-radius($list-inset-md-border-radius, $list-inset-md-border-radius, null, null);
  96. border-top-width: 0;
  97. }
  98. .list-md[inset] .item:last-child {
  99. @include border-radius(null, null, $list-inset-md-border-radius, $list-inset-md-border-radius);
  100. border-bottom-width: 0;
  101. }
  102. .list-md[inset] .item-input {
  103. @include padding-horizontal(0);
  104. }
  105. .list-md[inset] + ion-list[inset] {
  106. @include margin(0, null, null, null);
  107. }
  108. .list-md[inset] ion-list-header {
  109. background-color: $list-md-background-color;
  110. }
  111. // Material Design No Lines List
  112. // --------------------------------------------------
  113. .list-md[no-lines] .item-block,
  114. .list-md[no-lines] ion-item-options,
  115. .list-md[no-lines] .item .item-inner {
  116. border-width: 0;
  117. }
  118. // Material Design List Header
  119. // --------------------------------------------------
  120. .list-header-md {
  121. @include padding-horizontal($list-md-header-padding-start, null);
  122. @include margin(null, null, $list-md-header-margin-bottom, null);
  123. min-height: $list-md-header-min-height;
  124. border-top: $list-md-header-border-top;
  125. font-size: $list-md-header-font-size;
  126. color: $list-md-header-color;
  127. }
  128. // Generate Material Design List Header Colors
  129. // --------------------------------------------------
  130. @each $color-name, $color-base, $color-contrast in get-colors($colors-md) {
  131. .list-header-md-#{$color-name} {
  132. color: $color-contrast;
  133. background-color: $color-base;
  134. }
  135. }
  136. // Material Design List inputs
  137. // --------------------------------------------------
  138. .list-md .item-input:last-child {
  139. border-bottom: 1px solid $list-md-border-color;
  140. }