mnml/client/instance.css
2019-05-15 19:06:26 +10:00

361 lines
5.5 KiB
CSS

/*
INSTANCE
*/
.instance {
height: 100%;
}
.instance-info {
flex: 0 1 35%;
padding-left: 1em;
}
.instance .spacer {
flex-grow: 1
}
.vbox-top {
display: flex;
flex: 1;
}
.vbox {
display: flex;
flex: 0 0 65%;
}
.vbox-box {
display: flex;
flex-flow: row wrap;
padding-right: 5%;
flex: 0 0 50%;
}
.vbox-inventory {
display: flex;
flex-flow: row wrap;
flex: 0 0 50%;
}
.ready: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;
max-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 */
.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-list {
flex: 1;
display: flex;
flex-flow: row;
}
.instance-cryp {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: min-content auto min-content;
grid-template-areas:
"sp sp"
"av sk"
"st st";
margin-left: 1em;
border: 1px solid whitesmoke;
transition-property: all;
transition-duration: 0.5s;
transition-delay: 0;
transition-timing-function: ease;
max-height: 450px;
}
.instance-cryp:first-child {
margin-left: 0;
}
.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;
min-width: 150px;
}
.instance-cryp .skills button {
height: 100%;
width: 100%;
padding: 10px;
}
.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: 3fr 1fr 3fr;
grid-template-areas:
"dl sl ll"
"st st st";
border-top: 1px solid whitesmoke;
}
.instance-cryp .stats figcaption {
font-size: 75%;
}
.instance-cryp .stats .icons {
grid-area: st;
display: flex;
flex-flow: row;
flex: 1;
justify-content: center;
}
.equip-icon {
height: 2em;
stroke-width: 5px;
fill: none;
}
.instance-cryp .stat-icon {
width: 100%;
}
.instance-cryp .stats .damage-label {
grid-area: dl;
display: flex;
justify-content: center;
}
.instance-cryp .stats .speed-label {
grid-area: sl;
display: flex;
justify-content: center;
}
.instance-cryp .stats .life-label {
grid-area: ll;
display: flex;
justify-content: center;
}
/* Equipment */
.instance-equip {
grid-area: e;
display: flex;
min-height: 15%;
padding-bottom: 1em;
}
.instance-equip .items {
display: flex;
flex: 1 1 100%;
}
.instance-equip .label {
display: flex;
font-size: 20pt;
}
.instance-equip .skills {
display: flex;
flex-direction: column;
}
.instance-equip .skills button {
flex: 1 1 100%;
color: whitesmoke;
font-size: 16pt;
padding: 5px;
border-width: 0px;
border-bottom-width: 1px;
border-left-width: 1px;
border-right-width: 1px;
border-top-width: 1px;
height: 100%;
}
button.equip {
animation: equip-skill 1s infinite ease-in-out alternate;
}
@keyframes equip-skill {
0% {
background-color: black;
box-shadow: inset 0 0 0 0 whitesmoke;
}
100% {
background-color: #181818;
box-shadow: inset 0.5em 0 0 0 whitesmoke;
}
}
.instance-equip .specs {
display: flex;
padding-left: 5%;
flex-direction: column;
}
.instance-equip .specs figure {
flex: 1;
border: 0;
padding: 0.5em 1em 0 0;
text-align: center;
}
.equip-spec {
animation: equip-spec 1s infinite ease-in-out alternate;
}
@keyframes equip-spec {
0% {
color: #333;
stroke: #333;
}
100% {
color: #7a7a7a;
stroke: #7a7a7a;
}
}
.instance-equip .specs figcaption {
font-size: 75%;
}