a zip code crypto-currency system good for red ONLY

tabs.scss 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. @import "../../themes/ionic.globals";
  2. // Tabs
  3. // --------------------------------------------------
  4. .tabbar {
  5. @include position(null, null, 0, 0);
  6. position: absolute;
  7. z-index: $z-index-toolbar;
  8. display: flex;
  9. width: 100%;
  10. // default to hidden until ready
  11. opacity: 0;
  12. }
  13. .tabbar-hidden .tabbar {
  14. display: none;
  15. }
  16. .tabbar.show-tabbar {
  17. opacity: 1;
  18. }
  19. [tabsPlacement=top] > .tabbar {
  20. top: 0;
  21. bottom: auto;
  22. }
  23. .tab-button {
  24. @include margin(0);
  25. @include text-align(center);
  26. @include border-radius(0);
  27. position: relative;
  28. z-index: 0;
  29. display: flex;
  30. overflow: hidden;
  31. flex: 1;
  32. flex-direction: column;
  33. align-items: center;
  34. align-self: center;
  35. justify-content: center;
  36. border: 0;
  37. text-decoration: none;
  38. background: none;
  39. cursor: pointer;
  40. user-select: none;
  41. }
  42. .tab-disabled {
  43. pointer-events: none;
  44. }
  45. .tab-disabled ion-badge,
  46. .tab-disabled ion-icon,
  47. .tab-disabled span {
  48. opacity: .4;
  49. }
  50. .tab-button-text {
  51. @include margin(3px, null, 2px, null);
  52. }
  53. .tab-button-text,
  54. .tab-button-icon {
  55. display: none;
  56. overflow: hidden;
  57. align-self: center;
  58. min-width: 26px;
  59. max-width: 100%;
  60. text-overflow: ellipsis;
  61. white-space: nowrap;
  62. }
  63. .has-icon .tab-button-icon,
  64. .has-title .tab-button-text {
  65. display: block;
  66. }
  67. .has-title-only .tab-button-text {
  68. white-space: normal;
  69. }
  70. [tabsLayout=icon-bottom] .tab-button .tab-button-icon {
  71. order: 10;
  72. }
  73. [tabsLayout=icon-left] .tab-button, // deprecated
  74. [tabsLayout=icon-right] .tab-button, // deprecated
  75. [tabsLayout=icon-start] .tab-button,
  76. [tabsLayout=icon-end] .tab-button {
  77. flex-direction: row;
  78. }
  79. [tabsLayout=icon-left] .tab-button .tab-button-icon, // deprecated
  80. [tabsLayout=icon-start] .tab-button .tab-button-icon {
  81. @include padding-horizontal(null, 8px);
  82. @include text-align(end);
  83. }
  84. [tabsLayout=icon-right] .tab-button .tab-button-icon, // deprecated
  85. [tabsLayout=icon-end] .tab-button .tab-button-icon {
  86. @include padding-horizontal(8px, null);
  87. @include text-align(start);
  88. order: 10;
  89. }
  90. .tab-hidden,
  91. .tab-highlight,
  92. [tabsLayout=icon-hide] .tab-button-icon,
  93. [tabsLayout=title-hide] .tab-button-text {
  94. display: none;
  95. }
  96. // Tab Badges
  97. // --------------------------------------------------
  98. .tab-badge {
  99. @include position(6%, 4%, null, null); // 4% fallback
  100. @include position(null, calc(50% - 50px), null, null);
  101. @include padding(1px, 6px);
  102. position: absolute;
  103. height: auto;
  104. font-size: 12px;
  105. line-height: 16px;
  106. }
  107. .has-icon .tab-badge {
  108. @include position(null, calc(50% - 30px), null, null);
  109. }
  110. [tabsLayout=icon-bottom] .tab-badge,
  111. [tabsLayout=icon-left] .tab-badge, // deprecated
  112. [tabsLayout=icon-right] .tab-badge, // deprecated
  113. [tabsLayout=icon-start] .tab-badge,
  114. [tabsLayout=icon-end] .tab-badge {
  115. @include position(null, calc(50% - 50px), null, null);
  116. }