menu styles
This commit is contained in:
parent
c4fd68a47f
commit
44ef34c6eb
@ -1,18 +1,19 @@
|
|||||||
@import 'colours.less';
|
@import 'colours.less';
|
||||||
|
|
||||||
.account {
|
.account {
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 1fr 1fr 1fr;
|
grid-template-columns: 1fr 1fr 1fr 1fr;
|
||||||
grid-gap: 0 1em;
|
|
||||||
|
div {
|
||||||
|
padding-right: 2em;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
width: 100%;
|
||||||
display: block;
|
display: block;
|
||||||
// height: 3em;
|
|
||||||
width: 75%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 75%;
|
width: 100%;
|
||||||
height: 3em;
|
height: 3em;
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@ -31,19 +32,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
letter-spacing: 0.25em;
|
grid-template-columns: 1fr;
|
||||||
text-transform: uppercase;
|
|
||||||
|
|
||||||
figure {
|
|
||||||
width: 75%;
|
|
||||||
display: flex;
|
|
||||||
flex-flow: column;
|
|
||||||
margin-bottom: 1em;
|
|
||||||
|
|
||||||
button {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -61,35 +61,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.inventory {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 1fr 1fr;
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.news {
|
|
||||||
padding-right: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.list {
|
|
||||||
letter-spacing: 0.25em;
|
|
||||||
text-transform: uppercase;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: repeat(4, 1fr);
|
|
||||||
grid-gap: 1em;
|
|
||||||
flex-flow: row wrap;
|
|
||||||
align-items: flex-end;
|
|
||||||
}
|
|
||||||
|
|
||||||
figure {
|
|
||||||
font-size: 125%;
|
|
||||||
display: flex;
|
|
||||||
flex-flow: column;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.options {
|
.options {
|
||||||
grid-area: hdr;
|
grid-area: hdr;
|
||||||
|
|
||||||
@ -107,3 +78,34 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
section {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: 1fr 1fr;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-bottom: 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.news {
|
||||||
|
padding-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list {
|
||||||
|
letter-spacing: 0.25em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(4, 1fr);
|
||||||
|
grid-gap: 1em;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
align-items: flex-end;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
letter-spacing: 0.25em;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 125%;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: column;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -206,14 +206,12 @@ class AccountStatus extends Component {
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div class="list">
|
<figure>
|
||||||
<figure>
|
<figcaption>spawn new construct</figcaption>
|
||||||
<figcaption>spawn new construct</figcaption>
|
<button onClick={() => sendConstructSpawn()} type="submit">
|
||||||
<button onClick={() => sendConstructSpawn()} type="submit">
|
¤50
|
||||||
¤50
|
</button>
|
||||||
</button>
|
</figure>
|
||||||
</figure>
|
|
||||||
</div>
|
|
||||||
<button onClick={() => logout()}>Logout</button>
|
<button onClick={() => logout()}>Logout</button>
|
||||||
<button><a href={`mailto:humans@mnml.gg?subject=Account%20Support:%20${account.name}`}>✉ support</a></button>
|
<button><a href={`mailto:humans@mnml.gg?subject=Account%20Support:%20${account.name}`}>✉ support</a></button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -89,7 +89,7 @@ function Play(args) {
|
|||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="inventory top">
|
<section class="top">
|
||||||
<div class="news">
|
<div class="news">
|
||||||
<h1>mnml v{VERSION}</h1>
|
<h1>mnml v{VERSION}</h1>
|
||||||
<p>use the buttons on the right to join an instance.</p>
|
<p>use the buttons on the right to join an instance.</p>
|
||||||
@ -122,7 +122,7 @@ function Play(args) {
|
|||||||
{shop.available.map(availableMtx)}
|
{shop.available.map(availableMtx)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -25,7 +25,7 @@ function Shop(args) {
|
|||||||
} = args;
|
} = args;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div class="inventory top">
|
<section class="top">
|
||||||
<div class="news">
|
<div class="news">
|
||||||
<h1>support the game</h1>
|
<h1>support the game</h1>
|
||||||
<p>
|
<p>
|
||||||
@ -51,7 +51,7 @@ function Shop(args) {
|
|||||||
<StripeBtns account={account} />
|
<StripeBtns account={account} />
|
||||||
</Elements>
|
</Elements>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user