|
@@ -0,0 +1,246 @@
|
|
|
|
|
+/* ===== Jackpot pages (Results + Detail) ===== */
|
|
|
|
|
+
|
|
|
|
|
+/* Hide scrollbar on the scroll wrapper */
|
|
|
|
|
+.hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
|
|
|
|
|
+.hide-scrollbar::-webkit-scrollbar { display: none; width: 0; height: 0; }
|
|
|
|
|
+
|
|
|
|
|
+/* ===== Date range picker ===== */
|
|
|
|
|
+.date-range-toggle {
|
|
|
|
|
+ display: flex; align-items: center; gap: 12px;
|
|
|
|
|
+ width: 100%; height: 32px; padding: 0 12px;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ border: 1px solid #b9b9b9;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ transition: border-color .15s ease, box-shadow .15s ease;
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-toggle:hover { border-color: #0062ff; }
|
|
|
|
|
+.date-range-toggle.open {
|
|
|
|
|
+ border-color: #0062ff;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.date-range-panel {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: calc(100% + 6px); left: 0;
|
|
|
|
|
+ min-width: 280px;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ border-radius: 14px;
|
|
|
|
|
+ padding: 14px;
|
|
|
|
|
+ box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18),
|
|
|
|
|
+ 0 0 0 1px rgba(0, 98, 255, 0.08);
|
|
|
|
|
+ z-index: 50;
|
|
|
|
|
+ display: none;
|
|
|
|
|
+ /* Tint native date picker (Chrome/Edge/Safari) */
|
|
|
|
|
+ accent-color: #0062ff;
|
|
|
|
|
+ color-scheme: light;
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-panel.open {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ animation: ddrFade .15s ease-out;
|
|
|
|
|
+}
|
|
|
|
|
+@keyframes ddrFade {
|
|
|
|
|
+ from { opacity: 0; transform: translateY(-4px); }
|
|
|
|
|
+ to { opacity: 1; transform: translateY(0); }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.date-range-panel label {
|
|
|
|
|
+ display: block;
|
|
|
|
|
+ font-size: 11px; font-weight: 700;
|
|
|
|
|
+ color: #0062ff;
|
|
|
|
|
+ margin-bottom: 4px;
|
|
|
|
|
+ letter-spacing: .02em;
|
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-panel .row + .row { margin-top: 10px; }
|
|
|
|
|
+
|
|
|
|
|
+.date-input {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ font-size: 13px; font-weight: 600;
|
|
|
|
|
+ color: #1a1a1a;
|
|
|
|
|
+ background: #f5f7fb;
|
|
|
|
|
+ border: 1px solid #e1e5ee;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ padding: 8px 10px;
|
|
|
|
|
+ outline: none;
|
|
|
|
|
+ transition: border-color .15s ease,
|
|
|
|
|
+ box-shadow .15s ease,
|
|
|
|
|
+ background-color .15s ease;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+ accent-color: #0062ff;
|
|
|
|
|
+ color-scheme: light;
|
|
|
|
|
+}
|
|
|
|
|
+.date-input:hover { background: #fff; }
|
|
|
|
|
+.date-input:focus {
|
|
|
|
|
+ border-color: #0062ff;
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ box-shadow: 0 0 0 3px rgba(0, 98, 255, 0.15);
|
|
|
|
|
+}
|
|
|
|
|
+.date-input::-webkit-calendar-picker-indicator {
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ /* Tint the calendar icon to project blue */
|
|
|
|
|
+ filter: invert(28%) sepia(99%) saturate(2670%)
|
|
|
|
|
+ hue-rotate(213deg) brightness(99%) contrast(105%);
|
|
|
|
|
+ opacity: .85;
|
|
|
|
|
+}
|
|
|
|
|
+.date-input::-webkit-calendar-picker-indicator:hover { opacity: 1; }
|
|
|
|
|
+
|
|
|
|
|
+.date-range-actions {
|
|
|
|
|
+ display: flex; gap: 8px; margin-top: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-actions button {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ font-size: 12px; font-weight: 700;
|
|
|
|
|
+ padding: 8px 10px;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+ border: none; cursor: pointer;
|
|
|
|
|
+ transition: transform .05s ease, opacity .15s ease, background-color .15s ease;
|
|
|
|
|
+ font-family: inherit;
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-actions .btn-apply {
|
|
|
|
|
+ background: linear-gradient(180deg, #1a75ff 0%, #0062ff 100%);
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ box-shadow: 0 4px 10px rgba(0, 98, 255, 0.25);
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-actions .btn-apply:hover { opacity: .94; }
|
|
|
|
|
+.date-range-actions .btn-cancel {
|
|
|
|
|
+ background: #f0f2f7;
|
|
|
|
|
+ color: #1a1a1a;
|
|
|
|
|
+}
|
|
|
|
|
+.date-range-actions .btn-cancel:hover { background: #e6e9f0; }
|
|
|
|
|
+.date-range-actions button:active { transform: scale(.98); }
|
|
|
|
|
+
|
|
|
|
|
+/* ===== Flatpickr theme override (blue project tone) ===== */
|
|
|
|
|
+.flatpickr-calendar {
|
|
|
|
|
+ border-radius: 14px !important;
|
|
|
|
|
+ box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18),
|
|
|
|
|
+ 0 0 0 1px rgba(0, 98, 255, 0.10) !important;
|
|
|
|
|
+ font-family: inherit !important;
|
|
|
|
|
+ padding: 6px !important;
|
|
|
|
|
+ background: #fff !important;
|
|
|
|
|
+ border: none !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-calendar::before,
|
|
|
|
|
+.flatpickr-calendar::after { display: none !important; }
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-months {
|
|
|
|
|
+ padding: 6px 4px 4px;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-month {
|
|
|
|
|
+ color: #1a1a1a !important;
|
|
|
|
|
+ height: auto !important;
|
|
|
|
|
+ border-radius: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-current-month {
|
|
|
|
|
+ font-size: 14px !important;
|
|
|
|
|
+ font-weight: 700 !important;
|
|
|
|
|
+ padding: 4px 0 6px !important;
|
|
|
|
|
+ color: #1a1a1a !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-current-month .flatpickr-monthDropdown-months {
|
|
|
|
|
+ font-weight: 700 !important;
|
|
|
|
|
+ color: #1a1a1a !important;
|
|
|
|
|
+ background: transparent !important;
|
|
|
|
|
+ border-radius: 6px;
|
|
|
|
|
+ padding: 2px 4px !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
|
|
|
|
|
+ background: rgba(0, 98, 255, 0.08) !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-current-month input.cur-year {
|
|
|
|
|
+ font-weight: 700 !important;
|
|
|
|
|
+ color: #1a1a1a !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-prev-month,
|
|
|
|
|
+.flatpickr-next-month {
|
|
|
|
|
+ fill: #0062ff !important;
|
|
|
|
|
+ color: #0062ff !important;
|
|
|
|
|
+ padding: 8px !important;
|
|
|
|
|
+ border-radius: 8px;
|
|
|
|
|
+ transition: background-color .15s ease;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-prev-month:hover,
|
|
|
|
|
+.flatpickr-next-month:hover {
|
|
|
|
|
+ background: rgba(0, 98, 255, 0.10) !important;
|
|
|
|
|
+ fill: #0062ff !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-prev-month svg,
|
|
|
|
|
+.flatpickr-next-month svg {
|
|
|
|
|
+ fill: #0062ff !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-weekdays { background: transparent !important; }
|
|
|
|
|
+.flatpickr-weekday {
|
|
|
|
|
+ color: #8e8e93 !important;
|
|
|
|
|
+ font-weight: 700 !important;
|
|
|
|
|
+ font-size: 11px !important;
|
|
|
|
|
+ letter-spacing: .04em;
|
|
|
|
|
+ text-transform: uppercase;
|
|
|
|
|
+ background: transparent !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-days { padding: 4px 0; }
|
|
|
|
|
+.dayContainer { padding: 0 2px; }
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-day {
|
|
|
|
|
+ border-radius: 50% !important;
|
|
|
|
|
+ color: #1a1a1a !important;
|
|
|
|
|
+ font-weight: 500 !important;
|
|
|
|
|
+ font-size: 13px !important;
|
|
|
|
|
+ height: 36px !important;
|
|
|
|
|
+ line-height: 36px !important;
|
|
|
|
|
+ max-width: 36px !important;
|
|
|
|
|
+ transition: background-color .12s ease, color .12s ease, transform .05s ease;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-day:hover {
|
|
|
|
|
+ background: rgba(0, 98, 255, 0.10) !important;
|
|
|
|
|
+ border-color: transparent !important;
|
|
|
|
|
+ color: #0062ff !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-day.today {
|
|
|
|
|
+ border: 1.5px solid #0062ff !important;
|
|
|
|
|
+ color: #0062ff !important;
|
|
|
|
|
+ font-weight: 700 !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-day.today:hover { background: rgba(0, 98, 255, 0.10) !important; }
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-day.selected,
|
|
|
|
|
+.flatpickr-day.startRange,
|
|
|
|
|
+.flatpickr-day.endRange,
|
|
|
|
|
+.flatpickr-day.selected.inRange,
|
|
|
|
|
+.flatpickr-day.startRange.inRange,
|
|
|
|
|
+.flatpickr-day.endRange.inRange {
|
|
|
|
|
+ background: linear-gradient(180deg, #1a75ff 0%, #0062ff 100%) !important;
|
|
|
|
|
+ border-color: transparent !important;
|
|
|
|
|
+ color: #fff !important;
|
|
|
|
|
+ font-weight: 700 !important;
|
|
|
|
|
+ box-shadow: 0 4px 10px rgba(0, 98, 255, 0.30);
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-day.selected:hover { color: #fff !important; }
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-day.inRange {
|
|
|
|
|
+ background: rgba(0, 98, 255, 0.10) !important;
|
|
|
|
|
+ border-color: transparent !important;
|
|
|
|
|
+ color: #0062ff !important;
|
|
|
|
|
+ box-shadow: none !important;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-day.flatpickr-disabled,
|
|
|
|
|
+.flatpickr-day.prevMonthDay,
|
|
|
|
|
+.flatpickr-day.nextMonthDay {
|
|
|
|
|
+ color: #c5c8d0 !important;
|
|
|
|
|
+}
|
|
|
|
|
+.flatpickr-day.flatpickr-disabled:hover { background: transparent !important; }
|
|
|
|
|
+
|
|
|
|
|
+.flatpickr-day:active { transform: scale(.95); }
|
|
|
|
|
+
|
|
|
|
|
+/* Center the calendar inside the dropdown panel */
|
|
|
|
|
+.date-range-panel .flatpickr-calendar {
|
|
|
|
|
+ position: relative !important;
|
|
|
|
|
+ top: auto !important;
|
|
|
|
|
+ left: auto !important;
|
|
|
|
|
+ margin: 8px auto 0;
|
|
|
|
|
+ width: 100% !important;
|
|
|
|
|
+}
|