mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
refactor peace-code for section-players
This commit is contained in:
@@ -173,135 +173,79 @@
|
||||
|
||||
/* Crash-Players */
|
||||
|
||||
.crash-game__players {
|
||||
z-index: 2;
|
||||
background: #22252F;
|
||||
height: 91%;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.crash-game-players__content {
|
||||
background: #1D1F24;
|
||||
border-radius: 15px;
|
||||
width: 98%;
|
||||
height: 270px;
|
||||
margin: 20px auto 0 auto;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.user-crash {
|
||||
background: #1d1f24;
|
||||
width: 800px;
|
||||
margin: 10px auto 0 auto;
|
||||
display: flex;
|
||||
justify-content: end;
|
||||
margin-left: 400px;
|
||||
}
|
||||
|
||||
.user-list {
|
||||
overflow-y: auto;
|
||||
height: 300px;
|
||||
}
|
||||
|
||||
.user-crash-content {
|
||||
background: linear-gradient(90deg, rgba(34, 37, 47, 0.8) -0.54%, rgba(34, 37, 47, 0.8) 83.03%, rgba(73, 59, 74, 0.64) 103.54%);
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: repeat(8, 1fr);
|
||||
grid-template-rows: repeat(2, 30px);
|
||||
grid-auto-columns: 1fr;
|
||||
grid-auto-rows: 50px;
|
||||
gap: 0 50px;
|
||||
justify-content: space-between;
|
||||
grid-template-columns: repeat(5, 50px) 100px;
|
||||
gap: 0px 0px;
|
||||
grid-auto-flow: row;
|
||||
grid-template-areas:
|
||||
"user-card user-card user-bid user-bid user-bid user-bid user-bid winmoney"
|
||||
"user-card user-card user-bid user-bid user-bid user-bid user-bid winmoney";
|
||||
"username username bid bid ... status";
|
||||
margin: 10px auto;
|
||||
width: 90%;
|
||||
height: 70px;
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.user-crash-name {
|
||||
.user-crash-content__lose {
|
||||
background: linear-gradient(90deg, #22252F -0.54%, #322733 83.25%, #B53938 103.54%) !important;
|
||||
}
|
||||
|
||||
.user-crash-content__win {
|
||||
background: linear-gradient(90deg, #22252F -0.54%, #22252F 84.17%, rgba(42, 110, 57, 0.87) 103.54%);
|
||||
}
|
||||
|
||||
.user-name-crash {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
grid-area: user-card;
|
||||
margin: 10px;
|
||||
grid: username;
|
||||
}
|
||||
|
||||
.user-crash-name h2 {
|
||||
color: #ffffff;
|
||||
.user-name-crash h2 {
|
||||
margin-left: 8px;
|
||||
color: #61647F;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
.user-crash-bid {
|
||||
.user-name-crash img {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
.user-bid-crash {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
align-items: center;
|
||||
grid-area: bid;
|
||||
}
|
||||
|
||||
.user-bid-crash img {
|
||||
margin: 5px 0 0 5px;
|
||||
}
|
||||
|
||||
.user-game-status-crash {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
grid-area: status;
|
||||
}
|
||||
|
||||
.user-crash-game__status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.user-crash-bid h2 {
|
||||
color: #ffffff;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.user-crash-game__status h2 {
|
||||
border-radius: 5px;
|
||||
font-size: 13px;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 700;
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
||||
.ingame-crash {
|
||||
color: #61647F;
|
||||
background: #22252F;
|
||||
box-shadow: 0px 4px 4px 0px #00000040;
|
||||
}
|
||||
|
||||
.lostgame-crash {
|
||||
color: #fff;
|
||||
background: #EF4444;
|
||||
box-shadow: 0px 4px 4px 0px #00000040;
|
||||
}
|
||||
|
||||
.wingame-crash {
|
||||
color: #28BD49;
|
||||
border: 1px solid #28BD49;
|
||||
}
|
||||
|
||||
.wingame-money-crash {
|
||||
color: #28BD49;
|
||||
}
|
||||
|
||||
.wingame-crash-count {
|
||||
display: flex;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.user-crash-bid img {
|
||||
margin: 7px 0 0 0;
|
||||
}
|
||||
|
||||
.user-crash-status {
|
||||
grid-area: user-bid;
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
}
|
||||
|
||||
.user-crash-game__winmoney {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
grid-area: winmoney;
|
||||
}
|
||||
|
||||
.user-crash-game__winmoney h2 {
|
||||
color: #28BD49;
|
||||
font-family: 'Montserrat';
|
||||
font-size: 16px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.lose-game h2 {
|
||||
color: #EF4444 !important;
|
||||
}
|
||||
|
||||
.user-crash-game__winmoney img {
|
||||
margin-top: 7px;
|
||||
.user-game-status-crash h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.ratio {
|
||||
|
||||
Reference in New Issue
Block a user