style.scss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. #expLogs {
  2. padding: 0 32px 32px 32px;
  3. h1 {
  4. font-size: 22px;
  5. margin-bottom: 10px;
  6. }
  7. .list-header {
  8. display: flex;
  9. justify-content: space-between;
  10. align-items: center;
  11. margin-bottom: 10px;
  12. flex-wrap: wrap;
  13. gap: 0.5rem;
  14. .summary {
  15. font-size: 16px;
  16. }
  17. }
  18. #expTypeTab {
  19. display: flex;
  20. button {
  21. padding: 0.5rem 1rem;
  22. font-size: 0.875rem;
  23. color: var(--text-secondary);
  24. border-bottom: 2px solid transparent;
  25. transition: color 0.2s, border-color 0.2s;
  26. &:hover {
  27. color: var(--brand-orange);
  28. border-bottom-color: var(--brand-orange);
  29. }
  30. &.active {
  31. color: var(--text-link);
  32. font-weight: 600;
  33. border-bottom-color: var(--text-link);
  34. }
  35. }
  36. }
  37. .mypage-list {
  38. border-top: 1px solid var(--border-default);
  39. margin: 0.75rem 0;
  40. article:nth-of-type(1) {
  41. background-color: #f9fafb;
  42. border-bottom: 1px solid var(--border-default);
  43. padding: 0.5rem 0;
  44. ul {
  45. display: grid;
  46. grid-template-columns:
  47. clamp(100px, 18%, 160px)
  48. 1fr
  49. clamp(60px, 12%, 100px)
  50. clamp(60px, 12%, 100px);
  51. column-gap: 0.75rem;
  52. li {
  53. text-align: center;
  54. font-size: 0.875rem;
  55. color: var(--text-secondary);
  56. }
  57. }
  58. @media (max-width: 1024px) {
  59. display: none;
  60. }
  61. }
  62. article:nth-of-type(2) {
  63. box-sizing: border-box;
  64. section {
  65. padding: 0.5rem 0;
  66. box-sizing: inherit;
  67. border-bottom: 1px solid var(--border-default);
  68. &:hover {
  69. background-color: #faffd1;
  70. }
  71. // PC
  72. ol {
  73. display: grid;
  74. grid-template-columns:
  75. clamp(100px, 18%, 160px)
  76. 1fr
  77. clamp(60px, 12%, 100px)
  78. clamp(60px, 12%, 100px);
  79. column-gap: 0.75rem;
  80. align-items: center;
  81. li {
  82. text-align: center;
  83. font-size: 0.875rem;
  84. &.reason {
  85. text-align: left;
  86. min-width: 0;
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. white-space: nowrap;
  90. }
  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-success);
  137. }
  138. .amount-minus {
  139. font-weight: 600;
  140. color: var(--color-danger);
  141. }
  142. }
  143. }