HearingGame/index.css

192 lines
2.9 KiB
CSS
Raw Normal View History

2023-04-01 22:31:36 +02:00
body {
2023-04-01 19:34:07 +02:00
background-color: darkgray;
}
2023-04-01 22:17:02 +02:00
#activeholder {
2023-03-26 11:45:32 +02:00
width: 100%;
left: 0%;
bottom: 0%;
}
2023-04-01 22:17:02 +02:00
.activepart {
2023-03-26 11:45:32 +02:00
width: fit-content;
margin: auto;
padding: auto;
position: relative;
}
.place {
2023-04-02 21:04:27 +02:00
width: 128px;
height: 128px;
2023-03-26 11:45:32 +02:00
background-color: lightgray;
}
2023-04-02 11:53:55 +02:00
.fixbgimage{
image-rendering: pixelated;
background-repeat: no-repeat;
background-size: cover;
2023-03-26 11:45:32 +02:00
}
2023-04-01 22:17:02 +02:00
#trashcan {
2023-04-02 21:04:27 +02:00
width: 128px;
height: 128px;
2023-04-01 22:17:02 +02:00
background-color: red;
2023-03-26 11:45:32 +02:00
background-image: url("assets/trashcan.png");
}
2023-04-01 22:17:02 +02:00
#verify {
2023-04-02 21:04:27 +02:00
width: 128px;
height: 128px;
2023-03-26 11:45:32 +02:00
background-image: url("assets/verify.png");
2023-04-02 17:37:47 +02:00
background-color: blue;
}
#refresh {
2023-04-02 21:04:27 +02:00
width: 128px;
height: 128px;
2023-04-02 17:37:47 +02:00
background-image: url("assets/refresh.png");
background-color: darkgreen;
2023-03-26 11:45:32 +02:00
}
2023-04-01 22:17:02 +02:00
.status {
2023-04-02 21:04:27 +02:00
width: 128px;
height: 128px;
2023-04-07 13:04:48 +02:00
display: none;
2023-03-26 11:45:32 +02:00
background-image: url("assets/fail.png");
}
2023-04-01 22:17:02 +02:00
th,
td {
2023-04-07 13:04:48 +02:00
padding: 8px;
2023-04-02 11:53:55 +02:00
overflow: hidden;
display: inline-block;
2023-03-26 11:45:32 +02:00
}
2023-04-07 13:04:48 +02:00
#actiontable{
margin-left: auto;
margin-right: auto;
}
2023-04-01 22:17:02 +02:00
.itemcont {
2023-04-01 08:08:45 +02:00
width: 100vw;
}
.itemstor {
display: flex;
flex-direction: row;
flex-wrap: wrap;
2023-04-07 13:04:48 +02:00
margin-left: auto;
margin-right: auto;
2023-04-01 08:08:45 +02:00
width: fit-content;
padding: auto;
position: relative;
}
2023-04-02 11:53:55 +02:00
.itemstor>div {
2023-04-07 13:04:48 +02:00
margin: 8px;
2023-04-01 21:41:38 +02:00
}
2023-04-02 11:53:55 +02:00
.itemstor>div>p {
margin: 0px;
}
2023-04-01 21:41:38 +02:00
2023-04-01 22:17:02 +02:00
#vzoritem {
2023-04-01 21:41:38 +02:00
bottom: 4%;
left: 4%;
2023-04-02 21:04:27 +02:00
z-index: 10;
2023-04-02 11:53:55 +02:00
}
2023-04-02 21:04:27 +02:00
#vzoritemtd{
2023-04-07 13:04:48 +02:00
width: unset;
height: unset;
2023-04-02 21:04:27 +02:00
overflow: unset;
2023-04-07 13:04:48 +02:00
margin-left: auto;
margin-right: auto;
2023-04-02 21:04:27 +02:00
}
2023-04-02 18:10:55 +02:00
.itemholderak{
2023-04-02 17:43:13 +02:00
width: 100%;
height: 100%;
}
2023-04-02 11:53:55 +02:00
.lettervec{
font-family: 'Courier New', monospace;
2023-04-02 21:04:27 +02:00
font-size: 128px;
width: 128px;
height: 128px;
2023-04-02 11:53:55 +02:00
text-align: center;
margin: 0px;
background-color:white;
}
.imagevec{
2023-04-02 21:04:27 +02:00
width: 128px;
height: 128px;
2023-04-02 15:30:42 +02:00
background-color:white;
2023-04-02 17:37:47 +02:00
}
#currentvzor{
2023-04-07 13:04:48 +02:00
width: unset;
height: unset;
2023-05-02 08:08:50 +02:00
}
/* 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%;
}