wip
This commit is contained in:
parent
5e48a58c02
commit
92703882ce
@ -70,8 +70,10 @@
|
|||||||
transition-timing-function: ease;
|
transition-timing-function: ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-cryp .img {
|
.game-cryp .avatar {
|
||||||
grid-area: avatar;
|
grid-area: avatar;
|
||||||
|
/*max-height: 50%;*/
|
||||||
|
height: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-cryp .stats {
|
.game-cryp .stats {
|
||||||
|
|||||||
@ -54,7 +54,7 @@ function GamePanel(props) {
|
|||||||
const header = (
|
const header = (
|
||||||
<div className="top">
|
<div className="top">
|
||||||
<button
|
<button
|
||||||
className="game-btn instance-btn instance-ui-btn right"
|
className="instance-btn instance-ui-btn right"
|
||||||
onClick={() => sendGameReady()}>
|
onClick={() => sendGameReady()}>
|
||||||
Ready
|
Ready
|
||||||
</button>
|
</button>
|
||||||
@ -137,6 +137,10 @@ function GamePanel(props) {
|
|||||||
<div className="effects">
|
<div className="effects">
|
||||||
{effects}
|
{effects}
|
||||||
</div>
|
</div>
|
||||||
|
<div className="avatar">
|
||||||
|
<div className="targeting">
|
||||||
|
<div>></div>
|
||||||
|
</div>
|
||||||
<figure
|
<figure
|
||||||
className="img"
|
className="img"
|
||||||
onClick={() => selectSkillTarget(cryp.id)} >
|
onClick={() => selectSkillTarget(cryp.id)} >
|
||||||
@ -144,6 +148,7 @@ function GamePanel(props) {
|
|||||||
{combatTextEl}
|
{combatTextEl}
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -78,12 +78,17 @@ function GameCryp(props) {
|
|||||||
<div className="skills">
|
<div className="skills">
|
||||||
{skills}
|
{skills}
|
||||||
</div>
|
</div>
|
||||||
|
<div className="avatar">
|
||||||
|
<div className="targeting">
|
||||||
|
<div>></div>
|
||||||
|
</div>
|
||||||
<figure
|
<figure
|
||||||
className="img"
|
className="img"
|
||||||
onClick={() => selectSkillTarget(cryp.id)} >
|
onClick={() => selectSkillTarget(cryp.id)} >
|
||||||
{crypAvatar(cryp.name)}
|
{crypAvatar(cryp.name)}
|
||||||
{combatTextEl}
|
{combatTextEl}
|
||||||
</figure>
|
</figure>
|
||||||
|
</div>
|
||||||
<div className="effects">
|
<div className="effects">
|
||||||
{effects}
|
{effects}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -147,7 +147,6 @@ function Menu(args) {
|
|||||||
return (
|
return (
|
||||||
<section className="menu">
|
<section className="menu">
|
||||||
{instanceList()}
|
{instanceList()}
|
||||||
{crypList()}
|
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -312,7 +312,7 @@ function createSocket(events) {
|
|||||||
sendAccountCryps();
|
sendAccountCryps();
|
||||||
}
|
}
|
||||||
|
|
||||||
// sendPing();
|
sendPing();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -17,9 +17,9 @@ html, body, main {
|
|||||||
-ms-user-select: none;
|
-ms-user-select: none;
|
||||||
|
|
||||||
/* this is the sweet nectar to keep it full page*/
|
/* this is the sweet nectar to keep it full page*/
|
||||||
height: 100%;
|
height: 100vh;
|
||||||
max-height: 100%;
|
max-height: 100vh;
|
||||||
min-height: 100%;
|
min-height: 100vh;
|
||||||
/*padding: 0 20%;*/
|
/*padding: 0 20%;*/
|
||||||
|
|
||||||
/* stops inspector going skitz*/
|
/* stops inspector going skitz*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user