Refactor and remove sqlite and replace with MySQL

This commit is contained in:
2025-10-23 18:43:31 +01:00
parent d53e27eea8
commit 21ebc9c34b
139 changed files with 1013 additions and 529 deletions

124
web/static/css/site.css Normal file
View File

@@ -0,0 +1,124 @@
@import "topbar.css";
body { font-family: Arial, sans-serif; margin: 0px; }
table { border-collapse: collapse; width: 100%; margin-top: 20px; }
th, td { padding: 8px 12px; border: 1px solid #ddd; text-align: center; }
th { background-color: #f5f5f5; }
.form-section { margin-bottom: 20px; }
.topbar {
display: flex;
justify-content: flex-end;
padding: 0.5rem, 0.5rem, 0.5rem, 0.5rem;
font-size: 14px;
}
.topbar .auth p {
margin: 0;
}
.flash { padding: 10px; color: green; background: #e9ffe9; border: 1px solid #c3e6c3; margin-bottom: 15px; }
/* Ball Stuff */
.ball {
display: inline-flex;
justify-content: center;
align-items: center;
background-color: #eee;
border-radius: 50%;
min-width: 32px;
height: 32px;
padding: 6px;
margin-right: 6px;
font-weight: bold;
text-align: center;
will-change: transform;
}
.ball-container {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.bonus {
border: 2px solid #facc15;
}
.matched-bonus {
background-color: #facc15;
color: black;
font-weight: bold;
animation: pulse 2s infinite;
}
.ball.matched {
animation: pulse 2s ease-in-out infinite;
}
.ball.game-lotto.lotto-range-01-09 {
background-color: white;
border: .1px solid #000000;
color: black;
}
.ball.game-lotto.lotto-range-10-19 {
background-color: #add8e6;
color: black;
}
.ball.game-lotto.lotto-range-20-29 {
background-color: #ffc0cb;
color: black;
}
.ball.game-lotto.lotto-range-30-39 {
background-color: #90ee90;
color: black;
}
.ball.game-lotto.lotto-range-40-49 {
background-color: #ffff99;
color: black;
}
.ball.game-lotto.lotto-range-50-plus {
background-color: #B40AE3;
color: black;
}
.ball[class*="game-thunderball"]:not(.bonus) {
background-color: #6B65FC;
border: 2px solid white;
}
.ball[class*="game-thunderball"] {
background-color: #d8b4fe ;
border: 2px solid white;
}
.ball[class*="game-euromillions"]:not(.bonus) {
background-color: #BF1314;
border: 2px solid white;
}
.ball[class*="game-euromillions"] {
background-color: #FFDE59 ;
border: 2px solid white;
}
/* .ball[class*="game-setforlife"]:not(.bonus) {
background-color: #6B65FC;
border: 2px solid white;
} */
.ball[class*="game-setforlife"] {
background-color: #98F5F9 ;
border: 2px solid white;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.15); }
100% { transform: scale(1); }
}
.pulse {
animation: pulse 0.8s ease-in-out infinite;
transform-origin: center;
}