103 lines
2.0 KiB
CSS
103 lines
2.0 KiB
CSS
.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;
|
|
} |