| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205 |
- /* History specific styles */
- .history-game-tabs {
- display: flex;
- padding: 0 16px;
- gap: 8px;
- margin-top: 20px;
- overflow-x: auto;
- padding-bottom: 8px;
- }
- .history-game-tabs::-webkit-scrollbar { display: none; }
- .game-tab {
- flex: none;
- padding: 10px 18px;
- background: white;
- border-radius: 14px;
- font-size: 13px;
- font-weight: 800;
- color: #4B5563;
- box-shadow: 0 2px 4px rgba(0,0,0,0.05);
- border: 1.5px solid transparent;
- transition: all 0.2s;
- cursor: pointer;
- white-space: nowrap;
- }
- .game-tab.active {
- color: #0062FF;
- border-color: #0062FF;
- background: #FFF5F5;
- }
- .status-filters {
- display: flex;
- padding: 0 16px;
- gap: 4px;
- margin-top: 12px;
- background: white;
- margin-left: 16px;
- margin-right: 16px;
- border-radius: 12px;
- box-shadow: 0 2px 4px rgba(0,0,0,0.03);
- }
- .status-filter {
- flex: 1;
- padding: 12px 4px;
- text-align: center;
- font-size: 12px;
- font-weight: 700;
- color: #9CA3AF;
- position: relative;
- cursor: pointer;
- transition: all 0.2s;
- }
- .status-filter.active {
- color: #0062FF;
- }
- .status-filter.active::after {
- content: '';
- position: absolute;
- bottom: 6px;
- left: 20%;
- right: 20%;
- height: 3px;
- background: #0062FF;
- border-radius: 2px;
- }
- /* Ticket Card */
- .ticket-card {
- background: white;
- border-radius: 12px;
- margin: 16px 0;
- padding: 0;
- box-shadow: 0 8px 25px rgba(0,0,0,0.06);
- position: relative;
- border: 1px solid #F1F1F1;
- overflow: hidden;
- }
- .ticket-card-top {
- padding: 12px 16px 16px 16px;
- background: white;
- position: relative;
- }
- .ticket-perforation {
- height: 4px;
- background-image: radial-gradient(circle, #F3F4F6 6px, transparent 6px);
- background-size: 24px 24px;
- background-position: center;
- background-repeat: repeat-x;
- position: relative;
- margin: 0 -10px;
- }
- .ticket-card-bottom {
- padding: 12px 16px;
- background: #FDFDFD;
- border-top: 1px dashed #E5E7EB;
- }
- .ticket-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 12px;
- }
- .ticket-id {
- font-size: 13px;
- color: #9CA3AF;
- font-weight: 700;
- font-family: 'Bricolage Grotesque', sans-serif;
- }
- .ticket-status {
- padding: 6px 14px;
- border-radius: 30px;
- font-size: 11px;
- font-weight: 900;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- }
- .status-waiting { background: #FFF9C4; color: #B45309; }
- .status-win { background: #DCFCE7; color: #15803D; }
- .status-notwin { background: #FEE2E2; color: #B91C1C; }
- .ticket-numbers {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- padding: 0;
- background: transparent;
- }
- .ticket-ball {
- width: 32px;
- height: 32px;
- background: #F3F4F6;
- border: 1px solid #E5E7EB;
- border-radius: 50%;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 13px;
- font-weight: 800;
- color: #4B5563;
- transition: all 0.2s;
- flex-shrink: 0;
- }
- .ticket-ball.ball-win {
- background: #10B981;
- color: white;
- border-color: #059669;
- box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
- }
- .ticket-ball.ball-lose {
- background: #EF4444;
- color: white;
- border-color: #DC2626;
- box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
- }
- .ticket-ball.ball-waiting {
- background: #F3F4F6;
- color: #9CA3AF;
- border: 1px dashed #D1D5DB;
- }
- .ticket-info-grid {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .info-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .info-label { font-size: 12px; color: #9CA3AF; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
- .info-value { font-size: 14px; color: #1F2937; font-weight: 900; }
- .win-amount { color: #0062FF; font-size: 18px; }
- .history-items-list {
- flex: 1;
- height: calc(100vh - 175px) !important;
- overflow-y: auto !important;
- overflow-x: hidden !important;
- padding-bottom: 100px;
-
- scrollbar-width: thin !important;
- scrollbar-color: #fce303 transparent !important;
- }
- .history-items-list::-webkit-scrollbar {
- width: 6px !important;
- display: block !important;
- }
- .history-items-list::-webkit-scrollbar-track {
- background: transparent !important;
- }
- .history-items-list::-webkit-scrollbar-thumb {
- background-color: #fce303 !important;
- border-radius: 20px !important;
- }
|