a zip code crypto-currency system good for red ONLY

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623
  1. @import "../../themes/ionic.globals.md";
  2. // Material Design Alerts
  3. // --------------------------------------------------
  4. /// @prop - Max width of the alert
  5. $alert-md-max-width: 280px !default;
  6. /// @prop - Border radius of the alert
  7. $alert-md-border-radius: 2px !default;
  8. /// @prop - Background color of the alert
  9. $alert-md-background-color: #fafafa !default;
  10. /// @prop - Box shadow color of the alert
  11. $alert-md-box-shadow-color: rgba(0, 0, 0, .4) !default;
  12. /// @prop - Box shadow of the alert
  13. $alert-md-box-shadow: 0 16px 20px $alert-md-box-shadow-color !default;
  14. // deprecated
  15. $alert-md-head-padding: null !default;
  16. /// @prop - Padding top of the alert head
  17. $alert-md-head-padding-top: 24px !default;
  18. /// @prop - Padding end of the alert head
  19. $alert-md-head-padding-end: 24px !default;
  20. /// @prop - Padding bottom of the alert head
  21. $alert-md-head-padding-bottom: 20px !default;
  22. /// @prop - Padding start of the alert head
  23. $alert-md-head-padding-start: 24px !default;
  24. /// @prop - Text align of the alert head
  25. $alert-md-head-text-align: start !default;
  26. /// @prop - Font size of the alert title
  27. $alert-md-title-font-size: 22px !default;
  28. /// @prop - Font size of the alert sub title
  29. $alert-md-sub-title-font-size: 16px !default;
  30. // deprecated
  31. $alert-md-message-padding: null !default;
  32. /// @prop - Padding top of the alert message
  33. $alert-md-message-padding-top: 0 !default;
  34. /// @prop - Padding end of the alert message
  35. $alert-md-message-padding-end: 24px !default;
  36. /// @prop - Padding bottom of the alert message
  37. $alert-md-message-padding-bottom: 24px !default;
  38. /// @prop - Padding start of the alert message
  39. $alert-md-message-padding-start: 24px !default;
  40. /// @prop - Font size of the alert message
  41. $alert-md-message-font-size: 15px !default;
  42. /// @prop - Text color of the alert message
  43. $alert-md-message-text-color: rgba(0, 0, 0, .5) !default;
  44. // deprecated
  45. $alert-md-message-padding-empty: null !default;
  46. /// @prop - Padding top of the alert empty message
  47. $alert-md-message-empty-padding-top: 0 !default;
  48. /// @prop - Padding end of the alert empty message
  49. $alert-md-message-empty-padding-end: $alert-md-message-empty-padding-top !default;
  50. /// @prop - Padding bottom of the alert empty message
  51. $alert-md-message-empty-padding-bottom: $alert-md-message-empty-padding-top !default;
  52. /// @prop - Padding start of the alert empty message
  53. $alert-md-message-empty-padding-start: $alert-md-message-empty-padding-end !default;
  54. /// @prop - Maximum height of the alert content
  55. $alert-md-content-max-height: 240px !default;
  56. /// @prop - Border width of the alert input
  57. $alert-md-input-border-width: 1px !default;
  58. /// @prop - Border style of the alert input
  59. $alert-md-input-border-style: solid !default;
  60. /// @prop - Border color of the alert input
  61. $alert-md-input-border-color: #dedede !default;
  62. /// @prop - Text color of the alert input
  63. $alert-md-input-text-color: #000 !default;
  64. /// @prop - Border width of the alert input when focused
  65. $alert-md-input-border-width-focused: 2px !default;
  66. /// @prop - Border style of the alert input when focused
  67. $alert-md-input-border-style-focused: $alert-md-input-border-style !default;
  68. /// @prop - Border color of the alert input when focused
  69. $alert-md-input-border-color-focused: color($colors-md, primary) !default;
  70. /// @prop - Margin top of the alert input
  71. $alert-md-input-margin-top: 5px !default;
  72. // deprecated
  73. $alert-md-input-margin-right: 0 !default;
  74. /// @prop - Margin end of the alert input
  75. $alert-md-input-margin-end: $alert-md-input-margin-right !default;
  76. /// @prop - Margin bottom of the alert input
  77. $alert-md-input-margin-bottom: 5px !default;
  78. // deprecated
  79. $alert-md-input-margin-left: 0 !default;
  80. /// @prop - Margin start of the alert input
  81. $alert-md-input-margin-start: $alert-md-input-margin-left !default;
  82. /// @prop - Flex wrap of the alert button group
  83. $alert-md-button-group-flex-wrap: wrap-reverse !default;
  84. // deprecated
  85. $alert-md-button-group-padding: null !default;
  86. /// @prop - Padding top of the alert button group
  87. $alert-md-button-group-padding-top: 8px !default;
  88. /// @prop - Padding end of the alert button group
  89. $alert-md-button-group-padding-end: 8px !default;
  90. /// @prop - Padding bottom of the alert button group
  91. $alert-md-button-group-padding-bottom: 8px !default;
  92. /// @prop - Padding start of the alert button group
  93. $alert-md-button-group-padding-start: 24px !default;
  94. /// @prop - Justify content of the alert button group
  95. $alert-md-button-group-justify-content: flex-end !default;
  96. // deprecated
  97. $alert-md-button-padding: null !default;
  98. /// @prop - Padding top of the alert button
  99. $alert-md-button-padding-top: 10px !default;
  100. /// @prop - Padding end of the alert button
  101. $alert-md-button-padding-end: $alert-md-button-padding-top !default;
  102. /// @prop - Padding bottom of the alert button
  103. $alert-md-button-padding-bottom: $alert-md-button-padding-top !default;
  104. /// @prop - Padding start of the alert button
  105. $alert-md-button-padding-start: $alert-md-button-padding-end !default;
  106. // deprecated
  107. $alert-md-button-margin: null !default;
  108. /// @prop - Margin top of the alert button
  109. $alert-md-button-margin-top: 0 !default;
  110. /// @prop - Margin end of the alert button
  111. $alert-md-button-margin-end: 8px !default;
  112. /// @prop - Margin bottom of the alert button
  113. $alert-md-button-margin-bottom: 0 !default;
  114. /// @prop - Margin start of the alert button
  115. $alert-md-button-margin-start: 0 !default;
  116. /// @prop - Font weight of the alert button
  117. $alert-md-button-font-weight: 500 !default;
  118. /// @prop - Text color of the alert button
  119. $alert-md-button-text-color: color($colors-md, primary) !default;
  120. /// @prop - Background color of the alert button
  121. $alert-md-button-background-color: transparent !default;
  122. /// @prop - Background color of the alert activated button
  123. $alert-md-button-background-color-activated: rgba(158, 158, 158, .2) !default;
  124. /// @prop - Border radius of the alert button
  125. $alert-md-button-border-radius: 2px !default;
  126. /// @prop - Text transform of the alert button
  127. $alert-md-button-text-transform: uppercase !default;
  128. /// @prop - Text align of the alert button
  129. $alert-md-button-text-align: end !default;
  130. /// @prop - Border top of the alert list
  131. $alert-md-list-border-top: 1px solid $alert-md-input-border-color !default;
  132. /// @prop - Border bottom of the alert list
  133. $alert-md-list-border-bottom: $alert-md-list-border-top !default;
  134. // deprecated
  135. $alert-md-radio-label-padding: null !default;
  136. /// @prop - Padding top on the label for the radio alert
  137. $alert-md-radio-label-padding-top: 13px !default;
  138. /// @prop - Padding end on the label for the radio alert
  139. $alert-md-radio-label-padding-end: 26px !default;
  140. /// @prop - Padding bottom on the label for the radio alert
  141. $alert-md-radio-label-padding-bottom: $alert-md-radio-label-padding-top !default;
  142. /// @prop - Padding start on the label for the radio alert
  143. $alert-md-radio-label-padding-start: $alert-md-radio-label-padding-end !default;
  144. /// @prop - Text color of the label for the radio alert
  145. $alert-md-radio-label-text-color: initial !default;
  146. /// @prop - Text color of the label for the checked radio alert
  147. $alert-md-radio-label-text-color-checked: $alert-md-button-text-color !default;
  148. /// @prop - Top of the alert radio
  149. $alert-md-radio-top: 0 !default;
  150. /// @prop - Left of the alert radio
  151. $alert-md-radio-left: 13px !default;
  152. /// @prop - Width of the alert radio
  153. $alert-md-radio-width: 16px !default;
  154. /// @prop - Height of the alert radio
  155. $alert-md-radio-height: 16px !default;
  156. /// @prop - Border width of the alert radio
  157. $alert-md-radio-border-width: 2px !default;
  158. /// @prop - Border style of the alert radio
  159. $alert-md-radio-border-style: solid !default;
  160. /// @prop - Border radius of the alert radio
  161. $alert-md-radio-border-radius: 50% !default;
  162. /// @prop - Border color of the alert radio when off
  163. $alert-md-radio-border-color-off: darken($list-md-border-color, 40%) !default;
  164. /// @prop - Border color of the alert radio when on
  165. $alert-md-radio-border-color-on: $alert-md-button-text-color !default;
  166. /// @prop - Top of the icon in the alert radio
  167. $alert-md-radio-icon-top: 2px !default;
  168. // deprecated
  169. $alert-md-radio-icon-left: 2px !default;
  170. /// @prop - Start of the icon in the radio alert
  171. $alert-md-radio-icon-start: $alert-md-radio-icon-left !default;
  172. /// @prop - Width of the icon in the alert radio
  173. $alert-md-radio-icon-width: 8px !default;
  174. /// @prop - Height of the icon in the alert radio
  175. $alert-md-radio-icon-height: 8px !default;
  176. /// @prop - Border radius of the icon in the alert radio
  177. $alert-md-radio-icon-border-radius: $alert-md-radio-border-radius !default;
  178. /// @prop - Transform of the icon in the alert radio when off
  179. $alert-md-radio-icon-transform-off: scale3d(0, 0, 0) !default;
  180. /// @prop - Transform of the icon in the alert radio when on
  181. $alert-md-radio-icon-transform-on: scale3d(1, 1, 1) !default;
  182. /// @prop - Transition of the icon in the alert radio
  183. $alert-md-radio-icon-transition: transform 280ms cubic-bezier(.4, 0, .2, 1) !default;
  184. // deprecated
  185. $alert-md-checkbox-label-padding: null !default;
  186. /// @prop - Padding top of the label for the checkbox in the alert
  187. $alert-md-checkbox-label-padding-top: 13px !default;
  188. /// @prop - Padding end of the label for the checkbox in the alert
  189. $alert-md-checkbox-label-padding-end: 26px !default;
  190. /// @prop - Padding bottom of the label for the checkbox in the alert
  191. $alert-md-checkbox-label-padding-bottom: $alert-md-checkbox-label-padding-top !default;
  192. /// @prop - Padding start of the label for the checkbox in the alert
  193. $alert-md-checkbox-label-padding-start: $alert-md-checkbox-label-padding-end !default;
  194. /// @prop - Text color of the label for the checkbox in the alert
  195. $alert-md-checkbox-label-text-color: initial !default;
  196. /// @prop - Text color of the label for the checked checkbox in the alert
  197. $alert-md-checkbox-label-text-color-checked: initial !default;
  198. /// @prop - Top of the checkbox in the alert
  199. $alert-md-checkbox-top: 0 !default;
  200. /// @prop - Left of the checkbox in the alert
  201. $alert-md-checkbox-left: 13px !default;
  202. /// @prop - Width of the checkbox in the alert
  203. $alert-md-checkbox-width: 16px !default;
  204. /// @prop - Height of the checkbox in the alert
  205. $alert-md-checkbox-height: 16px !default;
  206. /// @prop - Border width of the checkbox in the alert
  207. $alert-md-checkbox-border-width: 2px !default;
  208. /// @prop - Border style of the checkbox in the alert
  209. $alert-md-checkbox-border-style: solid !default;
  210. /// @prop - Border radius of the checkbox in the alert
  211. $alert-md-checkbox-border-radius: 2px !default;
  212. /// @prop - Border color of the checkbox in the alert when off
  213. $alert-md-checkbox-border-color-off: darken($list-md-border-color, 40%) !default;
  214. /// @prop - Border color of the checkbox in the alert when on
  215. $alert-md-checkbox-border-color-on: $alert-md-button-text-color !default;
  216. /// @prop - Top of the icon in the checkbox alert
  217. $alert-md-checkbox-icon-top: 0 !default;
  218. // deprecated
  219. $alert-md-checkbox-icon-left: 3px !default;
  220. /// @prop - Start of the icon in the checkbox alert
  221. $alert-md-checkbox-icon-start: $alert-md-checkbox-icon-left !default;
  222. /// @prop - Width of the icon in the checkbox alert
  223. $alert-md-checkbox-icon-width: 6px !default;
  224. /// @prop - Height of the icon in the checkbox alert
  225. $alert-md-checkbox-icon-height: 10px !default;
  226. /// @prop - Border width of the icon in the checkbox alert
  227. $alert-md-checkbox-icon-border-width: 2px !default;
  228. /// @prop - Border style of the icon in the checkbox alert
  229. $alert-md-checkbox-icon-border-style: solid !default;
  230. /// @prop - Border color of the icon in the checkbox alert
  231. $alert-md-checkbox-icon-border-color: color-contrast($colors-md, $alert-md-checkbox-border-color-on) !default;
  232. /// @prop - Transform of the icon in the checkbox alert
  233. $alert-md-checkbox-icon-transform: rotate(45deg) !default;
  234. .alert-md .alert-wrapper {
  235. @include border-radius($alert-md-border-radius);
  236. max-width: $alert-md-max-width;
  237. background-color: $alert-md-background-color;
  238. box-shadow: $alert-md-box-shadow;
  239. }
  240. // Material Design Alert Header
  241. // --------------------------------------------------
  242. .alert-md .alert-head {
  243. @include text-align($alert-md-head-text-align);
  244. @include deprecated-variable(padding, $alert-md-head-padding) {
  245. @include padding($alert-md-head-padding-top, $alert-md-head-padding-end, $alert-md-head-padding-bottom, $alert-md-head-padding-start);
  246. }
  247. }
  248. .alert-md .alert-title {
  249. font-size: $alert-md-title-font-size;
  250. }
  251. .alert-md .alert-sub-title {
  252. font-size: $alert-md-sub-title-font-size;
  253. }
  254. // Material Design Alert Message
  255. // --------------------------------------------------
  256. .alert-md .alert-message,
  257. .alert-md .alert-input-group {
  258. color: $alert-md-message-text-color;
  259. @include deprecated-variable(padding, $alert-md-message-padding) {
  260. @include padding($alert-md-message-padding-top, $alert-md-message-padding-end, $alert-md-message-padding-bottom, $alert-md-message-padding-start);
  261. }
  262. }
  263. .alert-md .alert-message {
  264. max-height: $alert-md-content-max-height;
  265. font-size: $alert-md-message-font-size;
  266. }
  267. .alert-md .alert-message:empty {
  268. @include deprecated-variable(padding, $alert-md-message-padding-empty) {
  269. @include padding($alert-md-message-empty-padding-top, $alert-md-message-empty-padding-end, $alert-md-message-empty-padding-bottom, $alert-md-message-empty-padding-start);
  270. }
  271. }
  272. // Material Design Alert Input
  273. // --------------------------------------------------
  274. .alert-md .alert-input {
  275. @include margin($alert-md-input-margin-top, $alert-md-input-margin-end, $alert-md-input-margin-bottom, $alert-md-input-margin-start);
  276. border-bottom: $alert-md-input-border-width $alert-md-input-border-style $alert-md-input-border-color;
  277. color: $alert-md-input-text-color;
  278. }
  279. .alert-md .alert-input:focus {
  280. @include margin(null, null, $alert-md-input-margin-bottom - 1, null);
  281. border-bottom: $alert-md-input-border-width-focused $alert-md-input-border-style-focused $alert-md-input-border-color-focused;
  282. }
  283. // Material Design Alert Radio/Checkbox Group
  284. // --------------------------------------------------
  285. .alert-md .alert-radio-group,
  286. .alert-md .alert-checkbox-group {
  287. position: relative;
  288. overflow: auto;
  289. max-height: $alert-md-content-max-height;
  290. border-top: $alert-md-list-border-top;
  291. border-bottom: $alert-md-list-border-bottom;
  292. }
  293. .alert-md .alert-tappable {
  294. position: relative;
  295. display: flex;
  296. overflow: hidden;
  297. // TODO this should be a variable that matches item
  298. min-height: 4.4rem;
  299. }
  300. // Material Design Alert Radio
  301. // --------------------------------------------------
  302. .alert-md .alert-radio-label {
  303. overflow: hidden;
  304. flex: 1;
  305. text-overflow: ellipsis;
  306. white-space: nowrap;
  307. color: $alert-md-radio-label-text-color;
  308. @include deprecated-variable(padding, $alert-md-radio-label-padding) {
  309. @include padding($alert-md-radio-label-padding-top, $alert-md-radio-label-padding-end, $alert-md-radio-label-padding-bottom, $alert-md-radio-label-padding-start);
  310. }
  311. }
  312. // Material Design Alert Radio Unchecked Circle
  313. // ---------------------------------------------------
  314. .alert-md .alert-radio-icon {
  315. @include position($alert-md-radio-top, null, null, $alert-md-radio-left);
  316. @include border-radius($alert-md-radio-border-radius);
  317. position: relative;
  318. display: block;
  319. width: $alert-md-radio-width;
  320. height: $alert-md-radio-height;
  321. border-width: $alert-md-radio-border-width;
  322. border-style: $alert-md-radio-border-style;
  323. border-color: $alert-md-radio-border-color-off;
  324. }
  325. // Material Design Alert Radio Checked Dot
  326. // ---------------------------------------------------
  327. .alert-md .alert-radio-inner {
  328. @include position($alert-md-radio-icon-top, null, null, $alert-md-radio-icon-start);
  329. @include border-radius($alert-md-radio-icon-border-radius);
  330. position: absolute;
  331. width: $alert-md-radio-icon-width;
  332. height: $alert-md-radio-icon-height;
  333. background-color: $alert-md-radio-border-color-on;
  334. transform: $alert-md-radio-icon-transform-off;
  335. transition: $alert-md-radio-icon-transition;
  336. }
  337. // Material Design Alert Radio Checked
  338. // ---------------------------------------------------
  339. .alert-md [aria-checked=true] .alert-radio-label {
  340. color: $alert-md-radio-label-text-color-checked;
  341. }
  342. .alert-md [aria-checked=true] .alert-radio-icon {
  343. border-color: $alert-md-radio-border-color-on;
  344. }
  345. .alert-md [aria-checked=true] .alert-radio-inner {
  346. transform: $alert-md-radio-icon-transform-on;
  347. }
  348. // Material Design Alert Checkbox Label
  349. // --------------------------------------------------
  350. .alert-md .alert-checkbox-label {
  351. overflow: hidden;
  352. flex: 1;
  353. text-overflow: ellipsis;
  354. white-space: nowrap;
  355. color: $alert-md-checkbox-label-text-color;
  356. @include deprecated-variable(padding, $alert-md-checkbox-label-padding) {
  357. @include padding($alert-md-checkbox-label-padding-top, $alert-md-checkbox-label-padding-end, $alert-md-checkbox-label-padding-bottom, $alert-md-checkbox-label-padding-start);
  358. }
  359. }
  360. .alert-md [aria-checked=true] .alert-checkbox-label {
  361. color: $alert-md-checkbox-label-text-color-checked;
  362. }
  363. // Material Design Alert Checkbox Outline: Unchecked
  364. // --------------------------------------------------
  365. .alert-md .alert-checkbox-icon {
  366. @include position($alert-md-checkbox-top, null, null, $alert-md-checkbox-left);
  367. @include border-radius($alert-md-checkbox-border-radius);
  368. position: relative;
  369. width: $alert-md-checkbox-width;
  370. height: $alert-md-checkbox-height;
  371. border-width: $alert-md-checkbox-border-width;
  372. border-style: $alert-md-checkbox-border-style;
  373. border-color: $alert-md-checkbox-border-color-off;
  374. }
  375. // Material Design Alert Checkbox Checkmark: Checked
  376. // --------------------------------------------------
  377. .alert-md [aria-checked=true] .alert-checkbox-icon {
  378. border-color: $alert-md-checkbox-border-color-on;
  379. background-color: $alert-md-checkbox-border-color-on;
  380. }
  381. .alert-md [aria-checked=true] .alert-checkbox-inner {
  382. @include position($alert-md-checkbox-icon-top, null, null, $alert-md-checkbox-icon-start);
  383. position: absolute;
  384. width: $alert-md-checkbox-icon-width;
  385. height: $alert-md-checkbox-icon-height;
  386. border-width: $alert-md-checkbox-icon-border-width;
  387. border-top-width: 0;
  388. border-left-width: 0;
  389. border-style: $alert-md-checkbox-icon-border-style;
  390. border-color: $alert-md-checkbox-icon-border-color;
  391. transform: $alert-md-checkbox-icon-transform;
  392. }
  393. // Material Design Alert Button
  394. // --------------------------------------------------
  395. .alert-md .alert-button-group {
  396. flex-wrap: $alert-md-button-group-flex-wrap;
  397. justify-content: $alert-md-button-group-justify-content;
  398. @include deprecated-variable(padding, $alert-md-button-group-padding) {
  399. @include padding($alert-md-button-group-padding-top, $alert-md-button-group-padding-end, $alert-md-button-group-padding-bottom, $alert-md-button-group-padding-start);
  400. }
  401. }
  402. .alert-md .alert-button {
  403. @include text-align($alert-md-button-text-align);
  404. @include border-radius($alert-md-button-border-radius);
  405. // necessary for ripple to work properly
  406. position: relative;
  407. overflow: hidden;
  408. font-weight: $alert-md-button-font-weight;
  409. text-transform: $alert-md-button-text-transform;
  410. color: $alert-md-button-text-color;
  411. background-color: $alert-md-button-background-color;
  412. @include deprecated-variable(margin, $alert-md-button-margin) {
  413. @include margin($alert-md-button-margin-top, $alert-md-button-margin-end, $alert-md-button-margin-bottom, $alert-md-button-margin-start);
  414. }
  415. @include deprecated-variable(padding, $alert-md-button-padding) {
  416. @include padding($alert-md-button-padding-top, $alert-md-button-padding-end, $alert-md-button-padding-bottom, $alert-md-button-padding-start);
  417. }
  418. }
  419. .alert-md .alert-button.activated {
  420. background-color: $alert-md-button-background-color-activated;
  421. }
  422. .alert-md .alert-button .button-inner {
  423. justify-content: $alert-md-button-group-justify-content;
  424. }