HearingGame/index.css

168 lines
2.5 KiB
CSS
Raw Permalink 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;
2023-05-02 13:56:16 +02:00
width: 128px;
height: 128px;
2023-05-02 08:08:50 +02:00
}
/* 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;
2023-05-02 13:56:16 +02:00
width: 128px;
height: 128px;
background-color: red;
background-image: url("assets/speaker.png");
2023-05-02 08:08:50 +02:00
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
2023-05-02 13:56:16 +02:00
background-color: #00FF00 !important;
2023-05-02 08:08:50 +02:00
}
input:focus + .slider {
2023-05-02 13:56:16 +02:00
box-shadow: 0 0 1px #00FF00 !important;
}