Ionic + React accounts android app and PWA
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

invoice.module.scss 3.4 KiB

4 年之前
4 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. @import '../common';
  2. .card {
  3. @extend %card;
  4. figure {
  5. background-color: var(--lighter-grey);
  6. width: 30%;
  7. max-width: 80px;
  8. padding: 10px;
  9. img {
  10. display: block;
  11. width: 100%;
  12. height: 100%;
  13. object-fit: contain;
  14. }
  15. }
  16. .contentHolder {
  17. flex-grow: 1;
  18. padding: 5px 10px;
  19. h6 {
  20. font-size: 11px;
  21. color: var(--dark-grey);
  22. font-weight: 500;
  23. margin-top: 5px;
  24. }
  25. h2 {
  26. color: var(--teal);
  27. font-size: 18px;
  28. font-weight: 400;
  29. margin: 15px 0px 5px 0px;
  30. }
  31. p {
  32. font-size: 11px;
  33. color: var(--grey);
  34. font-weight: 500;
  35. }
  36. }
  37. .status {
  38. display: flex;
  39. align-items: center;
  40. justify-content: center;
  41. padding: 15px;
  42. span {
  43. font-size: 12px;
  44. color: var(--grey);
  45. font-weight: 500;
  46. letter-spacing: 0.5px;
  47. text-transform: capitalize;
  48. &::before {
  49. content: '';
  50. vertical-align: middle;
  51. display: inline-block;
  52. width: 7px;
  53. height: 7px;
  54. border-radius: 50%;
  55. background-color: var(--grey);
  56. }
  57. &.due {
  58. color: var(--warning);
  59. &::before {
  60. background-color: var(--warning);
  61. }
  62. }
  63. &.overdue {
  64. color: var(--red);
  65. &::before {
  66. background-color: var(--red);
  67. }
  68. }
  69. &.paid {
  70. color: var(--teal);
  71. &::before {
  72. background-color: var(--teal);
  73. }
  74. }
  75. }
  76. }
  77. }
  78. .backdrop {
  79. position: fixed;
  80. left: 0;
  81. top: 0;
  82. z-index: 2;
  83. background-color: rgba(0, 0, 0, 0.6);
  84. width: 100%;
  85. height: 100vh;
  86. display: flex;
  87. align-items: flex-end;
  88. justify-content: stretch;
  89. overflow: auto;
  90. .cardDetails {
  91. border-top-right-radius: 30px;
  92. border-top-left-radius: 30px;
  93. background-color: white;
  94. padding: 15px;
  95. width: 100%;
  96. }
  97. header {
  98. position: relative;
  99. margin-bottom: 30px;
  100. ion-button {
  101. width: 30px;
  102. svg {
  103. width: 16px;
  104. height: 16px;
  105. color: var(--black);
  106. }
  107. }
  108. h4 {
  109. font-size: 16px;
  110. text-align: center;
  111. color: var(--black);
  112. font-weight: 500;
  113. width: calc(100% - 60px);
  114. margin-right: auto;
  115. }
  116. }
  117. ul {
  118. li {
  119. display: flex;
  120. align-items: center;
  121. justify-content: space-between;
  122. margin-bottom: 15px;
  123. label {
  124. max-width: 50%;
  125. text-align: left;
  126. font-size: 11px;
  127. color: var(--grey);
  128. font-weight: 500;
  129. letter-spacing: 0.5px;
  130. }
  131. p {
  132. text-align: right;
  133. font-size: 13px;
  134. color: var(--dark-grey);
  135. font-weight: 500;
  136. }
  137. }
  138. }
  139. }