a zip code crypto-currency system good for red ONLY

chip.wp.scss 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. // Windows Chip
  2. // --------------------------------------------------
  3. // deprecated
  4. $chip-wp-margin: null !default;
  5. /// @prop - Margin top of the chip
  6. $chip-wp-margin-top: 2px !default;
  7. /// @prop - Margin end of the chip
  8. $chip-wp-margin-end: 0 !default;
  9. /// @prop - Margin bottom of the chip
  10. $chip-wp-margin-bottom: $chip-wp-margin-top !default;
  11. /// @prop - Margin start of the chip
  12. $chip-wp-margin-start: $chip-wp-margin-end !default;
  13. /// @prop - Height of the chip
  14. $chip-wp-height: 32px !default;
  15. /// @prop - Border radius of the chip
  16. $chip-wp-border-radius: 16px !default;
  17. /// @prop - Font size of the chip
  18. $chip-wp-font-size: 13px !default;
  19. /// @prop - Text color of the chip
  20. $chip-wp-text-color: rgba(0, 0, 0, .87) !default;
  21. /// @prop - Background color of the chip
  22. $chip-wp-background-color: rgba(0, 0, 0, .12) !default;
  23. // deprecated
  24. $chip-wp-label-margin: null !default;
  25. /// @prop - Margin top of the label in the chip
  26. $chip-wp-label-margin-top: 0 !default;
  27. /// @prop - Margin end of the label in the chip
  28. $chip-wp-label-margin-end: 10px !default;
  29. /// @prop - Margin bottom of the label in the chip
  30. $chip-wp-label-margin-bottom: $chip-wp-label-margin-top !default;
  31. /// @prop - Margin start of the label in the chip
  32. $chip-wp-label-margin-start: $chip-wp-label-margin-end !default;
  33. /// @prop - Background color of the icon in the chip
  34. $chip-wp-icon-background-color: color($colors-wp, primary) !default;
  35. /// @prop - Text color of the icon in the chip
  36. $chip-wp-icon-text-color: color-contrast($colors-wp, $chip-wp-icon-background-color) !default;
  37. .chip-wp {
  38. @include border-radius($chip-wp-border-radius);
  39. height: $chip-wp-height;
  40. font-size: $chip-wp-font-size;
  41. line-height: $chip-wp-height;
  42. color: $chip-wp-text-color;
  43. background: $chip-wp-background-color;
  44. @include deprecated-variable(margin, $chip-wp-margin) {
  45. @include margin($chip-wp-margin-top, $chip-wp-margin-end, $chip-wp-margin-bottom, $chip-wp-margin-start);
  46. }
  47. }
  48. .chip-wp > ion-label {
  49. @include deprecated-variable(margin, $chip-wp-label-margin) {
  50. @include margin($chip-wp-label-margin-top, $chip-wp-label-margin-end, $chip-wp-label-margin-bottom, $chip-wp-label-margin-start);
  51. }
  52. }
  53. .chip-wp > ion-icon {
  54. color: $chip-wp-icon-text-color;
  55. background-color: $chip-wp-icon-background-color;
  56. }
  57. .chip-wp .button {
  58. border: 0;
  59. }
  60. // Generate Windows Chip Colors
  61. // --------------------------------------------------
  62. @each $color-name, $color-base, $color-contrast in get-colors($colors-wp) {
  63. .chip-wp-#{$color-name},
  64. .chip-wp .icon-wp-#{$color-name} {
  65. color: $color-contrast;
  66. background-color: $color-base;
  67. }
  68. }