315 lines
5.4 KiB
CSS
315 lines
5.4 KiB
CSS
/*
|
|
INSTANCE
|
|
*/
|
|
|
|
.instance {
|
|
display: grid;
|
|
grid-template-columns: repeat(12, 1fr);
|
|
grid-template-rows: repeat(11, 1fr);
|
|
grid-template-areas:
|
|
". v v v v v v v x x x x"
|
|
"n v v v v v v v x x x x"
|
|
"n v v v v v v v x x x x"
|
|
"n v v v v v v v x x x x"
|
|
"g g g g g g g g x x x x"
|
|
"g g g g g g g g x x x x"
|
|
"f f f f f f f f x x x x"
|
|
"f f f f f f f f x x x x"
|
|
"f f f f f f f f x x x x"
|
|
"f f f f f f f f x x x x"
|
|
"f f f f f f f f x x x x";
|
|
}
|
|
|
|
.instance-hdr {
|
|
grid-area: n;
|
|
display: flex;
|
|
flex-flow: column;
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
.instance-info {
|
|
grid-area: x;
|
|
flex: 0 0 50%;
|
|
}
|
|
|
|
|
|
.instance-cryp-list {
|
|
grid-area: f;
|
|
flex: 1 1 auto;
|
|
display: flex;
|
|
flex-flow: row;
|
|
padding: 0 2em 0 2em;
|
|
align-content: flex-start;
|
|
|
|
min-width: 300px;
|
|
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
.instance .spacer {
|
|
flex-grow: 1
|
|
}
|
|
|
|
.vbox {
|
|
grid-area: v;
|
|
display: grid;
|
|
grid-template-columns: repeat(11, 1fr);
|
|
grid-template-rows: repeat(2, 1fr);
|
|
grid-template-areas:
|
|
"vb vb vb vb vb . i i i i i"
|
|
"vb vb vb vb vb . i i i i i";
|
|
}
|
|
|
|
.vbox-box {
|
|
grid-area: vb;
|
|
justify-self: end;
|
|
max-width: 450px;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
.vbox-inventory {
|
|
grid-area: i;
|
|
justify-self: start;
|
|
max-width: 450px;
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
}
|
|
|
|
.ready-btn {
|
|
flex: 1 0 50%;
|
|
}
|
|
|
|
.ready-btn:hover {
|
|
transition-property: all;
|
|
transition-duration: 0.5s;
|
|
transition-timing-function: ease;
|
|
color: forestgreen;
|
|
border-color: forestgreen;
|
|
/*box-shadow: inset -0.5em 0 0 0 forestgreen;*/
|
|
}
|
|
|
|
.ready {
|
|
color: forestgreen;
|
|
border-color: forestgreen;
|
|
box-shadow: inset -0.5em 0 0 0 forestgreen;
|
|
}
|
|
|
|
.timer-container {
|
|
display: flex;
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
height: 0.25em;
|
|
|
|
border: none;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.timer {
|
|
background: whitesmoke;
|
|
transition-property: all;
|
|
transition-duration: 0.5s;
|
|
transition-delay: 0;
|
|
transition-timing-function: ease;
|
|
|
|
}
|
|
|
|
.instance-ui-btn {
|
|
font-size: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.vbox-btn:active, .vbox-btn:hover, .vbox-btn:focus {
|
|
color: black;
|
|
}
|
|
|
|
.vbox-btn.reclaiming, .vbox-btn.reclaiming:hover {
|
|
color: #a52a2a;
|
|
box-shadow: inset 0.5em 0 0 0 #a52a2a;
|
|
}
|
|
|
|
.vbox-hdr {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
|
|
flex: 1 0 100%;
|
|
}
|
|
|
|
.vbox-hdr div:first-child {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.vbox-hdr .bits {
|
|
font-size: 2em;
|
|
line-height: 1em;
|
|
}
|
|
|
|
.vbox-btn {
|
|
flex: 1 0 100%;
|
|
margin: 0;
|
|
background-color: whitesmoke;
|
|
color: black;
|
|
border-width: 0;
|
|
}
|
|
|
|
.vbox-btn:hover {
|
|
color: black;
|
|
}
|
|
|
|
|
|
.vbox-table td {
|
|
transition-property: all;
|
|
transition-duration: 0.5s;
|
|
transition-delay: 0;
|
|
transition-timing-function: ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.vbox-table table td:active {
|
|
background-color: whitesmoke;
|
|
color: black;
|
|
}
|
|
|
|
.spacer {
|
|
flex: 1 0 25%;
|
|
}
|
|
|
|
/* CRYP BOX */
|
|
.instance-cryp {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
grid-template-rows: repeat(5, 1fr);
|
|
grid-template-areas:
|
|
"sp sp sp sp sp"
|
|
"av av av sk sk"
|
|
"av av av sk sk"
|
|
"av av av sk sk"
|
|
"st st st st st";
|
|
max-height: 450px;
|
|
max-width: 450px;
|
|
margin-left: 1em;
|
|
border: 1px solid whitesmoke;
|
|
transition-property: all;
|
|
transition-duration: 0.5s;
|
|
transition-delay: 0;
|
|
transition-timing-function: ease;
|
|
}
|
|
|
|
.instance-cryp .avatar {
|
|
grid-area: av;
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.instance-cryp .avatar figure {
|
|
margin: 0;
|
|
height: 80%;
|
|
text-align: center;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.instance-cryp .avatar figcaption {
|
|
font-size: 90%;
|
|
}
|
|
|
|
.instance-cryp .skills {
|
|
grid-area: sk;
|
|
display: flex;
|
|
flex-flow: column;
|
|
}
|
|
|
|
.instance-cryp .skills button {
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.instance-cryp .specs {
|
|
grid-area: sp;
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: center;
|
|
border-bottom: 1px solid whitesmoke;
|
|
}
|
|
|
|
.instance-cryp .specs figure {
|
|
flex: 1;
|
|
border: 0;
|
|
align-items: center;
|
|
padding: 0.5em 0 0 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.instance-cryp .specs figcaption {
|
|
font-size: 75%;
|
|
}
|
|
|
|
.instance-cryp .stats {
|
|
grid-area: st;
|
|
display: grid;
|
|
grid-template-rows: 1fr 3fr;
|
|
grid-template-columns: repeat(7, 1fr);
|
|
grid-template-areas:
|
|
"dl dl dl sl ll ll ll"
|
|
"di di di si li li li";
|
|
border-top: 1px solid whitesmoke;
|
|
}
|
|
|
|
.instance-cryp .stats figure {
|
|
flex: 1;
|
|
border: 0;
|
|
align-items: center;
|
|
padding: 0.5em 0 0 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.instance-cryp .stats figcaption {
|
|
font-size: 75%;
|
|
}
|
|
|
|
.instance-cryp .stats .damage-label {
|
|
grid-area: dl;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.instance-cryp .stats .damage-icons {
|
|
grid-area: di;
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
.instance-cryp .stats .speed-label {
|
|
grid-area: sl;
|
|
display: flex;
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
.instance-cryp .stats .speed-icons {
|
|
grid-area: si;
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
.instance-cryp .stats .life-label {
|
|
grid-area: ll;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.instance-cryp .stats .life-icons {
|
|
grid-area: li;
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex: 1;
|
|
justify-content: center;
|
|
}
|
|
|
|
|