6bin
Version:
User interface for 6element sensors
77 lines (62 loc) • 1.42 kB
CSS
body {
overflow: hidden;
cursor: none;
}
#app {
display: flex; width: 100vw; height: 100vh;
flex-direction: column;
}
#manager {
height: 100vh; left: 0;
background-color: #353535;
transition: left .5s ease;
/*z-index: 2;*/
}
.panel-open #manager {
/*left: -100vw;*/
}
#footer.edit, #manager.edit {
background-color: #77aaff;
}
#bin-manager > div:last-child {
position: absolute; bottom: 0; right: 0; left: 0; padding: 0 .5rem;
}
#bin-manager .bins{
height: 90%;
}
#edit-bins-button, #cancel-bins-button {
position: absolute; bottom: .5rem; right: .5rem; width: 5rem; padding: 1rem 0;
border: 1px solid black; border-radius: 5px;
background-color: #EEE;
font-size: .8rem; text-align: center;
z-index: 1;
}
.edit #edit-bins-button {
color: #28D628; font-weight: bold;
}
.edit #cancel-bins-button {
right: 6.5rem;
color: #FF2727; font-weight: bold;
}
.edit h2 {
position: absolute; left: 0; right: 0; margin: .2rem;
text-align: center;
}
#infos {
width: 50vw;
font-size: .7rem; font-style: italic;
background-color: rgba(180, 180, 180, 0.3);
}
#footer {
position: absolute; height: 10vh; bottom: 0; right: 0; left: 0;
}
#error {
text-align: center;
margin-top: 8rem;
}
#refresh {
display: inline-block; width: 9rem; padding: 2rem 3rem; margin: 8rem auto;
border: 2px solid black; border-radius: 20px;
text-align: center; font-size: 2rem;
background-color: #BBB;
}