update ui
This commit is contained in:
parent
26e64a31bb
commit
11e1bc0209
@ -300,7 +300,7 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.stage{
|
.stage{
|
||||||
width:960px;
|
width:960px;
|
||||||
height:540px;
|
height:540px;
|
||||||
border-radius:12px;
|
border-radius:12px;
|
||||||
@ -308,68 +308,71 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
position:relative;
|
position:relative;
|
||||||
box-shadow:0 18px 50px rgba(0,0,0,.6)
|
box-shadow:0 18px 50px rgba(0,0,0,.6)
|
||||||
}
|
}
|
||||||
.bg{
|
.bg{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
inset:0; background:#153f28
|
inset:0; background:#153f28
|
||||||
}
|
}
|
||||||
.overlay{
|
.overlay{
|
||||||
position:absolute; inset:0;
|
position:absolute; inset:0;
|
||||||
background:linear-gradient(180deg, rgba(11,31,20,.45), rgba(8,24,16,.65));
|
background:linear-gradient(180deg, rgba(11,31,20,.45), rgba(8,24,16,.65));
|
||||||
display:flex; flex-direction:column; padding:18px
|
display:flex; flex-direction:column; padding:18px
|
||||||
}
|
}
|
||||||
.header{
|
.header{
|
||||||
color:#dff6e9;
|
color:#dff6e9;
|
||||||
font-weight:700;
|
font-weight:700;
|
||||||
display:flex;
|
display:flex;
|
||||||
justify-content:space-between
|
justify-content:space-between
|
||||||
}
|
}
|
||||||
.table-area{
|
.table-area{
|
||||||
flex:1; display:flex;
|
flex:1; display:flex;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
justify-content:center;
|
justify-content:center;
|
||||||
position:relative
|
position:relative
|
||||||
}
|
}
|
||||||
.deck {
|
.deck {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
display: hidden;
|
display: hidden;
|
||||||
left: var(--deck-x);
|
right:80px;
|
||||||
top: var(--deck-y);
|
top: 200px;
|
||||||
width: 82px;
|
width: 80px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
background: #113625;
|
background: #113625;
|
||||||
box-shadow: 0 0 0 2px #0d291c inset, 0 10px 20px rgba(0,0,0,0.55);
|
box-shadow: 0 0 0 2px #0d291c inset, 0 10px 20px rgba(0,0,0,0.55);
|
||||||
display:flex; align-items:center; justify-content:center;
|
display:flex;
|
||||||
|
align-items:center;
|
||||||
|
justify-content:center;
|
||||||
color:#b9e4d0;
|
color:#b9e4d0;
|
||||||
font-weight:900;
|
font-weight:900;
|
||||||
font-size:14px;
|
font-size:14px;
|
||||||
letter-spacing:2px;
|
letter-spacing:2px;
|
||||||
z-index:500;
|
|
||||||
}
|
}
|
||||||
.player-zone{
|
.player-zone{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
left:37%;
|
left:50%;
|
||||||
bottom:18px;
|
bottom:-25px;
|
||||||
transform:translateX(-50%);
|
transform:translateX(-50%);
|
||||||
width:78%;
|
width:65%;
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
align-items:center
|
align-items:center
|
||||||
}
|
}
|
||||||
.cards-wrapper{
|
.cards-wrapper{
|
||||||
position:relative;
|
position:relative;
|
||||||
width:580px;
|
right: 250px;
|
||||||
|
width:600px;
|
||||||
height:170px;
|
height:170px;
|
||||||
display:flex;
|
display:flex;
|
||||||
justify-content:center;
|
justify-content:center;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
}
|
}
|
||||||
.dealer-zone{
|
.dealer-zone{
|
||||||
position:absolute;
|
position:relative;
|
||||||
left:50%;
|
margin:20 px;
|
||||||
top:18px;
|
width:65%;
|
||||||
transform:translateX(-50%);
|
max-width:800px ;
|
||||||
width:78%;
|
margin-bottom: 25%;
|
||||||
|
margin-right: flex;
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-direction:column;
|
flex-direction:column;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
@ -377,12 +380,12 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
color:#dff6e9;
|
color:#dff6e9;
|
||||||
font-weight:700
|
font-weight:700
|
||||||
}
|
}
|
||||||
.dealer-cards{
|
.dealer-cards{
|
||||||
position:relative;
|
position:relative;
|
||||||
width:580px;
|
width:580px;
|
||||||
height:170px
|
height:170px
|
||||||
}
|
}
|
||||||
.card-wrapper {
|
.card-wrapper {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: var(--card-w);
|
width: var(--card-w);
|
||||||
height: var(--card-h);
|
height: var(--card-h);
|
||||||
@ -391,7 +394,7 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
}
|
}
|
||||||
.card{
|
.card{
|
||||||
width:var(--card-w);
|
width:var(--card-w);
|
||||||
height:var(--card-h);
|
height:var(--card-h);
|
||||||
border-radius:10px;
|
border-radius:10px;
|
||||||
@ -408,22 +411,22 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
transform-origin:center center;
|
transform-origin:center center;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
.card.is-moving {
|
.card.is-moving {
|
||||||
filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
|
filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
|
||||||
}
|
}
|
||||||
.card.red{
|
.card.red{
|
||||||
color:#c42b2b
|
color:#c42b2b
|
||||||
}
|
}
|
||||||
.card .corner{
|
.card .corner{
|
||||||
font-size:18px
|
font-size:18px
|
||||||
}
|
}
|
||||||
.card .center{
|
.card .center{
|
||||||
font-size:40px;
|
font-size:40px;
|
||||||
display:flex;
|
display:flex;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
justify-content:center;
|
justify-content:center;
|
||||||
}
|
}
|
||||||
.back-card{
|
.back-card{
|
||||||
background:#122f21;
|
background:#122f21;
|
||||||
display:flex;
|
display:flex;
|
||||||
align-items:center;
|
align-items:center;
|
||||||
@ -434,12 +437,12 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
font-weight:900;
|
font-weight:900;
|
||||||
border-radius:10px;
|
border-radius:10px;
|
||||||
}
|
}
|
||||||
.controls{
|
.controls{
|
||||||
display:flex;
|
display:flex;
|
||||||
gap:12px;
|
gap:12px;
|
||||||
margin-top:8px
|
margin-top:8px
|
||||||
}
|
}
|
||||||
button{
|
button{
|
||||||
background:#0f5436;
|
background:#0f5436;
|
||||||
color:#e6fff2;
|
color:#e6fff2;
|
||||||
border:0;
|
border:0;
|
||||||
@ -448,12 +451,12 @@ table#leaderboard thead tr th, table#leaderboard tbody tr td{
|
|||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
font-weight:700
|
font-weight:700
|
||||||
}
|
}
|
||||||
button:disabled{
|
button:disabled{
|
||||||
background:#2d2d2d;
|
background:#2d2d2d;
|
||||||
opacity:.5;
|
opacity:.5;
|
||||||
cursor:not-allowed
|
cursor:not-allowed
|
||||||
}
|
}
|
||||||
.end-screen {
|
.end-screen {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background: rgba(0,0,0,0.7);
|
background: rgba(0,0,0,0.7);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user