history.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /* History specific styles */
  2. .history-game-tabs {
  3. display: flex;
  4. padding: 0 16px;
  5. gap: 8px;
  6. margin-top: 20px;
  7. overflow-x: auto;
  8. padding-bottom: 8px;
  9. }
  10. .history-game-tabs::-webkit-scrollbar { display: none; }
  11. .game-tab {
  12. flex: none;
  13. padding: 10px 18px;
  14. background: white;
  15. border-radius: 14px;
  16. font-size: 13px;
  17. font-weight: 800;
  18. color: #4B5563;
  19. box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  20. border: 1.5px solid transparent;
  21. transition: all 0.2s;
  22. cursor: pointer;
  23. white-space: nowrap;
  24. }
  25. .game-tab.active {
  26. color: #0062FF;
  27. border-color: #0062FF;
  28. background: #FFF5F5;
  29. }
  30. .status-filters {
  31. display: flex;
  32. padding: 0 16px;
  33. gap: 4px;
  34. margin-top: 12px;
  35. background: white;
  36. margin-left: 16px;
  37. margin-right: 16px;
  38. border-radius: 12px;
  39. box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  40. }
  41. .status-filter {
  42. flex: 1;
  43. padding: 12px 4px;
  44. text-align: center;
  45. font-size: 12px;
  46. font-weight: 700;
  47. color: #9CA3AF;
  48. position: relative;
  49. cursor: pointer;
  50. transition: all 0.2s;
  51. }
  52. .status-filter.active {
  53. color: #0062FF;
  54. }
  55. .status-filter.active::after {
  56. content: '';
  57. position: absolute;
  58. bottom: 6px;
  59. left: 20%;
  60. right: 20%;
  61. height: 3px;
  62. background: #0062FF;
  63. border-radius: 2px;
  64. }
  65. /* Ticket Card */
  66. .ticket-card {
  67. background: white;
  68. border-radius: 12px;
  69. margin: 16px 0;
  70. padding: 0;
  71. box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  72. position: relative;
  73. border: 1px solid #F1F1F1;
  74. overflow: hidden;
  75. }
  76. .ticket-card-top {
  77. padding: 12px 16px 16px 16px;
  78. background: white;
  79. position: relative;
  80. }
  81. .ticket-perforation {
  82. height: 4px;
  83. background-image: radial-gradient(circle, #F3F4F6 6px, transparent 6px);
  84. background-size: 24px 24px;
  85. background-position: center;
  86. background-repeat: repeat-x;
  87. position: relative;
  88. margin: 0 -10px;
  89. }
  90. .ticket-card-bottom {
  91. padding: 12px 16px;
  92. background: #FDFDFD;
  93. border-top: 1px dashed #E5E7EB;
  94. }
  95. .ticket-header {
  96. display: flex;
  97. justify-content: space-between;
  98. align-items: center;
  99. margin-bottom: 12px;
  100. }
  101. .ticket-id {
  102. font-size: 13px;
  103. color: #9CA3AF;
  104. font-weight: 700;
  105. font-family: 'Bricolage Grotesque', sans-serif;
  106. }
  107. .ticket-status {
  108. padding: 6px 14px;
  109. border-radius: 30px;
  110. font-size: 11px;
  111. font-weight: 900;
  112. text-transform: uppercase;
  113. letter-spacing: 0.5px;
  114. }
  115. .status-waiting { background: #FFF9C4; color: #B45309; }
  116. .status-win { background: #DCFCE7; color: #15803D; }
  117. .status-notwin { background: #FEE2E2; color: #B91C1C; }
  118. .ticket-numbers {
  119. display: flex;
  120. flex-wrap: wrap;
  121. gap: 10px;
  122. padding: 0;
  123. background: transparent;
  124. }
  125. .ticket-ball {
  126. width: 32px;
  127. height: 32px;
  128. background: #F3F4F6;
  129. border: 1px solid #E5E7EB;
  130. border-radius: 50%;
  131. display: flex;
  132. align-items: center;
  133. justify-content: center;
  134. font-size: 13px;
  135. font-weight: 800;
  136. color: #4B5563;
  137. transition: all 0.2s;
  138. flex-shrink: 0;
  139. }
  140. .ticket-ball.ball-win {
  141. background: #10B981;
  142. color: white;
  143. border-color: #059669;
  144. box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
  145. }
  146. .ticket-ball.ball-lose {
  147. background: #EF4444;
  148. color: white;
  149. border-color: #DC2626;
  150. box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
  151. }
  152. .ticket-ball.ball-waiting {
  153. background: #F3F4F6;
  154. color: #9CA3AF;
  155. border: 1px dashed #D1D5DB;
  156. }
  157. .ticket-info-grid {
  158. display: flex;
  159. flex-direction: column;
  160. gap: 8px;
  161. }
  162. .info-row {
  163. display: flex;
  164. justify-content: space-between;
  165. align-items: center;
  166. }
  167. .info-label { font-size: 12px; color: #9CA3AF; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
  168. .info-value { font-size: 14px; color: #1F2937; font-weight: 900; }
  169. .win-amount { color: #0062FF; font-size: 18px; }
  170. .history-items-list {
  171. flex: 1;
  172. height: calc(100vh - 175px) !important;
  173. overflow-y: auto !important;
  174. overflow-x: hidden !important;
  175. padding-bottom: 100px;
  176. scrollbar-width: thin !important;
  177. scrollbar-color: #fce303 transparent !important;
  178. }
  179. .history-items-list::-webkit-scrollbar {
  180. width: 6px !important;
  181. display: block !important;
  182. }
  183. .history-items-list::-webkit-scrollbar-track {
  184. background: transparent !important;
  185. }
  186. .history-items-list::-webkit-scrollbar-thumb {
  187. background-color: #fce303 !important;
  188. border-radius: 20px !important;
  189. }