mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
refactor code
This commit is contained in:
@@ -179,111 +179,112 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.user-list {
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
flex-wrap: wrap;
|
||||
width: 90%;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.user-crash {
|
||||
margin-top: 20px;
|
||||
margin-left: 5%;
|
||||
display: flex;
|
||||
width: 300px;
|
||||
background: #000000;
|
||||
width: 800px;
|
||||
margin: 10px auto 0 auto;
|
||||
display: grid;
|
||||
align-items: center;
|
||||
grid-template-columns: repeat(8, 1fr);
|
||||
grid-template-rows: repeat(2, 1fr);
|
||||
grid-auto-columns: 1fr;
|
||||
grid-auto-rows: 1fr;
|
||||
gap: 0 50px;
|
||||
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";
|
||||
}
|
||||
|
||||
.user-crash__icon {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.user-crash__content {
|
||||
.user-crash-name {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
grid-area: user-card;
|
||||
}
|
||||
|
||||
.user-crash__content .user-name-crash {
|
||||
color: #61647F;
|
||||
.user-crash-name h2 {
|
||||
color: #ffffff;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.user-crah__status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.status-balance {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.status-balance .user-bid-crash {
|
||||
margin: 0 5px 0 30px;
|
||||
font-family: 'Montserrat';
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: #848484;
|
||||
}
|
||||
|
||||
.status-balance img {
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
.status-game-user {
|
||||
font-size: 20px;
|
||||
margin-left: 5%;
|
||||
}
|
||||
|
||||
.status-game-user__style {
|
||||
margin-right: 15px;
|
||||
color: #61647F;
|
||||
.user-crash-bid {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.user-crash-game__status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.user-crash-bid h2 {
|
||||
color: #ffffff;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
padding: 2px 4px;
|
||||
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;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.lose-game-crash {
|
||||
color: #fff !important;
|
||||
background: #EF4847 !important;
|
||||
.lostgame-crash {
|
||||
color: #fff;
|
||||
background: #EF4444;
|
||||
box-shadow: 0px 4px 4px 0px #00000040;
|
||||
}
|
||||
|
||||
.win-status-crash {
|
||||
.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;
|
||||
}
|
||||
|
||||
.win-status-crash .win-text-crash {
|
||||
.user-crash-game__winmoney h2 {
|
||||
color: #28BD49;
|
||||
font-weight: 700;
|
||||
font-size: 15px;
|
||||
font-family: 'Montserrat';
|
||||
text-align: center;
|
||||
background: #1D1F24;
|
||||
border: 1px solid #28BD49;
|
||||
border-radius: 5px;
|
||||
box-shadow: 0px 4px 4px 0px #00000040;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
.user-win-money {
|
||||
margin: 0 5px 0 15px;
|
||||
color: #28BD49;
|
||||
font-size: 16px;
|
||||
font-family: 'Montserrat';
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.win-status-crash img {
|
||||
.user-crash-game__winmoney img {
|
||||
margin-top: 7px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user