HearingGame/index.css

192 lines
2.9 KiB
CSS

body {
background-color: darkgray;
}
#activeholder {
width: 100%;
left: 0%;
bottom: 0%;
}
.activepart {
width: fit-content;
margin: auto;
padding: auto;
position: relative;
}
.place {
width: 128px;
height: 128px;
background-color: lightgray;
}
.fixbgimage{
image-rendering: pixelated;
background-repeat: no-repeat;
background-size: cover;
}
#trashcan {
width: 128px;
height: 128px;
background-color: red;
background-image: url("assets/trashcan.png");
}
#verify {
width: 128px;
height: 128px;
background-image: url("assets/verify.png");
background-color: blue;
}
#refresh {
width: 128px;
height: 128px;
background-image: url("assets/refresh.png");
background-color: darkgreen;
}
.status {
width: 128px;
height: 128px;
display: none;
background-image: url("assets/fail.png");
}
th,
td {
padding: 8px;
overflow: hidden;
display: inline-block;
}
#actiontable{
margin-left: auto;
margin-right: auto;
}
.itemcont {
width: 100vw;
}
.itemstor {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-left: auto;
margin-right: auto;
width: fit-content;
padding: auto;
position: relative;
}
.itemstor>div {
margin: 8px;
}
.itemstor>div>p {
margin: 0px;
}
#vzoritem {
bottom: 4%;
left: 4%;
z-index: 10;
}
#vzoritemtd{
width: unset;
height: unset;
overflow: unset;
margin-left: auto;
margin-right: auto;
}
.itemholderak{
width: 100%;
height: 100%;
}
.lettervec{
font-family: 'Courier New', monospace;
font-size: 128px;
width: 128px;
height: 128px;
text-align: center;
margin: 0px;
background-color:white;
}
.imagevec{
width: 128px;
height: 128px;
background-color:white;
}
#currentvzor{
width: unset;
height: unset;
}
/* The switch - the box around the slider */
.switch {
position: relative;
display: inline-block;
width: 64px;
height: 38px;
}
/* Hide default HTML checkbox */
.switch input {
opacity: 0;
width: 0;
height: 0;
}
/* The slider */
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 30px;
width: 30px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #2196F3;
}
input:focus + .slider {
box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 38px;
}
.slider.round:before {
border-radius: 50%;
}