style.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. #chargeLogs {
  2. padding: 0 32px 32px 32px;
  3. h1 {
  4. font-size: 22px;
  5. margin-bottom: 10px;
  6. }
  7. .charge-logs {
  8. &__header {
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. margin-bottom: 10px;
  13. flex-wrap: wrap;
  14. gap: 0.5rem;
  15. }
  16. &__summary {
  17. font-size: 16px;
  18. }
  19. &__tabs {
  20. display: flex;
  21. button {
  22. padding: 0.5rem 1rem;
  23. font-size: 0.875rem;
  24. color: var(--text-secondary);
  25. border-bottom: 2px solid transparent;
  26. transition: color 0.2s, border-color 0.2s;
  27. &:hover {
  28. color: var(--brand-orange);
  29. border-bottom-color: var(--brand-orange);
  30. }
  31. &.active {
  32. color: var(--text-link);
  33. font-weight: 600;
  34. border-bottom-color: var(--text-link);
  35. }
  36. }
  37. }
  38. &__list {
  39. border-top: 1px solid var(--border-default);
  40. margin: 0.75rem 0;
  41. // 헤더 행
  42. article:nth-of-type(1) {
  43. background-color: #f9fafb;
  44. border-bottom: 1px solid var(--border-default);
  45. padding: 0.5rem 0;
  46. ul {
  47. display: grid;
  48. grid-template-columns:
  49. clamp(100px, 14%, 140px)
  50. 1fr
  51. clamp(70px, 10%, 90px)
  52. clamp(70px, 10%, 90px)
  53. clamp(70px, 10%, 90px)
  54. clamp(50px, 8%, 70px);
  55. column-gap: 0.75rem;
  56. li {
  57. text-align: center;
  58. font-size: 0.875rem;
  59. color: var(--text-secondary);
  60. }
  61. }
  62. @media (max-width: 1024px) {
  63. display: none;
  64. }
  65. }
  66. // 데이터 행
  67. article:nth-of-type(2) {
  68. box-sizing: border-box;
  69. section {
  70. padding: 0.5rem 0;
  71. box-sizing: inherit;
  72. border-bottom: 1px solid var(--border-default);
  73. &:hover {
  74. background-color: #faffd1;
  75. }
  76. // PC
  77. > ol {
  78. display: grid;
  79. grid-template-columns:
  80. clamp(100px, 14%, 140px)
  81. 1fr
  82. clamp(70px, 10%, 90px)
  83. clamp(70px, 10%, 90px)
  84. clamp(70px, 10%, 90px)
  85. clamp(50px, 8%, 70px);
  86. column-gap: 0.75rem;
  87. align-items: center;
  88. > li {
  89. text-align: center;
  90. font-size: 0.875rem;
  91. }
  92. }
  93. // Mobile
  94. dl {
  95. dt {
  96. font-size: 1rem;
  97. word-break: keep-all;
  98. overflow-wrap: break-word;
  99. }
  100. dd {
  101. ul {
  102. display: flex;
  103. flex-direction: row;
  104. flex-wrap: nowrap;
  105. justify-content: start;
  106. padding-top: 0.4rem;
  107. column-gap: 1rem;
  108. li {
  109. font-size: 0.813rem;
  110. color: var(--text-muted);
  111. &:last-child {
  112. flex-grow: 1;
  113. text-align: right;
  114. }
  115. }
  116. }
  117. }
  118. }
  119. @media (max-width: 1024px) {
  120. ol {
  121. display: none;
  122. }
  123. dl {
  124. display: block;
  125. }
  126. }
  127. }
  128. > .empty {
  129. text-align: center;
  130. padding: 2.5rem;
  131. color: var(--text-muted);
  132. }
  133. }
  134. .amount-plus {
  135. font-weight: 600;
  136. color: var(--color-danger) !important;
  137. }
  138. .status--paid {
  139. color: var(--color-success);
  140. font-weight: 600;
  141. }
  142. .status--pending {
  143. color: var(--color-warning);
  144. font-weight: 600;
  145. }
  146. .status--failed {
  147. color: var(--color-danger);
  148. font-weight: 600;
  149. }
  150. .status--cancelled {
  151. color: var(--text-muted);
  152. }
  153. }
  154. &__order-id {
  155. min-width: 0;
  156. overflow: hidden;
  157. text-overflow: ellipsis;
  158. white-space: nowrap;
  159. font-family: monospace;
  160. font-size: 0.8rem !important;
  161. }
  162. }
  163. }